xref: /minix3/etc/termcap.big (revision 40fb96b838b895c854d0e6d7903121dabc14e4b1)
1######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
2#
3#	Version 11.0.1
4#	termcap syntax
5#
6#	Eric S. Raymond		(current maintainer)
7#	John Kunze, Berkeley
8#	Craig Leres, Berkeley
9#
10# Please e-mail changes to terminfo@thyrsus.com; the old termcap@berkeley.edu
11# address is no longer valid.  The latest version can always be found at
12# <http://www.tuxedo.org/terminfo>.
13#
14# PURPOSE OF THIS FILE:
15#
16# This file describes the capabilities of various character-cell terminals,
17# as needed by software such as screen-oriented editors.
18#
19# Other terminfo and termcap files exist, supported by various OS vendors
20# or as relics of various older versions of UNIX.  This one is the longest
21# and most comprehensive one in existence.  It subsumes not only the entirety
22# of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
23# termcap file, but also large numbers of vendor-maintained termcap and
24# terminfo entries more complete and carefully tested than those in historical
25# termcap/terminfo versions.
26#
27# Pointers to related resources (including the ncurses distribution) may
28# be found at <http://www.tuxedo.org/terminfo>.
29#
30# INTERNATIONALIZATION:
31#
32# This file uses only the US-ASCII character set (no ISO8859 characters).
33#
34# This file assumes a US-ASCII character set. If you need to fix this, start
35# by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
36# for your character set.  \E(A and \E)A enables the British character set
37# with the pound sign at position 2/3.
38#
39# In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
40# C1 characters are considered the first-byte set of the Japanese encodings,
41# so \E)0 should be avoided in <enacs> and initialization strings.
42#
43# FILE FORMAT:
44#
45# The version you are looking at may be in any of three formats: master
46# (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
47# which by the format given in the header above.
48#
49# The master format is accepted and generated by the terminfo tools in the
50# ncurses suite; it differs from stock (System V-compatible) terminfo only
51# in that it admits a group of capabilities (prefixed `OT') equivalent to
52# various obsolete termcap capabilities.  You can, thus, convert from master
53# to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
54# you have ncurses `tic -I' is nicer (among other things, it automatically
55# outputs entries in a canonical form).
56#
57# The termcap version is generated automatically from the master version
58# using tic -C.  This filtering leaves in the OT capabilities under their
59# original termcap names.  All translated entries fit within the 1023-byte
60# string-table limit of archaic termcap libraries except where explicitly
61# noted below.  Note that the termcap translation assumes that your termcap
62# library can handle multiple tc capabilities in an entry. 4.4BSD has this
63# capability.  Older versions of GNU termcap, through 1.3, do not.
64#
65# For details on these formats, see terminfo(5) in the ncurses distribution,
66# and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
67# curses has been declared obsolete by the caretakers of the 4.4BSD sources
68# as of June 1995; they are encouraging everyone to migrate to ncurses.
69#
70# Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
71# no entry in this file has embedded comments.  This is so source translation
72# to termcap only has to carry over leading comments.  Also, no name field
73# contains embedded whitespace (such whitespace confuses rdist).
74#
75# Further note: older versions of this file were often installed with an editor
76# script (reorder) that moved the most common terminal types to the front of
77# the file.  This should no longer be necessary, as the file is now ordered
78# roughly by type frequency with ANSI/VT100 and other common types up front.
79#
80# Some information has been merged in from terminfo files distributed by
81# USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
82# comes from vendors who maintain official terminfos for their hardware
83# (notably DEC and Wyse).
84#
85# A detailed change history is included at the end of this file.
86#
87# FILE ORGANIZATION:
88#
89# Comments in this file begin with # - they cannot appear in the middle
90# of a terminfo/termcap entry (this feature had to be sacrificed in order
91# to allow standard terminfo and termcap syntax to be generated cleanly from
92# the master format).  Individual capabilities are commented out by
93# placing a period between the colon and the capability name.
94#
95# The file is divided up into major sections (headed by lines beginning with
96# the string "########") and minor sections (beginning with "####"); do
97#
98#	grep "^####" <file> | more
99#
100# to see a listing of section headings.  The intent of the divisions is
101# (a) to make it easier to find things, and (b) to order the database so
102# that important and frequently-encountered terminal types are near the
103# front (so that you'll get reasonable search efficiency from a linear
104# search of the termcap form even if you don't use reorder).  Minor sections
105# usually correspond to manufacturers or standard terminal classes.
106# Parenthesized words following manufacturer names are type prefixes or
107# product line names used by that manufacturers.
108#
109# HOW TO READ THE ENTRIES:
110#
111# The first name in an entry is the canonical name for the model or
112# type, last entry is a verbose description.  Others are mnemonic synonyms for
113# the terminal.
114#
115# Terminal names look like <manufacturer> <model> - <modes/options>
116# The part to the left of the dash, if a dash is present, describes the
117# particular hardware of the terminal.  The part to the right may be used
118# for flags indicating special ROMs, extra memory, particular terminal modes,
119# or user preferences.
120#
121# All names should be in lower case, for consistency in typing.
122#
123# The following are conventionally used suffixes:
124#	-2p	Has two pages of memory.  Likewise 4p, 8p, etc.
125#	-am	Enable auto-margin.
126#	-m	Monochrome.  Suppress color support
127#	-mc	Magic-cookie.  Some terminals (notably older Wyses) can
128#		only support one attribute without magic-cookie lossage.
129#		Their base entry is usually paired with another that
130#		uses magic cookies to support multiple attributes.
131#	-nam	No auto-margin - suppress :am: capability
132#	-nl	No labels - suppress soft labels
133#	-ns	No status line - suppress status line
134#	-rv	Terminal in reverse video mode (black on white)
135#	-s	Enable status line.
136#	-vb	Use visible bell (:vb:) rather than :bl:.
137#	-w	Wide - in 132 column mode.
138# If a name has multiple suffixes and one is a line height, that one should
139# go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.
140#
141# Entries with embedded plus signs are designed to be included through use/tc
142# capabilities, not used as standalone entries.
143#
144# To avoid search clashes, some older all-numeric names for terminals have
145# been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
146# All primary names of terminals now have alphanumeric prefixes.
147#
148# Comments marked "esr" are mostly results of applying the termcap-compiler
149# code packaged with ncurses and contemplating the resulting error messages.
150# In many cases, these indicated obvious fixes to syntax garbled by the
151# composers.  In a few cases, I was able to deduce corrected forms for garbled
152# capabilities by looking at context.  All the information in the original
153# entries is preserved in the comments.
154#
155# In the comments, terminfo capability names are bracketed with <> (angle
156# brackets).  Termcap capability names are bracketed with :: (colons).
157#
158# INTERPRETATION OF USER CAPABILITIES
159#
160# The System V Release 4 and XPG4 terminfo format defines ten string
161# capabilities for use by applications, <u0>...<u9>.   In this file, we use
162# certain of these capabilities to describe functions which are not covered
163# by terminfo.  The mapping is as follows:
164#
165#	u9	terminal enquire string (equiv. to ANSI/ECMA-48 DA)
166#	u8	terminal answerback description
167#	u7	cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
168#	u6	cursor position report (equiv. to ANSI/ECMA-48 CPR)
169#
170# The terminal enquire string <u9> should elicit an answerback response
171# from the terminal.  Common values for <u9> will be ^E (on older ASCII
172# terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
173#
174# The cursor position request (<u7>) string should elicit a cursor position
175# report.  A typical value (for VT100 terminals) is \E[6n.
176#
177# The terminal answerback description (u8) must consist of an expected
178# answerback string.  The string may contain the following scanf(3)-like
179# escapes:
180#
181#	%c	Accept any character
182#	%[...]	Accept any number of characters in the given set
183#
184# The cursor position report (<u6>) string must contain two scanf(3)-style
185# %d format elements.  The first of these must correspond to the Y coordinate
186# and the second to the %d.  If the string contains the sequence %i, it is
187# taken as an instruction to decrement each value after reading it (this is
188# the inverse sense from the cup string).  The typical CPR value is
189# \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
190#
191# These capabilities are used by tac(1m), the terminfo action checker
192# (distributed with ncurses 5.0).
193#
194# TABSET FILES
195#
196# All the entries in this file have been edited to assume that the tabset
197# files directory is /usr/share/tabset, in conformance with the File Hierarchy
198# Standard for Linux and open-source BSD systems.  Some vendors (notably Sun)
199# use /usr/lib/tabset or (more recently) /usr/share/lib/tabset.
200#
201# No curses package we know of actually uses these files.  If their location
202# is an issue, you will have to hand-patch the file locations before compiling
203# this file.
204#
205# REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
206#
207# As the ANSI/ECMA-48 standard and variants take firmer hold, and as
208# character-cell terminals are increasingly replaced by X displays, much of
209# this file is becoming a historical document (this is part of the reason for
210# the new organization, which puts ANSI types, xterm, Unix consoles,
211# and vt100 up front in confidence that this will catch 95% of new hardware).
212#
213# For the terminal types still alive, I'd like to have manufacturer's
214# contact data (Internet address and/or snail-mail + phone).
215#
216# I'm also interested in enriching the comments so that the latter portions of
217# the file do in fact become a potted history of VDT technology as seen by
218# UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
219# include its live/dead/out-of-the-business status, and for as many
220# terminal types as possible to be tagged with information like years
221# of heaviest use, popularity, and interesting features.
222#
223# I'm especially interested in identifying the obscure entries listed under
224# `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
225# wisdom about them gets lost.  If you know a lot about obscure old terminals,
226# please go to the terminfo resource page, grab the UFO file (ufo.ti), and
227# eyeball it for things you can identify and describe.
228#
229# If you have been around long enough to contribute, please read the file
230# with this in mind and send me your annotations.
231#
232# COPYRIGHTS AND OTHER DELUSIONS
233#
234# The BSD ancestor of this file had a standard Regents of the University of
235# California copyright with dates from 1980 to 1993.
236#
237# Some information has been merged in from a terminfo file SCO distributes.
238# It has an obnoxious boilerplate copyright which I'm ignoring because they
239# took so much of the content from the ancestral BSD versions of this file
240# and didn't attribute it, thereby violating the BSD Regents' copyright.
241#
242# Not that anyone should care.  However many valid functions copyrights may
243# serve, putting one on a termcap/terminfo file with hundreds of anonymous
244# contributors makes about as much sense as copyrighting a wall-full of
245# graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
246#
247# This file deliberately has no copyright.  It belongs to no one and everyone.
248# If you claim you own it, you will merely succeed in looking like a fool.
249# Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
250# There are no guarantees anywhere.  Svaha!
251#
252
253######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
254#
255# This section describes terminal classes and brands that are still
256# quite common.
257#
258
259#### Specials
260#
261# Special "terminals".  These are used to label tty lines when you don't
262# know what kind of terminal is on it.  The characteristics of an unknown
263# terminal are the lowest common denominator - they look about like a ti 700.
264#
265
266dumb|80-column dumb tty:\
267	:am:\
268	:co#80:\
269	:bl=^G:cr=^M:do=^J:sf=^J:
270unknown|unknown terminal type:\
271	:gn:tc=dumb:
272lpr|printer|line printer:\
273	:bs:hc:os:\
274	:co#132:li#66:\
275	:bl=^G:cr=^M:do=^J:ff=^L:le=^H:sf=^J:
276glasstty|classic glass tty interpreting ASCII control characters:\
277	:am:bs:\
278	:co#80:\
279	:bl=^G:cl=^L:cr=^M:do=^J:kd=^J:kl=^H:le=^H:nw=^M^J:ta=^I:
280vanilla:\
281	:bs:\
282	:bl=^G:cr=^M:do=^J:sf=^J:
283
284#### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
285#
286# See the end-of-file comment for more on these.
287#
288
289# ANSI capabilities are broken up into pieces, so that a terminal
290# implementing some ANSI subset can use many of them.
291ansi+local1:\
292	:do=\E[B:le=\E[D:nd=\E[C:up=\E[A:
293ansi+local:\
294	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:tc=ansi+local1:
295ansi+tabs:\
296	:bt=\E[Z:ct=\E[2g:st=\EH:ta=^I:
297ansi+inittabs:\
298	:it#8:tc=ansi+tabs:
299ansi+erase:\
300	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:
301ansi+rca:\
302	:ch=\E[%+^AG:cv=\E[%+^Ad:
303ansi+cup:\
304	:cm=\E[%i%d;%dH:ho=\E[H:
305ansi+rep:\
306	:..rp=%p1%c\E[%p2%{1}%-%db:
307ansi+idl1:\
308	:al=\E[L:dl=\E[M:
309ansi+idl:\
310	:AL=\E[%dL:DL=\E[%dM:tc=ansi+idl1:
311ansi+idc:\
312	:IC=\E[%d@:dc=\E[P:ei=\E6:ic=\E[@:im=\E6:
313ansi+arrows:\
314	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:
315ansi+sgr|ansi graphic renditions:\
316	:mb=\E[5m:me=\E[0m:mk=\E[8m:mr=\E[7m:
317ansi+sgrso|ansi standout only:\
318	:se=\E[m:so=\E[7m:
319ansi+sgrul|ansi underline only:\
320	:ue=\E[m:us=\E[4m:
321ansi+sgrbold|ansi graphic renditions; assuming terminal has bold; not dim:\
322	:md=\E[1m:\
323	:..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:tc=ansi+sgr:tc=ansi+sgrso:tc=ansi+sgrul:
324ansi+sgrdim|ansi graphic renditions; assuming terminal has dim; not bold:\
325	:mh=\E[2m:\
326	:..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p5%t2;%;m:tc=ansi+sgr:tc=ansi+sgrso:tc=ansi+sgrul:
327ansi+pp|ansi printer port:\
328	:pf=\E[4i:po=\E[5i:ps=\E[0i:
329ansi+csr|ansi scroll-region plus cursor save & restore:\
330	:cs=\E[%i%d;%dr:rc=\E8:sc=\E7:
331
332# The IBM PC alternate character set.  Plug this into any Intel console entry.
333# We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
334# ROM graphics for control characters such as the diamond, up- and down-arrow.
335# This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
336# will work with any Intel console, they all seem to have inherited \E[11m
337# from the ANSI.SYS de-facto standard.
338klone+acs|alternate character set for ansi.sys displays:\
339	:ac=+\020\054\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:\
340	:ae=\E[10m:as=\E[11m:
341
342# Highlight controls corresponding to the ANSI.SYS standard.  Most
343# console drivers for Intel boxes obey these.  Makes the same assumption
344# about \E[11m as klone+acs.  True ANSI/ECMA-48 would have :se=\E[27m:,
345# :ue=\E[24m:, but this isn't a documented feature of ANSI.SYS.
346klone+sgr|attribute control for ansi.sys displays:\
347	:S2=\E[11m:S3=\E[10m:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
348	:mk=\E[8m:mr=\E[7m:\
349	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
350	:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:\
351	:tc=klone+acs:
352
353# Highlight controls corresponding to the ANSI.SYS standard.  *All*
354# console drivers for Intel boxes obey these.  Does not assume \E[11m will
355# work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
356# diamond and arrow characters under curses.
357klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m):\
358	:as=\E[12m:mb=\E[5m:md=\E[1m:me=\E[0;10m:mk=\E[8m:\
359	:mr=\E[7m:\
360	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m:\
361	:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:\
362	:tc=klone+acs:
363
364# KOI8-R (RFC1489) acs (alternate character set)
365# From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
366klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset:\
367	:ac=+\020\054\021-\036.^_0\215`\004a\237f\234g\232h\222i\220j\205k\203l\202m\204n\212o\213p\216q\0r\217s\214t\206u\207v\210w\211x\201y\230z\231{\267|\274}L~\225:\
368	:ae=\E[10m:as=\E[11m:
369
370# ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
371# between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
372# but equivalent strings that don't rely on that coincidence:
373# setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
374# setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
375# The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
376# They match a subset of ECMA-48.
377klone+color|color control for ansi.sys and ISO6429-compatible displays:\
378	:Co#8:NC#3:pa#64:\
379	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[37;40m:
380
381# This is better than klone+color, it doesn't assume white-on-black as the
382# default color pair,  but many `ANSI' terminals don't grok the <op> cap.
383ecma+color|color control for ECMA-48-compatible terminals:\
384	:Co#8:NC#3:pa#64:\
385	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[39;49m:
386
387# Attribute control for ECMA-48-compatible terminals
388ecma+sgr|attribute capabilities for true ECMA-48 terminals:\
389	:se=\E[27m:ue=\E[24m:\
390	:tc=klone+sgr:
391
392# For comparison, here are all the capabilities implied by the Intel
393# Binary Compatibility Standard (level 2) that fit within terminfo.
394# For more detail on this rather pathetic standard, see the comments
395# near the end of this file.
396ibcs2|Intel Binary Compatibility Standard prescriptions:\
397	:AL=\E[%dL:DC=\E[%dP:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
398	:RA=\E[?7l:RI=\E[%dC:S1=\E=%p1%dg:SA=\E[?7h:SF=\E[%dS:\
399	:SR=\E[%dT:UP=\E[%dA:bt=\E[Z:ch=\E[%i%dG:cl=\Ec:\
400	:cm=\E[%i%d;%dH:ct=\E[g:cv=\E[%i%dd:ec=\E[%dX:ei=:im=:\
401	:rc=\E7:sc=\E7:st=\EH:
402
403#### ANSI/ECMA-48 terminals and terminal emulators
404#
405# See near the end of this file for details on ANSI conformance.
406# Don't mess with these entries!  Lots of other entries depend on them!
407#
408# This section lists entries in a least-capable to most-capable order.
409# if you're in doubt about what `ANSI' matches yours, try them in that
410# order and back off from the first that breaks.
411
412# ansi-mr is for ANSI terminals with ONLY relative cursor addressing
413# and more than one page of memory.  It uses local motions instead of
414# direct cursor addressing, and makes almost no assumptions. It does
415# assume auto margins, no padding and/or xon/xoff, and a 24x80 screen.
416ansi-mr|mem rel cup ansi:\
417	:am:xo:\
418	:co#80:li#24:tc=vanilla:tc=ansi+erase:tc=ansi+local1:
419
420# ansi-mini is a bare minimum ANSI terminal. This should work on anything, but
421# beware of screen size problems and memory relative cursor addressing.
422ansi-mini|minimum ansi standard terminal:\
423	:am:xo:\
424	:co#80:li#24:tc=vanilla:tc=ansi+cup:tc=ansi+erase:
425
426# ansi-mtabs adds relative addressing and minimal tab support
427ansi-mtabs|any ansi terminal with pessimistic assumptions:\
428	:it#8:\
429	:ta=^I:tc=ansi+local1:tc=ansi-mini:
430
431# ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
432#
433# The following is an entry for the full ANSI 3.64 (1977).  It lacks
434# padding, but most terminals using the standard are "fast" enough
435# not to require any -- even at 9600 bps.  If you encounter problems,
436# try including the padding specifications.
437#
438# Note: the :as: and :ae: specifications are not implemented here, for
439# the available termcap documentation does not make clear WHICH alternate
440# character set to specify.  ANSI 3.64 seems to make allowances for several.
441# Please make the appropriate adjustments to fit your needs -- that is
442# if you will be using alternate character sets.
443#
444# There are very few terminals running the full ANSI 3.64 standard,
445# so I could only test this entry on one verified terminal (Visual 102).
446# I would appreciate the results on other terminals sent to me.
447#
448# Please report comments, changes, and problems to:
449#
450# U.S. MAIL:   Hugh Hansard
451#              Box: 22830
452#              Emory University
453#              Atlanta, GA. 30322.
454#
455# USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
456#
457# (Added vt100 :rc:,:sc: to quiet a tic warning --esr)
458ansi77|ansi 3.64 standard 1977 version:\
459	:am:bs:mi:\
460	:co#80:it#8:li#24:\
461	:al=5*\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
462	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=5*\E[M:\
463	:do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOR:k4=\EOS:\
464	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
465	:nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
466	:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
467
468# Procomm and some other ANSI emulations don't recognize all of the ANSI-
469# standard capabilities.  This entry deletes :UP:, :RI:, :DO:, :LE:, and
470# <vpa>/<hpa> capabilities, forcing curses to use repetitions of :up:,
471# :nd:, :do: and :le:.  Also deleted :IC: and :ic:, as QModem up to
472# 5.03 doesn't recognize these.  Finally, we delete :rp: and :sr:, which seem
473# to confuse many emulators.  On the other hand, we can count on these programs
474# doing :ae:/:as:/:sa:. Older versions of this entry featured
475# <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
476# ANSI.SYS influence.
477# From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
478pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode):\
479	:am:bs:mi:ms:\
480	:co#80:it#8:li#24:\
481	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
482	:cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:dl=\E[M:do=\E[B:\
483	:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
484	:le=\E[D:nd=\E[C:sf=^J:st=\EH:ta=^I:up=\E[A:\
485	:tc=klone+sgr-dumb:
486pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode):\
487	:li#25:tc=pcansi-m:
488pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode):\
489	:li#33:tc=pcansi-m:
490pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode):\
491	:li#43:tc=pcansi-m:
492# The color versions.  All PC emulators do color...
493pcansi|ibm-pc terminal programs claiming to be ansi:\
494	:tc=klone+color:tc=pcansi-m:
495pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines:\
496	:li#25:tc=pcansi:
497pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines:\
498	:li#33:tc=pcansi:
499pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines:\
500	:li#43:tc=pcansi:
501
502# ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
503# If you want pound signs rather than dollars, replace `B' with `A'
504# in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
505# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
506ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes:\
507	:5i:\
508	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
509	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
510	:cb=\E[1K:ch=\E[%i%dG:ct=\E[2g:cv=\E[%i%dd:ec=\E[%dX:ei=:\
511	:im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
512	:nw=\r\E[S:pf=\E[4i:po=\E[5i:..rp=%p1%c\E[%p2%{1}%-%db:\
513	:s0=\E(B:s1=\E)B:s2=\E*B:s3=\E+B:ta=\E[I:\
514	:tc=pcansi-m:
515
516# ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
517# standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
518# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
519ansi|ansi/pc-term compatible with color:\
520	:u6=\E[%i%d;%dR:u7=\E[6n:..u8=\E[?%[;0123456789]c:\
521	:u9=\E[c:\
522	:tc=ecma+color:tc=klone+sgr:tc=ansi-m:
523
524# ansi-generic is a vanilla ANSI terminal. This is assumed to implement
525# all the normal ANSI stuff with no extensions. It assumes
526# insert/delete line/char is there, so it won't work with
527# vt100 clones. It assumes video attributes for bold, blink,
528# underline, and reverse, which won't matter much if the terminal
529# can't do some of those. Padding is assumed to be zero, which
530# shouldn't hurt since xon/xoff is assumed.
531ansi-generic|generic ansi standard terminal:\
532	:am:xo:\
533	:co#80:li#24:tc=vanilla:tc=ansi+csr:tc=ansi+cup:\
534	:tc=ansi+rca:tc=ansi+erase:tc=ansi+tabs:tc=ansi+local:\
535	:tc=ansi+idc:tc=ansi+idl:tc=ansi+rep:tc=ansi+sgrbold:\
536	:tc=ansi+arrows:
537
538#### Linux consoles
539#
540
541# This entry is good for the 1.2.13 or later version of the Linux console.
542#
543# ***************************************************************************
544# *                                                                         *
545# *                           WARNING:                                      *
546# * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
547# * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
548# * character. Here are the keymap replacement lines that will set this up: *
549# *                                                                         *
550#	keycode  15 = Tab             Tab
551#		alt     keycode  15 = Meta_Tab
552#		shift	keycode  15 = F26
553#	string F26 ="\033[Z"
554# *                                                                         *
555# * This has to use a key slot which is unfortunate (any unused one will    *
556# * do, F26 is the higher-numbered one).  The change ought to be built      *
557# * into the kernel tables.                                                 *
558# *                                                                         *
559# ***************************************************************************
560#
561# The 1.3.x kernels add color-change capabilities; if yours doesn't have this
562# and it matters, turn off <ccc>.  The %02x escape used to implement this is
563# not back-portable to SV curses and not supported in ncurses versions before
564# 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
565# themselves; this entry assumes that capability.
566#
567# This entry is good for the 1.2.13 or later version of the Linux console.
568#
569# ***************************************************************************
570# *                                                                         *
571# *                           WARNING:                                      *
572# * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
573# * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
574# * character. Here are the keymap replacement lines that will set this up: *
575# *                                                                         *
576#	keycode  15 = Tab             Tab
577#		alt     keycode  15 = Meta_Tab
578#		shift	keycode  15 = F26
579#	string F26 ="\033[Z"
580# *                                                                         *
581# * This has to use a key slot which is unfortunate (any unused one will    *
582# * do, F26 is the higher-numbered one).  The change ought to be built      *
583# * into the kernel tables.                                                 *
584# *                                                                         *
585# ***************************************************************************
586#
587# The 1.3.x kernels add color-change capabilities; if yours doesn't have this
588# and it matters, turn off <ccc>.  The %02x escape used to implement this is
589# not back-portable to SV curses and not supported in ncurses versions before
590# 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
591# themselves; this entry assumes that capability.
592#
593# The 2.2.x kernels add a private mode that sets the cursor type; use that to
594# get a block cursor for cvvis.
595# reported by Frank Heckenbach <frank@g-n-u.de>.
596# (untranslatable capabilities removed to fit entry within 1023 bytes)
597# (sgr removed to fit entry within 1023 bytes)
598# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
599linux|linux console:\
600	:am:eo:mi:ms:xn:xo:\
601	:it#8:\
602	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:K2=\E[G:al=\E[L:\
603	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
604	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
605	:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[[A:k2=\E[[B:\
606	:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
607	:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:\
608	:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mh=\E[2m:\
609	:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:se=\E[27m:sf=^J:\
610	:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
611	:vb=200\E[?5h\E[?5l:ve=\E[?25h\E[?0c:vi=\E[?25l\E[?1c:\
612	:vs=\E[?25h\E[?8c:\
613	:tc=klone+sgr:tc=ecma+color:
614linux-m|Linux console no color:\
615	:Co@:pa@:\
616	:AB@:AF@:Sb@:Sf@:tc=linux:
617linux-c-nc|linux console 1.3.x hack for ncurses only:\
618	:cc:\
619	:..Ic=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x:\
620	:oc=\E]R:\
621	:tc=linux:
622# From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
623linux-c|linux console 1.3.6+ with private palette for each virtual console:\
624	:cc:\
625	:Co#8:pa#64:\
626	:..Ic=\E]P%?%p1%{9}%>%t%p1%{10}%-%'a'%+%c%e%p1%d%;%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;:\
627	:oc=\E]R:\
628	:tc=linux:
629
630# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
631linux-nic|linux with ich/ich1 suppressed for non-curses programs:\
632	:IC@:ei=:ic@:im=:\
633	:tc=linux:
634
635# This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
636# acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
637linux-koi8|linux with koi8 alternate character set:\
638	:ac=+\020\054\021-\030.^Y0\215`\004a\221f\234g\237h\220i\276j\205k\203l\202m\204n\212o~p\0q\0r\0s_t\206u\207v\211w\210x\201y\230z\231{\267|\274~\224:tc=linux:\
639	:tc=klone+koi8acs:
640
641# Another entry for KOI8-r with Qing Long's acsc.
642# (which one better complies with the standard?)
643linux-koi8r|linux with koi8-r alternate character set:\
644	:tc=linux:tc=klone+koi8acs:
645
646# Entry for the latin1 and latin2 fonts
647linux-lat|linux with latin1 or latin2 alternate character set:\
648	:ac=+\020\054\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:\
649	:tc=linux:
650
651#### NetBSD consoles
652#
653# pcvt termcap database entries (corresponding to release 3.31)
654# Author's last edit-date: [Fri Sep 15 20:29:10 1995]
655#
656# (For the terminfo master file, I translated these into terminfo syntax.
657# Then I dropped all the pseudo-HP entries. we don't want and can't use
658# the :Xs: flag. Then I split :is: into a size-independent :i1: and a
659# size-dependent :is:.  Finally, I added <rmam>/<smam> -- esr)
660
661# NOTE: :ic: has been taken out of this entry. for reference, it should
662# be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
663# (esr: added :vi: and :ve: to resolve NetBSD Problem Report #4583)
664pcvtXX|pcvt vt200 emulator (DEC VT220):\
665	:am:km:mi:ms:xn:\
666	:it#8:vt#3:\
667	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
668	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
669	:SR=\E[%dT:UP=\E[%dA:\
670	:ac=++\054\054--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~:\
671	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
672	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
673	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
674	:i1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:im=\E[4h:\
675	:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
676	:k6=\E[23~:k7=\E[24~:k8=\E[25~:kD=\E[3~:kH=\E[4~:kI=\E[2~:\
677	:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
678	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
679	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
680	:r1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
681	:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
682	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
683	:ve=\E[?25h:vi=\E[?25l:
684
685#	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
686#	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
687#	50 lines entries; 80 columns
688pcvt25|dec vt220 emulation with 25 lines:\
689	:co#80:li#25:\
690	:is=\E[1;25r\E[25;1H:tc=pcvtXX:
691pcvt28|dec vt220 emulation with 28 lines:\
692	:co#80:li#28:\
693	:is=\E[1;28r\E[28;1H:tc=pcvtXX:
694pcvt35|dec vt220 emulation with 35 lines:\
695	:co#80:li#35:\
696	:is=\E[1;35r\E[35;1H:tc=pcvtXX:
697pcvt40|dec vt220 emulation with 40 lines:\
698	:co#80:li#40:\
699	:is=\E[1;40r\E[40;1H:tc=pcvtXX:
700pcvt43|dec vt220 emulation with 43 lines:\
701	:co#80:li#43:\
702	:is=\E[1;43r\E[43;1H:tc=pcvtXX:
703pcvt50|dec vt220 emulation with 50 lines:\
704	:co#80:li#50:\
705	:is=\E[1;50r\E[50;1H:tc=pcvtXX:
706
707#	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
708#	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
709#	50 lines entries; 132 columns
710pcvt25w|dec vt220 emulation with 25 lines and 132 cols:\
711	:co#132:li#25:\
712	:is=\E[1;25r\E[25;1H:tc=pcvtXX:
713pcvt28w|dec vt220 emulation with 28 lines and 132 cols:\
714	:co#132:li#28:\
715	:is=\E[1;28r\E[28;1H:tc=pcvtXX:
716pcvt35w|dec vt220 emulation with 35 lines and 132 cols:\
717	:co#132:li#35:\
718	:is=\E[1;35r\E[35;1H:tc=pcvtXX:
719pcvt40w|dec vt220 emulation with 40 lines and 132 cols:\
720	:co#132:li#40:\
721	:is=\E[1;40r\E[40;1H:tc=pcvtXX:
722pcvt43w|dec vt220 emulation with 43 lines and 132 cols:\
723	:co#132:li#43:\
724	:is=\E[1;43r\E[43;1H:tc=pcvtXX:
725pcvt50w|dec vt220 emulation with 50 lines and 132 cols:\
726	:co#132:li#50:\
727	:is=\E[1;50r\E[50;1H:tc=pcvtXX:
728
729# Terminfo entries to enable the use of the ncurses library in colour on a
730# NetBSD-arm32 console (only tested on a RiscPC).
731# Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
732# modified codes for setf/setb to setaf/setab, then to klone+color, corrected
733# typo in invis - TD
734arm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480):\
735	:am:ms:ut:xn:xo:\
736	:co#80:it#8:li#30:\
737	:@8=\E[M:DO=\E[%dB:K1=\E[q:K2=\E[r:K3=\E[s:K4=\E[p:K5=\E[n:\
738	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
739	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
740	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
741	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
742	:eA=\E(B\E)0:ho=\E[H:k0=\E[y:k1=\E[P:k2=\E[Q:k3=\E[R:\
743	:k4=\E[S:k5=\E[t:k6=\E[u:k7=\E[v:k8=\E[l:k9=\E[w:k;=\E[x:\
744	:kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ks=\E[?1h\E=:\
745	:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mk=\E[8m:\
746	:mr=\E[6m:nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
747	:rc=\E8:\
748	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
749	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
750	:up=\E[A:us=\E[4m:\
751	:tc=ecma+sgr:tc=klone+color:
752arm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768):\
753	:co#132:li#50:tc=arm100:
754
755# NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
756# manufactured by Sharp for the Japenese market.
757# From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
758x68k|x68k-ite|NetBSD/x68k ITE:\
759	:co#96:li#32:\
760	:%1=\E[28~:kC=\E[9~:tc=vt220:
761
762# <tv@pobox.com>:
763# Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
764#
765# (still unfinished, but good enough so far.)
766ofcons:\
767	:bw:\
768	:co#80:li#30:\
769	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
770	:LE=\233%dD:RI=\233%dC:UP=\233%dA:al=\233L:bl=^G:cd=\233J:\
771	:ce=\233K:cl=^L:cm=\233%i%d;%dH:cr=^M:dc=\233P:dl=\233M:\
772	:do=\233B:ei=:ic=\233@:im=:k1=\2330P:k2=\2330Q:k3=\2330W:\
773	:k4=\2330x:k5=\2330t:k6=\2330u:k7=\2330q:k8=\2330r:\
774	:k9=\2330p:k;=\2330M:kD=\233P:kN=\233/:kP=\233?:kb=^H:\
775	:kd=\233B:kl=\233D:kr=\233C:ku=\233A:le=\233D:mb=\2337;2m:\
776	:md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
777	:nd=\233C:nw=^M^J:se=\2330m:sf=^J:ta=^I:ue=\2330m:up=\233A:\
778	:vb=^G:
779
780# NetBSD "wscons" emulator in vt220 mode
781# These are micro-minimal and probably need to be redone for real
782# after the manner of the pcvt entries.
783wsvt25|NetBSD wscons in 25 line DEC VT220 mode:\
784	:co#80:li#25:tc=vt220:
785
786wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta:\
787	:km:\
788	:co#80:li#25:tc=vt220:
789
790# `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and
791# DECstation/pmax.
792rcons|BSD rasterconsole:\
793	:tc=sun-il:
794# Color version of above. Color currenly only provided by NetBSD.
795rcons-color|BSD rasterconsole with ANSI color:\
796	:ut:\
797	:Co#8:pa#64:\
798	:AB=\E[4%dm:AF=\E[3%dm:op=\E[m:tc=rcons:
799
800#### FreeBSD console entries
801#
802# From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
803# Andrey Chernov maintains the FreeBSD termcap distributions.
804#
805# Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
806# or comment out the :cb: capability in the console entry.
807#
808# Alexander Lukyanov reports:
809# I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
810# Now el1 clears not only to the line beginning, but also a large chunk
811# of previous line. But there is another bug - ech does not work at all.
812#
813
814# for syscons
815# common entry without semigraphics
816# Bug: The <op> capability resets attributes.
817# Bug? The ech and el1 attributes appear to move the cursor in some cases; for
818# instance el1 does if the cursor is moved to the right margin first.  Removed
819# by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
820#
821# Setting colors turns off reverse; we cannot guarantee order, so use ncv.
822# Note that this disables standout with color.
823cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode):\
824	:NP:am:bw:eo:ms:ut:\
825	:Co#8:NC#21:co#80:it#8:li#25:pa#64:\
826	:@7=\E[F:AB=\E[4%p1%dm:AF=\E[3%p1%dm:AL=\E[%dL:DC=\E[%dP:\
827	:DL=\E[%dM:DO=\E[%dB:F1=\E[W:F2=\E[X:IC=\E[%d@:K2=\E[E:\
828	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
829	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
830	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:\
831	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:\
832	:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
833	:k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:\
834	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
835	:md=\E[1m:me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:\
836	:op=\E[x:r1=\E[x\E[m\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
837	:ta=^I:up=\E[A:ve=\E[=0C:vs=\E[=1C:
838cons25|ansis|ansi80x25|freebsd console (25-line ansi mode):\
839	:ac=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371:\
840	:tc=cons25w:
841cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode):\
842	:Co@:pa@:\
843	:AB@:AF@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25:
844cons30|ansi80x30|freebsd console (30-line ansi mode):\
845	:li#30:tc=cons25:
846cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode):\
847	:li#30:tc=cons25-m:
848cons43|ansi80x43|freebsd console (43-line ansi mode):\
849	:li#43:tc=cons25:
850cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode):\
851	:li#43:tc=cons25-m:
852cons50|ansil|ansi80x50|freebsd console (50-line ansi mode):\
853	:li#50:tc=cons25:
854cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode):\
855	:li#50:tc=cons25-m:
856cons60|ansi80x60|freebsd console (60-line ansi mode):\
857	:li#60:tc=cons25:
858cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode):\
859	:li#60:tc=cons25-m:
860cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic:\
861	:ac=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225:\
862	:tc=cons25w:
863cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono):\
864	:Co@:pa@:\
865	:AB@:AF@:op@:ue=\E[m:us=\E[4m:tc=cons25r:
866cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines):\
867	:li#50:tc=cons25r:
868cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono):\
869	:li#50:tc=cons25r-m:
870cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines):\
871	:li#60:tc=cons25r:
872cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono):\
873	:li#60:tc=cons25r-m:
874# ISO 8859-1 FreeBSD console
875cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars:\
876	:ac=+\253\054\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:\
877	:tc=cons25w:
878cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono):\
879	:Co@:pa@:\
880	:AB@:AF@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25l1:
881cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines):\
882	:li#50:tc=cons25l1:
883cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono):\
884	:li#50:tc=cons25l1-m:
885cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines):\
886	:li#60:tc=cons25l1:
887cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono):\
888	:li#60:tc=cons25l1-m:
889
890#### 386BSD and BSD/OS Consoles
891#
892
893# This was the original 386BSD console entry (I think).
894# Some places it's named oldpc3|oldibmpc3.
895# From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
896origpc3|origibmpc3|IBM PC 386BSD Console:\
897	:am:bw:eo:xo:\
898	:co#80:li#25:\
899	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
900	:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
901	:kd=\E[B:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[7m:\
902	:me=\E[m\E[1;0x\E[2;7x:nd=\E[C:se=\E[1;0x\E[2;7x:\
903	:sf=\E[S:so=\E[1;7x\E[2;0x:sr=\E[T:ue=\E[1;0x\E[2;7x:\
904	:up=\E[A:us=\E[1;7x\E[2;0x:
905
906# description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
907oldpc3|oldibmpc3|old IBM PC BSD/386 Console:\
908	:km:\
909	:li#25:\
910	:al=\E[L:bl=^G:cr=^M:dl=\E[M:do=^J:kH=\E[F:kI=\E[L:kN=\E[G:\
911	:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
912	:md=\E[=15F:me=\E[=R:mh=\E[=8F:nw=^M^J:sf=^J:ta=^I:
913
914# Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
915# Note, the emulator supports many of the additional console features
916# listed in the iBCS2 (e.g. character-set selection) though not all
917# are described here.  This entry really ought to be upgraded.
918# Also note, the console will also work with fewer lines after doing
919# "stty rows NN", e.g. to use 24 lines.
920# (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996)
921# Bug: The <op> capability resets attributes.
922bsdos-pc-nobold|BSD/OS PC console w/o bold:\
923	:am:eo:km:xo:\
924	:co#80:it#8:li#25:\
925	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
926	:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\
927	:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:kH=\E[F:\
928	:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
929	:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:nw=^M^J:rc=\E8:\
930	:..sa=\E[0;10%?%p1%t;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m%?%p5%t\E[=8F%;:\
931	:sc=\E7:sf=^J:ta=^I:up=\E[A:\
932	:tc=klone+sgr:tc=klone+color:
933bsdos-pc|IBM PC BSD/OS Console:\
934	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;1%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:tc=bsdos-pc-nobold:
935
936# Old names for BSD/OS PC console used in releases before 4.1.
937pc3|BSD/OS on the PC Console:\
938	:tc=bsdos-pc-nobold:
939ibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline:\
940	:tc=bsdos-pc:
941
942# BSD/OS on the SPARC
943bsdos-sparc|Sun SPARC BSD/OS Console:\
944	:tc=sun:
945
946# BSD/OS on the PowerPC
947bsdos-ppc|PowerPC BSD/OS Console:\
948	:tc=bsdos-pc:
949
950#### DEC VT100 and compatibles
951#
952# DEC terminals from the vt100 forward are collected here. Older DEC terminals
953# and micro consoles can be found in the `obsolete' section.  More details on
954# the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
955# found near the end of this file.
956#
957# Except where noted, these entries are DEC's official terminfos.
958# Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
959# Engineering for more information.  Updated terminfos and termcaps
960# are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
961#
962# In October 1995 DEC sold its terminals business, including the VT and Dorio
963# line and trademark, to SunRiver Data Systems.  SunRiver has since changed
964# its name to Boundless Technologies; see http://www.boundless.com.
965#
966
967# NOTE:  Any VT100 emulation, whether in hardware or software, almost
968# certainly includes what DEC called the `Level 1 editing extension' codes;
969# only the very oldest VT100s lacked these and there probably aren't any of
970# those left alive.  To capture these, use one of the VT102 entries.
971#
972# Note that the :xn: glitch in vt100 is not quite the same as on the Concept,
973# since the cursor is left in a different position while in the
974# weird state (concept at beginning of next line, vt100 at end
975# of this line) so all versions of vi before 3.7 don't handle
976# :xn: right on vt100. The correct way to handle :xn: is when
977# you output the char in column 80, immediately output CR LF
978# and then assume you are in column 1 of the next line. If :xn:
979# is on, am should be on too.
980#
981# I assume you have smooth scroll off or are at a slow enough baud
982# rate that it doesn't matter (1200? or less). Also this assumes
983# that you set auto-nl to "on", if you set it off use vt100-nam
984# below.
985#
986# The padding requirements listed here are guesses. It is strongly
987# recommended that xon/xoff be enabled, as this is assumed here.
988#
989# The vt100 uses <rs2> and <rf> rather than :is:/:ct:/:st: because the
990# tab settings are in non-volatile memory and don't need to be
991# reset upon login. Also setting the number of columns glitches
992# the screen annoyingly. You can type "reset" to get them set.
993#
994# The VT100 series terminals have cursor ("arrows") keys which can operate
995# in two different modes: Cursor Mode and Application Mode.  Cursor Mode
996# is the reset state, and is assumed to be the normal state.  Application
997# Mode is the "set" state.  In Cursor Mode, the cursor keys transmit
998# "Esc [ {code}" sequences, conforming to ANSI standards.  In Application
999# Mode, the cursor keys transmit "Esc O <code>" sequences.  Application Mode
1000# was provided primarily as an aid to the porting of VT52 applications.  It is
1001# assumed that the cursor keys are normally in Cursor Mode, and expected that
1002# applications such as vi will always transmit the :ks: string.  Therefore,
1003# the definitions for the cursor keys are made to match what the terminal
1004# transmits after the :ks: string is transmitted.  If the :ks: string
1005# is a null string or is not defined, then cursor keys are assumed to be in
1006# "Cursor Mode", and the cursor keys definitions should match that assumption,
1007# else the appication may fail.  It is also expected that applications will
1008# always transmit the :ke: string to the terminal before they exit.
1009#
1010# The VT100 series terminals have an auxilliary keypad, commonly referred to as
1011# the "Numeric Keypad", because it is a cluster of numeric and function keys.
1012# The Numeric Keypad which can operate in two different modes: Numeric Mode and
1013# Application Mode.  Numeric Mode is the reset state, and is assumed to be
1014# the normal state.  Application Mode is the "set" state.  In Numeric Mode,
1015# the numeric and punctuation keys transmit ASCII 7-bit characters, and the
1016# Enter key transmits the same as the Return key (Note: the Return key
1017# can be configured to send either LF (\015) or CR LF).  In Application Mode,
1018# all the keypad keys transmit "Esc O {code}" sequences.  The PF1 - PF4 keys
1019# always send the same "Esc O {code}" sequences.  It is assumed that the keypad
1020# is normally in Numeric Mode.  If an application requires that the keypad be
1021# in Application Mode then it is expected that the user, or the application,
1022# will set the TERM environment variable to point to a terminfo entry which has
1023# defined the :ks: string to include the codes that switch the keypad into
1024# Application Mode, and the terminfo entry will also define function key
1025# fields to match the Application Mode control codes.  If the :ks: string
1026# is a null string or is not defined, then the keypad is assumed to be in
1027# Numeric Mode.  If the :ks: string switches the keypad into Application
1028# Mode, it is expected that the :ke: string will contain the control codes
1029# necessary to reset the keypad to "Normal" mode, and it is also expected that
1030# applications which transmit the :ks: string will also always transmit the
1031# :ke: string to the terminal before they exit.
1032#
1033# Here's a diagram of the VT100 keypad keys with their bindings.
1034# The top line is the name of the key (some DEC keyboards have the keys
1035# labelled somewhat differently, like GOLD instead of PF1, but this is
1036# the most "official" name).  The second line is the escape sequence it
1037# generates in Application Keypad mode (where "$" means the ESC
1038# character).  The third line contains two items, first the mapping of
1039# the key in terminfo, and then in termcap.
1040#   _______________________________________
1041#  |   PF1   |   PF2   |   PF3   |   PF4   |
1042#  |   $OP   |   $OQ   |   $OR   |   $OS   |
1043#  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
1044#  |    7         8         9         -    |
1045#  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
1046#  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
1047#  |    4    |    5    |    6    |    ,    |
1048#  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
1049#  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
1050#  |    1    |    2    |    3    |         |
1051#  |   $Oq   |   $Or   |   $Os   |  enter  |
1052#  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
1053#  |         0         |   .     |         |
1054#  |        $Op        |  $On    |         |
1055#  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
1056#
1057# And here, for those of you with orphaned VT100s lacking documentation, is
1058# a description of the soft switches invoked when you do `Set Up'.
1059#
1060#  Scroll 0-Jump               Shifted 3   0-#
1061#  |      1-Smooth             |           1-British pound sign
1062#  | Autorepeat 0-Off          | Wrap Around 0-Off
1063#  | |          1-On           | |           1-On
1064#  | | Screen 0-Dark Bkg       | | New Line 0-Off
1065#  | | |      1-Light Bkg      | | |        1-On
1066#  | | | Cursor 0-Underline    | | | Interlace 0-Off
1067#  | | | |      1-Block        | | | |         1-On
1068#  | | | |                     | | | |
1069#  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
1070#                | | | |                     | | | |
1071#                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
1072#                | | |               1-On    | | |       1-50 Hz
1073#                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
1074#                | |           1-ANSI        | |                1-8 Bits
1075#                | Keyclick 0-Off            | Parity 0-Off
1076#                |          1-On             |        1-On
1077#                Margin Bell 0-Off           Parity Sense 0-Odd
1078#                            1-On                         1-Even
1079#
1080# The following SET-UP modes are assumed for normal operation:
1081#	ANSI_MODE	AUTO_XON/XOFF_ON	NEWLINE_OFF	80_COLUMNS
1082#	WRAP_AROUND_ON  JUMP_SCROLL_OFF
1083# Other SET-UP modes may be set for operator convenience or communication
1084# requirements; I recommend
1085#	AUTOREPEAT_ON	BLOCK_CURSOR	MARGIN_BELL_OFF    SHIFTED_3_#
1086# Unless you have a graphics add-on such as Digital Engineering's VT640
1087# (and even then, whenever it can be arranged!) you should set
1088#	INTERLACE_OFF
1089#
1090# (vt100: I added <rmam>/<smam> based on the init string, also :bs:. -- esr)
1091vt100|vt100-am|dec vt100 (w/advanced video):\
1092	:am:bs:ms:xn:xo:\
1093	:co#80:it#8:li#24:vt#3:\
1094	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
1095	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1096	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1097	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1098	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
1099	:eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
1100	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
1101	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
1102	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
1103	:nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1104	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
1105	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
1106	:up=\E[A:us=\E[4m:
1107vt100nam|vt100-nam|vt100 no automargins:\
1108	:am@:xn@:tc=vt100-am:
1109vt100-vb|dec vt100 (w/advanced video) & no beep:\
1110	:bl@:vb=\E[?5h\E[?5l:tc=vt100:
1111
1112# Ordinary vt100 in 132 column ("wide") mode.
1113vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video):\
1114	:co#132:li#24:\
1115	:r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-am:
1116vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin):\
1117	:co#132:li#14:vt@:\
1118	:r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-nam:
1119
1120# vt100 with no advanced video.
1121vt100-nav|vt100 without advanced video option:\
1122	:sg#1:\
1123	:mb@:md@:me@:mr@:sa@:se=\E[m:so=\E[7m:ue@:us@:tc=vt100:
1124vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option):\
1125	:co#132:li#14:tc=vt100-nav:
1126
1127# vt100 with one of the 24 lines used as a status line.
1128# We put the status line on the top.
1129vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline:\
1130	:es:hs:\
1131	:li#23:\
1132	:cl=\E[2;1H\E[J:cm=\E[%i%+^A;%dH:cs=\E[%i%i%d;%dr:\
1133	:ds=\E7\E[1;24r\E8:fs=\E8:ho=\E[2;1H:is=\E7\E[2;24r\E8:\
1134	:ts=\E7\E[1;%p1%dH\E[1K:\
1135	:tc=vt100-am:
1136
1137# Status line at bottom.
1138# Clearing the screen will clobber status line.
1139vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline:\
1140	:es:hs:\
1141	:li#23:\
1142	:ds=\E7\E[1;24r\E8:fs=\E8:is=\E[1;23r\E[23;1H:\
1143	:ts=\E7\E[24;%p1%dH\E[1K:\
1144	:tc=vt100-am:
1145
1146# Most of the `vt100' emulators out there actually emulate a vt102
1147# This entry (or vt102-nsgr) is probably the right thing to use for
1148# these.
1149vt102|dec vt102:\
1150	:mi:\
1151	:al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:tc=vt100:
1152vt102-w|dec vt102 in wide mode:\
1153	:co#132:\
1154	:r3=\E[?3h:tc=vt102:
1155
1156# Many brain-dead PC comm programs that pretend to be `vt100-compatible'
1157# fail to interpret the ^O and ^N escapes properly.  Symptom: the :me:
1158# string in the canonical vt100 entry above leaves the screen littered
1159# with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
1160# after highlight turnoffs.  This entry should fix that, and even leave
1161# ACS support working, at the cost of making multiple-highlight changes
1162# slightly more expensive.
1163# From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
1164vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes):\
1165	:me=\E[m:sa@:\
1166	:tc=vt102:
1167
1168# VT125 Graphics CRT.  Clear screen also erases graphics
1169vt125|vt125 graphics terminal:\
1170	:cl=\E[H\E[2J\EPpS(E)\E\:tc=vt100:
1171
1172# This isn't a DEC entry, it came from University of Wisconsin.
1173# (vt131: I added <rmam>/<smam> based on the init string, also :bs: -- esr)
1174vt131|dec vt131:\
1175	:am:bs:xn:\
1176	:co#80:it#8:li#24:vt#3:\
1177	:RA=\E[?7h:SA=\E[?7h:bl=^G:cd=50\E[J:ce=3\E[K:\
1178	:cl=50\E[;H\E[2J:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1179	:do=^J:ho=\E[H:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:\
1180	:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
1181	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:\
1182	:me=2\E[m:mr=2\E[7m:nd=2\E[C:nw=^M^J:\
1183	:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
1184	:se=2\E[m:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:\
1185	:us=2\E[4m:
1186
1187# vt132 - like vt100 but slower and has ins/del line and such.
1188# I'm told that :im:/:ei: are backwards in the terminal from the
1189# manual and from the ANSI standard, this describes the actual
1190# terminal. I've never actually used a vt132 myself, so this
1191# is untested.
1192#
1193vt132|DEC vt132:\
1194	:xn:\
1195	:al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4h:im=\E[4l:ip=:sf=\n:tc=vt100:
1196
1197# This vt220 description maps F5--F9 to the second block of function keys
1198# at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
1199# with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
1200# PF1--PF4 are used as F1--F4.
1201#
1202vt220-old|vt200-old|DEC VT220 in vt100 emulation mode:\
1203	:am:bs:mi:pt:xn:xo:\
1204	:co#80:li#24:vt#3:\
1205	:@7=\E[4~:RA=\E[?7l:SA=\E[?7h:\
1206	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1207	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1208	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1209	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1210	:if=/usr/share/tabset/vt100:im=\E[4h:\
1211	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1212	:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
1213	:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
1214	:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
1215	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:\
1216	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1217	:rf=/usr/share/tabset/vt100:\
1218	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
1219	:sc=\E7:se=\E[27m:sf=20\ED:so=\E[7m:sr=14\EM:ta=^I:\
1220	:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1221
1222# A much better description of the VT200/220; used to be vt220-8
1223# (untranslatable capabilities removed to fit entry within 1023 bytes)
1224# (sgr removed to fit entry within 1023 bytes)
1225# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1226vt220|vt200|dec vt220:\
1227	:am:bs:mi:ms:xn:xo:\
1228	:co#80:it#8:li#24:vt#3:\
1229	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1230	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
1231	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
1232	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
1233	:ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
1234	:is=\E[?7h\E[>\E[?1h\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:\
1235	:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kI=\E[2~:\
1236	:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
1237	:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
1238	:nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
1239	:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
1240vt220-w|vt200-w|DEC vt220 in wide mode:\
1241	:co#132:\
1242	:r3=\E[?3h:tc=vt220:
1243# (untranslatable capabilities removed to fit entry within 1023 bytes)
1244# (sgr removed to fit entry within 1023 bytes)
1245# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1246vt220-8bit|vt220-8|vt200-8bit|vt200-8|dec vt220/200 in 8-bit mode:\
1247	:am:bs:mi:ms:xn:xo:\
1248	:co#80:it#8:li#24:vt#3:\
1249	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
1250	:LE=\233%dD:RI=\233%dC:UP=\233%dA:ae=^O:al=\233L:as=^N:\
1251	:bl=^G:cd=\233J:ce=\233K:cl=\233H\233J:cm=\233%i%d;%dH:\
1252	:cr=^M:cs=\233%i%d;%dr:ct=\2333g:dc=\233P:dl=\233M:do=^J:\
1253	:ec=\233%dX:ei=\2334l:ho=\233H:\
1254	:if=/usr/share/tabset/vt100:im=\2334h:\
1255	:is=\233?7h\233>\233?1h\E F\233?4l:k1=\EOP:k2=\EOQ:\
1256	:k3=\EOR:k4=\EOS:k6=\23317~:k7=\23318~:k8=\23319~:\
1257	:k9=\23320~:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\233B:\
1258	:kh=\233H:kl=\233D:kr=\233C:ku=\233A:le=^H:mb=\2335m:\
1259	:md=\2331m:me=\233m:mr=\2337m:nd=\233C:nw=\EE:rc=\E8:\
1260	:sc=\E7:se=\23327m:sf=\ED:so=\2337m:sr=\EM:st=\EH:ta=^I:\
1261	:ue=\23324m:up=\233A:us=\2334m:vb=\233?5h\233?5l:
1262
1263#
1264# vt220d:
1265# This vt220 description regards F6--F10 as the second block of function keys
1266# at the top of the keyboard.  This mapping follows the description given
1267# in the VT220 Programmer Reference Manual and agrees with the labeling
1268# on some terminals that emulate the vt220.  There is no support for an F5.
1269# See vt220 for an alternate mapping.
1270#
1271vt220d|DEC VT220 in vt100 mode with DEC function key labeling:\
1272	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
1273	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:k5@:\
1274	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
1275	:tc=vt220-old:
1276
1277vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins:\
1278	:am@:\
1279	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
1280
1281# vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
1282# (not an official DEC entry!)
1283# The problem with real vt220 terminals is they don't send escapes when in
1284# in vt220 mode.  This can be gotten around two ways.  1> don't send
1285# escapes or 2> put the vt220 into vt100 mode and use all the nifty
1286# features of vt100 advanced video which it then has.
1287#
1288# This entry takes the view of putting a vt220 into vt100 mode so
1289# you can use the escape key in emacs and everything else which needs it.
1290#
1291# You probably don't want to use this on a VMS machine since VMS will think
1292# it has a vt220 and will get fouled up coming out of emacs
1293#
1294# From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
1295# (Added vt100 :rc:,:sc: to quiet a tic warning -- esr)
1296vt200-js|vt220-js|dec vt200 series with jump scroll:\
1297	:am:\
1298	:co#80:\
1299	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
1300	:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:dm=:do=^J:ed=:\
1301	:ei=\E[4l:ho=\E[H:im=\E[4h:\
1302	: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:\
1303	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
1304	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
1305	:nw=^M\ED:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1306	:rf=/usr/lib/tabset/vt100:sc=\E7:se=5\E[27m:sf=\ED:\
1307	:so=5\E[7m:sr=\EM:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:
1308
1309
1310# This was DEC's vt320.  Use the purpose-built one below instead
1311#vt320|DEC VT320 in vt100 emulation mode,
1312#	use=vt220,
1313
1314#
1315# Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
1316#
1317vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode:\
1318	:am@:\
1319	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
1320
1321# These entries are not DEC's official ones, they were purpose-built for the
1322# VT320.  Here are the designer's notes:
1323# <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to
1324# 'Erase to End of Field'... since nothing seems to use 'end' anyways...
1325# khome is Home on a PC kbd.  Actually 'FIND' on a VT.
1326# Things that use <knxt> usually use tab anyways... and things that don't use
1327# tab usually use <knxt> instead...
1328# kprv is same as tab - Backtab is useless...
1329# I left out :sa: because of its RIDICULOUS complexity,
1330# and the resulting fact that it causes the termcap translation of the entry
1331# to SMASH the 1k-barrier...
1332# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
1333# (vt320: uncommented :fs:, comnmmented out <kslt> to avoid a conflict --esr)
1334# (untranslatable capabilities removed to fit entry within 1023 bytes)
1335# (sgr removed to fit entry within 1023 bytes)
1336# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1337vt320|vt300|dec vt320 7 bit terminal:\
1338	:am:es:hs:mi:ms:xn:\
1339	:co#80:li#24:ws#80:\
1340	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1341	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1342	:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:\
1343	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1344	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
1345	:ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
1346	:is=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
1347	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1348	:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1349	:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
1350	:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
1351	:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:\
1352	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[1$}\E[H\E[K:ue=\E[m:\
1353	:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1354vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy:\
1355	:am@:\
1356	:is=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
1357	:r2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
1358	:tc=vt320:
1359# We have to init 132-col mode, not 80-col mode.
1360vt320-w|vt300-w|dec vt320 wide 7 bit terminal:\
1361	:co#132:ws#132:\
1362	:is=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
1363	:r2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
1364	:tc=vt320:
1365vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am:\
1366	:am@:\
1367	:is=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
1368	:r2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
1369	:tc=vt320-w:
1370
1371# VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
1372#   which are pretty much a superset of the VT320.  They have the
1373#   host writable status line, yet another different DRCS matrix size,
1374#   and such, but they add the DEC Technical character set, Multiple text
1375#   pages, selectable length pages, and the like.  The difference between
1376#   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
1377#   monitor, the former has 4 planes and a color monitor.  These terminals
1378#   support VT131 and ANSI block mode, but as with much of these things,
1379#   termcap/terminfo doesn't deal with these features.
1380#
1381# Note that this entry is are set up in what was the standard way for GNU
1382# Emacs v18 terminal modes to deal with the cursor keys in that the arrow
1383# keys were switched into application mode at the same time the numeric pad
1384# is switched into application mode.  This changes the definitions of the
1385# arrow keys.  Emacs v19 is smarter and mines its keys directly out of
1386# your termcap or terminfo entry,
1387#
1388# From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
1389# (vt340: string capability "sb=\E[M" corrected to "sr";
1390# also, added <rmam>/<smam> based on the init string -- esr)
1391vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page:\
1392	:am:es:hs:mi:ms:xn:xo:\
1393	:co#80:it#8:li#24:vt#3:\
1394	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1395	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1396	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1397	:ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1398	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
1399	:dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
1400	:fs=\E[$}:ho=\E[H:im=\E[4h:\
1401	:is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
1402	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1403	:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
1404	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
1405	:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
1406	:r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt300:sc=\E7:\
1407	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1408	:ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
1409	:vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1410
1411# DEC doesn't supply a vt400 description, so we add Daniel Glasser's
1412# (originally written with vt420 as its primary name, and usable for it).
1413#
1414# VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple
1415#    text pages and long text pages with selectable length of the vt340, along
1416#    with left and right margins, rectangular area text copy, fill, and erase
1417#    operations, selected region character attribute change operations,
1418#    page memory and rectangle checksums, insert/delete column, reception
1419#    macros, and other features too numerous to remember right now.  TERMCAP
1420#    can only take advantage of a few of these added features.
1421#
1422# Note that this entry is are set up in what was the standard way for GNU
1423# Emacs v18 terminal modes to deal with the cursor keys in that the arrow
1424# keys were switched into application mode at the same time the numeric pad
1425# is switched into application mode.  This changes the definitions of the
1426# arrow keys.  Emacs v19 is smarter and mines its keys directly out of
1427# your termcap entry,
1428#
1429# From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
1430# (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
1431# also, added <rmam>/<smam> based on the init string -- esr)
1432# (untranslatable capabilities removed to fit entry within 1023 bytes)
1433# (sgr removed to fit entry within 1023 bytes)
1434# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1435vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap:\
1436	:am:es:hs:mi:ms:xn:xo:\
1437	:co#80:it#8:li#24:vt#3:\
1438	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1439	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:\
1440	:cd=10\E[J:ce=4\E[K:cl=10\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
1441	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
1442	:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:fs=\E[$}:ho=\E[H:\
1443	:ic=\E[@:im=\E[4h:\
1444	:is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
1445	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1446	:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
1447	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
1448	:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:se=\E[27m:\
1449	:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1450	:ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
1451	:vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1452
1453# (vt420: I removed :k0:, it collided with <kf10>.  I also restored
1454# a missing :sc: -- esr)
1455vt420|DEC VT420:\
1456	:am:mi:xn:xo:\
1457	:co#80:li#24:vt#3:\
1458	:*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
1459	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
1460	:SA=\E[?7h:\
1461	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1462	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1463	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1464	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1465	:i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
1466	:im=\E[4h:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:\
1467	:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
1468	:k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1469	:kb=^H:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:\
1470	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
1471	:r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
1472	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
1473	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
1474	:up=\E[A:us=\E[4m:
1475
1476#
1477# DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
1478# takes two parameters, the key and the string.  Translating the key is
1479# straightforward (keys 1-5 are not defined on real terminals, though some
1480# emulators define these):
1481#
1482#               if (key < 16) then  value = key;
1483#               else if (key < 21) then value = key + 1;
1484#               else if (key < 25) then value = key + 2;
1485#               else if (key < 27) then value = key + 3;
1486#               else if (key < 30) then value = key + 4;
1487#               else value = key + 5;
1488#
1489# The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT".
1490# There's no provision in terminfo for emitting a string in this format, so the
1491# application has to know it.
1492#
1493vt420pc|DEC VT420 w/PC keyboard:\
1494	:@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[11;2~:F4=\E[12;2~:\
1495	:F5=\E[13;2~:F6=\E[14;2~:F7=\E[15;2~:F8=\E[17;2~:\
1496	:F9=\E[18;2~:FA=\E[19;2~:FB=\E[20;2~:FC=\E[21;2~:\
1497	:FD=\E[23;2~:FE=\E[24;2~:FF=\E[23~:FG=\E[24~:FH=\E[25~:\
1498	:FI=\E[26~:FJ=\E[28~:FK=\E[29~:FL=\E[31~:FM=\E[32~:\
1499	:FN=\E[33~:FO=\E[34~:FP=\E[35~:FQ=\E[36~:FR=\E[23;2~:\
1500	:FS=\E[24;2~:FT=\E[25;2~:FU=\E[26;2~:FV=\E[28;2~:\
1501	:FW=\E[29;2~:FX=\E[31;2~:FY=\E[32;2~:FZ=\E[33;2~:\
1502	:Fa=\E[34;2~:Fb=\E[35;2~:Fc=\E[36;2~:\
1503	:S6=USR_TERM\072vt420pcdos\072:k1=\E[11~:k2=\E[12~:\
1504	:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
1505	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\177:kh=\E[H:\
1506	:..px=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\:tc=vt420:
1507
1508vt420pcdos|DEC VT420 w/PC for DOS Merge:\
1509	:li#25:\
1510	:S1=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;:\
1511	:S4=\E[?1;2r\E[34h:\
1512	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:S6@:\
1513	:me=\E[m:sa@:\
1514	:tc=vt420pc:
1515
1516vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys:\
1517	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
1518	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
1519	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1520	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
1521	:kD=\177:kh=\E[H:l1=\EOP:l2=\EOQ:l3=\EOR:l4=\EOS:\
1522	:tc=vt420:
1523
1524vt510|DEC VT510:\
1525	:tc=vt420:
1526vt510pc|DEC VT510 w/PC keyboard:\
1527	:tc=vt420pc:
1528vt510pcdos|DEC VT510 w/PC for DOS Merge:\
1529	:tc=vt420pcdos:
1530
1531# VT520/VT525
1532#
1533# The VT520 is a monochrome text terminal capable of managing up to
1534# four independent sessions in the terminal.  It has multiple ANSI
1535# emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
1536# and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
1537# 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
1538#
1539# Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
1540# [Alt]/[Print Screen] depending upon which keyboard and which
1541# terminal mode is being used.  If Set-Up has been disabled or
1542# assigned to an unknown key, Set-Up may be entered by pressing
1543# [F3] as the first key after power up, regardless of keyboard type.
1544# (vt520: I added <rmam>/<smam> based on the init string, also :sc: -- esr)
1545# (untranslatable capabilities removed to fit entry within 1023 bytes)
1546vt520|DEC VT520:\
1547	:am:mi:xn:xo:\
1548	:co#80:li#24:vt#3:\
1549	:*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
1550	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
1551	:SA=\E[?7h:\
1552	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1553	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1554	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1555	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1556	:i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
1557	:im=\E[4h:is=\E[1;24r\E[24;1H:k0=\E[29~:k1=\EOP:k2=\EOQ:\
1558	:k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
1559	:k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1560	:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
1561	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:r3=\E[?67h\E[64;1"p:\
1562	:rc=\E8:rf=/usr/share/tabset/vt300:sc=\E7:se=\E[m:sf=\ED:\
1563	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1564
1565# (vt525: I added <rmam>/<smam> based on the init string;
1566# removed :se:=\E[m, :ue:=\E[m, added :sc: -- esr)
1567# (untranslatable capabilities removed to fit entry within 1023 bytes)
1568vt525|DEC VT525:\
1569	:am:mi:xn:xo:\
1570	:co#80:li#24:vt#3:\
1571	:*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
1572	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
1573	:SA=\E[?7h:\
1574	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1575	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1576	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1577	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1578	:i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
1579	:im=\E[4h:is=\E[1;24r\E[24;1H:k0=\E[29~:k1=\EOP:k2=\EOQ:\
1580	:k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
1581	:k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1582	:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
1583	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:r3=\E[?67h\E[64;1"p:\
1584	:rc=\E8:rf=/usr/share/tabset/vt300:sc=\E7:se=\E[m:sf=\ED:\
1585	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1586
1587#### VT100 emulations
1588#
1589
1590# John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
1591# (the best Windows telnet as of September 1995) presents the name `dec-vt100'
1592# to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
1593# that this works best with a stock vt100 entry.
1594dec-vt100|EWAN telnet's vt100 emulation:\
1595	:tc=vt100:
1596
1597# From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
1598dec-vt220|DOS tnvt200 terminal emulator:\
1599	:am@:tc=vt220:
1600
1601# Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
1602# anyone who needs PC VT340 emulation. (or anything below that level, for
1603# that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
1604# RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
1605# I can send the address if requested.
1606# (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
1607# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
1608z340|zstem vt340 terminal emulator 132col 42line:\
1609	:li#42:\
1610	:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
1611	:r2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
1612	:tc=vt320-w:
1613z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins):\
1614	:am@:\
1615	:is=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
1616	:r2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
1617	:tc=z340:
1618
1619# CRT is shareware.  It implements some xterm features, including mouse.
1620crt|crt-vt220|CRT 2.3 emulating VT220:\
1621	:ms:ut:\
1622	:Co#8:pa#64:\
1623	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:Sb=\E[4%dm:Sf=\E[3%dm:\
1624	:op=\E[39;49m:st=\EH:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:\
1625	:u9=\E[c:\
1626	:tc=vt220:
1627
1628# This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
1629# T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
1630# (communication program) which supports:
1631#
1632#	- Serial port connections.
1633#	- TCP/IP (telnet) connections.
1634#	- VT100 emulation, and selected VT200/300 emulation.
1635#	- TEK4010 emulation.
1636#	- File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
1637#	  Quick-VAN).
1638#	- Scripts using the "Tera Term Language".
1639#	- Japanese and Russian character sets.
1640#
1641# The program does not come with terminfo or termcap entries.  However, the
1642# emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
1643# vt52 or doublesize character support; blinking is done with color).  Besides
1644# the HPA, VPA extensions it also implements CPL and CNL.
1645#
1646# All of the function keys can be remapped.  This description shows the default
1647# mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
1648# are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
1649# is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
1650#	kfnd	Insert
1651#	kslt	Delete
1652#	kich1	Home
1653#	kdch1	PageUp
1654#	kpp	End
1655#	knp	PageDown
1656#
1657# ANSI colors are implemented, but cannot be combined with video attributes
1658# except for reverse.
1659#
1660# No fonts are supplied with the program, so the acsc string is chosen to
1661# correspond with the default Microsoft terminal font.
1662#
1663# Tera Term recognizes some xterm sequences, including those for setting and
1664# retrieving the window title, and for setting the window size (i.e., using
1665# "resize -s"), though it does not pass SIGWINCH to the application if the
1666# user resizes the window with the mouse.
1667teraterm|Tera Term Pro:\
1668	:km:xo@:\
1669	:NC#43:vt@:\
1670	:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
1671	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
1672	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
1673	:ac=+\020\054\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:\
1674	:al=\E[L:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:\
1675	:cm=\E[%i%d;%dH:cv=\E[%i%dd:dc=\E[P:dl=\E[M:ec=\E[%dX:\
1676	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1677	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
1678	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:mb=\E[5m:md=\E[1m:\
1679	:me=\E[m:mr=\E[7m:nd=\E[C:op=\E[100m:se=\E[27m:so=\E[7m:\
1680	:sr=\EM:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:\
1681	:ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\
1682	:ve=\E[?25h:vi=\E[?25l:\
1683	:tc=klone+color:tc=vt100:
1684
1685# Tested with WinNT 4.0, the telnet application assumes the screensize is
1686# 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
1687ms-vt100|MS telnet imitating dec vt100:\
1688	:li#25:\
1689	:ac=+\020\054\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:\
1690	:ct@:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:\
1691	:tc=vt100:
1692
1693#### X terminal emulators
1694#
1695# You can add the following line to your .Xdefaults to change the terminal type
1696# set by the xterms you start up to my-xterm:
1697#
1698# *termName:  my-xterm
1699#
1700# System administrators can change the default entry for xterm instances
1701# by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
1702# case, xterm will detect and reject an invalid terminal type, falling back
1703# to the default of xterm.
1704#
1705
1706# X10/6.6	11/7/86, minus alternate screen, plus (csr)
1707# (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
1708# removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
1709# as these seem not to work -- esr)
1710x10term|vs100-x10|xterm terminal emulator (X10 window system):\
1711	:am:bs:km:mi:ms:xn:xo:\
1712	:co#80:it#8:li#65:\
1713	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
1714	:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
1715	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
1716	:im=\E[4h:is=\E\E[m\E[?7h\E[?1;4l:k1=\EOP:k2=\EOQ:\
1717	:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
1718	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:\
1719	:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
1720	:ue=\E[m:up=\E[A:us=\E[4m:
1721# Compatible with the R5 xterm
1722# (from the XFree86 3.2 distribution, <blink=@> removed)
1723# added khome/kend, rmir/smir, rmul/smul based on the R5 xterm code - TD
1724# corrected typos in rs2 string - TD
1725xterm-r5|xterm R5 version:\
1726	:am:bs:km:ms:xn:\
1727	:co#80:it#8:li#24:\
1728	:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
1729	:F1=\E[23~:F2=\E[24~:IC=\E[%d@:Km=\E[M:LE=\E[%dD:\
1730	:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
1731	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1732	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:\
1733	:im=\E[4h:k0=\EOq:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
1734	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1735	:k;=\E[21~:kA=\E[30~:kD=\E[3~:kE=\E[8~:kI=\E[2~:kL=\E[31~:\
1736	:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
1737	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
1738	:me=\E[m:mr=\E[7m:nd=\E[C:\
1739	:r2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H:\
1740	:rc=\E8:\
1741	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
1742	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
1743	:up=\E[A:us=\E[4m:
1744# Compatible with the R6 xterm
1745# (from XFree86 3.2 distribution, <acsc> and :it: added, <blink@> removed)
1746# added khome/kend - TD
1747# (untranslatable capabilities removed to fit entry within 1023 bytes)
1748# (sgr removed to fit entry within 1023 bytes)
1749# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1750xterm-r6|xterm-old|xterm X11R6 version:\
1751	:am:bs:km:mi:ms:xn:\
1752	:co#80:it#8:li#24:\
1753	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
1754	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
1755	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1756	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
1757	:ho=\E[H:im=\E[4h:\
1758	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:\
1759	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
1760	:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1761	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
1762	:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\
1763	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
1764	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:\
1765	:us=\E[4m:
1766# This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
1767# The name has been changed and some aliases have been removed.
1768# (untranslatable capabilities removed to fit entry within 1023 bytes)
1769# (sgr removed to fit entry within 1023 bytes)
1770# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1771xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System):\
1772	:am:bs:km:mi:ms:xn:\
1773	:co#80:it#8:li#24:\
1774	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1775	:K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1776	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
1777	:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1778	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
1779	:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
1780	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
1781	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1782	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\177:kI=\E[2~:\
1783	:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:\
1784	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
1785	:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
1786	:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:\
1787	:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
1788	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1789
1790# This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
1791# codes for F1-F4 except while in VT220 mode.
1792xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System):\
1793	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1794	:tc=xterm-xf86-v32:
1795
1796# This version was released in XFree86 3.3.3 (November 1998).
1797# Besides providing printer support, it exploits a new feature that allows
1798# xterm to use terminfo-based descriptions with the titeInhibit resource.
1799xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System):\
1800	:5i:\
1801	:*6@:@0@:@7=\E[4~:ei=:ic@:im=:is=\E[\041p\E[?3;4l\E[4l\E>:\
1802	:kD=\E[3~:kh=\E[1~:mb=\E[5m:mk=\E[8m:pf=\E[4i:po=\E[5i:\
1803	:ps=\E[i:r1=\Ec:r2=\E[\041p\E[?3;4l\E[4l\E>:\
1804	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
1805	:te=\E[?1047l\E[?1048l:ti=\E[?1048h\E[?1047h:\
1806	:tc=xterm-xf86-v33:
1807
1808# This beta version will probably be released in XFree86 4.0.
1809xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System):\
1810	:@7=\EOF:K1=\EOH:K2=\EOE:K3=\E[5~:K4=\EOF:K5=\E[6~:kD=\177:\
1811	:kh=\EOH:te=\E[?1049l:ti=\E[?1049h:\
1812	:tc=xterm-xf86-v333:
1813
1814xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System):\
1815	:tc=xterm-xf86-v40:
1816
1817# From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
1818xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1:\
1819	:se=\E[m:ue=\E[m:\
1820	:tc=xterm-xf86-v33:
1821
1822# This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
1823xterm-16color|xterm with 16 colors like aixterm:\
1824	:Co#16:NC#32:pa#256:\
1825	:AB=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm:\
1826	:AF=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm:\
1827	:..Sb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m:\
1828	:..Sf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m:\
1829	:tc=xterm-xf86-v40:
1830
1831# This is another variant, for XFree86 4.0 xterm (T.Dickey)
1832# This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
1833# To use it, your decTerminalID resource must be set to 200 or above.
1834#
1835#	HTS	\E H	\210
1836#	RI	\E M	\215
1837#	SS3	\E O	\217
1838#	CSI	\E [	\233
1839#
1840# (untranslatable capabilities removed to fit entry within 1023 bytes)
1841# (sgr removed to fit entry within 1023 bytes)
1842# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1843xterm-8bit|xterm terminal emulator 8-bit controls (X Window System):\
1844	:am:bs:km:mi:ms:xn:\
1845	:co#80:it#8:li#24:\
1846	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
1847	:K1=\217w:K2=\217y:K3=\217u:K4=\217q:K5=\217s:LE=\233%dD:\
1848	:RI=\233%dC:UP=\233%dA:ae=^O:al=\233L:as=^N:bl=^G:bt=\233Z:\
1849	:cd=\233J:ce=\233K:cl=\233H\2332J:cm=\233%i%d;%dH:cr=^M:\
1850	:cs=\233%i%d;%dr:ct=\2333g:dc=\233P:dl=\233M:do=^J:\
1851	:ec=\233%dX:ei=\2334l:ho=\233H:im=\2334h:\
1852	:is=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>:\
1853	:k1=\23311~:k2=\23312~:k3=\23313~:k4=\23314~:k5=\23315~:\
1854	:k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:kD=\2333~:\
1855	:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\217B:\
1856	:ke=\233?1l\E>:kh=\2331~:kl=\217D:kr=\217C:ks=\233?1h\E=:\
1857	:ku=\217A:le=^H:mb=\2335m:md=\2331m:me=\233m^O:mr=\2337m:\
1858	:nd=\233C:rc=\E8:sc=\E7:se=\23327m:sf=^J:so=\2337m:sr=\215:\
1859	:st=\210:ta=^I:te=\233?1049l:ti=\233?1049h:ue=\23324m:\
1860	:up=\233A:us=\2334m:vb=\233?5h\233?5l:ve=\233?25h:\
1861	:vi=\233?25l:vs=\233?25h:
1862
1863xterm-24|vs100|xterms|xterm terminal emulator (X Window System):\
1864	:li#24:tc=xterm:
1865
1866# This is xterm for ncurses.
1867xterm|xterm terminal emulator (X Window System):\
1868	:Km=\E[M:\
1869	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1870	:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:\
1871	:tc=xterm-r6:
1872
1873# These entries allow access to the X titlebar and icon name as a status line.
1874# Note that twm (and possibly window managers descended from it such as tvtwm,
1875# ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
1876# with it.
1877xterm+sl|access X title line and icon name:\
1878	:hs:\
1879	:ws#40:\
1880	:ds=\E]0;\007:fs=^G:ts=\E]0;:tc=xterm:
1881xterm+sl-twm|access X title line (pacify twm-descended window managers):\
1882	:hs:\
1883	:ws#40:\
1884	:ds=\E]2;\007:fs=^G:ts=\E]2;:tc=xterm:
1885
1886#
1887# The following xterm variants don't depend on your base version
1888#
1889# xterm with bold instead of underline
1890xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold:\
1891	:so=\E[7m:us=\E[1m:\
1892	:tc=xterm:
1893# (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
1894# (kterm should not invoke DEC Graphics as the alternate character set
1895#  -- Kenji Rikitake)
1896kterm|kterm kanji terminal emulator (X window system):\
1897	:es:hs:\
1898	:Km=\E[M:ac@:ae@:as@:cs=\E[%i%d;%dr:ds=\E[?H:eA@:fs=\E[?F:\
1899	:op=\E[39;49m:rc=\E8:sc=\E7:ts=\E[?E\E[?%i%dT:\
1900	:tc=xterm-r6:tc=klone+color:
1901# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
1902xterm-nic|xterm with ich/ich1 suppressed for non-curses programs:\
1903	:IC@:ei=:ic@:im=:\
1904	:tc=xterm:
1905# From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
1906xterm1|xterm terminal emulator ignoring the alternate screen buffer:\
1907	:te@:ti@:\
1908	:tc=xterm:
1909
1910# This describes the capabilities of color_xterm, an xterm variant from
1911# before ECMA-64 color support was folded into the main-line xterm release.
1912# This entry is straight from color_xterm's maintainer.
1913# From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
1914# The README's with the distribution also say that it supports SGR 21, 24, 25
1915# and 27, but they are not present in the terminfo or termcap.
1916# (untranslatable capabilities removed to fit entry within 1023 bytes)
1917# (sgr removed to fit entry within 1023 bytes)
1918# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1919color_xterm|cx|cx100|color_xterm color terminal emulator for X:\
1920	:am:bs:km:mi:ms:xn:\
1921	:co#80:it#8:li#65:\
1922	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1923	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1924	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
1925	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1926	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
1927	:i1=\E[r\E[m\E[?7h\E[?4;6l\E[4l:im=\E[4h:k1=\E[11~:\
1928	:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
1929	:k7=\E[18~:k8=\E[19~:k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1930	:kb=^H:kd=\EOB:kh=\E[7~:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:\
1931	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
1932	:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E>\E[?41;1r:\
1933	:ti=\E[?1;41s\E[?1;41h\E=:ue=\E[24m:up=\E[A:us=\E[4m:
1934
1935# The 'nxterm' distributed with Redhat Linux is a slight rehack of
1936# xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
1937# SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
1938# description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
1939# that each of those implements the home, end, delete keys differently.
1940nxterm|xterm-color|generic color xterm:\
1941	:NC@:\
1942	:op=\E[m:tc=xterm-r6:tc=klone+color:
1943
1944# From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
1945# Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
1946# Notes:
1947# rxvt 2.21b uses
1948#	smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
1949# but some applications don't work with that.
1950# It also has an AIX extension
1951#	box2=lqkxjmwuvtn,
1952# and
1953#	ech=\E[%p1%dX,
1954# but the latter does not work correctly.
1955#
1956# The distributed terminfo says it implements hpa and vpa, but they are not
1957# implemented correctly, using relative rather than absolute positioning.
1958#
1959# rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
1960# Since rxvt is not really compatible with xterm, it should be configured as
1961# "rxvt" (monochrome) and "rxvt-color".
1962# (untranslatable capabilities removed to fit entry within 1023 bytes)
1963# (sgr removed to fit entry within 1023 bytes)
1964# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1965rxvt|rxvt terminal base (X Window System):\
1966	:am:bs:eo:km:mi:ms:xn:xo:\
1967	:co#80:it#8:li#24:\
1968	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1969	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1970	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
1971	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1972	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
1973	:ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
1974	:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
1975	:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
1976	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1977	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
1978	:kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
1979	:md=\E[1m:me=\E[0m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
1980	:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1981	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
1982	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
1983	:vs=\E[?25h:
1984rxvt-color|rxvt terminal emulator (X Window System):\
1985	:Co#8:pa#64:\
1986	:AB=\E[%p1%{40}%+%dm:AF=\E[%p1%{30}%+%dm:me=\E[m\017:\
1987	:op=\E[39;49m:\
1988	:tc=rxvt:
1989
1990# These (xtermc and xtermm) are distributed with Solaris.  They refer to a
1991# variant of xterm which is apparently no longer supported, but are interesting
1992# because they illustrate SVr4 curses mouse controls - T.Dickey
1993# (untranslatable capabilities removed to fit entry within 1023 bytes)
1994xtermm|xterm terminal emulator (monocrome):\
1995	:am:bs:km:mi:ms:xn:\
1996	:BT#3:co#80:it#8:li#24:\
1997	:@7=\E[Y:@8=\EOM:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
1998	:F1=\EOZ:F2=\EOA:Gm=\E[%p1%dY:IC=\E[%d@:K1=\EOq:K2=\EOr:\
1999	:K3=\EOs:K4=\EOp:K5=\EOn:Km=\E[^_:LE=\E[%dD:RI=\E[%dC:\
2000	:RQ=\E[492Z:UP=\E[%dA:\
2001	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
2002	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
2003	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
2004	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
2005	:ic=\E[@:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2006	:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k;=\EOY:kN=\E[U:\
2007	:kP=\E[V:kb=^H:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:ku=\EOA:\
2008	:le=\E[1D:mb=@:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:\
2009	:r1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H:\
2010	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
2011	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E@0\E[?4r:\
2012	:ti=\E@0\E[?4s\E[?4h\E@1:up=\E[A:
2013
2014xtermc|xterm terminal emulator (color):\
2015	:Co#8:NC#7:pa#64:\
2016	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:\
2017	:..Sb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m:\
2018	:..Sf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m:\
2019	:op=\E[100m:\
2020	:tc=xtermm:
2021
2022# From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
2023# Here's a termcap entry I've been using for xterm_color, which comes
2024# with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
2025# color stuff, I also have a status line defined as the window manager
2026# title bar. [I have translated it to terminfo -- ESR]
2027xterm-pcolor|xterm with color used for highlights and status line:\
2028	:md=\E[1m\E[43m:mr=\E[7m\E[34m:so=\E[7m\E[31m:\
2029	:us=\E[4m\E[42m:\
2030	:tc=xterm+sl:tc=xterm-r6:
2031
2032# HP ships this, except for the pb#9600 which was merged in from BSD termcap.
2033# (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
2034hpterm|X-hpterm|hp X11 terminal emulator:\
2035	:am:da:db:mi:xs:\
2036	:Nl#8:co#80:lh#2:li#24:lm#0:lw#8:pb#9600:sg#0:\
2037	:LF=\E&j@:LO=\E&jB:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
2038	:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:\
2039	:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:\
2040	:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
2041	:kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
2042	:kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:\
2043	:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
2044	:ku=\EA:le=^H:md=\E&dB:me=\E&d@:mh=\E&dH:ml=\El:mr=\E&dB:\
2045	:mu=\Em:nd=\EC:..pk=\E&f%p1%dk%p2%l%dL%p2%s:\
2046	:..pl=\E&f1a%p1%dk%p2%l%dL%p2%s:\
2047	:..pn=\E&f%p1%dk%p2%l%dd0L%p2%s:\
2048	:..px=\E&f2a%p1%dk%p2%l%dL%p2%s:\
2049	:..sa=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;:\
2050	:se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:\
2051	:up=\EA:us=\E&dD:
2052
2053# This entry describes an xterm with Sun-style function keys enabled
2054# via the X resource setting "xterm*sunFunctionKeys:true"
2055# To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
2056# The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
2057# because we want it to be seen as <kcpy>.
2058# The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
2059# with their Sun keyboard labels instead.
2060# From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
2061xterm-sun|xterm with sunFunctionKeys true:\
2062	:%1=\E[196z:&8=\E[195z:@0=\E[200z:@5=\E[197z:@7=\E[220z:\
2063	:F1=\E[192z:F2=\E[193z:F3=\E[194z:F4=\E[195z:F5=\E[196z:\
2064	:F7=\E[198z:F8=\E[199z:F9=\E[200z:FA=\E[201z:FL=\E[208z:\
2065	:FM=\E[209z:FN=\E[210z:FO=\E[211z:FP=\E[212z:FQ=\E[213z:\
2066	:FS=\E[215z:FU=\E[217z:FW=\E[219z:FY=\E[221z:K2=\E[218z:\
2067	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
2068	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
2069	:kI=\E[2z:kN=\E[222z:kP=\E[216z:kh=\E[214z:\
2070	:tc=xterm:
2071xterms-sun|small (80x24) xterm with sunFunctionKeys true:\
2072	:co#80:li#24:tc=xterm-sun:
2073
2074# This is for the extensible terminal emulator on the X11R6 contrib tape.
2075emu|emu native mode:\
2076	:mi:ms:xo:\
2077	:Co#15:co#80:it#8:li#24:pa#64:vt#200:\
2078	:*6=\Esel:@0=\Efind:@8=^M:AB=\Es%i%p1%d;:AF=\Er%i%p1%d;:\
2079	:AL=\EQ%d;:DC=\EI%d;:DL=\ER%d;:DO=\Ep%d;:F1=\EF11:\
2080	:F2=\EF12:F3=\EF13:F4=\EF14:F5=\EF15:F6=\EF16:F7=\EF17:\
2081	:F8=\EF18:F9=\EF19:FA=\EF20:LE=\Eq-%d;:RI=\Eq%d;:\
2082	:UP=\Ep-%d;:\
2083	:ac=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244:\
2084	:ae=\0:al=\EQ1;:as=\0:bl=^G:cb=\EL:cd=\EN:ce=\EK:\
2085	:cl=\EP\EE0;0;:cm=\EE%d;%d;:cr=^M:cs=\Ek%d;%d;:ct=\Ej:\
2086	:dc=\EI1;:dl=\ER1;:do=\EB:eA=\0:ec=\Ej%d;:ei=\EX:\
2087	:ho=\EE0;0;:im=\EY:is=\ES\Er0;\Es0;:k0=\EF00:k1=\EF01:\
2088	:k2=\EF02:k3=\EF03:k4=\EF04:k5=\EF05:k6=\EF06:k7=\EF07:\
2089	:k8=\EF08:k9=\EF09:k;=\EF10:kD=\177:kI=\Eins:kN=\Enext:\
2090	:kP=\Eprior:kb=^H:kd=\EB:kl=\EC:kr=\ED:ku=\EA:le=^H:\
2091	:mb=\ES\EW:md=\ES\EU:me=\ES:mr=\ES\ET:nd=\ED:\
2092	:oc=\Es0;\Er0;:r2=\ES\Es0;\Er0;:se=\ES:sf=\EG:so=\ES\ET:\
2093	:sr=\EF:st=\Eh:ta=^I:ue=\ES:up=\EA:us=\ES\EV:ve=\Ea:vi=\EZ:\
2094	:vs=\Ea:
2095
2096######## COMMERCIAL WORKSTATION CONSOLES
2097#
2098
2099#### Alpha consoles
2100#
2101
2102# This is from the OSF/1 Release 1.0 termcap file
2103pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation:\
2104	:am:xo:\
2105	:co#80:li#25:\
2106	:al=\E[L:bl=^G:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
2107	:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=\E[B:\
2108	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:\
2109	:nd=\E[C:nw=^M^J:se=\E[m:so=\E[7m:ta=^I:up=\E[A:
2110
2111#### AT&T consoles
2112#
2113
2114# This actually describes the generic SVr4 display driver for Intel boxes.
2115# The :mh=\E[2m: isn't documented and therefore may not be reliable.
2116# From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
2117att6386|at386|386at|AT&T WGS 6386 console:\
2118	:am:bw:eo:xo:\
2119	:co#80:it#8:li#25:\
2120	:@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\EOZ:\
2121	:F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
2122	:SR=\E[%dT:UP=\E[%dA:\
2123	:ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
2124	:ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:\
2125	:ce=\E[K:ch=\E[%i%dG:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
2126	:ct=\E[2g:cv=\E[%i%dd:dc=\E[P:dl=\E[1M:do=\E[B:ec=\E[%dX:\
2127	:ei=:ho=\E[H:ic=\E[1@:im=:is=\E[0;10;39m:k1=\EOP:k2=\EOQ:\
2128	:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
2129	:k;=\EOY:kB=^]:kD=\E[P:kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=^H:\
2130	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
2131	:md=\E[1m:me=\E[0;10m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:\
2132	:nw=\r\E[S:rc=\E8:\
2133	:..sa=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p9%t;12%e;10%;%?%p7%t;9%;m:\
2134	:sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:st=\EH:ta=^I:\
2135	:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:\
2136	:tc=klone+color:
2137# (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
2138pc6300plus|AT&T 6300 plus:\
2139	:am:bs:xo:\
2140	:co#80:li#24:\
2141	:al=\E[1L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:\
2142	:cm=\E[%i%2;%2H:cr=^M:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
2143	:ei=:ho=\E[H:ic=\E[1@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:\
2144	:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\EOk:k;=\EOu:kb=^H:\
2145	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
2146	:me=\E[m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:nw=^M^J:\
2147	:se=\E[m:sf=^J:so=\E[7m:st=\EH:ue=\E[m:up=\E[A:us=\E[4m:\
2148	:ve=\E[=1C:vi=\E[=C:
2149
2150# From: Benjamin C. W. Sittler <bsittler@nmt.edu>
2151#
2152# I have a UNIX PC which I use as a terminal attached to my Linux PC.
2153# Unfortunately, the UNIX PC terminfo entry that comes with ncurses
2154# is broken. All the special key sequences are broken, making it unusable
2155# with Emacs. The problem stems from the following:
2156#
2157# The UNIX PC has a plethora of keys (103 of them, and there's no numeric
2158# keypad!), loadable fonts, and strange highlighting modes ("dithered"
2159# half-intensity, "smeared" bold, and real strike-out, for example.) It also
2160# uses resizable terminal windows, but the bundled terminal program always
2161# uses an 80x24 window (and doesn't support seem to support a 132-column
2162# mode.)
2163#
2164# HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
2165# library which was a superset of SVr3.5 curses (called tam, for "terminal
2166# access method".) tam includes support for real, overlapping windows,
2167# onscreen function key labels, and bitmap graphics. But since the primary
2168# user interface on the UNIX PC was a GUI program (ua, for "user
2169# assistant",) and remote administration was considered important for the
2170# machine, tam also supported VT100-compatible terminals attached to the
2171# serial port or used across the StarLan network. To simulate the extra keys
2172# not present on a VT100, users could press ESC and a two-letter sequence,
2173# such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
2174# however, were not the same as those sent by the actual Undo key. The
2175# actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
2176# (If you're interested in adding some of the tam calls to ncurses, btw, I
2177# have the full documentation and several programs which use tam. It also
2178# used an extended terminfo format to describe key sequences, special
2179# highlighting modes, etc.)
2180#
2181# KEYS: This means that ncurses would quite painful on the UNIX PC, since
2182# there are two sequences for every key-modifier combination (local keyboard
2183# sequence and remote "VT100" sequence.) But I doubt many people are trying
2184# to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
2185# GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume)
2186# seem to have been built from the manual describing the VT100 sequences.
2187# This means it doesn't work for a real live UNIX PC.
2188#
2189# FONTS: The UNIX PC also has a strange interpretation of "alternate
2190# character set". Rather than the VT100 graphics you might expect, it allows
2191# up to 8 custom fonts to be loaded at any given time. This means that
2192# programs expecting VT100 graphics will usually be disappointed. For this
2193# reason I have disabled the smacs/rmacs sequences, but they could easily be
2194# re-enabled. Here are the relevant control sequences (from the ESCAPE(7)
2195# manpage), should you wish to do so:
2196#
2197# SGR10 - Select font 0 - ESC [ 10 m or SO
2198# SGR11 - Select font 1 - ESC [ 11 m or SI
2199# SGR12 - Select font 2 - ESC [ 12 m
2200# ... (etc.)
2201# SGR17 - Select font 7 - ESC [ 17 m
2202#
2203# Graphics for line drawing are not reliably found at *any* character
2204# location because the UNIX PC has dynamically reloadable fonts. I use font
2205# 0 for regular text and font 1 for italics, but this is by no means
2206# universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
2207#
2208# MISC: The cursor visible/cursor invisible sequences were swapped in the
2209# distributed terminfo.
2210#
2211# To ameliorate these problems (and fix a few highlighting bugs) I rewrote
2212# the UNIX PC terminfo entry. The modified version works great with Lynx,
2213# Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
2214# attached by serial cable. In Emacs, even the Undo key works, and many
2215# applications can now use the F1-F8 keys.
2216#
2217# esr's notes:
2218#	Terminfo entry for the AT&T Unix PC 7300
2219#	from escape(7) in Unix PC 7300 Manual.
2220#	Somewhat similar to a vt100-am (but different enough
2221#	to redo this from scratch.)
2222#
2223#	/***************************************************************
2224#	*
2225#	*           FONT LOADING PROGRAM FOR THE UNIX PC
2226#	*
2227#	*     This routine loads a font defined in the file ALTFONT
2228#	*     into font memory slot #1.  Once the font has been loaded,
2229#	*     it can be used as an alternative character set.
2230#	*
2231#	*     The call to ioctl with the argument WIOCLFONT is the key
2232#	*     to this routine.  For more information, see window(7) in
2233#	*     the PC 7300 documentation.
2234#	***************************************************************/
2235#	#include <string.h>		/* needed for strcpy call */
2236#	#include <sys/window.h>         /* needed for ioctl call */
2237#	#define FNSIZE	60		/* font name size */
2238#	#define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
2239#	/*
2240#	*     The file /usr/lib/wfont/special.8.ft comes with the
2241#	*     standard PC software.  It defines a graphics character set
2242#	*     similar to that of the Teletype 5425 terminal.  To view
2243#	*     this or other fonts in /usr/lib/wfont, use the command
2244#	*     cfont <filename>.  For further information on fonts see
2245#	*     cfont(1) in the PC 7300 documentation.
2246#	*/
2247#
2248#	struct altfdata 	/* structure for alt font data */
2249#	{
2250#	short	altf_slot;		/* memory slot number */
2251#	char	altf_name[FNSIZE];	/* font name (file name) */
2252#	};
2253#	ldfont()
2254#	{
2255#		int wd;		/* window in which altfont will be */
2256#		struct altfdata altf;
2257#		altf.altf_slot=1;
2258#		strcpy(altf.altf_name,ALTFONT);
2259#		for (wd =1; wd < 12; wd++) {
2260#		     ioctl(wd, WIOCLFONT,&altf);
2261#	        }
2262#	}
2263#
2264# (att7300: added :vi:/:ve:/:ic:/<invis> from the BSDI entry,
2265# they're confirmed by the man page for the System V display---esr)
2266#
2267# (untranslatable capabilities removed to fit entry within 1023 bytes)
2268# (sgr removed to fit entry within 1023 bytes)
2269# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
2270att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300:\
2271	:am:xo:\
2272	:co#80:it#8:li#24:\
2273	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
2274	:UP=\E[%dA:al=\E[L:bl=^G:bt=\E^I:cd=\E[0J:ce=\E[0K:\
2275	:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
2276	:do=\E[B:ei=:ho=\E[H:i1=\017\E[=1w:ic=\E[@:im=:k1=\EOc:\
2277	:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:\
2278	:kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:\
2279	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[9m:md=\E[1m:\
2280	:me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:se=\E[m:\
2281	:sf=^J:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=0C:\
2282	:vi=\E[=1C:
2283
2284#### Hewlett-Packard consoles
2285#
2286# These are descriptions for the HP700 series, the workstations formerly
2287# known as Apollos.  HP terminals are described elsewhere in the file
2288#
2289
2290# From: Victor Duchovni <vic@fine.princeton.edu>
2291# (hp700-wy: removed obsolete ":nl=^J:";
2292# replaced /usr/share/tabset/hp700-wy with std because :it#8:,:st=\E1: -- esr)
2293hp700-wy|HP700/41 emulating wyse30:\
2294	:am:bs:bw:mi:ms:\
2295	:co#80:it#8:li#24:sg#1:\
2296	:al=0.7*\EE:bt=\EI:cd=\EY:ce=10\ET:cl=^Z:cm=\E=%+ %+ :\
2297	:cr=^M:ct=\E0:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:\
2298	:i1=\E~"\EC\Er\E(\EG0\003\E`9\E`1:\
2299	:if=/usr/share/tabset/stdcrt:im=\Eq:kB=\EI:kC=^Z:kE=\ET:\
2300	:kI=\Eq:kM=\Er:kS=\EY:kT=\EI:kb=\177:kd=^V:kh=^^:kl=^H:kr=^L:\
2301	:ku=^K:le=^H:ll=^^^K:me=10\EG0:nd=^L:se=10\EG0:so=10\EG4:\
2302	:sr=\Ej:st=\E1:ta=^I:ue=10\EG0:up=^K:us=10\EG8:
2303hp70092|hp70092a|hp70092A|HP 700/92:\
2304	:am:da:db:xs:\
2305	:Nl#8:co#80:lh#2:li#24:lm#0:lw#8:\
2306	:LF=\E&j@:LO=\E&jB:ac=0cjgktlrmfn/q\054t5u6v8w7x.:ae=^O:\
2307	:al=\EL:as=^N:bl=^G:bt=\Ei:ce=\EK:ch=\E&a%dC:\
2308	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
2309	:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
2310	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
2311	:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
2312	:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
2313	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
2314	:md=\E&dB:me=\E&d@:mh=\E&dH:mr=\E&dB:nd=\EC:se=\E&d@:\
2315	:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
2316
2317#  HP 700/44 Setup parameters:
2318# Terminal Mode		HP-PCterm
2319# Inhibit Auto Wrap	NO
2320# Status Line		Host Writable
2321# PC Character Set	YES
2322# Twenty-Five Line Mode	YES
2323# XON/XOFF		@128 or 64 (sc)
2324# Keycode Mode 		NO   or YES (sc)
2325# Backspace Key		BS or BS/DEL
2326#
2327# :is: 	sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
2328# \E\\? does not turn off keycode mode
2329# <smsc>	sets alternate start/stop; keycode on
2330hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode:\
2331	:am:eo:xn:xo:\
2332	:co#80:li#25:\
2333	:@7=\E[4~:RA=\E[?7l:S4=\E[>11h\EPO**x0/65;1/67\E\:\
2334	:S5=\E[>11l\EP1**x0/11;1/13\E[m\E\:SA=\E[?7h:XF=g:XN=e:\
2335	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
2336	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
2337	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
2338	:ic=\E[@:im=:\
2339	:is=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\:\
2340	:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
2341	:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:\
2342	:kB=\E[Z:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:\
2343	:kr=\E[C:ku=\E[A:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
2344	:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
2345	:vi=\E[?25l:
2346
2347#### Iris consoles
2348#
2349
2350# Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
2351# from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes
2352# for the application keypad mode.  We have added iris-ansi-ap rather than
2353# change the original to keypad mode.
2354#
2355# (iris-ansi: added rmam/smam based on init string -- esr)
2356#
2357# This entry, and those derived from it, is used in xwsh (also known as
2358# winterm).  Some capabilities that do not fit into the terminfo model
2359# include the shift- and control-functionkeys:
2360#
2361# F1-F12 generate different codes when shift or control modifiers are used.
2362# For example:
2363#	F1      	\E[001q
2364#	shift F1	\E[013q
2365#	control-F1	\E[025q
2366#
2367# In application keypad mode, F9-F12 generate codes like vt100 PF1-PF4, i.e.,
2368# \EOP to \EOS.  The shifted and control modifiers still do the same thing.
2369#
2370# The cursor keys also have different codes:
2371#	control-up	\E[162q
2372#	control-down	\E[165q
2373#	control-left	\E[159q
2374#	control-right	\E[168q
2375#
2376#	shift-up	\E[161q
2377#	shift-down	\E[164q
2378#	shift-left	\E[158q
2379#	shift-right	\E[167q
2380#
2381#	control-tab	\[072q
2382#
2383# iris-ansi-net alias helps with IRIX does when you rsh to a remote system.
2384iris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100):\
2385	:am:\
2386	:co#80:it#8:li#40:\
2387	:!2=\E[218q:#2=\E[143q:#4=\E[158q:%9=\E[209q:%f=\E[210q:\
2388	:%i=\E[167q:&7=\E[217q:*4=\E[P:*7=\E[147q:@7=\E[146q:\
2389	:@8=^M:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\E[011q:\
2390	:F2=\E[012q:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
2391	:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
2392	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:\
2393	:ho=\E[H:is=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8:\
2394	:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
2395	:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:k;=\E[010q:\
2396	:kB=\E[Z:kD=\177:kI=\E[139q:kM=\E[146q:kN=\E[154q:\
2397	:kP=\E[150q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
2398	:le=\E[D:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
2399	:pk=\EP101;%d.y%s\E\:rc=\E8:sc=\E7:se=\E[m:sf=\ED:\
2400	:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
2401	:ve=\E[9/y\E[12/y\E[=6l:vs=\E[10/y\E[=1h\E[=2l\E[=6h:
2402iris-ansi-ap|IRIS ANSI in application-keypad mode:\
2403	:@8=\EOM:F1=\E[011q:F2=\E[012q:is=\E[?1l\E=\E[?7h:\
2404	:k9=\E[009q:k;=\E[010q:\
2405	:tc=iris-ansi:
2406
2407# From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
2408# (T.Dickey 98/1/24)
2409iris-color|xwsh|IRIX ANSI with color:\
2410	:NC#33:\
2411	:DC=\E[%dP:IC=\E[%d@:ZH=\E[3m:ZR=\E[23m:cs=\E[%i%d;%dr:\
2412	:ec=\E[%dX:ei=:im=:mh=\E[2m:r1=\Ec:\
2413	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
2414	:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[24m:\
2415	:tc=klone+color:tc=iris-ansi-ap:
2416
2417# (wsiris: this had extension capabilities
2418#	:HS=\E7F2:HE=\E7F7:\
2419#	:CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
2420# See the note on Iris extensions near the end of this file.
2421# Finally, removed suboptimal :cl:=\EH\EJ and added :do: &
2422# :vb: from BRL -- esr)
2423wsiris|iris40|iris emulating a 40 line visual 50 (approximately):\
2424	:am:bs:nc:pt:\
2425	:co#80:it#8:kn#3:li#40:\
2426	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :dl=\EM:\
2427	:do=\EB:ho=\EH:is=\E7B0\E7F7\E7C2\E7R3:k0=\E0:k1=\E1:\
2428	:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
2429	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\E7F7:mh=\E7F2:nd=\EC:\
2430	:nl=\EB:se=\E0@:sf=^J:so=\E9P:sr=\EI:ta=^I:ue=\E7R3\E0@:\
2431	:up=\EA:us=\E7R2\E9P:vb=\E7F4\E7B1\013\E7F7\E7B0:ve=\E>:\
2432	:vs=\E;:
2433
2434#### NeWS consoles
2435#
2436# Console terminal windows under the NeWS (Sun's Display Postscript windowing
2437# environment).   Note: these have nothing to do with Sony's News workstation
2438# line.
2439#
2440
2441# Entry for NeWS's psterm from Eric Messick & Hugh Daniel
2442# (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
2443psterm|psterm-basic|NeWS psterm-80x34:\
2444	:am:bs:hs:km:ul:\
2445	:co#80:it#8:li#34:\
2446	:al=\EA:cd=\EB:ce=\EC:cl=^L:cm=\E%d;%d;:cs=\EE%d;%d;:\
2447	:dc=\EF:dl=\EK:do=\EP:ei=\ENi:fs=\ENl:ho=\ER:i1=\EN*:\
2448	:im=\EOi:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\ET:ll=\EU:\
2449	:mb=\EOb:md=\EOd:me=\EN*:mr=\EOr:nd=\EV:rc=^\:sc=^]:se=\ENo:\
2450	:sf=\EW:so=\EOo:sr=\EX:ta=^I:te=\ENt:ti=\EOt:ts=\EOl:\
2451	:ue=\ENu:up=\EY:us=\EOu:vb=\EZ:
2452psterm-96x48|NeWS psterm 96x48:\
2453	:co#96:li#48:tc=psterm:
2454psterm-90x28|NeWS psterm 90x28:\
2455	:co#90:li#28:tc=psterm:
2456psterm-80x24|NeWS psterm 80x24:\
2457	:co#80:li#24:tc=psterm:
2458# This is a faster termcap for psterm.  Warning:  if you use this termcap,
2459# some control characters you type will do strange things to the screen.
2460# (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
2461psterm-fast|NeWS psterm fast version (flaky ctrl chars):\
2462	:am:bs:hs:km:ul:\
2463	:co#80:it#8:li#34:\
2464	:al=^A:cd=^B:ce=^C:cl=^L:cm=\004%d;%d;:cs=\005%d;%d;:dc=^F:\
2465	:dl=^K:do=^P:ei=^Ni:fs=^Nl:ho=^R:i1=^N*:im=^Oi:kd=\E[B:\
2466	:kl=\E[D:kr=\E[C:ku=\E[A:le=^T:ll=^U:mb=^Ob:md=^Od:me=^N*:\
2467	:mr=^Or:nd=^V:rc=^\:sc=^]:se=^No:sf=^W:so=^Oo:sr=^X:ta=^I:\
2468	:te=^Nt:ti=^Ot:ts=^Ol:ue=^Nu:up=^Y:us=^Ou:vb=^Z:
2469
2470#### NeXT consoles
2471#
2472# Use `glasstty' for the Workspace application
2473#
2474
2475# From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
2476next|NeXT console:\
2477	:am:xt:\
2478	:co#80:it#8:li#24:\
2479	:bl=^G:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:do=^J:ho=\E[H:\
2480	:kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:nd=\E[C:nw=^M^J:se=\E[4;1m:\
2481	:sf=^J:so=\E[4;2m:ta=^I:up=\E[A:
2482nextshell|NeXT Shell application:\
2483	:am:\
2484	:co#80:\
2485	:bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:ta=^I:
2486
2487#### SCO consoles
2488#
2489
2490# SCO console and SOS-Syscons console for 386bsd
2491# (scoansi: had unknown capabilities
2492#	:Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
2493#	:GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
2494#	:G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
2495#	:CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
2496#	:WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
2497# I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
2498# on the :as:=\E[12m  -- esr)
2499# SCO function keys and <acsc> corrected by Thomas Dickey.
2500# In this description based on SCO's keyboard(HW) manpage list of default function key
2501# values:
2502#	F13-F24 are shifted F1-F12
2503#	F25-F36 are control F1-F12
2504#	F37-F48 are shift+control F1-F12
2505# (untranslatable capabilities removed to fit entry within 1023 bytes)
2506scoansi|SCO Extended ANSI standard crt:\
2507	:am:eo:xo:\
2508	:Co#8:co#80:it#8:li#25:pa#64:\
2509	:@1=\E[E:@7=\E[F:AB=\E[4%p1%dm:AF=\E[3%p1%dm:F1=\E[W:\
2510	:F2=\E[X:F3=\E[Y:F5=\E[a:F6=\E[b:F7=\E[c:F8=\E[d:F9=\E[e:\
2511	:FA=\E[f:FB=\E[g:FC=\E[h:FD=\E[i:FE=\E[j:FF=\E[k:FG=\E[l:\
2512	:FH=\E[m:FI=\E[n:FJ=\E[o:FK=\E[p:FL=\E[q:FM=\E[r:FN=\E[s:\
2513	:FO=\E[t:FP=\E[u:FQ=\E[v:FR=\E[w:FS=\E[x:FT=\E[y:FU=\E[z:\
2514	:FV=\E[@:FW=\E[[:FX=\E[\:FY=\E[]:FZ=\E[\136:Fa=\E[_:\
2515	:Fb=\E[`:Fc=\E[{:\
2516	:ac=0[5566778899\072\072;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`ja0fxgqh2jYk?lZm@nEqDtCu4vAwBx3~y:\
2517	:ae=\E[10m:al=\E[L:as=\E[12m:bt=\E[Z:cd=\E[J:ce=\E[K:\
2518	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
2519	:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
2520	:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:kB=\E[Z:\
2521	:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
2522	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
2523	:mk=\E[8m:mr=\E[7m:nd=\E[C:op=\E[37;40m:se=\E[m:sf=\E[S:\
2524	:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
2525
2526#### Sun consoles
2527#
2528
2529# :is1: resets scrolling region in case a previous user had used "tset vt100"
2530oldsun|Sun Microsystems Workstation console:\
2531	:am:bs:km:mi:ms:\
2532	:co#80:it#8:li#34:\
2533	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
2534	:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
2535	:dl=\E[M:do=\E[B:ei=:i1=\E[1r:ic=\E[@:im=:k1=\EOP:k2=\EOQ:\
2536	:k3=\EOR:k4=\EOS:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
2537	:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
2538# From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
2539# :li: capability later corrected by J.T. Conklin <jtc@cygnus.com>
2540# SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
2541sun-il|Sun Microsystems console with working insert-line:\
2542	:am:km:ms:\
2543	:co#80:li#34:\
2544	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
2545	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
2546	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
2547	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
2548	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
2549	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
2550	:kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
2551	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md@:me=\E[m:mr=\E[7m:nd=\E[C:\
2552	:r2=\E[s:\
2553	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
2554	:se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:ue@:\
2555	:up=\E[A:us@:
2556# On a SparcStation 5, :al:/:AL: flake out on the last line.
2557# Unfortunately, without them the terminal has no way to scroll.
2558sun-ss5|Sun SparcStation 5 console:\
2559	:AL@:al@:tc=sun-il:
2560# If you are using an SS5, change the sun definition to use sun-ss5.
2561sun|sun1|sun2|Sun Microsystems Inc. workstation console:\
2562	:tc=sun-il:
2563
2564# From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
2565sun-s|Sun Microsystems Workstation window with status line:\
2566	:hs:\
2567	:ds=\E]l\E\:fs=\E\:ts=\E]l:tc=sun:
2568sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\
2569	:hs:\
2570	:ds=\E]l\E\:fs=\E\:ts=\E]l:tc=sun-e:
2571sun-48|Sun 48-line window:\
2572	:co#80:li#48:tc=sun:
2573sun-34|Sun 34-line window:\
2574	:co#80:li#34:tc=sun:
2575sun-24|Sun 24-line window:\
2576	:co#80:li#24:tc=sun:
2577sun-17|Sun 17-line window:\
2578	:co#80:li#17:tc=sun:
2579sun-12|Sun 12-line window:\
2580	:co#80:li#12:tc=sun:
2581sun-1|Sun 1-line window for sysline:\
2582	:es:hs:\
2583	:co#80:li#1:\
2584	:ds=^L:fs=\E[K:ts=^M:tc=sun:
2585sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\
2586	:ei@:ic@:im@:\
2587	:tc=sun:
2588sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history:\
2589	:li#35:\
2590	:te=\E[>4h:ti=\E[>4l:tc=sun:
2591
2592#### Common Desktop Environment
2593#
2594
2595# This ships with Sun's CDE in Solaris 2.5
2596# Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
2597# (untranslatable capabilities removed to fit entry within 1023 bytes)
2598# (sgr removed to fit entry within 1023 bytes)
2599# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
2600dtterm|CDE desktop terminal:\
2601	:am:mi:ms:xn:xo:\
2602	:co#80:it#8:li#24:lm#0:\
2603	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2604	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
2605	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
2606	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
2607	:ei=\E[4l:ho=\E[H:im=\E[4h:\
2608	:is=\E F\E>\E[?1l\E[?7h\E[?45l:k1=\E[11~:k2=\E[12~:\
2609	:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
2610	:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
2611	:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
2612	:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
2613	:rc=\E8:sc=\E7:se=\E[22;27m:sf=\ED:so=\E[2;7m:sr=\EM:\
2614	:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:\
2615	:ve=\E[?25h:vi=\E[?25l:
2616
2617#### Mach
2618#
2619
2620# From: Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
2621mach|Mach Console:\
2622	:am:km:\
2623	:co#80:it#8:li#25:\
2624	:@7=\E[Y:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
2625	:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\
2626	:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:k1=\EOP:\
2627	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
2628	:k9=\EOX:k;=\EOY:kD=\E[9:kH=\E[F:kI=\E[@:kN=\E[U:kP=\E[V:\
2629	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
2630	:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:nw=^M^J:\
2631	:se=\E[0m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
2632mach-bold|Mach Console with bold instead of underline:\
2633	:ue=\E[0m:us=\E[1m:\
2634	:tc=mach:
2635
2636#### OSF Unix
2637#
2638
2639# OSF/1 1.1 Snapshot 2
2640pmcons|pmconsole|PMAX console:\
2641	:am:\
2642	:co#128:li#57:\
2643	:bl=^G:cl=^L:cr=^M:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2644	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:sf=^J:ta=^I:up=^K:
2645
2646######## UNIX VIRTUAL TERMINALS AND TELNET CLIENTS
2647#
2648
2649#### FSF virtual terminal types
2650#
2651
2652# The codes supported by the term.el terminal emulation in GNU Emacs 19.30
2653eterm|gnu emacs term.el terminal emulation:\
2654	:am:mi:xn:\
2655	:co#80:li#24:\
2656	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2657	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:\
2658	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
2659	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
2660	:im=\E[4h:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:se=\E[m:\
2661	:sf=^J:so=\E[7m:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
2662	:ue=\E[m:up=\E[A:us=\E[4m:
2663
2664# Entries for use by the `screen' program by Juergen Weigert,
2665# Michael Schroeder, Oliver Laumann.  The screen and
2666# screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
2667# come from University of Wisconsin and may be older.
2668# (screen: added :ve: on ANSI model -- esr)
2669# (screen: added <el1> -- TD)
2670
2671screen|VT 100/ANSI X3.64 virtual terminal:\
2672	:am:km:mi:ms:xn:\
2673	:Co#8:co#80:it#8:li#24:pa#64:\
2674	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
2675	:F2=\E[24~:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
2676	:ac=++\054\054--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
2677	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
2678	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
2679	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:\
2680	:ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2681	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
2682	:k;=\E[21~:kD=\E[3~:kH=\E[4~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
2683	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
2684	:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
2685	:mr=\E[7m:nd=\E[C:nw=\EE:r2=\Ec:rc=\E8:sc=\E7:se=\E[23m:\
2686	:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\EM:\
2687	:us=\E[4m:vb=\Eg:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[34l:\
2688	:tc=ecma+color:
2689
2690screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\
2691	:co#132:tc=screen:
2692
2693screen2|old VT 100/ANSI X3.64 virtual terminal:\
2694	:co#80:it#8:li#24:\
2695	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2696	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bt=\E[Z:cd=\E[J:\
2697	:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
2698	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ic=:im=\E[4h:k0=\E~:\
2699	:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:\
2700	:k9=\E0I:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
2701	:me=\E[m:nd=\E[C:nw=^M^J:r1=\Ec:rc=\E8:sc=\E7:se=\E[23m:\
2702	:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:\
2703	:us=\E[4m:
2704# (screen3: removed unknown ":xv:LP:G0:" -- esr)
2705screen3|older VT 100/ANSI X3.64 virtual terminal:\
2706	:km:mi:ms:\
2707	:co#80:it#8:li#24:\
2708	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2709	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
2710	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
2711	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
2712	:ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2713	:kb=^H:kd=\EOB:ke=\E>:kl=\EOD:kr=\EOC:ks=\E=:ku=\EOA:le=^H:\
2714	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:r1=\Ec:\
2715	:rc=\E8:sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:\
2716	:ue=\E[24m:up=\EM:us=\E[4m:
2717
2718# Francesco Potorti <F.Potorti@cnuce.cnr.it>:
2719# NCSA telnet is one of the most used telnet clients for the Macintosh.  It has
2720# been maintained until recently by the National Center for Supercomputer
2721# Applications, and it is feature rich, stable and free.  It can be downloaded
2722# from www.ncsa.edu.  This terminfo description file is based on xterm-vt220,
2723# xterm+sl, and the docs at NCSA.  It works well.
2724#
2725# NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
2726# The terminal options should be set as follows:
2727#         Xterm sequences ON
2728#         use VT wrap mode ON
2729#         use Emacs arrow keys OFF
2730#         CTRL-COMND is Emacs meta ON
2731#         8 bit mode ON
2732#         answerback string: "ncsa-vt220-8"
2733#         setup keys: all disabled
2734#
2735# Application mode is not used.
2736#
2737# Other special mappings:
2738#	Apple		VT220
2739#	HELP 		Find
2740#	HOME		Insert here
2741#	PAGEUP		Remove
2742#	DEL		Select
2743#	END		Prev Screen
2744#	PAGEDOWN	Next Screen
2745#
2746# Though it supports ANSI color, NCSA Telnet uses color to represent blinking
2747# text.
2748#
2749# The status-line manipulation is a mapping of the xterm-compatible control
2750# sequences for setting the window-title.  So you must use tsl and fsl in
2751# pairs, since the latter ends the string that is loaded to the window-title.
2752# (untranslatable capabilities removed to fit entry within 1023 bytes)
2753# (sgr removed to fit entry within 1023 bytes)
2754# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
2755ncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode:\
2756	:am:hs:km:mi:ms:xn:\
2757	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2758	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
2759	:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
2760	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
2761	:ds=\E]0;\007:ei=\E[4l:fs=^G:ho=\E[H:\
2762	:if=/usr/share/tabset/vt100:im=\E[4h:\
2763	:is=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>:k1=\E[17~:\
2764	:k2=\E[18:k3=\E[19~:k4=\E[20~:k5=\E[21~:k6=\E23~:\
2765	:k7=\E[24~:k8=\E[25~:k9=\E[26~:kD=\E[4~:kN=\E[6~:kP=\E[3~:\
2766	:kb=^H:kd=\E[B:kh=\E[2~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
2767	:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:\
2768	:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
2769	:te=\E[2J\E8:ti=\E7:ts=\E]0;:ue=\E[24m:up=\E[A:us=\E[4m:\
2770	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
2771ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode:\
2772	:tc=ncsa-m:tc=klone+color:
2773ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode:\
2774	:hs@:\
2775	:ds@:fs@:ts@:tc=ncsa:
2776ncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode:\
2777	:hs@:\
2778	:ds@:fs@:ts@:tc=ncsa-m:
2779# alternate -TD:
2780# The documented function-key mapping refers to the Apple Extended Keyboard
2781# (e.g., NCSA Telnet's F1 corresponds to a VT220 F6).  We use the VT220-style
2782# codes, however, since the numeric keypad (VT100) PF1-PF4 are available on
2783# some keyboards and many applications require these as F1-F4.
2784#
2785ncsa-vt220|NCSA Telnet using vt220-compatible function keys:\
2786	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
2787	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
2788	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
2789	:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
2790	:tc=ncsa:
2791
2792#### Pilot Pro Palm-Top
2793#
2794
2795# From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
2796pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional:\
2797	:am:xn:\
2798	:co#39:li#16:\
2799	:bl=^G:cl=\Ec:cm=\Em%+ %+ :cr=^M:do=^J:ho=\Em  :kN=^L:kP=^K:\
2800	:kb=^H:kd=^J:kl=^H:le=^H:nw=\Em~ :se=\EB:sf=^J:so=\Eb:ta=^I:
2801
2802######## NON-UNIX CONSOLES
2803#
2804
2805#### MGR
2806#
2807# MGR is a Bell Labs window system lighter-weight than X.
2808# These entries describe MGR's xterm-equivalent.
2809# They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997
2810#
2811
2812mgr|Bellcore MGR (non X) window system terminal emulation:\
2813	:am:km:\
2814	:AL=\E%da:DC=\E%dE:DL=\E%dd:IC=\E%dA:RA=\E5S:SA=\E5s:\
2815	:al=\Ea:bl=^G:cd=\EC:ce=\Ec:cl=^L:cm=\E%r%d;%dM:cr=^M:\
2816	:cs=\E%d;%dt:dc=\EE:dl=\Ed:do=\Ef:ei=:hd=\E1;2f:hu=\E1;2u:\
2817	:ic=\EA:im=:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
2818	:md=\E2n:me=\E0n:mr=\E1n:nd=\Er:nw=^M^J:se=\E0n:sf=^J:\
2819	:so=\E1n:ta=^I:ue=\E0n:up=\Eu:us=\E4n:ve=\Eh:vi=\E9h:\
2820	:vs=\E0h:
2821mgr-sun|Mgr window with Sun keyboard:\
2822	:%1=\E[207z:%6=\E[198z:&8=\E[195z:@0=\E[200z:@5=\E197z:\
2823	:@7=\E[220z:@8=\E[250z:F1=\E[234z:F2=\E[235z:K1=\E[214z:\
2824	:K2=\E[218z:K3=\E[216z:K4=\E[220z:K5=\E[222z:k1=\E[224z:\
2825	:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:k6=\E[229z:\
2826	:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:kN=\E[222z:\
2827	:kP=\E[216z:kh=\E[214z:\
2828	:tc=mgr:
2829mgr-linux|Mgr window with Linux keyboard:\
2830	:@7=\E[4~:F1=\E[23~:F2=\E[24~:K1=\E[H:K2=\E[G:K3=\E[5~:\
2831	:K4=\E[Y:K5=\E[6~:k0=\E[[J:k1=\E[[A:k2=\E[[B:k3=\E[[C:\
2832	:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
2833	:k9=\E[20~:k;=\E[21~:kD=\E[3~:kN=\E[6~:kP=\E[5~:kh=\E[1~:tc=mgr:
2834
2835#### BeOS
2836#
2837# BeOS entry for Terminal program Seems to be almost ANSI
2838beterm|BeOS Terminal:\
2839	:am:eo:mi:ms:xn:xo:\
2840	:Co#8:NC#5:co#80:it#8:li#25:pa#64:\
2841	:&7=^Z:@7=\E[4~:AB=\E[4%p1%dm:AF=\E[3%p1%dm:AL=\E[%dL:\
2842	:DC=\E[%dP:DL=\E[%dM:F1=\E[21~:F2=\E[22~:IC=\E[%d@:\
2843	:Sb=\E[%+(m:Sf=\E[%+^^m:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
2844	:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
2845	:cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:\
2846	:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[11~:k2=\E[12~:\
2847	:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[16~:k7=\E[17~:\
2848	:k8=\E[18~:k9=\E[19~:k;=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
2849	:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:\
2850	:le=^H:md=\E[1m:me=\E[0;10m:mr=\E[7m:nd=\E[C:nw=^M^J:\
2851	:op=\E[m:r1=\Ec:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
2852	:st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[24m:up=\E[A:\
2853	:us=\E[4m:
2854
2855#### QNX
2856#
2857
2858# QNX 4.0 Console
2859# Michael's original version of this entry had <am@>, :ti=\Ei:,
2860# :te=\Eh\ER:; this was so terminfo applications could write the lower
2861# right corner without triggering a scroll.  The ncurses terminfo library can
2862# handle this case with the :ic: capability, and prefers :am: for better
2863# optimization.  Bug: The <op> capability resets attributes.
2864# From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
2865# (removed: :sa=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,:)
2866# (untranslatable capabilities removed to fit entry within 1023 bytes)
2867# (sgr removed to fit entry within 1023 bytes)
2868# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
2869qnx|qnx4|qnx console:\
2870	:km:mi:ms:xt:\
2871	:co#80:it#4:li#25:\
2872	:al=\EE:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
2873	:dc=\Ef:dl=\EF:do=^J:ei=:ho=\EH:ic=\Ee:im=:k1=\377\201:\
2874	:k2=\377\202:k3=\377\203:k4=\377\204:k5=\377\205:\
2875	:k6=\377\206:k7=\377\207:k8=\377\210:k9=\377\211:\
2876	:kD=\377\254:kI=\377\253:kN=\377\252:kP=\377\242:\
2877	:kd=\377\251:kh=\377\240:kl=\377\244:kr=\377\246:\
2878	:ku=\377\241:le=^H:mb=\E{:md=\E<:me=\E}\E]\E>\E):mr=\E(:\
2879	:nd=\EC:rp=\Eg%r%+ %.:se=\E):sf=^J:so=\E(:sr=\EI:ta=^I:\
2880	:te=\Eh\ER:ti=\Ei:ue=\E]:up=\EA:us=\E[:ve=\Ey1:vi=\Ey0:\
2881	:vs=\Ey2:
2882
2883# From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
2884# (esr: commented out <scp> and :te: to avoid warnings.)
2885# (TD: derive from original qnx4 entry)
2886qnxt2|qnx 2.15 serial terminal:\
2887	:am:\
2888	:!3@:%h@:%j@:&7@:Sb@:Sf@:dc@:ei=:ic@:im=:rp@:se=\E>:so=\E<:te@:ti@:\
2889	:ve@:vi@:vs@:\
2890	:tc=qnx4:
2891
2892#### DOS ANSI.SYS variants
2893#
2894# This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
2895# documentation (except for the keyboard key reassignment feature, which
2896# doen't fit the <pfkey> model well).  The klone+acs sequences were valid
2897# though undocumented.  The <pfkey> capability is untested but should work for
2898# keys F1-F10 (%p1 values outside this range will yield unpredictable results).
2899# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
2900ansi.sys-old|ANSI.SYS under PC-DOS 2.1:\
2901	:am:bs:mi:ms:xo:\
2902	:co#80:li#25:\
2903	:RA=\E[?7l:SA=\E[?7h:ce=\E[k:cl=\E[2J:cm=\E[%i%d;%dH:\
2904	:do=\E[B:ho=\E[H:is=\E[m\E[?7h:kd=^J:kh=^^:kl=^H:kr=^L:\
2905	:ku=^K:le=^H:nd=\E[C:pk=\E[0;%+:;"%s":rc=\E[u:sc=\E[s:\
2906	:u6=\E[%i%d;%dR:u7=\E[6n:up=\E[A:\
2907	:tc=klone+color:tc=klone+sgr:
2908ansi.sys|ANSI.SYS 3.1 and later versions:\
2909	:ce=\E[K:tc=ansi.sys-old:
2910
2911#
2912# Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
2913# This should only be used when the terminal emulator cannot redefine the keys.
2914# Since redefining keys with ansi.sys also affects PC-DOS programs, the key
2915# definitions must be restored.  If the terminal emulator is quit while in vi
2916# or others using :ks:/:ke:, the keypad will not be defined as per PC-DOS.
2917# The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
2918# (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
2919# does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
2920# Note that :kl: is always BS, because PC-dos can tolerate this change.
2921# Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
2922# Consequently the End keypad key could not be set (it is relatively safe and
2923# actually useful because it sends ^@ O, which beeps and opens a line above).
2924ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
2925	:is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
2926	: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:\
2927	: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:\
2928	:tc=ansi.sys:
2929#
2930# Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
2931nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
2932	:al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
2933	:is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:tc=ansi.sys:
2934#
2935# See ansi.sysk and nansi.sys above.
2936nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
2937	:al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
2938	:is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:tc=ansi.sysk:
2939
2940#### OS/2
2941#
2942
2943# Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
2944# a Unix-style environment used on OS/2.  (Note that the suffix makes some
2945# names longer than 14 characters, the nominal maximum).
2946#
2947# Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
2948ansi-emx|ANSI.SYS color:\
2949	:am:eo:mi:ms:ut:xn:xo:\
2950	:Co#16:co#80:it#8:li#25:pa#64:\
2951	:&7=^Z:AB=\E[4%p1%dm:AF=\E[3%p1%dm:DC=\E[%dp:IC=\E[%d@:\
2952	:K2=\E[G:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
2953	:cl=\E[1;33;44m\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
2954	:do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k0=\0D:k1=\0;:\
2955	:k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:k9=\0C:\
2956	:kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:kd=\0P:kh=\0G:kl=\0K:\
2957	:kr=\0M:ku=\0H:le=^H:mb=\E[5m:md=\E[1m:\
2958	:me=\E[0m\E[1;33;44m:mr=\E[5;37;41m:nd=\E[C:nw=^M^J:\
2959	:r1=\Ec:se=\E[0;44m\E[1;33m:sf=^J:so=\E[0;31;47m:st=\EH:\
2960	:ta=^I:u8=\E[?6c:u9=\E[c:ue=\E[0;44m\E[1;33m:up=\E[A:\
2961	:us=\E[1;31;44m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
2962ansi-color-2-emx|ANSI.SYS color 2:\
2963	:am:eo:mi:ms:ut:xn:xo:\
2964	:Co#16:co#80:it#8:li#25:pa#64:\
2965	:&7=^Z:AB=\E[4%p1%dm:AF=\E[3%p1%dm:DC=\E[%dp:IC=\E[%d@:\
2966	:K2=\E[G:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
2967	:cl=\E[0;37;44m\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
2968	:do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k0=\0D:k1=\0;:\
2969	:k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:k9=\0C:\
2970	:kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:kd=\0P:kh=\0G:kl=\0K:\
2971	:kr=\0M:ku=\0H:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;37;44m:\
2972	:mr=\E[1;37;46m:nd=\E[C:nw=^M^J:r1=\Ec:se=\E[0;37;44m:\
2973	:sf=^J:so=\E[1;37;46m:st=\EH:ta=^I:u8=\E[?6c:u9=\E[c:\
2974	:ue=\E[0;37;44m:up=\E[A:us=\E[1;36;44m:vb=\E[?5h\E[?5l:\
2975	:ve=\E[?25h:vi=\E[?25l:
2976ansi-color-3-emx|ANSI.SYS color 3:\
2977	:am:eo:mi:ms:ut:xn:xo:\
2978	:Co#16:co#80:it#8:li#25:pa#64:\
2979	:&7=^Z:AB=\E[4%p1%dm:AF=\E[3%p1%dm:DC=\E[%dp:IC=\E[%d@:\
2980	:K2=\E[G:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
2981	:cl=\E[0;37;40m\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
2982	:do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k0=\0D:k1=\0;:\
2983	:k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:k9=\0C:\
2984	:kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:kd=\0P:kh=\0G:kl=\0K:\
2985	:kr=\0M:ku=\0H:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
2986	:mr=\E[1;37;46m:nd=\E[C:nw=^M^J:r1=\Ec:se=\E[0;37;40m:\
2987	:sf=^J:so=\E[1;37;46m:st=\EH:ta=^I:u8=\E[?6c:u9=\E[c:\
2988	:ue=\E[0;37;40m:up=\E[A:us=\E[0;36;40m:vb=\E[?5h\E[?5l:\
2989	:ve=\E[?25h:vi=\E[?25l:
2990mono-emx|stupid monochrome ansi terminal with only one kind of emphasis:\
2991	:am:\
2992	:co#80:it#8:li#24:\
2993	:K2=\E[G:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:do=\E[B:\
2994	:ho=\E[H:k0=\0D:k1=\0;:k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:\
2995	:k7=\0A:k8=\0B:k9=\0C:kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:\
2996	:kd=\0P:kh=\0G:kl=\0K:kr=\0M:ku=\0H:le=\E[D:me=\E[0m:\
2997	:mr=\E[7m:nd=\E[C:nw=^M^J:ta=^I:up=\E[A:
2998
2999# Use this for cygwin32 (tested with beta 19.1)
3000# underline is colored bright magenta
3001# shifted kf1-kf12 are kf11-kf22
3002cygwin|ansi emulation for cygwin32:\
3003	:@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
3004	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
3005	:FA=\E[34~:RA@:SA@:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:\
3006	:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
3007	:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:\
3008	:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:\
3009	:tc=ansi.sys:
3010
3011
3012#### Windows NT
3013#
3014# This entry fits the Windows NT console when the _POSIX_TERM environment
3015# variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
3016# the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
3017# stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
3018# systems is not, and (surprise!) they match very well.
3019#
3020# See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
3021# VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
3022# are the installation instructions a pile of mind-numbing bureaucratese,
3023# but the termcap entry is actually broken and unusable as given; the :do:
3024# capability is misspelled "d".
3025#
3026# To use this, you need to a bunch of environment variables:
3027#
3028# SET _POSIX_TERM=on
3029# SET TERM=ansi
3030# SET TERMCAP=location of termcap file in POSIX file format
3031# which is case-sensitive.
3032# e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
3033# SET TMP=//C/TEMP
3034#
3035# Important note: setting the TMP environment variable in POSIX style renders
3036# it incompatible with a lot of other applications, including Visual C++. So
3037# you should have a separate command window just for vi. All the other
3038# variables may be permanently set in the Control Panel\System applet.
3039#
3040# You can find out more about the restrictions of this facility at
3041# <http://www.nentug.org/unix-to-nt/ntposix.htm>.
3042#
3043# From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
3044ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode:\
3045	:am:bw:ms:\
3046	:co#80:it#8:li#25:\
3047	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:\
3048	:ho=\E[H:kb=^H:kd=\E[V:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
3049	:me=\E[0m:mr=\E[7m:nd=\E[C:nw=\r\E[S:rc=\E[u:sc=\E[s:\
3050	:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:up=\E[A:
3051# From: jew@venus.sunquest.com
3052# Date: 19 Feb 93 23:41:07 GMT
3053# Here's  a  combination of  ansi and  vt100 termcap
3054# entries   that  works  nearly   perfectly  for  me
3055# (Gateway 2000 Handbook and Microsoft Works 3.0):
3056pcmw|PC running Microsoft Works:\
3057	:am:xn:\
3058	:co#80:it#8:li#24:vt#3:\
3059	:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
3060	:cm=5\E[%i%d;%dH:cr=^M:ct=2\E[3g:do=^J:ho=\E[H:\
3061	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
3062	:kb=^H:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=2\E[5m:\
3063	:md=2\E[1m:me=2\E[m:mr=2\E[7m:nd=2\E[C:nw=5\r\ED:\
3064	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
3065	:rf=/usr/share/lib/tabset/vt100:sc=\E7:se=2\E[m:sf=5\ED:\
3066	:so=2\E[7m:sr=5\EM:st=2\EH:ta=^I:ue=2\E[m:up=2\E[A:\
3067	:us=2\E[4m:
3068
3069######## COMMON TERMINAL TYPES
3070#
3071# This section describes terminal classes and maker brands that are still
3072# quite common, but have proprietary command sets not blessed by ANSI.
3073#
3074
3075#### Lear-Siegler (adm)
3076#
3077# These guys are long since out of the terminals business, but
3078# in 1995 many current terminals still have an adm type as one of their
3079# emulations (usually their stupidest, and usually labeled adm3, though
3080# these `adm3' emulations normally have adm3a+ capabilities).
3081#
3082# WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a
3083# `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
3084# was being held to ground would trigger a send of the top line on the screen.
3085# A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
3086# hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
3087# for clearing up this point.)
3088#
3089
3090adm1a|adm1|lsi adm1a:\
3091	:am:\
3092	:co#80:li#24:\
3093	:bl=^G:cl=\E;:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:le=^H:nd=^L:\
3094	:sf=^J:up=^K:
3095adm2|lsi adm2:\
3096	:am:bs:\
3097	:co#80:li#24:\
3098	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
3099	:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:kd=^J:kh=^^:kl=^H:\
3100	:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
3101# (adm3: removed obsolete ":ma=^K^P:" -- esr)
3102adm3|lsi adm3:\
3103	:am:bs:\
3104	:co#80:li#24:\
3105	:bl=^G:cl=^Z:cr=^M:do=^J:le=^H:sf=^J:
3106# The following ADM-3A switch settings are assumed for normal operation:
3107#	SPACE		U/L_DISP	CLR_SCRN	24_LINE
3108#	CUR_CTL		LC_EN		AUTO_NL		FDX
3109# Other switches may be set for operator convenience or communication
3110# requirements.  I recommend
3111#	DISABLE_KB_LOCK	LOCAL_OFF	103		202_OFF
3112#	ETX_OFF		EOT_OFF
3113# Most of these terminals required an option ROM to support lower case display.
3114# Open the case and look at the motherboard; if you see an open 24-pin DIP
3115# socket, you may be out of luck.
3116#
3117# (adm3a: some capabilities merged in from BRl entry -- esr)
3118adm3a|lsi adm3a:\
3119	:am:bs:\
3120	:co#80:li#24:\
3121	:bl=^G:cl=1\032:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:kd=^J:kl=^H:\
3122	:kr=^L:ku=^K:le=^H:ma=^K^P:nd=^L:nl=^J:r1=^N:rs=^N:sf=^J:\
3123	:up=^K:
3124adm3a+|adm3a plus:\
3125	:kb=^H:tc=adm3a:
3126# (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
3127adm5|lsi adm5:\
3128	:sg#1:\
3129	:bl=^G:cd=\EY:ce=\ET:cr=^M:do=^J:kb=^H:kh=^^:se=\EG:so=\EG:tc=adm3a+:
3130# A lot of terminals other than adm11s use these.  Wherever you see
3131# use=adm+sgr with some of its capabilities disabled, try the
3132# disabled ones.  They may well work but not have been documented or
3133# expressed in the using entry.  We'd like to cook up an :sa: but the
3134# :ae:/:as: sequences of the using entries vary too much.
3135adm+sgr|adm style highlight capabilities:\
3136	:me=\EG0:mk=\EG1:mr=\EG4:se=\EG0:so=\EG4:ue=\EG0:us=\EG8:
3137# LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
3138# Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
3139# :kh: from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  :cl: could also
3140# be ^Z, according to his entry.
3141# (adm11: :us:=\EG4 was obviously erroneous because it also said
3142# :mr:=\EG4.  Looking at other ADMs confirms this -- esr)
3143adm11|LSI ADM-11:\
3144	:am:bs:hs:\
3145	:co#80:kn#8:li#24:\
3146	:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ds=\Eh:\
3147	:fs=\E(\r:ho=^^:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
3148	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=^^:\
3149	:kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:nd=^L:nl=^J:nw=^M^J:ta=^I:\
3150	:ts=\EF\E):up=^K:\
3151	:tc=adm+sgr:
3152# From: Andrew Scott Beals <bandy@lll-crg.ARPA>
3153# Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
3154# Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
3155# (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
3156# :is:=\Eq but that looked wrong; this :is: is from Dave Yost <esquire!yost>
3157# via BRL.  That entry asserted :sg#1:, but I've left that out because
3158# neither earlier nor later ADMSs have it -- esr)
3159#
3160# You will need to get into the supervisor setup before you can set
3161# baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
3162# see a lot more setup options.
3163#
3164# While in supervisor setup you can also use following codes:
3165#
3166# Ctrl-P Personality character selections (configure for example what
3167#        arrow keys send, if I recall correctly)
3168# Ctrl-T tabs 1-80   use left&right to move and up to set and
3169# Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
3170# Ctrl-B Binary setup (probably not needed. I think that everything can
3171#        be set using normal setup)
3172# Ctrl-A Answerback mode (enter answerback message)
3173# Ctrl-U User friendly mode (normal setup)
3174# Ctrl-D Defaults entire setup and function keys from EPROM tables
3175# Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
3176# Ctrl-R Reads both setup and functions keys from NVM.
3177# Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
3178#
3179# ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
3180# RTS/CTS used nowadays with virtually every modem and computer. 19200
3181# bps works fine with hardware flow control.
3182#
3183# The following null-modem cable should fix this and enable you to use
3184# RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
3185# set ADM-12+ for DTR handshaking from supervisor setup.
3186#
3187# PC Serial   ADM-12+
3188#  --------   -------
3189#         2 - 3
3190#         3 - 2
3191#         4 - 5
3192#         5 - 20
3193#       6,8 - 4
3194#         7 - 7
3195#        20 - 6,8
3196#
3197adm12|lsi adm12:\
3198	:am:bs:mi:pt:\
3199	:co#80:it#8:li#24:\
3200	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E0:\
3201	:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:ic=\EQ:im=\Eq:\
3202	:is=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1:\
3203	:k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
3204	:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:\
3205	:ku=^K:le=^H:nd=^L:st=\E1:up=^K:\
3206	:tc=adm+sgr:
3207# (adm20: removed obsolete ":kn#7:" -- esr)
3208adm20|lear siegler adm20:\
3209	:am:bs:\
3210	:co#80:it#8:li#24:\
3211	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
3212	:cm=\E=%i%r%+^_%+^_:cr=^M:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:\
3213	:im=:k1=^A:k2=^B:k3=^W:k4=^D:k5=^E:k6=^X:k7=^Z:le=^H:me=\E(:\
3214	:nd=^L:se=\E(:so=\E):ta=^I:up=^K:
3215adm21|lear siegler adm21:\
3216	:sg#1:\
3217	:al=30*\EE:bl=^G:cd=\EY:ce=\ET:cr=^M:dc=\EW:dl=30*\ER:do=^J:\
3218	:ei=:ic=\EQ:im=:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:mk@:sf=^J:\
3219	:tc=adm+sgr:tc=adm3a:
3220# (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
3221# removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
3222# removed bogus-looking \200 from before :cm:. -- esr)
3223adm22|lsi adm22:\
3224	:am:bs:\
3225	:co#80:li#24:\
3226	:al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
3227	:cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
3228	:is=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0:\
3229	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
3230	:k7=^AF\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:l1=F1:l2=F2:\
3231	:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:le=^H:me=\E(:nd=^L:se=\E(:\
3232	:so=\E):ta=\Ei:up=^K:
3233# ADM 31 DIP Switches
3234#
3235# This information comes from two versions of the manual for the
3236# Lear-Siegler ADM 31.
3237#
3238# Main board:
3239#                  rear of case
3240#   +-||||-------------------------------------+
3241#   + S1S2                              ||S    +
3242#   +                                   ||3    +
3243#   +                                          +
3244#   +                                ||S       +
3245#   +                                ||4       +
3246#   +                                          +
3247#   +                                          +
3248#   +                                          +
3249#   +                                          +
3250#   +                                          +
3251# +-+                                          +-+
3252# +                                              +
3253# +                               S5 S6 S7       +
3254# +                               == == ==       +
3255# +----------------------------------------------+
3256#            front of case (keyboard)
3257#
3258#  S1 - Data Rate - Modem
3259#  S2 - Data Rate - Printer
3260# ------------------------
3261# Data Rate   Setting
3262# -------------------
3263# 50          0 0 0 0
3264# 75          1 0 0 0
3265# 110         0 1 0 0
3266# 134.5       1 1 0 0
3267# 150         0 0 1 0
3268# 300         1 0 1 0
3269# 600         0 1 1 0
3270# 1200        1 1 1 0
3271# 1800        0 0 0 1
3272# 2000        1 0 0 1
3273# 2400        0 1 0 1
3274# 3600        1 1 0 1
3275# 4800        0 0 1 1
3276# 7200        1 0 1 1
3277# 9600        0 1 1 1
3278# x           1 1 1 1
3279#
3280# S3 - Interface/Printer/Attributes
3281# ---------------------------------
3282# Printer Busy Control
3283# sw1   sw2   sw3
3284# ---------------
3285# off   off   off   Busy not active, CD disabled
3286# off   off   on    Busy not active, CD enabled
3287# off   on    off   Busy active on J5-20, CD disabled
3288# on    off   off   Busy active on J5-19, CD disabled - Factory Set.
3289# on    off   on    Busy active on J5-19, CD enabled
3290#
3291# sw4   Used in conjuction with S4 for comm interface control - Fact 0
3292#
3293# sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
3294#
3295# sw6   ON enables printer BUSY active LOW - Factory Setting
3296#       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
3297#
3298# sw7   ON - steady cursor - Factory Setting
3299#       OFF - blinking cursor
3300#
3301# sw8   ON causes selected attribute character to be displayed
3302#       OFF causes SPACE to be displayed instead - Factory Setting
3303#
3304# S4 - Interface
3305# --------------
3306# Modem Interface
3307# S3    S4    S4    S4    S4
3308# sw4   sw1   sw2   sw3   sw4
3309# ---------------------------
3310# OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
3311#                               Current Loop disabled - Factory Setting
3312# ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
3313#                               disabled
3314# OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
3315#                               Current Loop Disabled
3316#
3317# sw5   ON disables dot stretching mode - Factory Setting
3318#       OFF enables dot stretching mode
3319# sw6   ON enables blanking function
3320#       OFF enables underline function - Factory Setting
3321# sw7   ON causes NULLS to be displayed as NULLS
3322#       OFF causes NULLS to be displayed as SPACES - Factory Setting
3323#
3324# S5 - Word Structure
3325# -------------------
3326# sw1   ON enables BREAK key - Factory Setting
3327#       OFF disables BREAK key
3328# sw2   ON selects 50Hz monitor refresh rate
3329#       OFF selects 60Hz monitor refresh rate - Factory Setting
3330#
3331# Modem Port Selection
3332# sw3   sw4   sw5
3333# ---------------
3334# ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
3335# OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
3336# ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
3337# OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
3338# ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
3339# OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
3340# ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
3341# OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
3342#
3343# sw6   ON  sends bit 8 a 1 (mark)
3344#       OFF sends bit 8 as 0 (space) - Factory Setting
3345# sw7   ON  selects Block Mode
3346#       OFF selects Conversation Mode - Factory Setting
3347# sw8   ON  selects Full Duplex operation
3348#       OFF selects Half Duplex operation - Factory Setting
3349#
3350# S6 - Printer
3351# ------------
3352# sw1, sw2, sw6, sw7   Reserved - Factory 0
3353#
3354# Printer Port Selection
3355# same as Modem above, bit 8 (when 8 DATA bits) is always = 0
3356#
3357# sw8   ON   enables Printer Port
3358#       OFF disables Printer Port - Factory Setting
3359#
3360# S7 - Polling Address
3361# --------------------
3362# sw1-7 Establish ASCII character which designates terminal polling address
3363#       ON  = logic 0
3364#       OFF = logic 1 - Factory Setting
3365# sw8   ON   enables Polling Option
3366#       OFF disables Polling Option - Factory Setting
3367#
3368#
3369# On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
3370#
3371# This adm31 entry uses underline as the standout mode.
3372# If the adm31 gives you trouble with standout mode, check the DIP switch in
3373# position 6, bank @c11, 25% from back end of the circuit board.  Should be
3374# OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
3375# (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
3376adm31|lsi adm31 with sw6 set for underline mode:\
3377	:am:bs:mi:\
3378	:co#80:li#24:\
3379	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
3380	:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E0:k0=^A0\r:\
3381	:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:k6=^A6\r:\
3382	:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:\
3383	:me=\EG0:nd=^L:se=\EG0:sf=^J:so=\EG1:ue=\EG0:up=^K:us=\EG1:
3384adm31-old|o31|old adm31:\
3385	:so=\EG4:ue@:us@:tc=adm31:
3386# LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
3387adm36|LSI ADM36:\
3388	:bs:pt:\
3389	:kn#4:\
3390	:if=/usr/lib/tabset/vt100:\
3391	:is=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l:tc=vt100:
3392# (adm42: removed obsolete ":ma=^K^P:" -- esr)
3393adm42|lsi adm42:\
3394	:am:bs:\
3395	:co#80:li#24:\
3396	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :\
3397	:cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:im=\Eq:ip=:kd=^J:kh=^^:\
3398	:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:pc=\177:sf=^J:ta=^I:ue@:\
3399	:up=^K:us@:vs=\EC\E3 \E3(:\
3400	:tc=adm+sgr:
3401# The following termcap for the Lear Siegler ADM-42 leaves the
3402# "system line" at the bottom of the screen blank (for those who
3403# find it distracting otherwise)
3404adm42-ns|lsi adm-42 with no system line:\
3405	:al=\EE\EF \011:bt=\EI\EF \011:cd=\EY\EF \011:\
3406	:ce=\ET\EF \011:cl=\E;\EF \011:cm=\E=%+ %+ \EF \011:\
3407	:dc=\EW\EF \011:dl=\ER\EF \011:ei=\Er\EF \011:\
3408	:im=\Eq\EF \011:tc=adm42:
3409# ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
3410# The insert mode of this terminal is commented out because it's broken for our
3411# purposes in that it will shift the position of every character on the page,
3412# not just the cursor line!
3413# From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
3414adm1178|1178|lsi adm1178:\
3415	:am:\
3416	:co#80:li#24:sg#1:\
3417	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
3418	:cr=^M:dc=\EW:dl=\ER:do=^J:ho=^^:ip=6*:kb=^H:kd=^J:kl=^H:\
3419	:le=^H:md=\E(:me=\E):mr=\EG4:nd=^L:nw=^M^J:pc=\177:se=\EG0:\
3420	:sf=^J:so=\EG4:ta=^I:ue=\EG0:up=^K:us=\EG1:vs=\EC\E3 \E3(:
3421
3422#### Qume (qvt)
3423#
3424#	Qume, Inc.
3425#	3475-A North 1st Street
3426#	San Jose CA 95134
3427#	Vox: (800)-457-4447
3428#	Fax: (408)-473-1510
3429#	Net: josed@techsupp.wyse.com (Jose D'Oliveira)
3430#
3431# Qume was bought by Wyse, but still (as of early 1995) has its own support
3432# group and production division.
3433#
3434# Discontinued Qume models:
3435#
3436# The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
3437# built to replace them, and a qvt119+ which was a 101+ with available wide
3438# mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
3439# and an ANSI-compatible qvt203 that replaced it.  Qume started producing
3440# ANSI-compatible terminals with the qvt323 and qvt61.
3441#
3442# Current Qume models (as of February 1995):
3443#
3444# All current Qume terminals have ANSI-compatible operation modes.
3445# Qume is still producing the qvt62, which features emulations for other
3446# popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
3447# designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
3448# with many emulations including Wyse370, Wyse 325, etc.  Their newest
3449# model is the qvt520, which is vt420-compatible.
3450#
3451# There are some ancient printing Qume terminals under `Daisy Wheel Printers'
3452#
3453# If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
3454# setup mode.  Shift-s should be a configuration save to NVRAM.
3455
3456qvt101|qvt108|qume qvt 101 and QVT 108:\
3457	:sg#1:tc=qvt101+:
3458
3459# This used to have :vs=\E.2: but no :ve: or :vi:.  The BSD termcap
3460# file had :vs=\EM4 \200\200\200:.  I've done the safe thing and yanked
3461# both. The :mr: is from BSD, which also claimed bold=\E( and dim=\E).
3462# What seems to be going on here is that this entry was designed so that
3463# the normal highlight is bold and standout is dim plus something else
3464# (reverse-video maybe?  But then, are there two :mr: sequences?)
3465qvt101+|qvt101p|qume qvt 101 PLUS product:\
3466	:am:bw:hs:ul:\
3467	:co#80:li#24:sg#0:\
3468	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
3469	:ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=:fs=^M:ho=^^:\
3470	:ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
3471	:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:\
3472	:kB=\EI:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:\
3473	:kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\EA:po=\E@:se=\E(:sf=^J:\
3474	:so=\E0P\E):st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:\
3475	:tc=adm+sgr:
3476qvt102|qume qvt 102:\
3477	:ve=\E.:tc=qvt101:
3478# (qvt103: added <rmam>/<smam> based on init string -- esr)
3479qvt103|qume qvt 103:\
3480	:am:xn:xo:\
3481	:co#80:it#8:li#24:vt#3:\
3482	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
3483	:UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
3484	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
3485	:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
3486	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
3487	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
3488	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
3489	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
3490	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
3491	:up=\E[A:us=\E[4m:
3492qvt103-w|qume qvt103 132 cols:\
3493	:co#132:li#24:\
3494	:r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt103:
3495qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals:\
3496	:am:hs:mi:ms:\
3497	:co#80:li#24:sg#0:\
3498	:al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*1:cm=\E=%+ %+ :\
3499	:cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:\
3500	:ho=^^:im=\Eq:is=\EDF\EC\EG0\Er\E(\E%EX:k0=^AI\r:\
3501	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
3502	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:\
3503	:ku=^K:le=^H:nd=^L:pf=\EA:po=\E@:sf=^J:sr=\EJ:st=\E1:ta=^I:\
3504	:ts=\Eg\Ef:up=^K:us=\EG8:vb=\En0\En1:ve=\E.4:vs=\E.2:\
3505	:tc=adm+sgr:
3506qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines:\
3507	:li#25:tc=qvt119+:
3508qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode:\
3509	:co#132:\
3510	:is=\EDF\EC\EG0\Er\E(\E%\EX\En4:tc=qvt119+:
3511qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25:\
3512	:li#25:tc=qvt119+:
3513qvt203|qvt203+|qume qvt 203 Plus:\
3514	:al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:ip=:k0=\E[29~:\
3515	:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
3516	:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[28~:sf=\n:\
3517	:tc=qvt103:
3518qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video):\
3519	:co#132:li#24:\
3520	:r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt203:
3521#
3522#	Since a command is present for enabling 25 data lines,
3523#	a specific terminfo entry may be generated for the 203.
3524#	If one is desired for the QVT 119 PLUS then 25 lines must
3525#	be selected in the status line (setup line 9).
3526#
3527qvt203-25|QVT 203 PLUS with 25 by 80 column mode:\
3528	:co#80:li#25:\
3529	:is=\E[=40h\E[?3l:tc=qvt203:
3530qvt203-25-w|QVT 203 PLUS with 25 by 132 columns:\
3531	:co#132:li#25:\
3532	:r2=\E[?3h\E[=40h:tc=qvt203:
3533
3534#### Televideo (tvi)
3535#
3536#	TeleVideo
3537#	550 East Brokaw Road
3538#	PO Box 49048    95161
3539#	San Jose CA 95112
3540#	Vox: (408)-954-8333
3541#	Fax: (408)-954-0623
3542#
3543#
3544# There are some tvi terminals that require incredible amounts of padding and
3545# some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
3546# tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.
3547#
3548# All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
3549# Televideo terminals are ANSI and PC-ANSI compatible.
3550
3551tvi803|televideo 803:\
3552	:cl=\E*:tc=tvi950:
3553
3554# Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
3555# Switch settings are:
3556#
3557# S1  1 2 3 4
3558#     D D D D  9600
3559#     D D D U    50
3560#     D D U D    75
3561#     D D U U   110
3562#     D U D D   135
3563#     D U D U   150
3564#     D U U D   300
3565#     D U U U   600
3566#     U D D D  1200
3567#     U D D U  1800
3568#     U D U D  2400
3569#     U D U U  3600
3570#     U U D D  4800
3571#     U U D U  7200
3572#     U U U D  9600
3573#     U U U U 19200
3574#
3575# S1  5 6 7 8
3576#     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
3577#     U D X U  7N2
3578#     U U D D  7O1
3579#     U U D U  7O2
3580#     U U U D  7E1
3581#     U U U U  7E2
3582#     D D X D  8N1
3583#     D D X U  8N2
3584#     D U D D  8O1
3585#     D U U U  8E2
3586#
3587# S1  9  Autowrap
3588#     U  on
3589#     D  off
3590#
3591# S1 10  CR/LF
3592#     U  do CR/LF when CR received
3593#     D  do CR when CR received
3594#
3595# S2  1  Mode
3596#     U  block
3597#     D  conversational
3598#
3599# S2  2  Duplex
3600#     U  half
3601#     D  full
3602#
3603# S2  3  Hertz
3604#     U  50
3605#     D  60
3606#
3607# S2  4  Edit mode
3608#     U  local
3609#     D  duplex
3610#
3611# S2  5  Cursor type
3612#     U  underline
3613#     D  block
3614#
3615# S2  6  Cursor down key
3616#     U  send ^J
3617#     D  send ^V
3618#
3619# S2  7  Screen colour
3620#     U  green on black
3621#     D  black on green
3622#
3623# S2  8  DSR status (pin 6)
3624#     U  disconnected
3625#     D  connected
3626#
3627# S2  9  DCD status (pin 8)
3628#     U  disconnected
3629#     D  duplex
3630#
3631# S2 10  DTR status (pin 20)
3632#     U  disconnected
3633#     D  duplex
3634# (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added :kh:, :le:, :do:,
3635# :sf:, <hpa>, <vpa>, :am:, :ms: from SCO entry -- esr)
3636tvi910|televideo model 910:\
3637	:am:bs:ms:\
3638	:co#80:it#8:li#24:sg#1:\
3639	:bl=^G:bt=\EI:cd=\EY:ce=\ET:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :\
3640	:cr=^M:cv=\E[%+ :do=^J:ho=\E=\001\001:\
3641	:if=/usr/share/tabset/stdcrt:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
3642	:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
3643	:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:\
3644	:sf=^J:ta=^I:up=^K:\
3645	:tc=adm+sgr:
3646# From: Alan R. Rogers <rogers%albany@csnet-relay>
3647# as subsequently hacked over by someone at SCO
3648# (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
3649#
3650# Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
3651#
3652# S1  1 2 3 4:
3653#     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
3654#     D U D D   135     D U D U   150     D U U D   300     D U U U   600
3655#     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
3656#     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
3657#
3658# S1  5 6 7 8:
3659#     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
3660#     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
3661#     D U D D  8O1     D U U U  8E2
3662#
3663# S1  9  Autowrap            (U = on, D = off)
3664# S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
3665# S2  1  Mode                (U = block, D = conversational)
3666# S2  2  Duplex              (U =  half, D = full)
3667# S2  3  Hertz               (U = 50, D = 60)
3668# S2  4  Edit mode           (U = local, D = duplex)
3669# S2  5  Cursor type         (U = underline, D = block)
3670# S2  6  Cursor down key     (U = send ^J, D = send ^V)
3671# S2  7  Screen colour       (U = green on black, D = black on green)
3672# S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
3673# S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
3674# S2 10  DTR status (pin 20) (U = disconnected, D = connected)
3675#
3676tvi910+|televideo 910+:\
3677	:al=\EE:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:im=:k0=^A@\r:k1=^AA\r:\
3678	:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
3679	:k8=^AH\r:k9=^AI\r:ll=\E=7 :\
3680	:tc=tvi910:
3681
3682# (tvi912: removed obsolete ":ma=^K^P^L :", added  :vb: and
3683# :kh: from BRL entry -- esr)
3684tvi912|tvi914|tvi920|old televideo 912/914/920:\
3685	:am:bs:ms:pt:\
3686	:co#80:it#8:li#24:sg#1:\
3687	:al=\EE:bl=^G:cd=\Ey:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
3688	:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:\
3689	:if=/usr/share/tabset/stdcrt:im=:k0=^AI\r:k1=^A@\r:\
3690	:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
3691	:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
3692	:nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:\
3693	:vb=\Eb\Ed:
3694# the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
3695# The 920 has this plus real function keys that xmit different things.
3696# Terminfo makes you use the funct key on the 912 but the real keys on the 920.
3697tvi912c|tvi912b|new televideo 912:\
3698	:al=\EE:dl=\ER:tc=tvi912:
3699# set to page 1 when entering curses application (\E-17 )
3700# reset to page 0 when exiting curses application (\E-07 )
3701tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages:\
3702	:te=\E-07 :ti=\E-17 :tc=tvi912:
3703# We got some new tvi912c terminals that act really weird on the regular
3704# termcap, so one of our gurus worked this up. Seems that cursor
3705# addressing is broken.
3706tvi912cc|tvi912 at cowell college:\
3707	:cm@:tc=tvi912c:
3708
3709# Here are the switch settings for the tvi920c:
3710#
3711# S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
3712# 2: 9600	3: 4800		4: 2400		5: 1200
3713# 6:  600	7:  300		8:  150		9:   75
3714# 10: 110
3715#
3716# S2 UART/Terminal options:
3717# 		Up			Down
3718# 1:		Not used		Not allowed
3719# 2:	Alternate character set	  Standard character set
3720# 3:	    Full duplex		    Half duplex
3721# 4:	    50 Hz refresh	    60 Hz refresh
3722# 5:	      No parity		     Send parity
3723# 6:	     2 stop bits	     1 stop bit
3724# 7:	     8 data bits	     7 data bits
3725# 8:		Not used		Not allowed on Rev E or lower
3726# 9:	     Even parity	     Odd parity
3727# 10:	    Steady cursor	    Blinking cursor
3728# 	(On Rev E or lower, use W25 instead of switch 10.)
3729#
3730# S5 UART/Terminal options:
3731# 		Open			Closed
3732# 1:	P3-6 Not connected	DSR received on P3-6
3733# 2:	P3-8 Not connected	DCD received on P3-8
3734#
3735# 3 Open, 4 Open:		P3-20 Not connected
3736# 3 Open, 4 Closed:	DTR on when terminal is on
3737# 3 Closed, 4 Open:	DTR is connected to RTS
3738# 3 Closed, 4 Closed:	Not allowed
3739#
3740# 5 Closed:	HDX printer (hardware control) Rev. K with extension port off,
3741# 		all data transmitted out of the modem port (P3) will also be
3742# 		transmitted out of the printer port (P4).
3743#
3744# 6 Open, 7 Open:		Not allowed
3745# 6 Open, 7 Closed:	20ma current loop input
3746# 6 Closed, 7 Open:	RS232 input
3747# 6 Closed, 7 Closed:	Not allowed
3748#
3749# Jumper options:
3750# If the jumper is installed, the effect will occur (the next time the terminal
3751# is switched on).
3752#
3753# S4/W31:	Enables automatic LF upon receipt of CR from
3754# 		remote or keyboard.
3755# S4/W32:	Enables transmission of EOT at the end of Send.  If not
3756# 		installed, a carriage return is sent.
3757# S4/W33:	Disables automatic carriage return in column 80.
3758# S4/W34:	Selects Page Print Mode as initial condition.  If not
3759# 		installed, Extension Mode is selected.
3760#
3761tvi920b|tvi920c|new televideo 920:\
3762	:al=\EE:dl=\ER:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
3763	:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
3764	:tc=tvi912:
3765
3766# Televideo 921 and variants
3767# From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
3768# (tvi921: removed :ko=bt: before translation, I see no backtab cap;
3769# also added empty <acsc> to suppress tic warning -- esr)
3770tvi921|televideo model 921 with sysline same as page & real vi function:\
3771	:am:bs:hs:pt:xn:xs:\
3772	:co#80:li#24:sg#0:\
3773	:ac=:ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:cm=3\E=%+ %+ :\
3774	:cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:\
3775	:ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
3776	:is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
3777	:kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
3778	:mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:ve=\E.3:\
3779	:vs=\E.2:\
3780	:tc=adm+sgr:
3781# without the beeper
3782# (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
3783# also added empty <acsc> to suppress tic warning -- esr)
3784tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper:\
3785	:am:hs:xn:xs:\
3786	:co#80:li#24:sg#0:\
3787	:ac=:ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:cm=3\E=%+ %+ :\
3788	:cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:\
3789	:ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
3790	:is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
3791	:kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
3792	:mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:vb=\Eb\Ed:\
3793	:ve=\E.3:vs=\E.2:\
3794	:tc=adm+sgr:
3795# (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
3796tvi92D|tvi92B with DTR instead of XON/XOFF & better padding:\
3797	:al=2*\EE:dl=2*\ER:is=\El\E"\EF1\E.3\016\EA\E<:kA=2*\EE:\
3798	:kL=2*\ER:\
3799	:tc=tvi92B:
3800
3801# (tvi924: This used to have :ds=\Es0:, :fs=\031:.  I put the new strings
3802# in from a BSD termcap file because it looks like they do something the
3803# old ones skip -- esr)
3804tvi924|televideo tvi924:\
3805	:am:bw:hs:in:mi:ms:xn:xo:\
3806	:co#80:it#8:li#24:sg#0:ws#80:\
3807	:F1=^AK\r:F2=^AL\r:F3=^AM\r:F4=^AN\r:F5=^AO\r:al=\EE:bl=^G:\
3808	:bt=\EI:cd=\Ey:ce=\Et:cl=\E*0:cm=\E=%+ %+ :cr=^M:\
3809	:cs=\E_%+ %+ :ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Es0\Ef\031:\
3810	:ei=:fs=\031\Es1:ho=^^:\
3811	:i1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0:ic=\EQ:\
3812	:if=/usr/share/tabset/stdcrt:im=:k0=^A@\r:k1=^AA\r:\
3813	:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
3814	:k8=^AH\r:k9=^AI\r:k;=^AJ\r:kA=\EE:kC=\E*0:kD=\EW:kE=\Et:\
3815	:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:\
3816	:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:l9=F10:\
3817	:la=F11:le=^H:mb=\EG2:mk@:nd=^L:pk=\E|%+1%s\031:sf=^J:\
3818	:sr=\Ej:st=\E1:ta=^I:ts=\Ef:up=^K:vb=\Eb\Ed:ve=\E.3:vi=\E.0:\
3819	:vs=\E.1:\
3820	:tc=adm+sgr:
3821
3822# TVI925 DIP switches.  In each of these, D = Down and U = Up,
3823#
3824# Here are the settings for the external (baud) switches (S1):
3825#
3826#             Position		Baud
3827# 7	8	9	10		[Printer]
3828# 1	2	3	4		[Main RS232]
3829# -----------------------------------------------------
3830# D	D	D	D	9600
3831# D	D	D	U	  50
3832# D	D	U	D	  75
3833# D	D	U	U	 110
3834# D	U	D	D	 135
3835# D	U	D	U	 150
3836# D	U	U	D	 300
3837# D	U	U	U	 600
3838# U	D	D	D	1200
3839# U	D	D	U	1800
3840# U	D	U	D	2400
3841# U	D	U	U	3600
3842# U	U	D	D	4800
3843# U	U	D	U	7200
3844# U	U	U	D	9600
3845# U	U	U	U	19200
3846#
3847#
3848# Settings for word length and stop-bits (S1)
3849#
3850#  Position	Description
3851# 5	6
3852# ---------------------------
3853# U	-	7-bit word
3854# D	-	8-bit word
3855# -	U	2 stop bits
3856# -	D	1 stop bit
3857#
3858#
3859# S2 (external) settings
3860#
3861# Position	Up	Dn	Description
3862# --------------------------------------------
3863# 1		X		Local edit
3864# 			X	Duplex edit (transmit editing keys)
3865# --------------------------------------------
3866# 2		X		912/920 emulation
3867# 			X	925
3868# --------------------------------------------
3869# 3			X
3870# 4			X	No parity
3871# 5			X
3872# --------------------------------------------
3873# 3			X
3874# 4			X	Odd parity
3875# 5		X
3876# --------------------------------------------
3877# 3			X
3878# 4		X		Even parity
3879# 5		X
3880# --------------------------------------------
3881# 3		X
3882# 4			X	Mark parity
3883# 5		X
3884# --------------------------------------------
3885# 3		X
3886# 4		X		Space parity
3887# 5		X
3888# --------------------------------------------
3889# 6		X		White on black display
3890# 			X	Black on white display
3891# --------------------------------------------
3892# 7			X	Half Duplex
3893# 8			X
3894# --------------------------------------------
3895# 7		X		Full Duplex
3896# 8			X
3897# --------------------------------------------
3898# 7			X	Block mode
3899# 8		X
3900# --------------------------------------------
3901# 9			X	50 Hz
3902# 		X		60 Hz
3903# --------------------------------------------
3904# 10		X		CR/LF (Auto LF)
3905# 			X	CR only
3906#
3907# S3 (internal switch) settings:
3908#
3909# Position	Up	Dn	Description
3910# --------------------------------------------
3911# 1		X		Keyclick off
3912# 			X	Keyclick on
3913# --------------------------------------------
3914# 2			X	English
3915# 3			X
3916# --------------------------------------------
3917# 2			X	German
3918# 3		X
3919# --------------------------------------------
3920# 2		X		French
3921# 3			X
3922# --------------------------------------------
3923# 2		X		Spanish
3924# 3		X
3925# --------------------------------------------
3926# 4			X	Blinking block cursor
3927# 5			X
3928# --------------------------------------------
3929# 4			X	Blinking underline cursor
3930# 5		X
3931# --------------------------------------------
3932# 4		X		Steady block cursor
3933# 5			X
3934# --------------------------------------------
3935# 4		X		Steady underline cursor
3936# 5		X
3937# --------------------------------------------
3938# 6		X		Screen blanking timer (ON)
3939# 			X	Screen blanking timer (OFF)
3940# --------------------------------------------
3941# 7		X		Page attributes
3942# 			X	Line attributes
3943# --------------------------------------------
3944# 8		X		DCD disconnected
3945# 			X	DCD connected
3946# --------------------------------------------
3947# 9		X		DSR disconnected
3948# 			X	DSR connected
3949# --------------------------------------------
3950# 10		X		DTR Disconnected
3951# 			X	DTR connected
3952# --------------------------------------------
3953#
3954# (tvi925: BSD has :cl=\E*:.  I got :is: and :sr: from there -- esr)
3955tvi925|televideo 925:\
3956	:am:bs:bw:hs:ul:\
3957	:co#80:li#24:sg#1:\
3958	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
3959	:ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Eh:ei=:fs=^M\Eg:ho=^^:ic=\EQ:\
3960	:im=:is=\El\E":k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
3961	:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
3962	:kA=\EE:kC=^Z:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:\
3963	:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:sf=^J:sr=\Ej:st=\E1:\
3964	:ta=^I:ts=\Eh\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:vs=\E.2:\
3965	:tc=adm+sgr:
3966# TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
3967# to avoid "magic cookie" standout glitch:
3968tvi925-hi|TeleVideo Model 925 with half intensity standout mode:\
3969	:sg@:\
3970	:kb=^H:kd=^J:kl=^H:se=\E(:so=\E):tc=tvi925:
3971
3972# From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
3973# Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
3974# for additional capabilities,
3975# The following tvi descriptions from B:pjphar and virus!mike
3976# is for all 950s.  It sets the following attributes:
3977# full duplex (\EDF)		write protect off (\E()
3978# conversation mode (\EC)	graphics mode off (\E%)
3979# white on black (\Ed)		auto page flip off (\Ew)
3980# turn off status line (\Eg)	clear status line (\Ef\r)
3981# normal video (\E0)		monitor mode off (\EX or \Eu)
3982# edit mode (\Er)		load blank char to space (\Ee\040)
3983# line edit mode (\EO)		enable buffer control (^O)
3984# protect mode off (\E\047)	duplex edit keys (\El)
3985# program unshifted send key to send line all (\E016)
3986# program shifted send key to send line unprotected (\E004)
3987# set the following to nulls:
3988#	field delimiter (\Ex0\200\200)
3989#	line delimiter (\Ex1\200\200)
3990#	start-protected field delimiter (\Ex2\200\200)
3991#	end-protected field delimiter (\Ex3\200\200)
3992# set end of text delimiter to carriage return/null (\Ex4\r\200)
3993#
3994#                     TVI 950 Switch Setting Reference Charts
3995#
3996#                                     TABLE 1:
3997#
3998#      S1     1     2     3     4     5     6     7     8     9    10
3999#          +-----------------------+-----+-----+-----------------------+
4000#          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
4001#          |                       |Bits |Bits |                       |
4002#   +------+-----------------------+-----+-----+-----------------------+
4003#   |  Up  |        See            |  7  |  2  |        See            |
4004#   +------+-----------------------+-----+-----+-----------------------+
4005#   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
4006#   +------+-----------------------+-----+-----+-----------------------+
4007#
4008#
4009#      S2     1     2     3     4     5     6     7     8     9    10
4010#          +-----+-----+-----------------+-----+-----------+-----+-----+
4011#          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
4012#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
4013#   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
4014#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
4015#   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
4016#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
4017#
4018#                                    TABLE 2:
4019#
4020#             +-----------+-----+-----+-----+-----+-----------+
4021#             | Display   |  1  |  2  |  3  |  4  |   Baud    |
4022#             +-----------+-----+-----+-----+-----+           |
4023#             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
4024#             +-----------+-----+-----+-----+-----+-----------+
4025#                         |  D  |  D  |  D  |  D  |   9600    |
4026#                         |  U  |  D  |  D  |  D  |     50    |
4027#                         |  D  |  U  |  D  |  D  |     75    |
4028#                         |  U  |  U  |  D  |  D  |    110    |
4029#                         |  D  |  D  |  U  |  D  |    135    |
4030#                         |  U  |  D  |  U  |  D  |    150    |
4031#                         |  D  |  U  |  U  |  D  |    300    |
4032#                         |  U  |  U  |  U  |  D  |    600    |
4033#                         |  D  |  D  |  D  |  U  |   1200    |
4034#                         |  U  |  D  |  D  |  U  |   1800    |
4035#                         |  D  |  U  |  D  |  U  |   2400    |
4036#                         |  U  |  U  |  D  |  U  |   3600    |
4037#                         |  D  |  D  |  U  |  U  |   4800    |
4038#                         |  U  |  D  |  U  |  U  |   7200    |
4039#                         |  D  |  U  |  U  |  U  |   9600    |
4040#                         |  U  |  U  |  U  |  U  |  19200    |
4041#                         +-----+-----+-----+-----+-----------+
4042#
4043#                                    TABLE 3:
4044#                         +-----+-----+-----+-----------+
4045#                         |  3  |  4  |  5  |   Parity  |
4046#                         +-----+-----+-----+-----------+
4047#                         |  X  |  X  |  D  |    None   |
4048#                         |  D  |  D  |  U  |     Odd   |
4049#                         |  D  |  U  |  U  |    Even   |
4050#                         |  U  |  D  |  U  |    Mark   |
4051#                         |  U  |  U  |  U  |   Space   |
4052#                         +-----+-----+-----+-----------+
4053#                                 X = don't care
4054#
4055#                                     CHART:
4056#                         +-----+-----+-----------------+
4057#                         |  7  |  8  | Communication   |
4058#                         +-----+-----+-----------------+
4059#                         |  D  |  D  |  Half Duplex    |
4060#                         |  D  |  U  |  Full Duplex    |
4061#                         |  U  |  D  |     Block       |
4062#                         |  U  |  U  |     Local       |
4063#                         +-----+-----+-----------------+
4064#
4065# (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
4066# I also inserted :ic: and :kI:; the :ko: string indicated that :IC:
4067# should be present and all tvi native modes use the same string for this.
4068# Finally, note that BSD has cud1=^V. -- esr)
4069tvi950|televideo 950:\
4070	:am:bs:hs:mi:ms:xn:xo:\
4071	:co#80:it#8:li#24:sg#1:\
4072	:ac=b\011c\014d\re\ni\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
4073	:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:\
4074	:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:ic=\EQ:im=\Eq:\
4075	:is=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\Ef\r:\
4076	:k0=^A0\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
4077	:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:\
4078	:kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:\
4079	:kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\Ea:po=\E`:sf=^J:sr=\Ej:\
4080	:st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
4081	:tc=adm+sgr:
4082#
4083# is for 950 with two pages adds the following:
4084#	set 48 line page (\E\\2)
4085#	place cursor at page 0, line 24, column 1 (\E-07 )
4086#	set local (no send) edit keys (\Ek)
4087#
4088# two page 950 adds the following:
4089#	when entering ex, set 24 line page (\E\\1)
4090#	when exiting ex, reset 48 line page (\E\\2)
4091#			 place cursor at 0,24,1 (\E-07 )
4092#	set duplex (send) edit keys (\El) when entering vi
4093#	set local (no send) edit keys (\Ek) when exiting vi
4094#
4095tvi950-2p|televideo950 w/2 pages:\
4096	:is=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\2\E-07 \011:\
4097	:ke=\Ek:ks=\El:te=\E\2\E-07 :ti=\E\1\E-07 :\
4098	:tc=tvi950:
4099#
4100# is for 950 with four pages adds the following:
4101#	set 96 line page (\E\\3)
4102#	place cursor at page 0, line 24, column 1 (\E-07 )
4103#
4104# four page 950 adds the following:
4105#	when entering ex, set 24 line page (\E\\1)
4106#	when exiting ex, reset 96 line page (\E\\3)
4107#			 place cursor at 0,24,1 (\E-07 )
4108#
4109tvi950-4p|televideo950 w/4 pages:\
4110	:is=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\3\E-07 \011:\
4111	:ke=\Ek:ks=\El:te=\E\3\E-07 :ti=\E\1\E-07 :\
4112	:tc=tvi950:
4113#
4114# :is: for reverse video 950 changes the following:
4115#	set reverse video (\Ed)
4116#
4117# set vb accordingly (\Ed ...delay... \Eb)
4118#
4119tvi950-rv|televideo950 rev video:\
4120	:is=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0:\
4121	:vb=\Ed\Eb:\
4122	:tc=tvi950:
4123
4124# tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
4125tvi950-rv-2p|televideo950 rev video w/2 pages:\
4126	:is=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\2\E-07 :\
4127	:ke=\Ek:ks=\El:te=\E\2\E-07 :ti=\E\1\E-07 :vb=\Ed\Eb:\
4128	:tc=tvi950:
4129
4130# tvi950-rv uses the appropriate entries from 950-4p and 950-rv
4131tvi950-rv-4p|televideo950 rev video w/4 pages:\
4132	:is=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\3\E-07 :\
4133	:ke=\Ek:ks=\El:te=\E\3\E-07 :ti=\E\1\E-07 :vb=\Ed\Eb:\
4134	:tc=tvi950:
4135# From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
4136# (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
4137# removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
4138# the :rs: string, inserted the :IC: implied by the termcap :ko: string.  Note
4139# the :ko: string had :cl: in it, which means that one of the original
4140# :cl=\E*:, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
4141# the 950 has.   Finally, corrected the <kel> string to match the 950 and what
4142# ko implies -- esr)
4143# If the BSD termcap file was right, :cm=\E=%p1%{32}%+%c%p2%{32}%+%c: would
4144# also work.
4145tvi955|televideo 955:\
4146	:5i:bs:ms@:\
4147	:it#8:sg@:\
4148	:RA=\E[=7l:RX=^N:SA=\E[=7h:SX=^O:\
4149	:ac=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ:ae=\E%:as=\E$:\
4150	:cm=\E[%i%d;%dH:do=^V:is=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El:\
4151	:kM=\EQ:kN=\EK:kP=\EJ:kT=\E1:ka=\E3:kt=\E2:mb=\EG2:\
4152	:me=\EG0\E[=5l:mh=\E[=5h:mk=\EG1:ps=\EP:\
4153	:r1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r:\
4154	:sf@:ve=\E.2:vi=\E.0:vs=\E.1:\
4155	:tc=tvi950:
4156tvi955-w|955-w|televideo955 w/132 cols:\
4157	:co#132:\
4158	:is=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El:tc=tvi955:
4159# use half-intensity as normal mode, full intensity as :md:
4160tvi955-hb|955-hb|televideo955 half-bright:\
4161	:is=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El:md=\E[=5l:\
4162	:me=\EG0\E[=5h:mh@:tc=tvi955:
4163# From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
4164# (tvi970: removed ":sg#0:"; removed :se:=\E[m, :ue:=\E[m;
4165# added :am:/:cs:/:ho:/<hpa>/<vpa>/:ti:/:te: from BRL.
4166# According to BRL we could have :ke:=\E>, :ks:=\E= but I'm not sure what
4167# it does to the function keys.  I deduced <rmam>/<smam>.
4168# also added empty <acsc> to suppress tic warning,  -- esr)
4169tvi970|televideo 970:\
4170	:am:bs:da:db:mi:ms:pt:\
4171	:co#80:it#8:li#24:\
4172	:RA=\E[?7h:SA=\E[?7l:ac=:ae=\E(B:al=\E[L:as=\E(B:bt=\E[Z:\
4173	:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%df:\
4174	:cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\ED:\
4175	:ds=\Eg\Ef\r:ei=\E[4l:ho=\E[H:im=\E[4h:\
4176	:is=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J:k1=\E?a:\
4177	:k2=\E?b:k3=\E?c:k4=\E?d:k5=\E?e:k6=\E?f:k7=\E?g:k8=\E?h:\
4178	:k9=\E?i:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
4179	:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:te=:\
4180	:ti=\E[?20l\E[?7h\E[1Q:ue=\E[m:up=\EM:us=\E[4m:\
4181	:vb=\E[5m\E[m:vs=\E[1Q:
4182tvi970-vb|televideo 970 with visual bell:\
4183	:vb=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l:tc=tvi970:
4184tvi970-2p|televideo 970 with using 2 pages of memory:\
4185	:te=\E[H\E[J\E[V:ti=\E[U\E[?20l\E[?7h\E[1Q:\
4186	:tc=tvi970:
4187# Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
4188# per line (rather than 40), Esc K chooses the normal character set.  Not sure
4189# padding is needed, but adapted from the tvi920c termcap.  The :so: and
4190# :us: strings are klutzy, but at least use no screen space.
4191# (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
4192# its absence means <smam>=\Ev isn't safe to use. -- esr)
4193# From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
4194# The :cd:/:k0:/:k1:/:kh:/<mc4>, and <mc5> caps are from BRL, which says:
4195# F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
4196tvipt|televideo personal terminal:\
4197	:am:bs:\
4198	:co#80:li#24:\
4199	:al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dl=\ER:\
4200	:ho=^^:if=/usr/share/tabset/stdcrt:is=\Ev\Eu\EK:k0=^A:\
4201	:k1=^B:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:pf=^T:\
4202	:po=^R:se=\EF:so=\EG1@A\EH:ue=\EF:up=^K:us=\EG1B@\EH:
4203# From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
4204# (untranslatable capabilities removed to fit entry within 1023 bytes)
4205# (sgr removed to fit entry within 1023 bytes)
4206# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
4207tvi9065|televideo 9065:\
4208	:am:bw:hs:mi:ms:xn:xo:\
4209	:co#80:it#8:li#25:lm#0:ma#4:vt#0:ws#30:\
4210	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4211	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=\E%:\
4212	:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
4213	:cm=\E=%+ %+ :cr=^M:cs=\E[%i%d;%dr:ct=\E3:dc=\EW:dl=\ER:\
4214	:dm=\Er:do=^V:ds=\E_30\r:ec=\E[%d@:ed=\0:ei=\Er:fs=^M:ho=^^:\
4215	:i1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er:\
4216	:i2=\E<\E[=4l\E[=8h:if=/usr/share/tabset/stdcrt:im=\Eq:\
4217	:ip=:is=\EF2\EG0\E\L:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
4218	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kb=^H:\
4219	:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E[25;1H:mb=\EG2:\
4220	:md=\EG\054:me=\EG0:mh=\EGp:mr=\EG4:nd=^L:nw=^M^J:\
4221	:rp=\E[%r%db%.:se=\EG0:sf=^J:so=\EGt:sr=\Ej:st=\E1:ta=^I:\
4222	:te=\E.3\Er\E[1;25r\E[25;0H:ti=\E.2:ts=\E[4;1v\E_30:\
4223	:uc=\EG8\EG0:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:ve=\E.3:\
4224	:vi=\E.0:vs=\E.2:
4225
4226#### Visual (vi)
4227#
4228# In September 1993, Visual Technology of Westboro, Massachusetts,
4229# merged with White Pine Software of Nashua, New Hampshire.
4230#
4231# White Pine Software may be contacted at +1 603/886-9050.
4232# Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
4233#
4234
4235# Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
4236# Recently I hacked together the following termcap for Visual
4237# Technology's Visual 50 terminal. It's a slight modification of
4238# the vt52 termcap.
4239# It's intended to run when the Visual 50 is in vt52 emulation mode
4240# (I know what you're thinking; if it's emulating a vt52, then why
4241# another termcap? Well, it turns out that the Visual 50 can handle
4242# :dl: and db(?) among other things, which the vt52 can't)
4243# The termcap works OK for the most part. The only problem is on
4244# character inserts. The whole line gets painfully redrawn for each
4245# character typed. Any suggestions?
4246# Beau's entry is combined with the vi50 entry from University of Wisconsin.
4247# Note especially the :al: function.  :k4:-:k6: are really l4-l6 in
4248# disguise; :k7:-:k9: are really l1-l3.
4249vi50|visual 50:\
4250	:am:bs:da:db:ms:pt:\
4251	:co#80:it#8:li#24:\
4252	:al=\EL:bl=^G:bt=4\Ez:cd=\EJ:ce=16\EK:cl=\EH\EJ:\
4253	:cm=\EY%+ %+ :cr=^M:dl=3*\EM:do=\EB:ho=\EH:k1=\EP:k2=\EQ:\
4254	:k3=\ER:k4=\EV:k5=\EE:k6=\E]:k7=\EL:k8=\Ev:k9=\EM:kb=^H:\
4255	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:nl=^J:\
4256	:nw=^M^J:se=\ET:sf=^J:so=\EU:sr=\EI:ta=^I:ue=\EW:up=\EA:\
4257	:us=\ES:
4258# this one was BSD & SCO's vi50
4259vi50adm|visual 50 in adm3a mode:\
4260	:am:ms:\
4261	:co#80:it#8:li#24:\
4262	:al=\EL:bl=^G:cd=\Ek:ce=\EK:cl=^Z:cm=\E=%+ %+ :cr=^M:dl=\EM:\
4263	:do=^J:ho=\EH:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
4264	:nd=^L:se=\ET:sf=^J:so=\EU:ta=^I:up=^K:
4265# From: Jeff Siegal <jbs@quiotix.com>
4266vi55|Visual 55:\
4267	:am:bs:mi:ms:\
4268	:co#80:it#8:li#24:\
4269	:al=\EL:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :cs=\E_%+A%+A:\
4270	:dc=\Ew:dl=\EM:do=^J:ei=\Eb:ho=\EH:im=\Ea:\
4271	:is=\Ev\E_AX\Eb\EW\E9P\ET:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
4272	:ku=\EA:le=^H:nd=\EC:se=\ET:so=\EU:sr=\EI:ta=^I:up=\EA:
4273
4274# Visual 200 from BRL
4275# The following switch settings are assumed for normal operation:
4276#	FULL_DUPLEX		SCROLL			CR
4277#	AUTO_NEW_LINE_ON	VISUAL_200_EMULATION_MODE
4278# Other switches may be set for operator convenience or communication
4279# requirements.
4280# Character insertion is kludged in order to get around the "beep" misfeature.
4281# (This cap is commented out because :im:/:ei: is more efficient -- esr)
4282# Supposedly "4*" delays should be used for :al:, :cd:, :cl:, :dc:,
4283# and :dl: strings, but we seem to get along fine without them.
4284vi200|visual 200:\
4285	:am:bs:mi:ms:pt:\
4286	:co#80:it#8:kn#10:li#24:\
4287	:ac=:ae=\EG:al=\EL:as=\EF:bl=^G:bt=\Ez:cd=\Ey:ce=\Ex:cl=\Ev:\
4288	:cm=\EY%+ %+ :cr=^M:ct=\Eg:dc=\EO:dl=\EM:do=^J:ho=\EH:\
4289	:k0=\E?p:k1=\E?q:k2=\E?r:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:\
4290	:k7=\E?w:k8=\E?x:k9=\E?y:kA=\EL:kC=\Ev:kD=\EO:kE=\Et:kI=\Ei:\
4291	:kL=\EM:kM=\Ej:kS=\EJ:kT=\E1:kb=^H:kd=\EB:ke=\E>:kh=\EH:\
4292	:kl=\ED:kr=\EC:ks=\E=:kt=\E2:ku=\EA:le=^H:me=\E3\Eb:mh=\E4:\
4293	:mk=\Ea:nd=\EC:pf=\EX:po=\EW:ps=\EH\E]:\
4294	:r1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX:se=\E3:sf=^J:so=\E4:\
4295	:sr=\EI:st=\E1:ta=^I:up=\EA:ve=\Ec:vs=\Ed:
4296# The older Visuals didn't come with function keys. This entry uses
4297# :ks: and :ke: so that the keypad keys can be used as function keys.
4298# If your version of vi doesn't support function keys you may want
4299# to use vi200-f.
4300vi200-f|visual 200 no function keys:\
4301	:is=\E3\Eb\Ej\E\\El\EG\Ed\Ek:k0=\E?p:k1=\E?q:k2=\E?r:\
4302	:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:k7=\E?w:k8=\E?x:k9=\E?y:\
4303	:ke=\E>:ks=\E=:se@:so@:\
4304	:tc=vi200:
4305vi200-rv|visual 200 reverse video:\
4306	:se=\E3:so=\E4:sr@:ve@:vs@:tc=vi200:
4307
4308# the function keys are programmable but we don't reprogram them to their
4309# default values with :is: because programming them is very verbose. maybe
4310# an initialization file should be made for the 300 and they could be stuck
4311# in it.
4312# (vi300: added <rmam>/<smam> based on init string -- esr)
4313vi300|visual 300 ansi x3.64:\
4314	:am:bw:mi:xn:\
4315	:co#80:li#24:\
4316	:RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
4317	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
4318	:do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:\
4319	:is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s:\
4320	:k1=\E_A\E\:k2=\E_B\E\:k3=\E_C\E\:k4=\E_D\E\:k5=\E_E\E\:\
4321	:k6=\E_F\E\:k7=\E_G\E\:k8=\E_H\E\:k9=\E_I\E\:kd=\E[B:\
4322	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
4323	:se=\E[m:sf=^J:so=\E[1m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
4324	:us=\E[4m:
4325# some of the vi300s have older firmware that has the command
4326# sequence for setting editing extent reversed.
4327vi300-old|visual 300 with old firmware (set edit extent reversed):\
4328	:is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s:\
4329	:tc=vi300:
4330
4331# Visual 500 prototype entry from University of Wisconsin.
4332# The best place to look for the escape sequences is page A1-1 of the
4333# Visual 500 manual.  The initialization sequence given here may be
4334# overkill, but it does leave out some of the initializations which can
4335# be done with the menus in set-up mode.
4336# The :xp: line below is so that emacs can understand the padding requirements
4337# of this slow terminal.  :xp: is 10 time the padding factor.
4338# (vi500: removed unknown :xp#4: termcap;
4339# also added empty <acsc> to suppress tic warning -- esr)
4340vi500|visual 500:\
4341	:am:mi:ms:\
4342	:co#80:it#8:li#33:\
4343	:ac=:ae=^O:al=3*\EL\Ex:as=^N:bt=4\Ez:cd=3*\Ey:ce=16\Ex:\
4344	:cl=6*\Ev:cm=\EY%+ %+ :cr=^M:cs=\E(%+ %+ :dc=3*\EO:\
4345	:dl=3*\EM:do=\EB:ei=\Ej:ho=\EH:im=\Ei:\
4346	:is=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\:\
4347	:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
4348	:nw=^M^J:se=\E^G:sf=^J:so=\E^H:ta=8\011:ue=\E^C:up=\EA:\
4349	:us=\E^D:
4350
4351# The visual 550 is a visual 300 with tektronix graphics,
4352# and with 33 lines. clear screen is modified here to
4353# also clear the graphics.
4354vi550|visual 550 ansi x3.64:\
4355	:li#33:\
4356	:cl=\030\E[H\E[2J:tc=vi300:
4357
4358vi603|visual603|visual 603:\
4359	:hs:mi:\
4360	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
4361	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:ds=\EP2;1~\E\:ei=\E[4l:\
4362	:fs=\E\:i1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r:\
4363	:im=\E[4h:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
4364	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ts=\EP2~:ue=\E[24m:\
4365	:up=\E[A:us=\E[4m:\
4366	:tc=vt100:
4367
4368#### Wyse (wy)
4369#
4370#	Wyse Technology
4371#	3471 North First Street
4372#	San Jose, CA 95134
4373#	Vox: (408)-473-1200
4374#	Fax: (408) 473-1222
4375#	Web: http://www.wyse.com
4376#
4377# Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
4378# (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
4379# obvious address, <http://www.wyse.com>.  They keep terminfo entries at
4380# <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
4381#
4382# Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
4383# They now own the Qume and Amdek brands, too.  So these are the people to
4384# talk with about all Link, Qume, and Amdek terminals.
4385#
4386# These entries include a few small fixes.
4387# I canceled the bel capacities in the vb entries.
4388# I made two trivial syntax fixes in the wyse30 entry.
4389# I made some entries relative to adm+sgr.
4390#
4391#
4392# Note: The wyse75, wyse85, and wyse99 have been discontinued.
4393
4394#	   Although the Wyse 30 can support more than one attribute
4395#	it requires magic cookies to do so.  Many applications do not
4396#	function well with magic cookies.  The following terminfo uses
4397#	the protect mode to support one attribute (dim) without cookies.
4398#	If more than one attribute is needed then the wy30-mc terminfo
4399#	should be used.
4400#
4401wy30|wyse30|Wyse 30:\
4402	:5i:am:bw:hs:mi:ms:xo:\
4403	:Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
4404	:#2=\E{:&3=\Er:@8=\E7:LF=\EA11:LO=\EA10:\
4405	:ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
4406	:as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
4407	:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:\
4408	:ho=^^:im=\Eq:ip=:is=\E'\E(\E\1363\E`9\016\024:k1=^A@\r:\
4409	:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
4410	:k8=^AG\r:kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:\
4411	:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
4412	:ll=^^^K:me=\E(\EH\003:mh=\E`7\E):mp=\E`7\E):nd=^L:\
4413	:nw=^M^J:pf=^T:pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:\
4414	:..sa=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
4415	:se=\E(:sf=\n:so=\E`7\E):sr=\Ej:st=\E1:ta=\011:ts=\EF:up=^K:\
4416	:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
4417#
4418#	This terminal description uses the non-hidden attribute mode
4419#	(with magic cookie).
4420#
4421# (wy30-mc: added :ti: to suppress tic warning --esr)
4422wy30-mc|wyse30-mc|wyse 30 with magic cookies:\
4423	:ms@:\
4424	:ma@:sg#1:\
4425	:ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
4426	:me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):\
4427	:..sa=\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
4428	:se=\EG0:so=\EG4:te=\EG0:ti=:\
4429	:tc=wy30:tc=adm+sgr:
4430#	The mandatory pause used by :vb: does not work with
4431#	older versions of terminfo.  If you see this effect then
4432#	unset xon and delete the / from the delay.
4433#	i.e. change $<100/> to $<100>
4434wy30-vb|wyse30-vb|wyse 30 visible bell:\
4435	:bl@:tc=wy30:
4436#
4437#	   The Wyse 50 can support one attribute (e.g. Dim, Inverse,
4438#	Normal) without magic cookies by using the protect mode.
4439#	The following description uses this feature, but when more
4440#	than one attribute is put on the screen at once, all attributes
4441#	will be changed to be the same as the last attribute given.
4442#	   The Wyse 50 can support more attributes when used with magic
4443#	cookies.  The wy50-mc terminal description uses magic cookies
4444#	to correctly handle multiple attributes on a screen.
4445#
4446wy50|wyse50|Wyse 50:\
4447	:5i:am:bw:hs:mi:ms:xo:\
4448	:Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
4449	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
4450	:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
4451	:ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
4452	:as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
4453	:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:\
4454	:ho=^^:i1=\E`\072\E`9:im=\Eq:ip=:is=\016\024\E'\E(:\
4455	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
4456	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
4457	:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
4458	:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:me=\E(\EH\003:mh=\E`7\E):\
4459	:mp=\E`7\E):mr=\E`6\E):nd=^L:nw=^M^J:pf=^T:pn=\Ez%+/%s\r:\
4460	:po=^X:ps=\EP:px=\Ez%+?%s\177:\
4461	:..sa=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
4462	:se=\E(:sf=\n:so=\E`6\E):sr=\Ej:st=\E1:ta=^I:ts=\EF:up=^K:\
4463	:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
4464#
4465#	This terminal description uses the non-hidden attribute mode
4466#	(with magic cookie).
4467#
4468#	The mandatory pause used by flash does not work with some
4469#	older versions of terminfo.  If you see this effect then
4470#	unset :xo: and delete the / from the delay.
4471#	i.e. change $<100/> to $<100>
4472# (wy50-mc: added :ti: to suppress tic warning --esr)
4473wy50-mc|wyse50-mc|wyse 50 with magic cookies:\
4474	:ms@:\
4475	:ma@:sg#1:\
4476	:ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
4477	:me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):mr=\EG4:\
4478	:..sa=\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
4479	:se=\EG0:so=\EGt:te=\EG0:ti=:\
4480	:tc=wy50:tc=adm+sgr:
4481wy50-vb|wyse50-vb|wyse 50 visible bell:\
4482	:bl@:tc=wy50:
4483wy50-w|wyse50-w|wyse 50 132-column:\
4484	:Nl#16:co#132:lw#7:ws#97:\
4485	:cm=\Ea%i%dR%dC:dc=\EW:i1=\E`;\E`9:tc=wy50:
4486wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell:\
4487	:bl@:\
4488	:tc=wy50-w:
4489#
4490#	The Wyse 350 is a Wyse 50 with color.
4491#	Unfortunately this means that it has magic cookies.
4492#	The color attributes are designed to overlap the reverse, dim and
4493#	underline attributes.  This is nice for monochrome applications
4494#	because you can make underline stuff green (or any other color)
4495#	but for true color applications it's not so hot because you cannot
4496#	mix color with reverse, dim or underline.
4497#	    To further complicate things one of the attributes must be
4498#	black (either the foreground or the background).  In reverse video
4499#	the background changes color with black letters.  In normal video
4500#	the foreground changes colors on a black background.
4501#	    This terminfo uses some of the more advanced features of curses
4502#	to display both color and blink.  In the final analysis I am not
4503#	sure that the wy350 runs better with this terminfo than it does
4504#	with the wy50 terminfo (with user adjusted colors).
4505#
4506#	The mandatory pause used by flash does not work with
4507#	older versions of terminfo.  If you see this effect then
4508#	unset xon and delete the / from the delay.
4509#	i.e. change $<100/> to $<100>
4510#
4511# Bug: The <op> capability resets attributes.
4512# (untranslatable capabilities removed to fit entry within 1023 bytes)
4513wy350|wyse350|Wyse 350:\
4514	:5i:am:bw:hs:mi:xo:\
4515	:Co#8:NC#55:Nl#8:co#80:lh#1:li#24:lw#8:pa#8:sg#1:ws#45:\
4516	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
4517	:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:Sb=:\
4518	:ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EG0\EH\003:al=\EE:\
4519	:as=\EG0\EH\002:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
4520	:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
4521	:ei=\Er:fs=^M:ho=^^:i1=\E`\072\E`9:i2=\E%?:im=\Eq:ip=:\
4522	:is=\016\024\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
4523	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
4524	:kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:\
4525	:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:\
4526	:mb=\EG2:me=\EG0\E(\EH\003%{0}%PA%{0}%PC:mh=\EGp:\
4527	:mp=\EG0\E):nd=^L:nw=^M^J:oc=\E%?:op=\EG0:pf=^T:\
4528	:pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:sf=\n:sr=\Ej:\
4529	:st=\E1:ta=^I:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
4530	:tc=adm+sgr:
4531wy350-vb|wyse350-vb|wyse 350 visible bell:\
4532	:bl@:tc=wy350:
4533wy350-w|wyse350-w|wyse 350 132-column:\
4534	:Nl#16:co#132:lw#7:ws#97:\
4535	:cm=\Ea%i%dR%dC:dc=\EW:i1=\E`;\E`9:tc=wy350:
4536wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell:\
4537	:bl@:\
4538	:tc=wy350-w:
4539#
4540#	This terminfo description is untested.
4541#	The wyse100 emulates an adm31, so the adm31 entry should work.
4542#
4543wy100|wyse 100:\
4544	:hs:mi:\
4545	:co#80:li#24:sg#1:\
4546	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
4547	:dc=\EW:dl=\ER:do=^J:ds=\EA31:ei=\Er:fs=^M:im=\Eq:is=\Eu\E0:\
4548	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
4549	:k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=\E{:kl=^H:kr=^L:ku=^K:\
4550	:le=^H:mk@:nd=^L:sf=^J:ts=\EF:up=^K:\
4551	:tc=adm+sgr:
4552#
4553#	The Wyse 120/150 has most of the features of the Wyse 60.
4554#	This terminal does not need padding up to 9600 baud!
4555#	:ms: should be set but the clear screen fails when in
4556#	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
4557#	then set :ms:.
4558#
4559# (untranslatable capabilities removed to fit entry within 1023 bytes)
4560# (sgr removed to fit entry within 1023 bytes)
4561# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
4562wy120|wyse120|wy150|wyse150|Wyse 120/150:\
4563	:am:bw:hs:km:mi:ms:xo:\
4564	:co#80:it#8:li#24:pb#9601:ws#45:\
4565	:ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
4566	:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
4567	:ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\
4568	:is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
4569	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
4570	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
4571	:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
4572	:me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
4573	:so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:\
4574	:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
4575	:tc=adm+sgr:
4576#
4577wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column:\
4578	:Nl#16:co#132:lw#7:ws#97:\
4579	:cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy120:
4580#
4581wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines:\
4582	:Nl@:lh@:li#25:lw@:\
4583	:pn@:r3=\EwG\Ee):tc=wy120:
4584#
4585wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines:\
4586	:Nl@:lh@:li#25:lw@:\
4587	:pn@:r3=\EwG\Ee):tc=wy120-w:
4588#
4589wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell:\
4590	:bl@:\
4591	:tc=wy120:
4592#
4593wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell:\
4594	:bl@:\
4595	:tc=wy120-w:
4596#
4597#	The Wyse 60 is like the Wyse 50 but with more padding.
4598#	The reset strings are slow and the pad times very depending
4599#	on other parameters such as font loading.  I have tried
4600#	to follow the following outline:
4601#
4602#		<rs1> -> set personality
4603#		<rs2> -> set number of columns
4604#		<rs3> -> set number of lines
4605#		:i1: -> select the proper font
4606#		:is: -> do the initialization
4607#		:i3: -> set up display memory (2 pages)
4608#
4609#	The Wyse 60's that have vt100 emulation are slower than the
4610#	older Wyse 60's.  This change happened mid-1987.
4611#	The capabilities effected are :dc: :dl: :al: :sf: :sr:
4612#
4613#	The meta key is only half right.  This terminal will return the
4614#	high order bit set when you hit CTRL-function_key
4615#
4616#	It may be useful to assign two function keys with the
4617#	values  \E=(\s  look at old data in page 1
4618#	        \E=W,   look at bottom of page 1
4619#	where \s is a space ( ).
4620#
4621#	Note:
4622#	   The Wyse 60 runs faster when the XON/XOFF
4623#	   handshake is turned off.
4624#
4625# (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
4626# a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
4627# (untranslatable capabilities removed to fit entry within 1023 bytes)
4628# (sgr removed to fit entry within 1023 bytes)
4629# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
4630wy60|wyse60|Wyse 60:\
4631	:am:bw:hs:km:mi:ms:\
4632	:co#80:li#24:ws#45:\
4633	:ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
4634	:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
4635	:ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\
4636	:is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
4637	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
4638	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
4639	:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
4640	:me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
4641	:so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:\
4642	:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
4643	:tc=adm+sgr:
4644#
4645wy60-w|wyse60-w|wyse 60 132-column:\
4646	:Nl#16:co#132:lw#7:ws#97:\
4647	:cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\EeF\E`;:tc=wy60:
4648#
4649wy60-25|wyse60-25|wyse 60 80-column 25-lines:\
4650	:Nl@:lh@:li#25:lw@:\
4651	:pn@:r3=\EwG\Ee):tc=wy60:
4652wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines:\
4653	:Nl@:lh@:li#25:lw@:\
4654	:pn@:r3=\EwG\Ee):tc=wy60-w:
4655#
4656wy60-42|wyse60-42|wyse 60 80-column 42-lines:\
4657	:li#42:\
4658	:al=\EE:cd=\Ey:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:\
4659	:i1=\EcB2\EcC3:ip=:nw=\r\n:r3=\Ee*:sf=\n:sr=\Ej:tc=wy60:
4660wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines:\
4661	:Nl#16:co#132:lw#7:ws#97:\
4662	:cd=\Ey:cl=\E+:cm=\Ea%i%dR%dC:dc=\EW:ho=\036:ip=:nw=\r\n:\
4663	:r2=\EeF\E`;:\
4664	:tc=wy60-42:
4665#
4666wy60-43|wyse60-43|wyse 60 80-column 43-lines:\
4667	:Nl@:lh@:li#43:lw@:\
4668	:pn@:r3=\Ee+:tc=wy60-42:
4669wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines:\
4670	:Nl@:lh@:li#43:lw@:\
4671	:pn@:r3=\Ee+:tc=wy60-42-w:
4672#
4673wy60-vb|wyse60-vb|Wyse 60 visible bell:\
4674	:bl@:tc=wy60:
4675wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell:\
4676	:bl@:\
4677	:tc=wy60-w:
4678
4679#	The Wyse-99GT looks at lot like the Wyse 60 except that it
4680#	does not have the 42/43 line mode.  In the Wyse-60 the "lines"
4681#	setup parameter controls the number of lines on the screen.
4682#	For the Wyse 99GT the "lines" setup parameter controls the
4683#	number of lines in a page.  The screen can display 25 lines max.
4684#	    The Wyse-99GT also has personalities for the VT220 and
4685#	Tektronix 4014.  But this has no bearing on the native mode.
4686#
4687#	(msgr) should be set but the clear screen fails when in
4688#	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
4689#	then set msgr, else use msgr@.
4690#
4691#	u0 -> enter Tektronix mode
4692#	u1 -> exit Tektronix mode
4693#
4694wy99gt|wyse99gt|Wyse 99gt:\
4695	:ms@:\
4696	:al=\EE:cd=\Ey:ce=\Et:cl=\E+:dc=\EW:dl=\ER:i2=\Ew0:ip=:nw@:\
4697	:r2=\E`\072:sf=\n:sr=\Ej:ta=\011:te=\Ew0:ti=\Ew1:\
4698	:u0=\E~>\E8:u1=\E[42h:vb=\E`8\E`9:tc=wy60:
4699#
4700wy99gt-w|wyse99gt-w|wyse 99gt 132-column:\
4701	:Nl#16:co#132:lw#7:ws#97:\
4702	:cd=\Ey:cl=\E+:cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy99gt:
4703#
4704wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines:\
4705	:Nl@:lh@:li#25:lw@:\
4706	:pn@:r2=\E`\072:r3=\EwG\Ee):tc=wy99gt:
4707#
4708wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines:\
4709	:Nl@:lh@:li#25:lw@:\
4710	:pn@:r2=\E`;:tc=wy99gt-w:
4711#
4712wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell:\
4713	:bl@:tc=wy99gt:
4714#
4715wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell:\
4716	:bl@:\
4717	:tc=wy99gt-w:
4718#
4719#	The Wyse 160 is combination of the WY-60 and the WY-99gt.
4720#	The reset strings are slow and the pad times very depending
4721#	on other parameters such as font loading.  I have tried
4722#	to follow the following outline:
4723#
4724#		<rs1> -> set personality
4725#		<rs2> -> set number of columns
4726#		<rs3> -> set number of lines
4727#		:i1: -> select the proper font
4728#		:is: -> do the initialization
4729#		:i3: -> set up display memory (2 pages)
4730#
4731#	The display memory may be used for either text or graphics.
4732#	When "Display Memory = Shared" the terminal will have more pages
4733#	but garbage may be left on the screen when you switch from
4734#	graphics to text.  If "Display Memory = Unshared" then the
4735#	text area will be only one page long.
4736#
4737# (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
4738# a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
4739# (untranslatable capabilities removed to fit entry within 1023 bytes)
4740# (sgr removed to fit entry within 1023 bytes)
4741# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
4742wy160|wyse160|Wyse 160:\
4743	:am:bw:hs:km:mi:ms:\
4744	:co#80:li#24:ws#38:\
4745	:ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
4746	:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
4747	:ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:i2=\Ew0:im=\Eq:ip=:\
4748	:is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
4749	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
4750	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
4751	:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
4752	:me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
4753	:so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:ti=\Ew1:ts=\EF:up=^K:\
4754	:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
4755	:tc=adm+sgr:
4756#
4757wy160-w|wyse160-w|wyse 160 132-column:\
4758	:Nl#16:co#132:lw#7:ws#90:\
4759	:cm=\Ea%i%dR%dC:dc=\EW:r2=\EeF\E`;:tc=wy160:
4760#
4761wy160-25|wyse160-25|wyse 160 80-column 25-lines:\
4762	:Nl@:lh@:li#25:lw@:\
4763	:pn@:r3=\EwG\Ee):tc=wy160:
4764wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines:\
4765	:Nl@:lh@:li#25:lw@:\
4766	:pn@:r3=\EwG\Ee):tc=wy160-w:
4767#
4768wy160-42|wyse160-42|wyse 160 80-column 42-lines:\
4769	:li#42:\
4770	:al=\EE:cd=\Ey:cl=\E+:dl=\ER:i1=\EcB2\EcC3:nw=\r\n:r3=\Ee*:\
4771	:sf=\n:sr=\Ej:\
4772	:tc=wy160:
4773wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines:\
4774	:Nl#16:co#132:lw#7:ws#90:\
4775	:cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\EeF\E`;:tc=wy160-42:
4776#
4777wy160-43|wyse160-43|wyse 160 80-column 43-lines:\
4778	:Nl@:lh@:li#43:lw@:\
4779	:pn@:r3=\Ee+:tc=wy160-42:
4780wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines:\
4781	:Nl@:lh@:li#43:lw@:\
4782	:pn@:r3=\Ee+:tc=wy160-42-w:
4783#
4784wy160-vb|wyse160-vb|Wyse 160 visible bell:\
4785	:bl@:tc=wy160:
4786wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell:\
4787	:bl@:\
4788	:tc=wy160-w:
4789#
4790#	The Wyse 75 is a vt100 lookalike without advanced video.
4791#
4792#	   The Wyse 75 can support one attribute (e.g. Dim, Inverse,
4793#	Underline) without magic cookies.  The following description
4794#	uses this capability, but when more than one attribute is
4795#	put on the screen at once, all attributes will be changed
4796#	to be the same as the last attribute given.
4797#	   The Wyse 75 can support more attributes when used with magic
4798#	cookies.  The wy75-mc terminal description uses magic cookies
4799#	to correctly handle multiple attributes on a screen.
4800#
4801# (untranslatable capabilities removed to fit entry within 1023 bytes)
4802# (sgr removed to fit entry within 1023 bytes)
4803# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
4804wy75|wyse75|wyse 75:\
4805	:am:hs:mi:ms:xn:xo:\
4806	:co#80:li#24:ma#1:pb#1201:ws#78:\
4807	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4808	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
4809	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
4810	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
4811	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
4812	:ds=\E[>\054\001\001\E[>-\001\001:ec=\E[%dX:ei=\E[4l:\
4813	:fs=^A:ho=\E[H:\
4814	:i1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h:i2=\E[m:\
4815	:im=\E[4h:ip=:is=\E>\E(B\E)0\017:k1=\E[?5i:k2=\E[?3i:\
4816	:k3=\E[2i:k4=\E[@:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
4817	:k9=\E[20~:kI=\E[@:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
4818	:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[?1l\E[?7h\E=:ku=\E[A:le=^H:\
4819	:me=\E[m\017:mh=\E[0t\E[2m:mr=\E[1t\E[7m:nd=\E[C:rc=\E8:\
4820	:sc=\E7:se=\E[m:sf=\n:so=\E[1t\E[7m:sr=\EM:st=\EH:ta=^I:\
4821	:ts=\E[>\054\001:ue=\E[m:up=\E[A:us=\E[2t\E[4m:\
4822	:vb=\E[30h\E\054\E[30l:ve=\E[?25h:vi=\E[?25l:
4823#
4824#	This terminal description uses the non-hidden attribute mode
4825#	(with magic cookie).
4826#
4827wy75-mc|wyse75-mc|wyse 75 with magic cookies:\
4828	:ms@:\
4829	:ma@:sg#1:\
4830	:ae=\E[0p\017:as=\E[0p\016:i2=\E[m\E[p:mb=\E[2p:\
4831	:me=\E[0p\017:mh=\E[1p:mk=\E[4p:mr=\E[16p:\
4832	:..sa=\E[%{0}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{16}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{1}%|%;%?%p7%t%{4}%|%;%dp%?%p9%t\016%e\017%;:\
4833	:se=\E[0p:so=\E[17p:ue=\E[0p:us=\E[8p:\
4834	:tc=wy75:
4835wy75-vb|wyse75-vb|wyse 75 with visible bell:\
4836	:pb@:\
4837	:bl@:tc=wy75:
4838wy75-w|wyse75-w|wyse 75 in 132 column mode:\
4839	:co#132:ws#130:\
4840	:r2=\E[35h\E[?3h:tc=wy75:
4841wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns:\
4842	:pb@:\
4843	:bl@:tc=wy75-w:
4844#
4845#	Wyse 85 emulating a vt220 7 bit mode.
4846#		24 line screen with status line.
4847#
4848#	The vt220 mode permits more function keys but it wipes out
4849#	the escape key.  I strongly recommend that <f11> be set to
4850#	escape (esc).
4851#	The terminal may have to be set for 8 data bits and 2 stop
4852#	bits for the arrow keys to work.
4853#	The Wyse 85 runs faster with XON/XOFF enabled.  Also the
4854#	:DC: and :IC: work best when XON/XOFF is set.  :IC: and
4855#	:DC: leave trash on the screen when used without XON/XOFF.
4856#
4857# (untranslatable capabilities removed to fit entry within 1023 bytes)
4858# (sgr removed to fit entry within 1023 bytes)
4859# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
4860wy85|wyse85|wyse 85:\
4861	:am:hs:mi:ms:xn:xo:\
4862	:co#80:it#8:li#24:ws#80:\
4863	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4864	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
4865	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
4866	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
4867	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
4868	:ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
4869	:i1=\E[62;1"p\E[?5W:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
4870	:is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
4871	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
4872	:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
4873	:kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
4874	:ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
4875	:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\n:\
4876	:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
4877	:ts=\E[40h\E7\E[25;%i%p1%dH:ue=\E[m:up=\E[A:us=\E[4m:\
4878	:vb=\E[30h\E\054\E[30l:ve=\E[?25h:vi=\E[?25l:
4879#
4880#	Wyse 85 with visual bell.
4881wy85-vb|wyse85-vb|wyse 85 with visible bell:\
4882	:bl@:vb=\E[30h\E\054\E[30l:tc=wy85:
4883#
4884#	Wyse 85 in 132-column mode.
4885wy85-w|wyse85-w|wyse 85 in 132-column mode:\
4886	:co#132:ws#132:\
4887	:r2=\E[35h\E[?3h:tc=wy85:
4888#
4889#	Wyse 85 in 132-column mode with visual bell.
4890wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns:\
4891	:bl@:\
4892	:tc=wy85-w:
4893#
4894#	Wyse 185 emulating a vt320 7 bit mode.
4895#
4896#	This terminal always displays 25 lines.  These lines may be used
4897#	as 24 data lines and a terminal status line (top or bottom) or
4898#	25 data lines.  The 48 and 50 line modes change the page size
4899#	and not the number of lines on the screen.
4900#
4901#	The Compose Character key can be used as a meta key if changed
4902#	by set-up.
4903#
4904# (untranslatable capabilities removed to fit entry within 1023 bytes)
4905# (sgr removed to fit entry within 1023 bytes)
4906# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
4907wy185|wyse185|wyse 185:\
4908	:am:hs:km:mi:ms:xn:xo:\
4909	:co#80:it#8:li#24:ws#80:\
4910	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4911	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
4912	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
4913	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
4914	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
4915	:ds=\E7\E[99;0H\E[K\E8:ec=\E[%dX:ei=\E[4l:\
4916	:fs=\E[1;24r\E8:ho=\E[H:i1=\E[?5W:\
4917	:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
4918	:is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
4919	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
4920	:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
4921	:kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
4922	:ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
4923	:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
4924	:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:ti=\E[ Q:\
4925	:ts=\E7\E[99;%i%p1%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
4926	:vb=\E[30h\E\054\E[30l:ve=\E[34h\E[?25h:vi=\E[?25l:\
4927	:vs=\E[?25h\E[34l:
4928#
4929#	Wyse 185 with 24 data lines and top status (terminal status)
4930wy185-24|wyse185-24|wyse 185 with 24 data lines:\
4931	:hs@:\
4932	:ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy185:
4933#
4934#	Wyse 185 with visual bell.
4935wy185-vb|wyse185-vb|wyse 185+flash:\
4936	:bl@:tc=wy185:
4937#
4938#	Wyse 185 in 132-column mode.
4939wy185-w|wyse185-w|wyse 185 in 132-column mode:\
4940	:co#132:ws#132:\
4941	:DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy185:
4942#
4943#	Wyse 185 in 132-column mode with visual bell.
4944wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols:\
4945	:bl@:tc=wy185-w:
4946
4947# wy325 terminfo entries
4948# Done by Joe H. Davis        3-9-92
4949
4950# lines 25  columns 80
4951#
4952# (untranslatable capabilities removed to fit entry within 1023 bytes)
4953wy325|wyse325|Wyse epc:\
4954	:5i:am:bw:hs:mi:\
4955	:Nl#8:co#80:lh#1:li#24:lw#8:pb#9601:ws#45:\
4956	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
4957	:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:RA=\Ed.:\
4958	:SA=\Ed/:\
4959	:ac=+/\054.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~:\
4960	:ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
4961	:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
4962	:ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\Ew0:im=\Eq:ip=:\
4963	:is=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
4964	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
4965	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
4966	:kE=\ET:kI=\Eq:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
4967	:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
4968	:me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:pf=^T:\
4969	:pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:po=\Ed#:ps=\EP:\
4970	:px=\EZ1%+?%s\177:r1=\E~\041\E~4:r2=\EeF\E`\072:\
4971	:r3=\EwG\Ee(:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:\
4972	:ti=\Ew1:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
4973	:tc=adm+sgr:
4974
4975#
4976# lines 24  columns 80  vb
4977#
4978wy325-vb|wyse325-vb|wyse-325 with visual bell:\
4979	:bl@:tc=wy325:
4980
4981#
4982# lines 24  columns 132
4983#
4984wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode:\
4985	:Nl#16:co#132:lw#7:ws#97:\
4986	:cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy325:
4987#
4988# lines 25  columns 80
4989#
4990wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines:\
4991	:Nl@:lh@:li#25:lw@:\
4992	:pn@:r3=\EwG\Ee):tc=wy325:
4993#
4994# lines 25  columns 132
4995#
4996wy325-25w|wyse325-25w|wy325 132 columns:\
4997	:Nl@:lh@:li#25:lw@:\
4998	:pn@:r3=\EwG\Ee):tc=wy325-w:
4999#
5000# lines 25  columns 132  vb
5001#
5002wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video:\
5003	:bl@:\
5004	:tc=wy325-w:
5005
5006#
5007# lines 42  columns 80
5008#
5009wy325-42|wyse325-42|wyse-325 42 lines:\
5010	:Nl@:lh@:li#42:lw@:\
5011	:pn@:r3=\EwG\Ee):tc=wy325:
5012#
5013# lines 42  columns 132
5014#
5015wy325-42w|wyse325-42w|wyse-325 42 lines wide mode:\
5016	:Nl@:lh@:li#42:lw@:\
5017	:pn@:r3=\EwG\Ee):tc=wy325-w:
5018#
5019# lines 42  columns 132  vb
5020#
5021wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell:\
5022	:bl@:\
5023	:tc=wy325-w:
5024#
5025# lines 43  columns 80
5026#
5027wy325-43|wyse325-43|wyse-325 43 lines:\
5028	:Nl@:lh@:li#43:lw@:\
5029	:pn@:tc=wy325:
5030#
5031# lines 43  columns 132
5032#
5033wy325-43w|wyse325-43w|wyse-325 43 lines wide mode:\
5034	:Nl@:lh@:li#43:lw@:\
5035	:pn@:r3=\EwG\Ee):tc=wy325-w:
5036#
5037# lines 43  columns 132  vb
5038#
5039wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell:\
5040	:bl@:\
5041	:tc=wy325-w:
5042
5043#	Wyse 370 -- 24 line screen with status line.
5044#
5045#	The terminal may have to be set for 8 data bits and 2 stop
5046#	bits for the arrow keys to work.
5047#
5048#	If you change keyboards the terminal will send different
5049#	escape sequences.
5050#	The following definition is for the basic terminal without
5051#	function keys.
5052#
5053#	<u0> -> enter Tektronix 4010/4014 mode
5054#	<u1> -> exit  Tektronix 4010/4014 mode
5055#	<u2> -> enter ASCII mode (from any ANSI mode)
5056#	<u3> -> exit  ASCII mode (goto native ANSI mode)
5057#	<u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
5058#	<u5> -> exit  Tek 4207 mode (goto native ANSI mode)
5059#
5060# Bug: The <op> capability resets attributes.
5061# (untranslatable capabilities removed to fit entry within 1023 bytes)
5062# (sgr removed to fit entry within 1023 bytes)
5063# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5064wy370-nk|wyse 370 without function keys:\
5065	:am:hs:mi:ms:xn:xo:\
5066	:co#80:it#8:li#24:ws#80:\
5067	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5068	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
5069	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
5070	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
5071	:ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
5072	:i1=\E[90;1"p\E[?5W:i2=\E>\017\E)0\E(B\E[63;0w\E[m:\
5073	:im=\E[4h:ip=:\
5074	:is=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h:\
5075	:ke=\E>:ks=\E[?1l\E=:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
5076	:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
5077	:so=\E[7m:sr=\EM:st=\EH:ta=\011:te=\E[ R:ti=\E[ Q:\
5078	:ts=\E[40l\E[40h\E7\E[99;%i%p1%dH:ue=\E[24m:up=\E[A:\
5079	:us=\E[4m:vb=\E[30h\E\054\E[30l:ve=\E[34h\E[?25h:\
5080	:vi=\E[?25l:vs=\E[?25h\E[34l:
5081#
5082#	Function key set for the ASCII (wy-50 compatible) keyboard
5083#	This is the default 370.
5084#
5085wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard:\
5086	:@8=\EOM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
5087	:F5=\E[28~:F6=\E[29~:k1=\E[?4i:k2=\E[?3i:k3=\E[2i:k4=\E[@:\
5088	:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
5089	:k;=\E[21~:kA=\EOP:kB=\E[Z:kD=\EOQ:kI=\EOP:kL=\EOQ:kN=\E[U:\
5090	:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
5091	:tc=wy370-nk:
5092#
5093#	Function key set for the VT-320 (and wy85) compatible keyboard
5094#
5095wy370-105k|Wyse 370 with 105 key keyboard:\
5096	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:\
5097	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
5098	:F8=\E[32~:F9=\E[33~:FA=\E[34~:K1=\EOw:K2=\EOu:K3=\EOy:\
5099	:K4=\EOq:K5=\EOs:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:\
5100	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
5101	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[26~:\
5102	:kl=\E[D:kr=\E[C:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:\
5103	:tc=wy370-nk:
5104#
5105#	Function key set for the PC compatible keyboard
5106#
5107wy370-EPC|Wyse 370 with 102 key keyboard:\
5108	:@7=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:k1=\EOP:k2=\EOQ:\
5109	:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
5110	:k9=\E[20~:k;=\E[21~:kB=\E[Z:kI=\E[2~:kN=\E[U:kP=\E[V:\
5111	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
5112	:tc=wy370-nk:
5113#
5114#	Wyse 370 with visual bell.
5115wy370-vb|Wyse 370 with visible bell:\
5116	:bl@:tc=wy370:
5117#
5118#	Wyse 370 in 132-column mode.
5119wy370-w|Wyse 370 in 132-column mode:\
5120	:co#132:ws#132:\
5121	:r2=\E[35h\E[?3h:tc=wy370:
5122#
5123#	Wyse 370 in 132-column mode with visual bell.
5124wy370-wvb|Wyse 370 with visible bell 132-columns:\
5125	:vb=\E[30h\E\054\E[30l:tc=wy370-w:
5126wy370-rv|Wyse 370 reverse video:\
5127	:r3=\E[32h\E[?5h:tc=wy370:
5128#
5129#	Wyse 99gt Tektronix 4010/4014 emulator,
5130#
5131wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator:\
5132	:am:os:\
5133	:co#74:li#35:\
5134	:bl=^G:cl=\E^L:\
5135	:..cm=\035%{3040}%{89}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037:\
5136	:cr=^M:do=^J:ff=^L:\
5137	:hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
5138	:ho=^]7`x @\037:\
5139	:hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
5140	:is=\E8:le=^H:nd= :nw=^M^J:u0=\E~>\E8:u1=\E[42h:up=^K:
5141#
5142#	Wyse 160 Tektronix 4010/4014 emulator,
5143#
5144wy160-tek|Wyse 160 Tektronix 4010/4014 emulator:\
5145	:..cm=\035%{3103}%{91}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037:\
5146	:ho=^]8`g @\037:\
5147	:tc=wy99gt-tek:
5148#
5149#	Wyse 370 Tektronix 4010/4014 emulator,
5150#
5151wy370-tek|Wyse 370 Tektronix 4010/4014 emulator:\
5152	:am:os:\
5153	:co#80:li#36:\
5154	:bl=^G:cl=\E^L:\
5155	:..cm=\035%{775}%{108}%p1%*%{5}%/%-%Py%p2%{64}%*%{4}%+%{5}%/%Px%gy%{32}%/%{31}%&%{32}%+%c%gy%{31}%&%{96}%+%c%gx%{32}%/%{31}%&%{32}%+%c%gx%{31}%&%{64}%+%c\037:\
5156	:cr=^M:do=^J:ff=^L:\
5157	:hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
5158	:ho=^]8g @\037:\
5159	:hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
5160	:is=\E8:kb=^H:kd=^J:kl=^H:kr=^I:ku=^K:le=^H:nd= :nw=^M^J:\
5161	:u0=\E[?38h\E8:u1=\E[?38l\E)0:up=^K:
5162
5163# Vendor-supplied Wyse entries end here.
5164
5165# Can't set tabs! Other bugs (ANSI mode only):
5166# - can't redefine function keys (anyway, key redefinition in ANSI mode
5167#   is too much complex to be described);
5168# - meta key can't be described (the terminal forgets it when reset);
5169# The xon-xoff handshaking can't be disabled while in ansi personality, so
5170# emacs can't work at speed greater than 9600 baud.  No padding is needed at
5171# this speed.
5172#   dch1 has been commented out because it causes annoying glittering when
5173# vi deletes one character at the beginning of a line with tabs in it.
5174#   dch makes sysgen(1M) have a horrible behaviour when deleting
5175# a screen and makes screen(1) behave badly, so it is disabled too. The nice
5176# thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
5177# not, so smir and rmir are commented out as well.
5178# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
5179# (untranslatable capabilities removed to fit entry within 1023 bytes)
5180# (sgr removed to fit entry within 1023 bytes)
5181# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5182wy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard):\
5183	:am:km:mi:ms:xn:\
5184	:co#80:it#8:li#25:vt#3:\
5185	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
5186	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
5187	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
5188	:cs=\E[%i%d;%dr:dl=\E[M:do=\ED:ec=\E[%dX:ei=\E[4l:ho=\E[H:\
5189	:im=\E[4h:\
5190	: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:\
5191	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
5192	:k7=\E[18~:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l:\
5193	:kl=\EOD:kr=\EOC:ks=\E[?1h:ku=\EOA:le=\010:ll=\E[24E:\
5194	:mb=\E[5m:md=\E[1m:me=\E[m\017\E["q:mh=\E[2m:mr=\E[7m:\
5195	:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:\
5196	:sr=\EM:ta=^I:ue=\E[24m:up=\EM:us=\E[4m:vb=\E[?5h\E[?5l:\
5197	:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[34l\E[?25h:
5198
5199#   This is the american terminal. Here tabs work fine.
5200# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
5201wy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard):\
5202	:ct=\E[3g:i2=\E[?5l:r3=\E[?5l:st=\EH:\
5203	:tc=wy99-ansi:
5204
5205# This terminal (firmware version 02) has a lot of bugs:
5206# - can't set tabs;
5207# - other bugs in ANSI modes (see above).
5208# This description disables handshaking when using cup. This is because
5209# GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
5210# cannot be used at speeds greater than 9600 baud, because at greater
5211# speeds handshaking is needed even for character sending. If you use
5212# DTR handshaking, you can use even greater speeds.
5213# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
5214# (untranslatable capabilities removed to fit entry within 1023 bytes)
5215# (sgr removed to fit entry within 1023 bytes)
5216# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5217wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard):\
5218	:am:bw:hs:km:mi:ms:xo:\
5219	:co#80:it#8:li#25:ws#46:\
5220	:K1=^^:K3=\EJ:K4=\ET:K5=\EK:ae=\EcD:al=\EE:as=\EcE:bl=^G:\
5221	:bt=\EI:cd=\EY:ce=\ET:cl=\E'\E(\032:cm=\E=%+ %+ :cr=^M:\
5222	:dc=\EW:dl=\ER:do=\Ej:ds=\EF\r:ei=\Er:fs=^M:ho=^^:im=\Eq:\
5223	: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:\
5224	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
5225	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:\
5226	:le=^H:mb=\EG2:me=\E(\EG0:mh=\EGp:mr=\EG4:nd=^L:nw=^_:\
5227	:se=\EG0:sf=^J:so=\EG4:sr=\Ej:ta=^I:te=\Ec21\Ec31:\
5228	:ti=\Ec20\Ec30:ts=\EF:up=^K:vb=\E\1361\E\1360:\
5229	:ve=\E`4\E`1:vi=\E`0:vs=\E`2\E`1:
5230
5231# This is the american terminal. Here tabs work.
5232# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
5233wy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard):\
5234	:ct=\E0:st=\E1:\
5235	:tc=wy99f:
5236
5237#
5238#TITLE:  TERMINFO ENTRY WY520
5239#DATE:   8/5/93
5240# The WY520 terminfo is based on the WY285 entry published on the WYSE
5241# BBS with the addition of more function keys and special keys.
5242#
5243#               rs1 -> set personality
5244#               rs2 -> set number of columns
5245#               rs3 -> set number of lines
5246#               is1 -> select the proper font
5247#               is2 -> do the initialization
5248#               is3 -> If this string is empty then rs3 gets sent.
5249#
5250#       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
5251#       - The BS key is programmed to generate BS in smcup since
5252#         is2 doesn't seem to work.
5253#       - Remove and shift/Remove: delete a character
5254#       - Insert : enter insert mode
5255#       - Find   : delete to end of file
5256#       - Select : clear a line
5257#       - F11, F12, F13: send default sequences (not ESC, BS, LF)
5258#       - F14 : Home key
5259#       - Bottom status line (host writable line) is used.
5260#       - smkx,rmkx are removed because this would put the numeric
5261#         keypad in Dec application mode which doesn't seem to work
5262#         with SCO applications.
5263#
5264# (untranslatable capabilities removed to fit entry within 1023 bytes)
5265# (sgr removed to fit entry within 1023 bytes)
5266# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5267wy520|wyse520|wyse 520:\
5268	:am:hs:km:mi:xn:xo:\
5269	:co#80:it#8:li#24:ws#80:\
5270	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5271	:K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
5272	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
5273	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
5274	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[0$~:\
5275	:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:i1=\E[?5W:\
5276	:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
5277	:is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h:\
5278	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
5279	:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
5280	:kb=^H:kd=\E[B:kh=\E[26~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
5281	:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
5282	:rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
5283	:te=\E[ R:ti=\E[ Q\E[?67;8h:ts=\E[2$~\E[1$}\E[%i%p1%d`:\
5284	:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[34h\E[?25h:vi=\E[?25l:\
5285	:vs=\E[?25h\E[34l:
5286#
5287#       Wyse 520 with 24 data lines and status (terminal status)
5288wy520-24|wyse520-24|wyse 520 with 24 data lines:\
5289	:hs@:\
5290	:ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520:
5291#
5292#       Wyse 520 with visual bell.
5293wy520-vb|wyse520-vb|wyse 520 with visible bell:\
5294	:vb=\E[30h\E\054\E[30l:tc=wy520:
5295#
5296#       Wyse 520 in 132-column mode.
5297wy520-w|wyse520-w|wyse 520 in 132-column mode:\
5298	:co#132:ws#132:\
5299	:DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy520:
5300#
5301#       Wyse 520 in 132-column mode with visual bell.
5302wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns:\
5303	:vb=\E[30h\E\054\E[30l:\
5304	:tc=wy520-w:
5305#
5306#
5307#       Wyse 520 emulating a vt420 7 bit mode.
5308#       The DEL key is programmed to generate BS in is2.
5309#       With EPC keyboard.
5310#       - 'End' key will clear till end of line on EPC keyboard
5311#       - Shift/End : ignored.
5312#       - Insert : enter insert mode.
5313#       - Delete : delete a character (have to change interrupt character
5314#                  to CTRL-C: stty intr '^c') for it to work since the
5315#                  Delete key sends 7FH.
5316wy520-epc|wyse520-epc|wyse 520 with EPC keyboard:\
5317	:@7=\E[4~:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:\
5318	:k4=\E[14~:k5=\E[15~:kD=\177:kE=\E[4~:kh=\E[H:\
5319	:tc=wy520:
5320#
5321#       Wyse 520 with 24 data lines and status (terminal status)
5322#       with EPC keyboard.
5323wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines and EPC keyboard:\
5324	:hs@:\
5325	:ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520-epc:
5326#
5327#       Wyse 520 with visual bell.
5328wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell and EPC keyboard:\
5329	:vb=\E[30h\E\054\E[30l:\
5330	:tc=wy520-epc:
5331#
5332#       Wyse 520 in 132-column mode.
5333wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard:\
5334	:co#132:ws#132:\
5335	:DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy520-epc:
5336#
5337#       Wyse 520 in 132-column mode with visual bell.
5338wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns and EPC keyboard:\
5339	:vb=\E[30h\E\054\E[30l:\
5340	:tc=wy520-epc-w:
5341#
5342#       Wyse 520 in 80-column, 36 lines
5343wy520-36|wyse520-36|wyse 520 with 36 data lines:\
5344	:hs@:\
5345	:li#36:\
5346	:ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:tc=wy520:
5347#
5348#       Wyse 520 in 80-column, 48 lines
5349wy520-48|wyse520-48|wyse 520 with 48 data lines:\
5350	:hs@:\
5351	:li#48:\
5352	:ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:tc=wy520:
5353#
5354#       Wyse 520 in 132-column, 36 lines
5355wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines:\
5356	:co#132:ws#132:\
5357	:r2=\E[?3h:\
5358	:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:tc=wy520-36:
5359#
5360#       Wyse 520 in 132-column, 48 lines
5361wy520-48w|wyse520-48w|wyse 520 with 48 data lines:\
5362	:co#132:ws#132:\
5363	:r2=\E[?3h:\
5364	:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:tc=wy520-48:
5365#
5366#
5367#       Wyse 520 in 80-column, 36 lines with EPC keyboard
5368wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard:\
5369	:hs@:\
5370	:li#36:\
5371	:ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:tc=wy520-epc:
5372#
5373#       Wyse 520 in 80-column, 48 lines with EPC keyboard
5374wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard:\
5375	:hs@:\
5376	:li#48:\
5377	:ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:tc=wy520-epc:
5378#
5379#       Wyse 520 in 132-column, 36 lines with EPC keyboard
5380wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard:\
5381	:co#132:ws#132:\
5382	:r2=\E[?3h:\
5383	:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:tc=wy520-36pc:
5384#
5385#       Wyse 520 in 132-column, 48 lines with EPC keyboard
5386wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines and EPC keyboard:\
5387	:co#132:ws#132:\
5388	:r2=\E[?3h:\
5389	:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:tc=wy520-48pc:
5390
5391# From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
5392# (wyse-vp: removed :if=/usr/share/tabset/wyse-adds:, there's no such
5393# file and we don't know what :st: is -- esr)
5394wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on:\
5395	:am:bs:\
5396	:co#80:it#8:li#24:\
5397	:al=\EM:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EW:\
5398	:dl=\El:do=^J:ei=\Er:ho=^A:im=\Eq:is=\E`\072\E`9\017\Er:\
5399	:kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A^Z:me=^O:\
5400	:nd=^F:nw=^M^J:r1=\E`\072\E`9\017\Er:se=^O:sf=^J:so=^N:\
5401	:ta=^I:ue=^O:up=^Z:us=^N:
5402
5403wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad:\
5404	:is=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=:kb=^H:\
5405	:kd=\EOB:ke=10\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\
5406	:ks=10\E[?1h\E=:ku=\EOA:tc=wy75:
5407
5408# From: Kevin Turner <kevint@aracnet.com>, 12 Jul 1998
5409# This copes with an apparent firmware bug in the wy85.  He writes:
5410# "What I did was change leave the terminal cursor keys set to Normal
5411# (instead of application), and change \E[ to \233 for all the keys in
5412# terminfo. At one point, I found some reference indicating that this
5413# terminal bug (not sending \E[) was acknowledged by Wyse (so it's not just
5414# me), but I can't find that and the server under my bookmark to "Wyse
5415# Technical" isn't responding.  So there's the question of wether the wy85
5416# terminfo should reflect the manufactuer's intended behaviour of the terminal
5417# or the actual."
5418# (untranslatable capabilities removed to fit entry within 1023 bytes)
5419# (sgr removed to fit entry within 1023 bytes)
5420# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5421wy85-8bit|wyse85-8bit|wyse 85 in 8-bit mode:\
5422	:am:hs:mi:ms:xn:xo:\
5423	:co#80:it#8:li#24:ws#80:\
5424	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5425	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
5426	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
5427	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
5428	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
5429	:ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
5430	:i1=\E[62;1"p\E[?5W:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
5431	:is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
5432	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\23317~:k7=\23318~:\
5433	:k8=\23319~:k9=\23320~:kD=\2333~:kI=\2332~:kN=\2336~:\
5434	:kP=\2335~:kb=^H:kd=\233B:ke=\E>:kh=\23326~:kl=\233D:\
5435	:kr=\233C:ks=\E[?1l\E=:ku=\233A:le=^H:mb=\E[5m:md=\E[1m:\
5436	:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
5437	:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
5438	:ts=\E[40h\E7\E[25;%i%p1%dH:ue=\E[m:up=\E[A:us=\E[4m:\
5439	:vb=\E[30h\E\054\E[30l:ve=\E[?25h:vi=\E[?25l:
5440
5441# From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
5442wy100q|Wyse 100 for Quotron:\
5443	:bs:\
5444	:co#80:li#24:sg#1:\
5445	:al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
5446	:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:\
5447	:is=\E`\072\0\EC\EDF\E0\E'\E(\EA21:kd=^J:kl=^H:kr=^L:\
5448	:ku=^K:le=^H:mk@:nd=^L:sr=\Ej:up=^K:\
5449	:tc=adm+sgr:
5450
5451#### Kermit terminal emulations
5452#
5453# Obsolete Kermit versions may be listed in the section describing obsolete
5454# non-ANSI terminal emulators later in the file.
5455#
5456
5457# KERMIT standard all versions.
5458# Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
5459# (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
5460# From: greg small <gts@populi.berkeley.edu> 9-25-84
5461kermit|standard kermit:\
5462	:bs:\
5463	:co#80:li#24:\
5464	:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :ho=\EH:\
5465	:is=K0 Standard Kermit  9-25-84\n:kd=^J:kh=^^:kl=^H:\
5466	:kr=^L:ku=^K:le=^H:nd=\EC:up=\EA:
5467kermit-am|standard kermit plus auto-margin:\
5468	:am:\
5469	:is=K1 Standard Kermit plus Automatic Margins\n:tc=kermit:
5470# IBMPC Kermit 1.2.
5471# Bugs: :cd:, :ce:: do not work except at beginning of line!  :cl: does
5472# not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
5473# line).
5474# From: greg small <gts@populi.berkeley.edu> 8-30-84
5475pckermit|pckermit12|UCB IBMPC Kermit 1.2:\
5476	:am:\
5477	:li#25:\
5478	:cd@:ce@:cl=\EH\EJ:\
5479	:is=K2 UCB IBMPC Kermit 1.2  8-30-84\n:tc=kermit:
5480# IBMPC Kermit 1.20
5481# Cannot use line 25, now acts funny like ansi special scrolling region.
5482# Initialization must escape from that region by cursor position to line 24.
5483# Cannot use character insert because 1.20 goes crazy if insert at col 80.
5484# Does not use :am: because autowrap is lost when kermit dropped and restarted.
5485# From: greg small <gts@populi.berkeley.edu> 12-19-84
5486pckermit120|UCB IBMPC Kermit 1.20:\
5487	:it#8:li#24:\
5488	:al=\EL:dc=\EN:dl=\EM:do=\EB:ei@:im@:\
5489	:is=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n:\
5490	:se=\Eq:so=\Ep:ta=^I:vs=\EO\Eq\EEK3:\
5491	:tc=kermit:
5492# MS-DOS Kermit 2.27 for the IBMPC
5493# Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
5494# Cannot use line 25, now acts funny like ansi special scrolling region.
5495# Initialization must escape from that region by cursor position to line 24.
5496# Does not use am: because autowrap is lost when kermit dropped and restarted.
5497# Reverse video for standout like H19.
5498# (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
5499# From: greg small <gts@populi.berkeley.edu> 3-17-85
5500msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC:\
5501	:am@:bs:\
5502	:co#80:it#8:li#24:\
5503	:al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dc=\EN:dl=\EM:\
5504	:do=\EB:ei=\EO:ho=\EH:im=\E@:\
5505	:is=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n:\
5506	:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=\EC:rc=\Ek:sc=\Ej:\
5507	:se=\Eq:so=\Ep:ta=^I:up=\EA:vs=\EO\Eq\EG\EwK4:
5508# MS-DOS Kermit 2.27 with automatic margins
5509# From:	greg small <gts@populi.berkeley.edu> 3-17-85
5510msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins:\
5511	:am:\
5512	:is=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n:\
5513	:vs=\EO\Eq\EG\EvK5:\
5514	:tc=msk227:
5515# MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
5516# Automatic margins now default.  Use ansi :sa: for highlights.
5517# Define function keys.
5518# (msk22714: removed obsolete ":kn#10:" -- esr)
5519# From: greg small <gts@populi.berkeley.edu> 3-17-85
5520msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC:\
5521	:am:\
5522	:is=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n:\
5523	:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:\
5524	:k8=\E8:k9=\E9:md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:\
5525	:ue=\E[m:us=\E[4m:vs=\EO\Eq\EG\EvK6:\
5526	:tc=mskermit227:
5527# This was designed for a VT320 emulator, but it is probably a good start
5528# at support for the VT320 itself.
5529# Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
5530# (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
5531# (untranslatable capabilities removed to fit entry within 1023 bytes)
5532# (sgr removed to fit entry within 1023 bytes)
5533# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5534vt320-k3|MS-Kermit 3.00's vt320 emulation:\
5535	:am:es:hs:km:mi:ms:xn:\
5536	:co#80:it#8:li#49:pb#9600:vt#3:\
5537	:AL=\E[%dL:CC=\E:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5538	:LE=\E[%dD:RI=\E[%dC:SR=\E[%dL:UP=\E[%dA:ae=\E(B:al=\E[L:\
5539	:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
5540	:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
5541	:ds=\E[0$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
5542	:is=\E>\E F\E[?1l\E[?7h\E[r\E[2$~:k0=\E[21~:k1=\EOP:\
5543	:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
5544	:k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
5545	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
5546	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\
5547	:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
5548	:ts=\E[1$}\r\E[K:ue=\E[24m:up=\E[A:us=\E[4m:\
5549	:vb=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l:ve=\E[?25h:\
5550	:vi=\E[?25l:
5551# From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
5552# ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
5553# (I removed a bogus boolean :mo: and added :ms:, <smam>, <rmam> -- esr)
5554vt320-k311|dec vt320 series as defined by kermit 3.11:\
5555	:am:es:hs:mi:ms:xn:xo:\
5556	:co#80:it#8:li#24:vt#3:\
5557	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5558	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
5559	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
5560	:ae=^O:al=3\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
5561	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
5562	:dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
5563	:fs=\E[$}:ho=\E[H:im=\E[4h:\
5564	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
5565	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
5566	:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
5567	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
5568	:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
5569	:r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:\
5570	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
5571	:ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
5572	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
5573
5574#
5575######## ---------------- TERMINFO FILE CAN BE SPLIT HERE -------------------
5576# This cut mark helps make life less painful for people running ncurses tic
5577# on machines with relatively little RAM.  The file can be broken in half here
5578# cleanly and compiled in sections -- no `use' references cross this cut
5579# going forward.
5580#
5581
5582######## OLDER TERMINAL TYPES
5583#
5584# This section is devoted to older commercial terminal brands that are now
5585# discontinued, but known to be still in use or represented by emulations.
5586#
5587
5588#### AT&T (att, tty)
5589#
5590# This section also includes Teletype-branded VDTs.
5591#
5592# The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
5593# Boundless Technologies); for details, see the header comment on the ADDS
5594# section.
5595#
5596# These are AT&T's official terminfo entries.  All-caps aliases have been
5597# removed.
5598#
5599att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode:\
5600	:am:eo:mi:ms:xo:\
5601	:co#80:it#8:li#24:\
5602	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[11r:\
5603	:F2=\E[12r:F3=\E[13r:F4=\E[14r:F5=\E[15r:F6=\E[16r:\
5604	:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:\
5605	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
5606	:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:\
5607	:k1=\E[1r:k2=\E[2r:k3=\E[3r:k4=\E[4r:k5=\E[5r:k6=\E[6r:\
5608	:k7=\E[7r:k8=\E[8r:k9=\E[9r:k;=\E[10r:kA=\E[L:kB=\E[Z:\
5609	:kC=\E[J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:kd=\E[B:kh=\E[H:\
5610	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
5611	:pf=\E[4i:po=\E[5i:ps=\E[0i:se=\E[m:sf=^J:so=\E[7m:ta=^I:\
5612	:up=\E[A:
5613att2350|AT&T 2350 Video Information Terminal 80 column mode:\
5614	:pf@:po@:ps@:\
5615	:tc=att2300:
5616
5617# Must setup RETURN KEY - CR, REC'VD LF - INDEX.
5618# Seems upward compatible with vt100, plus ins/del line/char.
5619# On sgr, the protection parameter is ignored.
5620# No check is made to make sure that only 3 parameters are output.
5621# 	standout= reverse + half-intensity = 3 | 5.
5622# 	bold= reverse + underline = 2 | 3.
5623# note that half-bright blinking doesn't look different from normal blinking.
5624# NOTE:you must program the function keys first, label second!
5625# (att4410: a BSD entry has been seen with the following capabilities:
5626# :is=\E[?6l:, :k1=\EOc:, :k2=\EOd:, :k3=\EOe:, :k4=\EOg:,
5627# :k6=\EOh:, :k7=\EOi:, :k8=\EOj:, -- esr)
5628# (untranslatable capabilities removed to fit entry within 1023 bytes)
5629att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1:\
5630	:am:hs:mi:ms:xo:\
5631	:Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
5632	:ac=++\054\054--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
5633	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
5634	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
5635	:do=\E[B:ei=:fs=\E8:ho=\E[H:i1=\E[?3l\E)0:\
5636	: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:\
5637	:ic=\E[@:im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
5638	:k6=\EOU:k7=\EOV:k8=\EOW:kC=\E[2J:kH=\E[24;1H:kb=^H:\
5639	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
5640	:mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mk=\E[8m:\
5641	:mr=\E[7m:nd=\E[C:nw=^M^J:r2=\Ec\E[?3l\E[2;0y:rc=\E8:\
5642	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
5643	:ts=\E7\E[25;%p1%{1}%+%dH:ue=\E[m:up=\E[A:us=\E[4m:
5644
5645att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1:\
5646	:co#132:ws#132:\
5647	:i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att5410v1:
5648
5649att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2:\
5650	:bs:\
5651	:..px=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s:tc=att5410v1:
5652
5653att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode:\
5654	:co#132:ws#132:\
5655	:i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att4410:
5656
5657# 5410 in terms of a vt100
5658# (v5410: added <rmam>/<smam> based on init string -- esr)
5659v5410|att5410 in terms of a vt100:\
5660	:am:mi:ms:xo:\
5661	:co#80:it#8:li#24:vt#3:\
5662	:@8=\EOM:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:RA=\E[?7l:\
5663	:SA=\E[?7h:\
5664	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
5665	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
5666	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
5667	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
5668	:ic=\E[@:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
5669	:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:\
5670	:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
5671	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
5672	:nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
5673	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
5674	:sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
5675	:ue=\E[m:up=\E[A:us=\E[4m:
5676
5677#
5678# Teletype Model 5420 -- A souped up 5410, with multiple windows,
5679# even! the 5420 has three modes: scroll, window or page mode
5680# this terminfo should work in scroll or window mode, but doesn't
5681# take advantage of any of the differences between them.
5682#
5683# Has memory below (2 lines!)
5684# 3 pages of memory (plus some spare)
5685# The 5410 sequences for :cm:, :vs:, :DC:, :DL:, :ec:, :vb:, :ho:,
5686# <hpa>, :st: would work for these, but these work in both scroll and window
5687# mode... Unset insert character so insert mode works
5688# :i1: sets 80 column mode,
5689# :is: escape sequence:
5690# 1) turn off all fonts
5691# 2) function keys off, keyboard lock off, control display off,
5692#    insert mode off, erasure mode off,
5693# 3) full duplex, monitor mode off, send graphics off, nl on lf off
5694# 4) reset origin mode
5695# 5) set line wraparound
5696# 6) exit erasure mode, positional attribute mode, and erasure extent mode
5697# 7) clear margins
5698# 8) program ENTER to transmit ^J,
5699# We use \212 to program the ^J because a bare ^J will get translated by
5700# UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
5701#     1      2            3              4     5     6    7  8
5702# :i3: set screen color to black,
5703# No representation in terminfo for the delete word key: kdw1=\Ed
5704# Key capabilities assume the power-up send sequence...
5705# This :te: is not strictly necessary, but it helps maximize
5706# memory usefulness: :te=\Ez:,
5707# Alternate sgr0:	:me=\E[m\EW^O:,
5708# 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%;:,
5709# smkx programs the SYS PF keys to send a set sequence.
5710# It also sets up labels f1, f2, ..., f8, and sends edit keys.
5711# This string causes them to send the strings :k1:-:k8:
5712# when pressed in SYS PF mode.
5713# (att4415: I added <rmam>/<smam> based on the init string -- esr)
5714# (untranslatable capabilities removed to fit entry within 1023 bytes)
5715att4415|tty5420|att5420|AT&T 4415/5420 80 cols:\
5716	:bs:db:mi:xo:\
5717	:Nl#8:lh#2:lm#78:lw#8:ws#55:\
5718	:@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%p1%d;%p2%dt:\
5719	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:\
5720	:LO=\E~:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:\
5721	:UP=\E[%dA:bt=\E[Z:ch=\E[%+^AG:cl=\E[x\E[J:\
5722	:cm=\E[%i%d;%dx:ct=\E[3g:cv=\E[%+^Ad:ec=\E[%ds\E[%dD:\
5723	:ei=\E[4l:ho=\E[x:i1=\E[?3l:i2=\E[?5l:ic@:im=\E[4h:\
5724	: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:\
5725	:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
5726	:k8=\EOj:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\E[2K:kF=\E[T:kH=\Eu:\
5727	:kI=\E[4h:kL=\E[M:kN=\E[U:kP=\E[V:kR=\E[S:\
5728	:ke=\E[19;0j\E[21;1j\212:ks=\E[19;1j\E[21;4j\Eent:\
5729	:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:ll=\Ew:\
5730	:me=\E[m\017:mp=\EV:pf=\E[?9i:po=\E[?4i:ps=\E[?2i:st=\EH:\
5731	:ts=\E7\E[25;%p1%{8}%+%dH:vb=\E[?5h\E[?5l:ve=\E[11;0j:\
5732	:vs=\E[11;1j:\
5733	:tc=att4410:
5734
5735att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols:\
5736	:co#132:lm#54:ws#97:\
5737	:i1=\E[?3h:tc=att4415:
5738
5739att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv:\
5740	:i2=\E[?5h:vb=\E[?5l\E[?5h:\
5741	:tc=att4415:
5742
5743att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv:\
5744	:co#132:lm#54:ws#97:\
5745	:i1=\E[?3h:i2=\E[?5h:vb=\E[?5l\E[?5h:tc=att4415:
5746
5747# Note that this mode permits programming USER PF KEYS and labels
5748# However, when you program user pf labels you have to reselect
5749# user pf keys to make them appear!
5750att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels:\
5751	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
5752	:..pn=\E[%p1%d;0;0;1q%p2%:-16.16s:\
5753	:..px=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s:
5754
5755att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels:\
5756	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
5757	:tc=att4415+nl:tc=att4415:
5758
5759att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels:\
5760	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
5761	:tc=att4415+nl:tc=att4415-rv:
5762
5763att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels:\
5764	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
5765	:tc=att4415+nl:tc=att4415-w:
5766
5767att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels:\
5768	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
5769	:tc=att4415+nl:tc=att4415-w-rv:
5770
5771# (untranslatable capabilities removed to fit entry within 1023 bytes)
5772# (sgr removed to fit entry within 1023 bytes)
5773# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5774att5420_2|AT&T 5420 model 2 80 cols:\
5775	:am:db:hs:mi:ms:xo:\
5776	:co#80:it#8:li#24:lm#78:ws#55:\
5777	:AL=\E[%dL:CM=\E[%i%p1%d;%p2%dt:DC=\E[%dP:DL=\E[%dM:\
5778	:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:\
5779	:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bt=\E[1Z:cd=\E[0J:ce=\E[0K:\
5780	:cl=\EH\EJ:cm=\E[%i%d;%dH:cr=\EG:cs=\E[%i%d;%dr:ct=\E[3g:\
5781	:dc=\E[P:dl=\E[M:do=\E[1B:ec=\E[%ds\E[%dD:ei=:fs=\E8:\
5782	:ho=\E[H:\
5783	: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:\
5784	:ic=\E[@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
5785	:k6=\EOh:k7=\EOi:k8=\EOj:kD=\E[P:kH=\Eu:kI=\E[4h:kN=\E[U:\
5786	:kP=\E[V:kb=^H:kd=\E[B:ke=\E[19;0j:kh=\E[H:kl=\E[D:kr=\E[C:\
5787	:ks=\E[19;1j:ku=\E[A:le=^H:ll=\Ew:mb=\E[5m:me=\E[m\017:\
5788	:mh=\E[2m:mr=\E[7m:nd=\E[1C:nw=^M^J:rc=\E8:sc=\E7:se=\E[m:\
5789	:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
5790	:ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:us=\E[4m:\
5791	:vb=\E[?5h\E[?5l:ve=\E[11;0j:vs=\E[11;1j:
5792att5420_2-w|AT&T 5420 model 2 in 132 column mode:\
5793	:co#132:\
5794	: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:tc=att5420_2:
5795
5796att4418|att5418|AT&T 5418 80 cols:\
5797	:am:xo:\
5798	:co#80:li#24:\
5799	:@8=\E[:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[n:\
5800	:F2=\E[o:F3=\E[H:F4=\E[I:F5=\E[J:F8=\E[K:F9=\E[L:FA=\E[E:\
5801	:FB=\E[_:FC=\E[M:FD=\E[N:FE=\E[O:IC=\E[%d@:LE=\E[%dD:\
5802	:RI=\E[%dC:UP=\E[%dA:\
5803	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
5804	:ae=^O:al=\E[1L:as=^N:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
5805	:cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
5806	:i1=\E[?3l:ic=\E[1@:im=:is=\E)0\E?6l\E?5l:k1=\E[h:k2=\E[i:\
5807	:k3=\E[j:k6=\E[k:k7=\E[l:k8=\E[f:k9=\E[w:k;=\E[m:kC=\E[%:\
5808	:kd=\EU:kh=\Ec:kl=\E@:kr=\EA:ku=\ES:le=\E[D:mb=\E[5m:\
5809	:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
5810	:se=\E[m:sf=^J:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
5811att4418-w|att5418-w|AT&T 5418 132 cols:\
5812	:co#132:\
5813	:i1=\E[?3h:tc=att5418:
5814
5815att4420|tty4420|teletype 4420:\
5816	:bs:da:db:eo:ms:ul:xo:\
5817	:co#80:li#24:lm#72:\
5818	:al=\EL:bl=^G:cd=\EJ:ce=\Ez:cl=\EH\EJ:cm=\EY%+ %+ :cr=\EG:\
5819	:dc=\EP:dl=\EM:dm@:do=\EB:ed@:ho=\EH:k0=\EU:k3=\E@:kA=\EL:\
5820	:kB=\EO:kC=\EJ:kD=\EP:kF=\ES:kI=\E\136:kL=\EM:kR=\ET:kd=\EB:\
5821	:kh=\EH:kl=^H:kr=\EC:ku=\EA:l0=segment advance:\
5822	:l3=cursor tab:le=\ED:nd=\EC:se=\E~:sf=\EH\EM\EY7 :so=\E}:\
5823	:ue=\EZ:up=\EA:us=\E\:
5824
5825#  The following is a terminfo entry for the Teletype 4424
5826#  asynchronous keyboard-display terminal.  It supports
5827#  the vi editor.  The terminal must be set up as follows,
5828#
5829# 	HIGHLIGHT DEFINITION	3-TONE
5830# 	DISPLAY FUNCTION	GROUP III
5831#
5832#  The second entry below provides limited (a la adm3a)
5833#  operation under GROUP II.
5834#
5835#  This must be used with DISPLAY FUNCTION GROUP I or III
5836# 	and HIGHLIGHT DEFINITION 3-TONE
5837# The terminal has either bold or blink, depending on options
5838#
5839# (att4424: commented out :ti:=\E[1m, we don't need bright locked on -- esr)
5840att4424|tty4424|teletype 4424:\
5841	:am:bs:xo:\
5842	:co#80:li#24:\
5843	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5844	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
5845	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
5846	:ae=\E(B:al=\EL:as=\E(0:bl=^G:bt=\EO:cd=\EJ:ce=\Ez:\
5847	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\EF:\
5848	:dc=\EP:dl=\EM:do=\EB:ei=:ho=\E[H:ic=\E\136:im=:\
5849	:is=\E[20l\E[?7h:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kC=\EJ:\
5850	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E3:\
5851	:md=\E3:me=\EX\E~\EZ\E4\E(B:mh=\EW:mr=\E}:nd=\EC:nw=\EE:\
5852	:..sa=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m:\
5853	:se=\E~:sf=^J:so=\E}:sr=\ET:st=\EH:ta=^I:ue=\EZ:up=\EA:\
5854	:us=\E\:
5855
5856att4424-1|tty4424-1|teletype 4424 in display function group I:\
5857	:kC@:kd=\EB:kh@:kl=\ED:kr=\EC:ku=\EA:\
5858	:tc=att4424:
5859
5860# This entry is not one of AT&T's official ones, it was translated from the
5861# 4.4BSD termcap file.  The highlight strings are different from att4424.
5862# I have no idea why this is -- older firmware version, maybe?
5863# The following two lines are the comment originally attached to the entry:
5864# This entry appears to avoid the top line - I have no idea why.
5865# From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
5866att4424m|tty4424m|teletype 4424M:\
5867	:am:da:db:mi:\
5868	:co#80:it#8:li#23:\
5869	:al=\EL:bl=^G:ce=\E[K:cl=\E[2;H\E[J:cm=\E[%i%2;%2H\E[B:\
5870	:cr=^M:dc=\EP:dl=\EM:do=^J:ei=:ic=\E\136:im=:ip=2:\
5871	:is=\E[m\E[2;24r:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:\
5872	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:\
5873	:nd=\E[C:nw=^M^J:se=\E[m:sf=^J:so=\E[7m:sr=\ET:ta=^I:\
5874	:ue=\E[m:up=\E[A:us=\E[4m:
5875
5876# The Teletype 5425 is really version 2 of the Teletype 5420. It
5877# is quite similar, except for some minor differences. No page
5878# mode, for example, so all of the :cm: sequences used above have
5879# to change back to what's being used for the 5410. Many of the
5880# option settings have changed their numbering as well.
5881#
5882# This has been tested on a preliminary model.
5883#
5884# (att5425: added <rmam>/<smam> based on the init string -- esr)
5885# (untranslatable capabilities removed to fit entry within 1023 bytes)
5886# (sgr removed to fit entry within 1023 bytes)
5887# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5888att5425|tty5425|att4425|AT&T 4425/5425:\
5889	:am:da:db:hs:mi:ms:xn:xo:\
5890	:co#80:it#8:li#24:lm#78:ws#55:\
5891	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5892	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
5893	:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
5894	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
5895	:dl=\E[M:do=^J:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:ho=\E[H:\
5896	:i1=\E<\E[?3l:i2=\E[?5l:im=\E[4h:\
5897	: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:\
5898	:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
5899	:k8=\EOj:kD=\E[P:kI=\E[4h:kb=^H:kd=\E[B:\
5900	:ke=\E[21;0j\E[25;1j\212:kh=\E[H:kl=\E[D:kr=\E[C:\
5901	:ks=\E[21;1j\E[25;4j\Eent\E~:ku=\E[A:le=^H:ll=\E[24H:\
5902	:mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:\
5903	:nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:\
5904	:sr=\EM:st=\EH:ta=^I:ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:\
5905	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[12;0j:\
5906	:vs=\E[12;1j:
5907
5908att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels:\
5909	:ks=\E[21;1j\E[25;4j\Eent:\
5910	:tc=att4425:
5911
5912att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode:\
5913	:co#132:lm#54:ws#97:\
5914	:i1=\E[?3h:tc=tty5425:
5915
5916# (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
5917# I also added <rmam>/<smam> -- esr)
5918att4426|tty4426|teletype 4426S:\
5919	:am:da:db:xo:\
5920	:co#80:li#24:lm#48:\
5921	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5922	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
5923	:SR=\E[%dT:UP=\E[%dA:\
5924	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
5925	:ae=\E(B:al=\EL:as=\E(0:bl=^G:cd=\E[J:ce=\E[0K:ch=\E[%dG:\
5926	:cl=\E[H\E[2J\E[1U\E[H\E[2J\E[1V:cm=\E[%i%d;%dH:cr=^M:\
5927	:ct=\E[3g:cv=\E[%dd:dc=\EP:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
5928	:i1=\Ec\E[?7h:ic=\E\136:im=:is=\E[m\E[1;24r:k1=\EOP:\
5929	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
5930	:kB=\EO:kC=\E[2J:kH=\E[24;1H:kb=^H:kd=\EB:kh=\E[H:kl=\ED:\
5931	:kr=\EC:ku=\EA:le=\E[D:ll=\E[24H:md=\E[5m:me=\E[m\E(B:\
5932	:mr=\E[7m:nd=\E[C:nw=^M^J:r2=\Ec\E[?3l\E[2;0y:rc=\E8:\
5933	:sc=\E7:se=\E[m:sf=^J:so=\E[5m:sr=\ET:st=\E1:ta=^I:ue=\E[m:\
5934	:up=\EA:us=\E[4m:
5935
5936# Terminfo entry for the AT&T 510 A Personal Terminal
5937# Function keys 9 - 16 are available only after the
5938# screen labeled (soft keys/action blocks) are labeled.  Function key
5939# 9 corresponds to the leftmost touch target on the screen,
5940# function key 16 corresponds to the rightmost.
5941#
5942# This entry is based on one done by Ernie Rice at Summit, NJ and
5943# changed by Anne Gallup, Skokie, IL, ttrdc!anne
5944# (untranslatable capabilities removed to fit entry within 1023 bytes)
5945att510a|bct510a|AT&T 510A Personal Terminal:\
5946	:am:mi:ms:xn:xo:\
5947	:Nl#8:co#80:lh#2:li#24:lw#7:\
5948	:#4=\E[u:%i=\E[v:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
5949	:F1=\EOe:F2=\EOf:F3=\EOg:F4=\EOh:F5=\EOi:F6=\EOj:LE=\E[%dD:\
5950	:RI=\E[%dC:UP=\E[%dA:\
5951	:ac=+g\054h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~:\
5952	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[0J:\
5953	:ce=\E[0K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
5954	:dc=\E[P:dl=\E[M:do=\E[1B:eA=\E(B\E)1:ff=^L:ho=\E[H:\
5955	:i1=\E(B\E)1\E[2l:i2=\E[21;1|\212:k1=\EOm:k2=\EOV:\
5956	:k3=\EOu:k4=\ENj:k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:\
5957	:k;=\EOd:kB=\E[Z:kF=\E[S:kR=\E[T:kb=^H:kd=\E[B:ke=\E[19;0|:\
5958	:kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:mb=\E[5m:\
5959	:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
5960	:pf=\E[?8i:po=\E[?4i:ps=\E[0i:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
5961	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
5962	:ve=\E[11;3|:vi=\E[11;0|:vs=\E[11;2|:
5963
5964# Terminfo entry for the AT&T 510 D Personal Terminal
5965# Function keys 9 through 16 are accessed by bringing up the
5966# system blocks.
5967# Function key 9 corresponds to the leftmost touch target on the screen,
5968# function key 16 corresponds to the rightmost.
5969#
5970# There are problems with soft key labeling.  These are due to
5971# strangenesses in the native terminal that are impossible to
5972# describe in a terminfo.
5973# (untranslatable capabilities removed to fit entry within 1023 bytes)
5974# (sgr removed to fit entry within 1023 bytes)
5975# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5976att510d|bct510d|AT&T 510D Personal Terminal:\
5977	:am:da:db:mi:ms:xn:xo:\
5978	:co#80:li#24:lm#48:\
5979	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5980	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
5981	:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[H\E[J:\
5982	:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[1B:\
5983	:ei=\E[4l:ff=^L:ho=\E[H:i1=\E(B\E)1\E[5;0|:\
5984	:i2=\E[21;1|\212:im=\E[4h:k1=\EOm:k2=\EOV:k3=\EOu:k4=\ENj:\
5985	:k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:kb=^H:kd=\E[B:\
5986	:ke=\E[19;0|:kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:\
5987	:ll=\E#2:mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:\
5988	:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
5989	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
5990	:ve=\E[11;3|:vs=\E[11;2|:
5991
5992# (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
5993# (untranslatable capabilities removed to fit entry within 1023 bytes)
5994# (sgr removed to fit entry within 1023 bytes)
5995# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5996att500|att513|AT&T 513 using page mode:\
5997	:am:mi:ms:xn:xo:\
5998	:co#80:li#24:\
5999	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
6000	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
6001	:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
6002	:cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dc=\E[P:\
6003	:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
6004	:i1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l:\
6005	:im=\E[4h:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:\
6006	:k7=\EOi:k8=\EOj:kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:\
6007	:kd=\E[B:ke=\E[19;0|\E[21;1|\212:kh=\E[H:kl=\E[D:kr=\E[C:\
6008	:ks=\E[19;1|\E[21;4|\Eent:ku=\E[A:le=^H:ll=\E#2:mb=\E[5m:\
6009	:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
6010	:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
6011	:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[11;0|:vs=\E[11;1|:
6012
6013# 01-07-88
6014# printer must be set to EMUL ANSI to accept ESC codes
6015# :up: stops at top margin
6016# :i1: sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
6017#	and alt font ascii,wrap on,tabs cleared
6018# :is: disables newline on LF,Emphasized off
6019# The <u0> capability sets form length
6020# (untranslatable capabilities removed to fit entry within 1023 bytes)
6021# (sgr removed to fit entry within 1023 bytes)
6022# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
6023att5310|att5320|AT&T Model 53210 or 5320 matrix printer:\
6024	:co#132:it#8:li#66:\
6025	:DO=\E[%de:RI=\E[%da:cr=^M:do=^J:ff=^L:i1=\Ec:is=\E[20l\r:\
6026	:nd= :ta=^I:up=\EM:
6027
6028# Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
6029# The following SET-UP modes are assumed for normal operation:
6030#	CR_DEF=CR	NL_DEF=INDEX	DUPLEX=FULL
6031# Other SET-UP modes may be set for operator convenience or communication
6032# requirements.  This termcap description is for the Resident Terminal Mode.
6033# No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
6034# The BRL entry also said: UNSAFE :ll=\E[70H:
6035att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs:\
6036	:am:xo:\
6037	:co#88:it#8:li#70:vt#3:\
6038	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
6039	:SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
6040	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:\
6041	:ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:\
6042	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:nw=^M^J:r1=\Ec:\
6043	:rc=\E8:sc=\E7:sf=^J:sr=\E[T:ta=^I:up=\E[A:
6044
6045# 5620 terminfo  (2.0 or later ROMS with char attributes)
6046# The following SET-UP modes are assumed for normal operation:
6047#	DUPLEX=FULL	GEN_FLOW=ON	NEWLINE=INDEX	RETURN=CR
6048# Other SET-UP modes may be set for operator convenience or communication
6049# requirements.  This termcap description is for Resident Terminal Mode.  No
6050# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
6051# assumptions: :sf: (scroll forward one line) is only done at screen bottom
6052# Be aware that older versions of the dmd have a firmware bug that affects
6053# parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
6054# :ms: is from an otherwise inferior BRL for this terminal.  That entry
6055# also has :ll:=\E[70H commented out and marked unsafe.
6056# For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
6057att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns:\
6058	:NL:NP:am:bs:ms:xo:\
6059	:co#88:it#8:li#70:\
6060	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
6061	:SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
6062	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
6063	:ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:\
6064	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[2m:me=\E[0m:mh=\E[2m:\
6065	:mr=\E[7m:nd=\E[C:nw=^J:..px=\E[%p1%d;%p2%l%dq%p2%s:\
6066	:r1=\Ec:rc=\E8:sc=\E7:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:\
6067	:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
6068att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer:\
6069	:li#24:tc=att5620:
6070att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer:\
6071	:li#34:tc=att5620:
6072# 5620 layer running the "S" system's downloaded graphics handler:
6073att5620-s|tty5620-s|layer|vitty|5620 S layer:\
6074	:am:bs:pt:\
6075	:co#80:it#8:li#72:\
6076	:al=\EI:bl=^G:ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=^M:dl=\ED:\
6077	:do=^J:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
6078	:kr=\E[C:ku=\E[A:le=^H:sf=^J:ta=^I:up=^K:vb=\E^G:
6079
6080# Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
6081#
6082# Entries for <kf29> thru <kf46> refer to the alternate keypad mode
6083# keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
6084# (untranslatable capabilities removed to fit entry within 1023 bytes)
6085# (sgr removed to fit entry within 1023 bytes)
6086# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
6087att605|AT&T 605 80 column 102key keyboard:\
6088	:am:eo:xo:\
6089	:co#80:li#24:ws#80:\
6090	:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:ae=^O:al=\E[L:as=\E)0\016:\
6091	:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
6092	:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
6093	:i1=\E[8;0|\E[?\E[13;20l\E[?\E[12h:ic=\E[@:im=\E[4h:\
6094	:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
6095	:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:kN=\E[U:\
6096	:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
6097	:le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:\
6098	:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
6099	:so=\E[7m:ta=^I:ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:\
6100	:us=\E[4m:
6101att605-pc|ATT 605 in pc term mode:\
6102	:@7=\E[F:AL=\E[L:S4=250\E[?11l\E[50;1|:S5=400\E[50;0|:\
6103	:XF=g:XN=e:\
6104	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
6105	:al=\E[L:bt=\E[Z:dc=\E[P:dl=\E[M:do=\E[B:ei=:ic=\E[@:im=:\
6106	:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:\
6107	:k8=\E[T:k9=\E[U:k;=\E[V:kB=\E[Z:kD=\E[P:kI=\E[@:kL=\E[M:\
6108	:kN=\E[G:kP=\E[I:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
6109	:le=\E[D:nd=\E[C:up=\E[A:\
6110	:tc=att605:
6111att605-w|AT&T 605-w 132 column 102 key keyboard:\
6112	:co#132:ws#132:\
6113	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0:tc=att605:
6114# (att610: I added <rmam>/<smam> based on the init string.  I also
6115# added :SF: and :SR: because the BSD file says the att615s have them,
6116# and the 615 is like a 610 with a big keyboard, and most of their other
6117# smart terminals support the same sequence -- esr)
6118# (untranslatable capabilities removed to fit entry within 1023 bytes)
6119# (sgr removed to fit entry within 1023 bytes)
6120# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
6121att610|AT&T 610; 80 column; 98key keyboard:\
6122	:am:es:hs:mi:ms:xn:xo:\
6123	:co#80:it#8:li#24:ws#80:\
6124	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
6125	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
6126	:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
6127	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
6128	:do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
6129	:i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0:\
6130	:i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
6131	:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
6132	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
6133	:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
6134	:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
6135	:ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:us=\E[4m:\
6136	:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
6137	:vs=\E[?12;25h:
6138att610-w|AT&T 610; 132 column; 98key keyboard:\
6139	:co#132:ws#132:\
6140	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att610:
6141
6142att610-103k|AT&T 610; 80 column; 103key keyboard:\
6143	:!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
6144	:%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
6145	:%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
6146	:%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
6147	:&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
6148	:*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
6149	:*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
6150	:@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:F4@:k9@:k;@:kD=\ENf:\
6151	:kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:\
6152	:tc=att610:
6153att610-103k-w|AT&T 610; 132 column; 103key keyboard:\
6154	:co#132:ws#132:\
6155	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att610-103k:
6156att615|AT&T 615; 80 column; 98key keyboard:\
6157	:#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
6158	:FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
6159	:FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
6160	:FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
6161	:FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:\
6162	:tc=att610:
6163att615-w|AT&T 615; 132 column; 98key keyboard:\
6164	:#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
6165	:FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
6166	:FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
6167	:FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
6168	:FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:\
6169	:tc=att610-w:
6170att615-103k|AT&T 615; 80 column; 103key keyboard:\
6171	:#4=\E[ A:%i=\E[ @:\
6172	:tc=att610-103k:
6173att615-103k-w|AT&T 615; 132 column; 103key keyboard:\
6174	:#4=\E[ A:%i=\E[ @:\
6175	:tc=att610-103k-w:
6176# (att620: I added <rmam>/<smam> based on the init string and
6177# :SR:/:SF: from a BSD termcap -- esr)
6178# (untranslatable capabilities removed to fit entry within 1023 bytes)
6179# (sgr removed to fit entry within 1023 bytes)
6180# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
6181att620|AT&T 620; 80 column; 98key keyboard:\
6182	:am:es:hs:mi:ms:xn:xo:\
6183	:co#80:it#8:li#24:ws#80:\
6184	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
6185	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
6186	:ae=\E(B\017:al=\E[L:as=\E)0\016:bl=^G:bt=\E[Z:cd=\E[J:\
6187	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
6188	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
6189	:i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h:\
6190	:i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
6191	:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
6192	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
6193	:mb=\E[5m:md=\E[1m:me=\E[m\E(B\017:mh=\E[2m:mr=\E[7m:\
6194	:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
6195	:sr=\EM:ta=^I:ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:\
6196	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
6197	:vs=\E[?12;25h:
6198att620-w|AT&T 620; 132 column; 98key keyboard:\
6199	:co#132:ws#132:\
6200	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att620:
6201att620-103k|AT&T 620; 80 column; 103key keyboard:\
6202	:!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
6203	:%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
6204	:%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
6205	:%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
6206	:&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
6207	:*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
6208	:*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
6209	:@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:F4@:F5@:F6@:F7@:F8@:\
6210	:F9@:FA@:FB@:FC@:FD@:FE@:FF@:FG@:FH@:FI@:FJ@:FK@:FL@:FM@:FN@:FO@:FP@:\
6211	:FQ@:FR@:FS@:FT@:FU@:FV@:FW@:FX@:FY@:FZ@:Fa@:k9@:k;@:kD=\ENf:\
6212	:kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:\
6213	:tc=att620:
6214
6215att620-103k-w|AT&T 620; 132 column; 103key keyboard:\
6216	:co#132:ws#132:\
6217	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att620-103k:
6218
6219# AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
6220# The following SETUP modes are assumed for normal operation:
6221#	Local_Echo=Off	Gen_Flow=On	Return=CR	Received_Newline=LF
6222#	Font_Size=Large		Non-Layers_Window_Cols=80
6223#				Non-Layers_Window_Rows=60
6224# Other SETUP modes may be set for operator convenience or communication
6225# requirements.  Some capabilities assume a printer attached to the Aux EIA
6226# port.  This termcap description is for the Fixed Non-Layers Window.  No
6227# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
6228# (att630: added :ic:, :mb: and :mh: from a BSD termcap file -- esr)
6229att630|AT&T 630 windowing terminal:\
6230	:NP:am:bs:da:db:mi:ms:xo:\
6231	:co#80:it#8:li#60:lm#0:\
6232	:@8=^M:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\ENq:\
6233	:F2=\ENr:F3=\ENs:F4=\ENt:F5=\ENu:F6=\ENv:F7=\ENw:F8=\ENx:\
6234	:F9=\ENy:FA=\ENz:FB=\EN{:FC=\EN|:FD=\EN}:FE=\EN~:IC=\E[%d@:\
6235	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
6236	:al=\E[L:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
6237	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:\
6238	:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:is=\E[m:k9=\ENo:k;=\ENp:\
6239	:kA=\E[L:kB=\E[Z:kC=\E[2J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:\
6240	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
6241	:me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:pf=\E[?4i:\
6242	:po=\E[?5i:..px=\E[%p1%d;%p2%l%dq%p2%s:r2=\Ec:rc=\E8:\
6243	:..sa=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m:\
6244	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
6245	:up=\E[A:us=\E[4m:
6246att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines:\
6247	:li#24:tc=att630:
6248
6249# This is the att700 entry for 700 native emulation of the AT&T 700
6250# terminal.  Comments are relative to changes from the 605V2 entry and
6251# att730 on which the entry is based.  Comments show the terminfo
6252# capability name, termcap name, and description.
6253#
6254# Here is what's going onm in the init string:
6255#	ESC [ 50;4|	set 700 native mode (really is 605)
6256# x	ESC [ 56;ps| 	set lines to 24: ps=0; 40: ps=1 (plus status line)
6257#	ESC [ 53;0|	set GenFlow to Xon/Xoff
6258#	ESC [ 8 ;0|	set CR on NL
6259# x	ESC [ ? 3 l/h	set workspace: 80 col(l); 132 col(h)
6260#	ESC [ ? 4 l	jump scroll
6261#	ESC [ ? 5 l/h	video: normal (l); reverse (h)
6262#	ESC [ ?13 l	Labels on
6263#	ESC [ ?15 l	parity check = no
6264#	ESC [ 13 l	monitor mode off
6265#	ESC [ 20 l	LF on NL (not CRLF on NL)
6266#	ESC [ ? 7 h	autowrap on
6267#	ESC [ 12 h	local echo off
6268#	ESC ( B		GO = ASCII
6269#	ESC ) 0		G1 = Special Char & Line Drawing
6270#	ESC [ ? 31 l	Set 7 bit controls
6271#
6272# Note: Most terminals, especially the 600 family use Reverse Video for
6273# standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
6274# Assume we should stay with reverse video for 70..  However, the 605V2 exits
6275# standout mode with \E[m (all normal attributes).  The 730 entry simply
6276# exits reverse video which would leave other current attributes intact.  It
6277# was assumed the 730 entry to be more correct so rmso has changed.  The
6278# 605V2 has no sequences to turn individual attributes off, thus its setting
6279# and the rmso/smso settings from the 730.
6280#
6281# Note: For the same reason as above in rmso I changed exit under-score mode
6282# to specifically turn off underscore, rather than return to all normal
6283# attributes
6284#
6285# Note: The following pkey_xmit is taken from the 605V2 which contained the
6286# capability as pfxl.  It was changed here to pfx since pfxl
6287# will only compile successfully with Unix 4.0 tic.  Also note that pfx only
6288# allows strings to be parameters and label values must be programmed as
6289# constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
6290# and strings to be parameters.  The 605V2 pfx entry should be examined later
6291# in this regard. For reference the 730 pfxl entry is shown here for comparison
6292# 730 pfx entry:
6293#     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
6294# SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
6295#
6296# (for 4.0 tic)
6297#     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
6298#
6299# (for <4.0 tic)
6300#     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
6301#
6302# From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
6303#
6304# Port1 Interface
6305#
6306# modular 10 pin Connector
6307# Left side       Right side
6308# Pin 1 2 3 4 5 6 7 8 9 10
6309#
6310#        Key (notch) at bottom
6311#
6312# Pin    1 DSR
6313#        3 DCD
6314#        4 DTR
6315#        5 Sig Ground
6316#        6 RD
6317#        7 SD
6318#        8 CTS
6319#        9 RTS
6320#        10 Frame Ground
6321#
6322# The manual is 189 pages and is loaded with details about the escape codes,
6323# etc..... Available from AT&T CIC 800-432-6600...
6324# ask for Document number 999-300-660..
6325#
6326# (untranslatable capabilities removed to fit entry within 1023 bytes)
6327# (sgr removed to fit entry within 1023 bytes)
6328# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
6329att700|AT&T 700 24x80 column display w/102key keyboard:\
6330	:am:es:hs:mi:ms:xn:xo:\
6331	:co#80:it#8:li#24:ws#80:\
6332	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
6333	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
6334	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
6335	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
6336	:fs=\E8:ho=\E[H:i2=\E(B\E)0:im=\E[4h:\
6337	: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:\
6338	:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
6339	:k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:kN=\E[U:kP=\E[V:kb=^H:\
6340	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
6341	:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
6342	:nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
6343	:st=\EH:ta=^I:ts=\E7\E[99;%i%p1%dx:ue=\E[24m:up=\E[A:\
6344	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
6345	:vs=\E[?12;25h:
6346
6347# This entry was modified 3/13/90 by JWE.
6348# fixes include additions of <enacs>, correcting :rp:, and modification
6349# of <kHOM>.  (See comments below)
6350# att730 has status line of 80 chars
6351# These were commented out: :SF=\E[%p1%dS:, :SR=\E[%p1%dT:,
6352# the <kf25> and up keys are used for shifted system Fkeys
6353# NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
6354# currently the same as :kh: (unshifted HOME or \E[H).  On the 102, 102+1
6355# and 122 key keyboards, the 730's translation is \E[2J.  For consistency
6356# <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
6357# 102, 102+1, or 122 key keyboards
6358#       kHOM=\E[2J,
6359# (att730: I added <rmam>/<smam> based on the init string -- esr)
6360# (untranslatable capabilities removed to fit entry within 1023 bytes)
6361# (sgr removed to fit entry within 1023 bytes)
6362# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
6363att730|AT&T 730 windowing terminal:\
6364	:am:da:db:es:hs:mi:ms:xn:xo:\
6365	:co#80:it#8:li#60:lm#0:ws#80:\
6366	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
6367	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
6368	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
6369	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
6370	:ho=\E[H:\
6371	:i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B:\
6372	:i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
6373	:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kI=\E[@:\
6374	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
6375	:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
6376	:nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
6377	:ta=^I:ts=\E7\E[;%i%p1%dx:ue=\E[24m:up=\E[A:us=\E[4m:\
6378	:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
6379	:vs=\E[?12;25h:
6380att730-41|730MTG-41|AT&T 730-41 windowing terminal Version:\
6381	:li#41:tc=att730:
6382att730-24|730MTG-24|AT&T 730-24 windowing terminal Version:\
6383	:li#24:tc=att730:
6384att730r|730MTGr|AT&T 730 rev video windowing terminal Version:\
6385	:i1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B:\
6386	:vb=\E[?5l\E[?5h:\
6387	:tc=att730:
6388att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version:\
6389	:li#41:tc=att730r:
6390att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version:\
6391	:li#24:tc=att730r:
6392
6393# The following represents the screen layout along with the associated
6394# bezel buttons for the 5430/pt505 terminal. The "kf" designations do
6395# not appear on the screen but are shown to reference the bezel buttons.
6396# The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
6397# position relative to the screen.
6398#
6399#
6400#
6401#      +----------------------------------------------------------------+
6402#      |                                                                |
6403# XXXX | kf0                                                       kf24 | XXXX
6404#      |                                                                |
6405#      |                                                                |
6406# XXXX | kf1                                                       kf23 | XXXX
6407#      |                                                                |
6408#      |                                                                |
6409# XXXX | kf2                                                       kf22 | XXXX
6410#      |                                                                |
6411#      |                                                                |
6412# XXXX | kf3                                                       kf21 | XXXX
6413#      |                                                                |
6414#      |                                                                |
6415# XXXX | kf4                                                       kf20 | XXXX
6416#      |                                                                |
6417#      |                                                                |
6418# XXXX | kf5                                                       kf19 | XXXX
6419#      |                                                                |
6420#      |                                                                |
6421# XXXX | kf6                                                       kf18 | XXXX
6422#      |                                                                |
6423#      |                                                                |
6424# XXXX |                                                                | XXXX
6425#      |                                                                |
6426#      |                                                                |
6427#      +----------------------------------------------------------------+
6428#
6429#          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
6430#
6431# Note: XXXX represents the screen buttons
6432#                                                          CMD   REDRAW
6433#
6434#                                                          MAIL
6435#
6436# version 1 note:
6437#	The character string sent by key 'kf26' may be user programmable
6438#       to send either \E[16s, or \E[26s.
6439#       The character string sent by key 'krfr' may be user programmable
6440#       to send either \E[17s, or \E[27s.
6441#
6442# Depression of the "CMD" key sends    \E!    (kcmd)
6443# Depression of the "MAIL" key sends   \E[26s (kf26)
6444# "REDRAW" same as "REFRESH" (krfr)
6445#
6446# "kf" functions adds carriage return to output string if terminal is in
6447# 'new line' mode.
6448#
6449# The following are functions not covered in the table above:
6450#
6451#       Set keyboard character (SKC): \EPn1;Pn2w
6452#                       Pn1= 0 Back Space key
6453#                       Pn1= 1 Break key
6454#                       Pn2=   Program char (hex)
6455#
6456#       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
6457#                       Pn1=     Window number (1-39)
6458#                       Pn2-Pn5= Y;X;Y;X coordinates
6459#
6460#       Screen Selection (SSL): \E[Pnu
6461#                       Pn= Window number
6462#
6463#       Set Terminal Modes (SM): \E[Pnh
6464#                       Pn= 3 Graphics mode
6465#                       Pn= > Cursor blink
6466#                       Pn= < Enter new line mode
6467#                       Pn= = Enter reverse insert/replace mode
6468#                       Pn= ? Enter no scroll mode
6469#
6470#       Reset Terminal Mode (RM): \E[Pnl
6471#                       Pn= 3 Exit graphics mode
6472#                       Pn= > Exit cursor blink
6473#                       Pn= < Exit new line mode
6474#                       Pn= = Exit reverse insert/replace mode
6475#                       Pn= ? Exit no scroll mode
6476#
6477#       Screen Status Report (SSR): \E[Pnp
6478#                       Pn= 0 Request current window number
6479#                       Pn= 1 Request current window dimensions
6480#
6481#       Device Status Report (DSR): \E[6n    Request cursor position
6482#
6483#       Call Status Report (CSR): \E[Pnv
6484#                       Pn= 0 Call failed
6485#                       Pn= 1 Call successful
6486#
6487#       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
6488#                       Pn1= Button number to be loaded
6489#                       Pn2= Character count of "string"
6490#                       Pn3= Key mode being loaded:
6491#                               0= Unshifted
6492#                               1= Shifted
6493#                               2= Control
6494#                       String= Text string (15 chars max)
6495#
6496#       Screen Number Report (SNR): \E[Pnp
6497#                       Pn= Screen number
6498#
6499#       Screen Dimension Report (SDR): \E[Pn1;Pn2r
6500#                       Pn1= Number of rows available in window
6501#                       Pn2= Number of columns available in window
6502#
6503#       Cursor Position Report (CPR): \E[Pn1;Pn2R
6504#                       Pn1= "Y" Position of cursor
6505#                       Pn2= "X" Position of cursor
6506#
6507#       Request Answer Back (RAB): \E[c
6508#
6509#       Answer Back Response (ABR): \E[?;*;30;VSV
6510#                       *=  0 No printer available
6511#                       *=  2 Printer available
6512#                       V=  Software version number
6513#                       SV= Software sub version number
6514#	(printer-available field not documented in v1)
6515#
6516#       Screen Alignment Aid: \En
6517#
6518#       Bell (lower pitch): \E[x
6519#
6520#       Dial Phone Number: \EPdstring\
6521#                       string= Phone number to be dialed
6522#
6523#       Set Phone Labels: \EPpstring\
6524#                       string= Label for phone buttons
6525#
6526#       Set Clock: \EPchour;minute;second\
6527#
6528#       Position Clock: \EPsY;X\
6529#                       Y= "Y" coordinate
6530#                       X= "X" coordinate
6531#
6532#       Delete Clock: \Epr\
6533#
6534#       Programming The Function Buttons: \EPfPn;string\
6535#                       Pn= Button number (00-06, 18-24)
6536#                                         (kf00-kf06, kf18-kf24)
6537#                       string= Text to sent on button depression
6538#
6539# The following in version 2 only:
6540#
6541#       Request For Local Directory Data: \EPp12;\
6542#
6543#       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
6544#
6545#	Request for Local Directory Data in print format: \EPp13;\
6546#
6547#	Enable 'Prt on Line' mode: \022 (DC2)
6548#
6549#	Disable 'Prt on Line' mode: \024 (DC4)
6550#
6551
6552# 05-Aug-86:
6553# The following Terminfo entry describes functions which are supported by
6554# the AT&T 5430/pt505 terminal software version 2 and later.
6555att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal:\
6556	:am:xo:\
6557	:co#80:it#8:li#24:\
6558	:&2=\E[27s:@4=\E\041:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
6559	:DO=\E[%dB:F8=\E[18s:F9=\E[19s:FA=\E[20s:FB=\E[21s:\
6560	:FC=\E[22s:FD=\E[23s:FE=\E24s:FG=\E26s:LE=\E[%dD:\
6561	:RA=\E[11;1j:RI=\E[%dC:SA=\E[11;0j:UP=\E[%dA:\
6562	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
6563	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E2K:cd=\E[0J:\
6564	:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
6565	:do=\E[B:ei=\E[4l:ho=\E[H:\
6566	:i1=\EPr\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l:\
6567	:im=\E[4h:k0=\E[00s:k1=\E[01s:k2=\E[02s:k3=\E[03s:\
6568	:k4=\E[04s:k5=\E[05s:k6=\E[06s:kb=^H:kd=\E[B:kl=\E[D:\
6569	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
6570	:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:r1=\Ec:rc=\E8:sc=\E7:\
6571	:se=\E[m:sf=^J:so=\E[1m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
6572	:ve=\E[>l:vs=\E[>h:
6573
6574# The following Terminfo entry describes functions which are supported by
6575# the AT&T 5430/pt505 terminal software version 1.
6576att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines:\
6577	:li#24:\
6578	:RA@:SA@:pf@:po@:rc@:sc@:tc=att505:
6579tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines:\
6580	:li#22:tc=att505:
6581
6582#### Ampex (Dialogue)
6583#
6584# Yes, these are the same people who are better-known for making audio- and
6585# videotape.  I'm told they are located in Redwood City, CA.
6586#
6587
6588# From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
6589# (ampex80: some capabilities merged in from SCO's entry -- esr)
6590ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80:\
6591	:am:bs:bw:ul:\
6592	:co#80:it#8:li#24:\
6593	:al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
6594	:cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:ei=:ic=\EQ:im=:is=\EA:le=^H:\
6595	:nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:
6596# This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
6597ampex175|ampex d175:\
6598	:am:\
6599	:co#80:li#24:\
6600	:al=\EE:bl=^G:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :cr=^M:\
6601	:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:is=\EX\EA\EF:\
6602	:kA=\EE:kD=\EW:kI=\EQ:kL=\ER:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:\
6603	:le=^H:ll=^^^K:nd=^L:se=\Ek:sf=^J:so=\Ej:te=\EF:ti=\EN:\
6604	:ue=\Em:up=^K:us=\El:
6605# No backspace key in the main QWERTY cluster. Fortunately, it has a
6606# NEWLINE/PAGE key just above RETURN that sends a strange single-character
6607# code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
6608# mode), this key can be used as the erase key; I find I like this. Because
6609# some people and some systems may not, there is another termcap ("ampex175")
6610# that suppresses this little eccentricity by omitting the relevant capability.
6611ampex175-b|ampex d175 using left arrow for erase:\
6612	:kb=^_:\
6613	:tc=ampex175:
6614# From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
6615# (ampex210: removed obsolete ":kn#10:" -- esr)
6616ampex210|a210|ampex a210:\
6617	:am:bs:hs:xn:\
6618	:co#80:it#8:li#24:sg#1:\
6619	:al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
6620	:dl=\ER:ei=:fs=\E.2:ho=^^:ic=\EQ:if=/usr/share/tabset/std:\
6621	:im=:is=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En:\
6622	:k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
6623	:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^V:kh=^^:kl=^H:\
6624	:kr=^L:ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\E.0\Eg\E}\Ef:up=^K:\
6625	:vb=\EU\EX\EU\EX\EU\EX\EU\EX:\
6626	:tc=adm+sgr:
6627# (ampex219: I added <rmam>/<smam> based on the init string, added :vs:
6628# from ampex219w, added :ve:=\E[?3l, irresistibly suggested by :vs:,
6629# and moved the padding to be *after* the caps -- esr)
6630ampex219|ampex-219|amp219|Ampex with Automargins:\
6631	:hs:xn:\
6632	:co#80:it#8:li#24:\
6633	:RA=\E[?7l:SA=\E[?7h:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
6634	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%2;%2r:\
6635	:do=\E[B:ho=\E[H:\
6636	:is=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=\E[21~:\
6637	:k1=\E[7~:k2=\E[8~:k3=\E[9~:k4=\E[10~:k5=\E[11~:k6=\E[17~:\
6638	:k7=\E[18~:k8=\E[19~:k9=\E[20~:kd=\E[B:ke=\E>:kh=\E[H:\
6639	:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
6640	:me=\E[m:mh=\E[1m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:\
6641	:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?3l:vs=\E[?3h:
6642ampex219w|ampex-219w|amp219w|Ampex 132 cols:\
6643	:co#132:li#24:\
6644	:bl=^G:cr=^M:do=^J:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
6645	:sf=^J:\
6646	:tc=ampex219:
6647# (ampex232: removed :if=/usr/share/tabset/ampex:, no file and no :st: --esr)
6648ampex232|ampex-232|Ampex Model 232:\
6649	:am:\
6650	:co#80:li#24:sg#1:\
6651	:al=5*\EE:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:\
6652	:dl=5*\ER:do=^V:ei=:ic=\EQ:im=:is=\Eg\El:k0=^A@\r:k1=^AA\r:\
6653	:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
6654	:k8=^AH\r:k9=^AI\r:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
6655	:mk@:nd=^L:ta=^I:up=^K:vb=\Eb\Ed:ve=\E.4:vi=\E.0:\
6656	:tc=adm+sgr:
6657# (ampex: removed :if=/usr/share/tabset/amp-132:, no file and no :st: -- esr)
6658ampex232w|Ampex Model 232 / 132 columns:\
6659	:co#132:li#24:\
6660	:is=\E\034Eg\El:tc=ampex232:
6661
6662#### Ann Arbor (aa)
6663#
6664# Ann Arbor made dream terminals for hackers -- large screen sizes and huge
6665# numbers of function keys.  At least some used monitors in portrait mode,
6666# allowing up to 76-character screen heights!  They were reachable at:
6667#
6668#	Ann Arbor Terminals
6669#	6175 Jackson Road
6670#	Ann Arbor, MI 48103
6671#	(313)-663-8000
6672#
6673# But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
6674# can't be found on the Web; I fear they're long dead.  R.I.P.
6675#
6676
6677
6678# Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
6679# Highly modified 6/22 by Mike O'Brien.
6680# split out into several for the various screen sizes by dave-yost@rand
6681# Modifications made 3/82 by Mark Horton
6682# Modified by Tom Quarles at UCB for greater efficiency and more diversity
6683# status line moved to top of screen, :vb: removed 5/82
6684# Some unknown person at SCO then hacked the init strings to make them more
6685# efficient.
6686#
6687# assumes the following setup:
6688#   A menu: 0000 1010  0001 0000
6689#   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
6690#   C menu: 56   66   0    0    9600  0110 1100
6691#   D menu: 0110 1001   1   0
6692#
6693#	Briefly, the settings are for the following modes:
6694#	   (values are for bit set/clear with * indicating our preference
6695#	    and the value used to test these termcaps)
6696#	Note that many of these settings are irrelevent to the terminfo
6697#	and are just set to the default mode of the terminal as shipped
6698#	by the factory.
6699#
6700# A menu: 0000 1010  0001 0000
6701#	Block/underline cursor*
6702#	blinking/nonblinking cursor*
6703#	key click/no key click*
6704#	bell/no bell at column 72*
6705#
6706#	key pad is cursor control*/key pad is numeric
6707#	return and line feed/return for :cr: key *
6708#	repeat after .5 sec*/no repeat
6709#	repeat at 25/15 chars per sec. *
6710#
6711#	hold data until pause pressed/process data unless pause pressed*
6712#	slow scroll/no slow scroll*
6713#	Hold in area/don't hold in area*
6714#	functions keys have default*/function keys disabled on powerup
6715#
6716#	show/don't show position of cursor during page transmit*
6717#	unused
6718#	unused
6719#	unused
6720#
6721# B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
6722#	Baud rate (9600*)
6723#
6724#	2 bits of parity - 00=odd,01=even*,10=space,11=mark
6725#	1 stop bit*/2 stop bits
6726#	parity error detection off*/on
6727#
6728#	keyboard local/on line*
6729#	half/full duplex*
6730#	disable/do not disable keyboard after data transmission*
6731#
6732#	transmit entire page/stop transmission at cursor*
6733#	transfer/do not transfer protected characters*
6734#	transmit all characters/transmit only selected characters*
6735#	transmit all selected areas/transmit only 1 selected area*
6736#
6737#	transmit/do not transmit line separators to host*
6738#	transmit/do not transmit page tab stops tabs to host*
6739#	transmit/do not transmit column tab stop tabs to host*
6740#	transmit/do not transmit graphics control (underline,inverse..)*
6741#
6742#	enable*/disable auto XON/XOFF control
6743#	require/do not require receipt of a DC1 from host after each LF*
6744#	pause key acts as a meta key/pause key is pause*
6745#	unused
6746#
6747#	unused
6748#	unused
6749#	unused
6750#	unused
6751#
6752#	XON character (17*)
6753#	XOFF character (19*)
6754#
6755# C menu: 56   66   0    0    9600  0110 1100
6756#	number of lines to print data on (printer) (56*)
6757#
6758#	number of lines on a sheet of paper (printer) (66*)
6759#
6760#	left margin (printer) (0*)
6761#
6762#	number of pad chars on new line to printer (0*)
6763#
6764#	printer baud rate (9600*)
6765#
6766#	printer parity: 00=odd,01=even*,10=space,11=mark
6767#	printer stop bits: 2*/1
6768#	print/do not print guarded areas*
6769#
6770#	new line is: 01=LF,10=CR,11=CRLF*
6771#	unused
6772#	unused
6773#
6774# D menu: 0110 1001   1   0
6775#	LF is newline/LF is down one line, same column*
6776#	wrap to preceding line if move left from col 1*/don't wrap
6777#	wrap to next line if move right from col 80*/don't wrap
6778#	backspace is/is not destructive*
6779#
6780#	display*/ignore DEL character
6781#	display will not/will scroll*
6782#	page/column tab stops*
6783#	erase everything*/erase unprotected only
6784#
6785#	editing extent: 0=display,1=line*,2=field,3=area
6786#
6787#	unused
6788#
6789
6790annarbor4080|aa4080|ann arbor 4080:\
6791	:am:bs:\
6792	:co#80:li#40:\
6793	:bl=^G:cl=\014:\
6794	:..cm=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%{64}%+%c:\
6795	:cr=^M:ct=^^P^P:do=^J:ho=^K:kb=^^:kd=^J:kh=^K:kl=^H:kr=^_:\
6796	:ku=^N:le=^H:nd=^_:sf=^J:st=^]^P1:ta=^I:up=^N:
6797
6798# Strange Ann Arbor terminal from BRL
6799aas1901|Ann Arbor K4080 w/S1901 mod:\
6800	:am:\
6801	:co#80:li#40:\
6802	:bl=^G:cl=^L:cr=^M:do=^J:ho=^K:kb=^H:kd=^J:kl=^H:le=^H:\
6803	:ll=^O\0c:nd=^_:nw=^M^J:sf=^J:ta=^I:up=^N:
6804
6805# If you're using the GNU termcap library, add
6806#	:cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
6807# to these capabilities.  This is the nonstandard GNU termcap scrolling
6808# capability, arguments are:
6809#   1. Total number of lines on the screen.
6810#   2. Number of lines above desired scroll region.
6811#   3. Number of lines below (outside of) desired scroll region.
6812#   4. Total number of lines on the screen, the same as the first parameter.
6813# The generic Ann Arbor entry is the only one that uses this.
6814# (untranslatable capabilities removed to fit entry within 1023 bytes)
6815# (sgr removed to fit entry within 1023 bytes)
6816# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
6817aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly):\
6818	:am:bs:km:mi:xo:\
6819	:co#80:it#8:\
6820	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
6821	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
6822	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
6823	:ct=\E[2g:dc=\E[P:dl=\E[M:do=^K:ei=:ho=\E[H:\
6824	:i1=\E[m\E7\E[H\E9\E8:i2=\E[1Q\E[>20;30l\EP`+x~M\E\:\
6825	:ic=\E[@:im=:k1=\EOA:k2=\EOB:k3=\EOC:k4=\EOD:k5=\EOE:\
6826	:k6=\EOF:k7=\EOG:k8=\EOH:k9=\EOI:kD=\E[P:kI=\E[@:kb=^H:\
6827	:kd=\E[B:\
6828	:ke=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\:\
6829	:kh=\E[H:kl=\E[D:kr=\E[C:\
6830	:ks=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\:\
6831	:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mm=\E[>52h:\
6832	:mo=\E[>52l:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^K:\
6833	:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
6834
6835aaa+rv|ann arbor ambassador in reverse video:\
6836	:i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
6837	:me=\E[7m\016:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:\
6838	:..sa=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
6839	:se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
6840# Ambassador with the DEC option, for partial vt100 compatibility.
6841aaa+dec|ann arbor ambassador in dec vt100 mode:\
6842	:ac=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}:\
6843	:ae=^N:as=^O:cs=\E[%i%d;%dr:eA=\E(0:\
6844	:..sa=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;:
6845aaa-18|ann arbor ambassador/18 lines:\
6846	:li#18:\
6847	:is=\E7\E[60;0;0;18p\E8:te=\E[60;0;0;18p\E[60;1H\E[K:\
6848	:ti=\E[18;0;0;18p:\
6849	:tc=aaa+unk:
6850aaa-18-rv|ann arbor ambassador/18 lines+reverse video:\
6851	:tc=aaa+rv:tc=aaa-18:
6852aaa-20|ann arbor ambassador/20 lines:\
6853	:li#20:\
6854	:is=\E7\E[60;0;0;20p\E8:te=\E[60;0;0;20p\E[60;1H\E[K:\
6855	:ti=\E[20;0;0;20p:\
6856	:tc=aaa+unk:
6857aaa-22|ann arbor ambassador/22 lines:\
6858	:li#22:\
6859	:is=\E7\E[60;0;0;22p\E8:te=\E[60;0;0;22p\E[60;1H\E[K:\
6860	:ti=\E[22;0;0;22p:\
6861	:tc=aaa+unk:
6862aaa-24|ann arbor ambassador/24 lines:\
6863	:li#24:\
6864	:is=\E7\E[60;0;0;24p\E8:te=\E[60;0;0;24p\E[60;1H\E[K:\
6865	:ti=\E[24;0;0;24p:\
6866	:tc=aaa+unk:
6867aaa-24-rv|ann arbor ambassador/24 lines+reverse video:\
6868	:tc=aaa+rv:tc=aaa-24:
6869aaa-26|ann arbor ambassador/26 lines:\
6870	:li#26:\
6871	:is=\E7\E[60;0;0;26p\E8:te=\E[60;0;0;26p\E[26;1H\E[K:\
6872	:ti=\E[H\E[J\E[26;0;0;26p:\
6873	:tc=aaa+unk:
6874aaa-28|ann arbor ambassador/28 lines:\
6875	:li#28:\
6876	:is=\E7\E[60;0;0;28p\E8:te=\E[60;0;0;28p\E[28;1H\E[K:\
6877	:ti=\E[H\E[J\E[28;0;0;28p:\
6878	:tc=aaa+unk:
6879aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status:\
6880	:es:hs:\
6881	:li#29:\
6882	:ds=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
6883	:fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;30p\E8:\
6884	:te=\E[60;1;0;30p\E[29;1H\E[K:\
6885	:ti=\E[H\E[J\E[30;1;0;30p\E[30;1H\E[K:\
6886	:ts=\E[>51h\E[1;%p1%dH\E[2K:tc=aaa+unk:
6887aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video:\
6888	:tc=aaa+rv:tc=aaa-30-s:
6889aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context:\
6890	:te=\E[60;1;0;30p\E[59;1H\E[K:\
6891	:ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s:
6892aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video:\
6893	:te=\E[60;1;0;30p\E[59;1H\E[K:\
6894	:ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s-rv:
6895aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines:\
6896	:li#30:\
6897	:is=\E7\E[60;0;0;30p\E8:te=\E[60;0;0;30p\E[30;1H\E[K:\
6898	:ti=\E[H\E[J\E[30;0;0;30p:\
6899	:tc=aaa+unk:
6900aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video:\
6901	:tc=aaa+rv:tc=aaa-30:
6902aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context:\
6903	:te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
6904	:tc=aaa-30:
6905aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context:\
6906	:te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
6907	:tc=aaa+rv:tc=aaa-30:
6908aaa-36|ann arbor ambassador/36 lines:\
6909	:li#36:\
6910	:is=\E7\E[60;0;0;36p\E8:te=\E[60;0;0;36p\E[36;1H\E[K:\
6911	:ti=\E[H\E[J\E[36;0;0;36p:\
6912	:tc=aaa+unk:
6913aaa-36-rv|ann arbor ambassador/36 lines+reverse video:\
6914	:tc=aaa+rv:tc=aaa-36:
6915aaa-40|ann arbor ambassador/40 lines:\
6916	:li#40:\
6917	:is=\E7\E[60;0;0;40p\E8:te=\E[60;0;0;40p\E[40;1H\E[K:\
6918	:ti=\E[H\E[J\E[40;0;0;40p:\
6919	:tc=aaa+unk:
6920aaa-40-rv|ann arbor ambassador/40 lines+reverse video:\
6921	:tc=aaa+rv:tc=aaa-40:
6922aaa-48|ann arbor ambassador/48 lines:\
6923	:li#48:\
6924	:is=\E7\E[60;0;0;48p\E8:te=\E[60;0;0;48p\E[48;1H\E[K:\
6925	:ti=\E[H\E[J\E[48;0;0;48p:\
6926	:tc=aaa+unk:
6927aaa-48-rv|ann arbor ambassador/48 lines+reverse video:\
6928	:tc=aaa+rv:tc=aaa-48:
6929aaa-60-s|ann arbor ambassador/59 lines+status:\
6930	:es:hs:\
6931	:li#59:\
6932	:ds=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
6933	:fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;60p\E8:\
6934	:ts=\E[>51h\E[1;%p1%dH\E[2K:tc=aaa+unk:
6935aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video:\
6936	:tc=aaa+rv:tc=aaa-60-s:
6937aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video:\
6938	:tc=aaa+dec:tc=aaa+rv:tc=aaa-60-s:
6939aaa-60|ann arbor ambassador/60 lines:\
6940	:li#60:\
6941	:is=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8:tc=aaa+unk:
6942aaa-60-rv|ann arbor ambassador/60 lines+reverse video:\
6943	:tc=aaa+rv:tc=aaa-60:
6944aaa-db|ann arbor ambassador 30/destructive backspace:\
6945	:bs@:\
6946	:i2=\E[1Q\E[m\E[>20l\E[>30h:le=\E[D:tc=aaa-30:
6947
6948guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols:\
6949	:li#33:\
6950	:i2=\E[>59l:is=\E7\E[255;0;0;33;80;80p\E8\E[J:\
6951	:te=\E[255p\E[255;1H\E[K:ti=\E[33p:vb=\E[>59h\E[>59l:\
6952	:tc=aaa+unk:
6953guru+rv|guru changes for reverse video:\
6954	:i2=\E[>59h:vb=\E[>59l\E[>59h:
6955guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video:\
6956	:tc=guru+rv:tc=guru-33:
6957guru+s|guru status line:\
6958	:es:hs:\
6959	:ds=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K:fs=\E[>51l:\
6960	:te=\E[255;1p\E[255;1H\E[K:ti=:\
6961	:ts=\E[>51h\E[1;%p1%dH\E[2K:
6962guru-nctxt|guru with no saved context:\
6963	:ti=\E[H\E[J\E[33p\E[255;1H\E[K:tc=guru:
6964guru-s|guru-33-s|ann arbor guru/33 lines+status:\
6965	:li#32:\
6966	:is=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J:\
6967	:ti=\E[33;1p\E[255;1H\E[K:tc=guru+s:\
6968	:tc=guru+unk:
6969guru-24|ann arbor guru 24 lines:\
6970	:co#80:li#24:\
6971	:is=\E7\E[255;0;0;24;80;80p\E8\E[J:ti=\E[24p:tc=guru+unk:
6972guru-44|ann arbor guru 44 lines:\
6973	:co#97:li#44:\
6974	:is=\E7\E[255;0;0;44;97;100p\E8\E[J:ti=\E[44p:tc=guru+unk:
6975guru-44-s|ann arbor guru/44 lines+status:\
6976	:li#43:\
6977	:is=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J:\
6978	:ti=\E[44;1p\E[255;1H\E[K:tc=guru+s:\
6979	:tc=guru+unk:
6980guru-76|guru with 76 lines by 89 cols:\
6981	:co#89:li#76:\
6982	:is=\E7\E[255;0;0;76;89;100p\E8\E[J:ti=\E[76p:tc=guru+unk:
6983guru-76-s|ann arbor guru/76 lines+status:\
6984	:co#89:li#75:\
6985	:is=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J:\
6986	:ti=\E[76;1p\E[255;1H\E[K:tc=guru+s:\
6987	:tc=guru+unk:
6988guru-76-lp|guru-lp|guru with page bigger than line printer:\
6989	:co#134:li#76:\
6990	:is=\E7\E[255;0;0;76;134;134p\E8\E[J:ti=\E[76p:tc=guru+unk:
6991guru-76-w|guru 76 lines by 178 cols:\
6992	:co#178:li#76:\
6993	:is=\E7\E[255;0;0;76;178;178p\E8\E[J:ti=\E[76p:tc=guru+unk:
6994guru-76-w-s|ann arbor guru/76 lines+status+wide:\
6995	:co#178:li#75:\
6996	:is=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J:\
6997	:ti=\E[76;1p\E[255;1H\E[K:\
6998	:tc=guru+s:tc=guru+unk:
6999guru-76-wm|guru 76 lines by 178 cols with 255 cols memory:\
7000	:co#178:li#76:\
7001	:is=\E7\E[255;0;0;76;178;255p\E8\E[J:ti=\E[76p:tc=guru+unk:
7002aaa-rv-unk|ann arbor unknown type:\
7003	:Nl#0:lh#0:lw#0:\
7004	:ho=\E[H:i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
7005	:me=\E[7m:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:\
7006	:..sa=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
7007	:se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
7008
7009#### Applied Digital Data Systems (adds)
7010#
7011# ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
7012# ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
7013# terminals was merged again.  Then AT&T sold the terminal business to
7014# SunRiver, which later changed its  name to Boundless Technologies.  The
7015# engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
7016# as of early 1995) are at:
7017#
7018#	Boundless Technologies
7019#	100 Marcus Boulevard
7020#	Hauppauge, NY 11788-3762
7021#	Vox: (800)-231-5445
7022#	Fax: (516)-342-7378
7023#	Web: http://boundless.com
7024#
7025# Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
7026# In 1995 Boundless acquired DEC's terminals business.
7027#
7028
7029# Regent: lowest common denominator, works on all regents.
7030# (regent: renamed ":bc:" to ":le:" -- esr)
7031regent|Adds Regent Series:\
7032	:am:bs:\
7033	:co#80:li#24:\
7034	:bl=^G:cl=^L:cr=^M:do=^J:ho=\EY  :le=^U:ll=^A:nd=^F:sf=^J:\
7035	:up=^Z:
7036# Regent 100 has a bug where if computer sends escape when user is holding
7037# down shift key it gets confused, so we avoid escape.
7038regent100|Adds Regent 100:\
7039	:sg#1:\
7040	:bl=^G:cm=\013%+ %B\020%.:k0=^B1\r:k1=^B2\r:k2=^B3\r:\
7041	:k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:\
7042	:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
7043	:ue=\E0@:us=\E0`:\
7044	:tc=regent:
7045regent20|Adds Regent 20:\
7046	:bl=^G:cd=\Ek:ce=\EK:cm=\EY%+ %+ :tc=regent:
7047regent25|Adds Regent 25:\
7048	:bl=^G:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:tc=regent20:
7049regent40|Adds Regent 40:\
7050	:sg#1:\
7051	:al=\EM:bl=^G:dl=\El:k0=^B1\r:k1=^B2\r:k2=^B3\r:k3=^B4\r:\
7052	:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:l2=F3:\
7053	:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
7054	:ue=\E0@:us=\E0`:\
7055	:tc=regent25:
7056regent40+|Adds Regent 40+:\
7057	:is=\EB:tc=regent40:
7058regent60|regent200|Adds Regent 60:\
7059	:dc=\EE:ei=\EF:im=\EF:is=\EV\EB:kD=\EE:kI=\EF:kM=\EF:\
7060	:se=\ER\E0@\EV:so=\ER\E0P\EV:\
7061	:tc=regent40+:
7062# From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
7063# (viewpoint: added :kr:, function key, and :dl: capabilities -- esr)
7064viewpoint|addsviewpoint|adds viewpoint:\
7065	:am:bs:\
7066	:co#80:li#24:\
7067	:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dl=\El:do=^J:\
7068	:is=\017\E0`:k0=^B1:k2=^B2:k3=^B\041:k4=^B":k5=^B#:kd=^J:\
7069	:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A:me=^O:nd=^F:se=^O:sf=^J:\
7070	:so=^N:ue=^O:up=^Z:us=^N:ve=\017\E0`:vs=\017\E0P:
7071# Some viewpoints have bad ROMs that foo up on ^O
7072screwpoint|adds viewpoint with ^O bug:\
7073	:se@:so@:ue@:us@:vs@:tc=viewpoint:
7074
7075# From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
7076# The :vi:/:ve:/:sa:/:me: strings were added by ESR from specs.
7077# Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
7078# underline=01100000, rev=01010000, blink=01000010,dim=01000001,
7079# invis=01000100 and %c is the logical or of desired attributes.
7080# There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
7081vp3a+|viewpoint3a+|adds viewpoint 3a+:\
7082	:am:bw:\
7083	:co#80:it#8:li#24:\
7084	:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:kb=^H:\
7085	:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\E(:nd=^L:nw=^M^J:\
7086	:..sa=\E0%{64}%?%p1%tQ%|%;%?%p2%t%{96}%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E):\
7087	:se=\E(:sf=^J:so=\E0Q\E):ta=^I:up=^K:ve=^X:vi=^W:
7088vp60|viewpoint60|addsvp60|adds viewpoint60:\
7089	:tc=regent40:
7090#
7091# adds viewpoint 90 - from cornell
7092# Note:  emacs sends ei occasionally to insure the terminal is out of
7093#        insert mode. This unfortunately puts the viewpoint90 IN insert
7094#        mode.  A hack to get around this is :ic=\EF\s\EF^U:.  (Also,
7095#   -    :ei=:im=: must be present in the termcap translation.)
7096#   -    :xs: indicates glitch that attributes stick to location
7097#   -    :ms: means it's safe to move in standout mode
7098#   -    :cl=\EG\Ek:: clears screen and visual attributes without affecting
7099#               the status line
7100# Function key and label capabilities merged in from SCO.
7101vp90|viewpoint90|adds viewpoint 90:\
7102	:bs:bw:ms:xs:\
7103	:co#80:li#24:\
7104	:cd=\Ek:ce=\EK:cl=\EG\Ek:cm=\EY%+ %+ :dc=\EE:dl=\El:do=^J:\
7105	:ei=:ho=\EY  :ic=\EF \EF\025:im=:k0=^B1\r:k1=^B2\r:\
7106	:k2=^B3\r:k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:\
7107	:k8=^B9\r:k9=^B\072\r:k;=^B;\r:kb=^H:kd=^J:kh=^A:kl=^U:\
7108	:kr=^F:ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\
7109	:l8=F9:l9=F10:la=F11:le=^H:ll=^A:me=\ER\E0@\EV:nd=^F:\
7110	:se=\ER\E0@\EV:sf=^J:so=\ER\E0Q\EV:ta=^I:ue=\ER\E0@\EV:\
7111	:up=^Z:us=\ER\E0`\EV:
7112# Note: if return acts weird on a980, check internal switch #2
7113# on the top chip on the CONTROL pc board.
7114adds980|a980|adds consul 980:\
7115	:am:bs:\
7116	:co#80:li#24:\
7117	:al=\E\016:bl=^G:cl=\014\013@:cm=\013%+@\E\005%2:cr=^M:\
7118	:dl=\E\017:do=^J:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:\
7119	:k6=\E6:k7=\E7:k8=\E8:k9=\E9:le=^H:me=^O:nd=\E^E01:se=^O:\
7120	:sf=^J:so=^Y^^^N:
7121
7122# Beehive documentation is undated and marked Preliminary and has no figures
7123# so we must have early Superbee2 (Model 600, according to phone conversation
7124# with mfr.). It has proved reliable except for some missing padding
7125# (notably after \EK and <nl> at bottom of screen).
7126#
7127# The key idea is that AEP mode is poison for :cm: & that US's in
7128# the local memory should be avoided like the plague. That means
7129# that the 2048 character local buffer is used as 25 lines of 80
7130# characters, period. No scrolling local memory, folks. It also
7131# appears that we cannot use naked INS LINE feature since it uses
7132# US. The sbi fakes :al: with an 80-space insert that may be too
7133# slow at low speeds; also spaces get converted to \040 which is
7134# too long for some programs (not vi).  DEL LINE is ok but slow.
7135#
7136# The <nl> string is designed for last line of screen ONLY; cup to
7137# 25th line corrects the motion inherent in scrolling to Page 1.
7138#
7139# There is one understood bug. It is that the screen appears to
7140# pop to a new (blank) page after a :nw:, or leave a half-line
7141# ellipsis to a quad that is the extra 48 memory locations. The
7142# data received is dumped into memory but not displayed.  Not to
7143# worry if :cm: is being used; the lines not displayed will be,
7144# whenever the cursor is moved up there. Since :cm: is addressed
7145# relative to MEMORY of window, nothing is lost; but beware of
7146# relative cursor motion (:up:,:do:,:nd:,:le:). Recommended,
7147# therefore, is setenv MORE -c .
7148#
7149# WARNING: Not all features tested.
7150#
7151# Timings are assembled from 3 sources. Some timings may reflect
7152# SB2/Model 300 that were used if more conservative.
7153# Tested on a Model 600 at 1200 and 9600 bd.
7154#
7155# The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
7156# placed on the keyboard and useless because of AEP, is made
7157# into a backspace key. In use ESC must be pressed twice (to send)
7158# and sending ^C must be prefixed by ESC to avoid that weird
7159# transmit mode associated with ENTER key.
7160#
7161# IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
7162# the screen, then it has dropped into ENTER mode; hit
7163# RESET--ONLINE--!tset.
7164#
7165# As delivered this machine has a FATAL feature that will throw
7166# it into that strange transmit state (SPOW) if the space bar is
7167# hit after a CR is received, but before receiving a LF (or a
7168# few others).
7169#
7170# The circuits MUST be modified to eliminate the SPOW latch.
7171# This is done by strapping on chip A46 of the I/O board; cut
7172# the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
7173# chip. This mod has been checked out on a Mod 600 of Superbee II.
7174# With this modification absurdly high timings on cr are
7175# unnecessary.
7176#
7177# NOTE WELL that the rear panel switch should be set to CR/LF,
7178# not AEP!
7179#
7180sb1|beehive superbee:\
7181	:am:bs:bw:da:db:mi:ul:xb:\
7182	:co#80:li#25:sg#1:\
7183	:al=\EN\EL\EQ                                                                                \EP \EO\ER\EA:\
7184	:bl=^G:bt=\E`:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%03%03:cr=\r:\
7185	:ct=\E3:dc=\EP:dl=\EM:do=^J:ei=\ER:ho=\EH:im=\EQ\EO:\
7186	:is=\EE\EX\EZ\EO\Eb\Eg\ER:k0=\E2:k1=\Ep:k2=\Eq:k3=\Er:\
7187	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\E1:kE=\EK:kI=\EQ\EO:\
7188	:kL=\EM:kM=\ER:kS=\EJ:kb=^_:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
7189	:ku=\EA:l0=TAB CLEAR:l9=TAB SET:le=^H:me=\E_3:nd=\EC:\
7190	:se=\E_3:sf=^J:so=\E_1:st=\E1:ta=^I:te=:ti=\EO:ue=\E_3:\
7191	:up=\EA:us=\E_0:
7192sbi|superbee|beehive superbee at Indiana U.:\
7193	:xb:\
7194	:al=1\EN\EL\EQ \EP \EO\ER\EA:cr=\r:tc=sb1:
7195# Alternate (older) description of Superbee - f1=escape, f2=^C.
7196# Note: there are at least 3 kinds of superbees in the world.  The sb1
7197# holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
7198# The sb3 puts garbage on the bottom of the screen when you scroll with
7199# the switch in the back set to CRLF instead of AEP.  This description
7200# is tested on the sb2 but should work on all with either switch setting.
7201# The f1/f2 business is for the sb1 and the :xb: can be taken out for
7202# the other two if you want to try to hit that tiny escape key.
7203# This description is tricky: being able to use cup depends on there being
7204# 2048 bytes of memory and the hairy <nl> string.
7205superbee-xsb|beehive super bee:\
7206	:am:da:db:xb:\
7207	:co#80:it#8:li#25:\
7208	:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%3%3:cr=\r:ct=\E3:dc=\EP:\
7209	:dl=\EM:do=^J:ho=\EH:is=\EH\EJ:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:\
7210	:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
7211	:ku=\EA:le=^H:me=\E_3:nd=\EC:se=\E_3:\
7212	:sf=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET:so=\E_1:st=\E1:\
7213	:ta=^I:up=\EA:ve=^J:
7214# This loses on lines > 80 chars long, use at your own risk
7215superbeeic|super bee with insert char:\
7216	:ei=\ER:ic=:im=\EQ:tc=superbee-xsb:
7217sb2|sb3|fixed superbee:\
7218	:xb@:tc=superbee:
7219
7220####  Beehive Medical Electronics
7221#
7222# Steve Seymour <srseymour@mindspring.com> writes (Wed, 03 Feb 1999):
7223# Regarding your question though; Beehive terminals weren't made by Harris.
7224# They were made by Beehive Medical Electronics in Utah. They went out of
7225# business in the early '80s.
7226#
7227# (OK, then, I don't know why a couple of these say "harris beehive".)
7228#
7229
7230# Reports are that most of these Beehive entries (except superbee) have not
7231# been tested and do not work right.  :se: is a trouble spot.  Be warned.
7232
7233# (bee: :ic: was empty, which is obviously bogus -- esr)
7234beehive|bee|harris beehive:\
7235	:am:bs:mi:\
7236	:co#80:li#24:\
7237	:al=\EL:bt=\E>:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :dc=\EP:\
7238	:dl=\EM:do=\EB:ei=\E@:ho=\EH:im=\EQ:kA=\EL:kB=\E>:kC=\EE:\
7239	:kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kM=\E@:kb=^H:kd=\EB:kh=\EH:\
7240	:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:se=\Ed@:so=\EdP:\
7241	:ue=\Ed@:up=\EA:us=\Ed`:
7242# set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
7243# good grief - does this entry make :sg:/:ug: when it doesn't have to?
7244# look at those spaces in :se:/:so:.  Seems strange to me...
7245# (beehive: :if=/usr/share/tabset/beehive: removed, no such file.  If you
7246# really care, cook up one using ^F -- esr)
7247beehive3|bh3m|beehiveIIIm|harris beehive 3m:\
7248	:am:bs:\
7249	:co#80:it#8:li#20:\
7250	:al=\023:bl=^G:cd=^R:ce=^P:cl=^E^R:cr=^M:dl=\021:do=^J:ho=^E:\
7251	:le=^H:ll=^E^K:nd=^L:se= ^_:sf=^J:so=^] :st=^F:ta=^I:up=^K:
7252beehive4|bh4|beehive 4:\
7253	:am:\
7254	:co#80:li#24:\
7255	:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cr=^M:do=^J:ho=\EH:le=\ED:nd=\EC:\
7256	:sf=^J:up=\EA:
7257# There was an early Australian kit-built computer called a "Microbee".
7258# It's not clear whether this is for one of those or for a relative
7259# of the Beehive.
7260microb|microbee|micro bee series:\
7261	:am:bs:\
7262	:co#80:it#8:li#24:\
7263	:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :cr=^M:do=^J:k1=\Ep:\
7264	:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\Ex:\
7265	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:\
7266	:se=\Ed@:sf=^J:so= \EdP:ta=^I:ue=\Ed@:up=\EA:us=\Ed`:
7267
7268#### C. Itoh Electronics
7269#
7270# As of 1995 these people no longer make terminals (they're still in the
7271# printer business).  Their terminals were all clones of the DEC VT series.
7272# They're located in Orange County, CA.
7273#
7274
7275# CIT 80  - vt-52 emulator, the termcap has been modified to remove
7276#           the delay times and do an auto tab set rather than the indirect
7277#           file used in vt100.
7278cit80|cit-80|citoh 80:\
7279	:am:bs:\
7280	:co#80:li#24:\
7281	:cd=\EJ:ce=\EK:cl=\E[H\EJ:cm=\E[%i%2;%2H:cr=^M:ff=^L:\
7282	:is=\E>:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
7283	:ku=\EOA:le=^H:nd=\E[C:sf=^J:up=\E[A:
7284# From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
7285# (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
7286cit101|citc|C.itoh fast vt100:\
7287	:am:bs:xn:\
7288	:co#80:li#24:\
7289	:RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
7290	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:\
7291	:im=:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
7292	:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
7293	:ku=\EOA:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:\
7294	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[V\E8:vs=\E7\E[U:
7295# CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
7296# The following termcap entry was created from the Callan cd100 entry.  The
7297# last two lines (with the capabilities in caps) are used by RM-cobol to allow
7298# full selection of combinations of reverse video, underline, and blink.
7299# (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
7300# f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
7301# :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
7302cit101e|C. Itoh CIT-101e:\
7303	:am:bs:mi:ms:pt:\
7304	:co#80:it#8:li#24:\
7305	:ac=:ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
7306	:cm=\E[%i%2;%2H:cs=\E[%i%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:\
7307	:ei=\E[4l:if=/usr/share/tabset/vt100:im=\E[4h:k0=\EOT:\
7308	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOm:k6=\EOl:k7=\EOM:\
7309	:k8=\EOn:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:\
7310	:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ue=\E[m:\
7311	:up=\E[A:us=\E[4m:ve=:vs=\E[?1l\E[?4l\E[?7h:
7312# From: David S. Lawyer, June 1997:
7313# The CIT 101-e was made in Japan in 1983-4 and imported by CIE
7314# Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
7315# late 1980's CIT Terminals went out of business.
7316# There is no need to use the initialization string is=... (by invoking
7317# tset or setterm etc.) provided that the terminal has been manually set
7318# up (and the setup saved with ^S) to be compatible with this termcap.  To be
7319# compatible it should be in ANSI mode (not VT52).   A set-up that
7320# works is to set all the manually setable stuff to factory defaults
7321# by pressing ^D in set-up mode.  Then increse the brighness with the
7322# up-arrow key since the factory default will likely be dim on an old
7323# terminal.  Then change any options you want (provided that they are
7324# compatible with the termcap).  For my terminal I set: Screen
7325# Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
7326# on.  I also set up mine for parity (but you may not need it).  Then
7327# save the setup with ^S.
7328# (cit101e-rv: added empty :te: to suppress a tic warning. --esr)
7329cit101e-rv|Citoh CIT-101e (sets reverse video):\
7330	:am:eo:mi:ms:xn:xo:\
7331	:co#80:it#8:li#24:\
7332	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
7333	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
7334	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\
7335	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
7336	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:ic=\E[@:\
7337	:im=\E[4h:\
7338	: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:\
7339	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=\177:kd=\E[B:kl=\E[D:\
7340	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
7341	:nd=\E[C:nl=\EM:nw=\EE:r1=\Ec\E[?7h\E[>5g:rc=\E8:sc=\E7:\
7342	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=:\
7343	:ti=\E[>5g\E[?7h\E[?5h:u6=\E[%i%d;%dR:u7=\E[6n:\
7344	:u8=\E[?6c:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:\
7345	:vb=200\E[?5l\E[?5h:ve=\E[0;3;4v:vi=\E[1v:vs=\E[3;5v:
7346cit101e-n|CIT-101e w/o am:\
7347	:am@:\
7348	:kb=^H:kd=^J:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
7349cit101e-132|CIT-101e with 132 cols:\
7350	:co#132:\
7351	:kb=^H:kd=^J:kl=^H:tc=cit101e:
7352cit101e-n132|CIT-101e with 132 cols w/o am:\
7353	:am@:\
7354	:co#132:\
7355	:kb=^H:kd=^J:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
7356# CIE Terminals CIT-500 from BRL
7357# The following SET-UP modes are assumed for normal operation:
7358#	GENERATE_XON/XOFF:YES	DUPLEX:FULL		NEWLINE:OFF
7359#	AUTOWRAP:ON		MODE:ANSI		SCREEN_LENGTH:64_LINES
7360#	DSPLY_CNTRL_CODES?NO	PAGE_WIDTH:80		EDIT_MODE:OFF
7361# Other SET-UP modes may be set for operator convenience or communication
7362# requirements.
7363# Hardware tabs are assumed to be set every 8 columns; they can be set up
7364# by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
7365# "stty ixon -ixany" to enable DC3/DC1 flow control!
7366# (cit500: I added <rmam>/<smam> based on the init string -- esr)
7367cit500|CIE Terminals CIT-500:\
7368	:bs:mi:ms:pt:xo:\
7369	:co#80:it#8:kn#10:li#64:vt#3:\
7370	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:\
7371	:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:\
7372	:bl=^G:bt=\E[Z:cd=\EJ:ce=\EK:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
7373	:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
7374	:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
7375	:k2=\EOR:k3=\EOS:k4=\EOU:k5=\EOV:k6=\EOW:k7=\EOX:k8=\EOY:\
7376	:k9=\EOZ:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\EK:kI=\E[4h:kL=\E[M:\
7377	:kM=\E[4l:kS=\EJ:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[H:\
7378	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:\
7379	:l3=PF4:l4=F15:l5=F16:l6=F17:l7=F18:l8=F19:l9=F20:le=^H:\
7380	:ll=\E[64H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
7381	:nw=\EE:\
7382	:r1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>:\
7383	:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
7384	:ue=\E[m:up=\EM:us=\E[4m:
7385
7386# C. Itoh printers begin here
7387citoh|ci8510|8510|c.itoh 8510a:\
7388	:co#80:it#8:\
7389	:is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073.:\
7390	:le@:md=\E\041:me=\E"\EY:rp=\ER%r%03%.:sr=\Er:ue=\EY:\
7391	:us=\EX:\
7392	:tc=lpr:
7393citoh-pica|citoh in pica:\
7394	:i1=\EN:tc=citoh:
7395citoh-elite|citoh in elite:\
7396	:co#96:\
7397	:i1=\EE:\
7398	:is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089.:tc=citoh:
7399citoh-comp|citoh in compressed:\
7400	:co#136:\
7401	:i1=\EQ:\
7402	:is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089\054097\054105\054113\054121\054129.:tc=citoh:
7403# citoh has infinite cols because we don't want lp ever inserting \n\t**.
7404citoh-prop|citoh-ps|ips|citoh in proportional spacing mode:\
7405	:co#32767:\
7406	:i1=\EP:tc=citoh:
7407citoh-6lpi|citoh in 6 lines per inch mode:\
7408	:i2=\EA:tc=citoh:
7409citoh-8lpi|citoh in 8 lines per inch mode:\
7410	:li#88:\
7411	:i2=\EB:tc=citoh:
7412
7413#### Control Data (cdc)
7414#
7415
7416cdc456|cdc 456 terminal:\
7417	:am:bs:\
7418	:co#80:li#24:\
7419	:al=\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%+ %+ :cr=^M:dl=\EJ:\
7420	:do=^J:ho=^Y:le=^H:nd=^L:sf=^J:up=^Z:
7421
7422# Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
7423cdc721|CDC Viking:\
7424	:am:bs:\
7425	:co#80:li#24:\
7426	:ce=^K:cl=^L:cm=\002%r%+ %+ :ho=^Y:kd=^J:kh=^Y:kl=^H:kr=^I:\
7427	:ku=^W:nd=^X:up=^W:
7428cdc721ll|CDC Vikingll:\
7429	:am:bs:\
7430	:co#132:li#24:\
7431	:ce=^K:cl=^L:cm=\002%r%+ %+ :ho=^Y:kd=^J:kh=^Y:kl=^H:kr=^I:\
7432	:ku=^W:nd=^X:up=^W:
7433# (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
7434cdc752|CDC 752:\
7435	:am:bs:bw:xs:\
7436	:co#80:li#24:\
7437	:bl=^G:ce=^V:cl=\030\E1  :cm=\E1%r%+ %+ :cr=^M:do=^J:\
7438	:ho=\E1  :le=^H:ll=^Y:nd=^U:r1=\E1  \030\002\003\017:\
7439	:sf=^J:up=^Z:
7440# CDC 756
7441# The following switch/key settings are assumed for normal operation:
7442#	96 chars	SCROLL		FULL duplex	not BLOCK
7443# Other switches may be set according to communication requirements.
7444# Insert/delete-character cannot be used, as the whole display is affected.
7445# "so" & "se" are commented out until jove handles "sg" correctly.
7446cdc756|CDC 756:\
7447	:am:bs:bw:\
7448	:co#80:kn#10:li#24:\
7449	:al=6*\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%r%+ %+ :cr=^M:\
7450	:dl=6*\EJ:do=^J:ho=^Y:k0=\EA:k1=\EB:k2=\EC:k3=\ED:k4=\EE:\
7451	:k5=\EF:k6=\EG:k7=\EH:k8=\Ea:k9=\Eb:kA=\EL:kD=\EI:kE=^V:\
7452	:kI=\EK:kL=\EL:kS=^X:kT=^O:kb=^H:kd=^J:kh=^Y:kl=^H:kr=^U:\
7453	:ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:\
7454	:l9=F10:le=^H:ll=^Y^Z:nd=^U:r1=\031\030\002\003\017:sf=^J:\
7455	:up=^Z:
7456#
7457# CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
7458#
7459# Part of the long initialization string defines the "DOWN" key to the left
7460# of the tab key to send an ESC.  The real ESC key is positioned way out
7461# in right field.
7462#
7463# The termcap won't work in 132 column mode due to the way it it moves the
7464# cursor.  Termcap doesn't have the capability (as far as I could tell) to
7465# handle the 721 in 132 column mode.
7466#
7467# (cdc721: changed :ri: to :sr: -- esr)
7468cdc721-esc|Control Data 721:\
7469	:am:bs:bw:ms:pt:xo:\
7470	:co#80:it#8:kn#10:li#30:\
7471	:al=^^R:bl=^G:bt=^^^K:cd=^^P:ce=^K:cl=^L:cm=\002%r%+ %+ :\
7472	:ct=^^^RY:dc=^^N:dl=^^Q:do=^Z:ei=:ho=^Y:ic=^^O:im=:\
7473	: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-` `\041k/o:\
7474	:k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:k7=^^x:\
7475	:k8=^^y:k9=^^z:kb=^H:kd=^Z:ke=^^^Rl:kh=^Y:kl=^H:kr=^X:\
7476	:ks=^^^Rk:ku=^W:le=^H:ll=^B =:mb=^N:\
7477	:me=\017\025\035\036E\036\022\:mh=^\:mk=^^^R[:mr=^^D:\
7478	:nd=^X:se=^^E:sf=\036W =\036U:so=^^D:sr=\036W =\036V:\
7479	:st=^^^RW:ue=^]:up=^W:us=^\:
7480
7481#### Getronics
7482#
7483# Getronics is a Dutch electronics company that at one time was called
7484# `Geveke' and made async terminals; but (according to the company itself!)
7485# they've lost all their documentation on the command set.  The hardware
7486# documentation suggests the terminals were actually manufactured by a
7487# Taiwanese electronics company named Cal-Comp.  There are known
7488# to have been at least two models, the 33 and the 50.
7489#
7490
7491# The 50 seems to be a top end vt220 clone, with the addition of a higher
7492# screen resolution, a larger screen, at least 1 page of memory above and
7493# below the screen, apparently pages of memory right and left of the screen
7494# which can be panned, and about 75 function keys (15 function keys x normal,
7495# shift, control, func A, func B). It also has more setup possibilities than
7496# the vt220. The monitor case is dated November 1978 and the keyboard case is
7497# May 1982.
7498#
7499# The vt100 emulation works as is.  The entry below describes the rather
7500# non-conformant (but more featureful) ANSI mode.
7501#
7502# From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
7503# (untranslatable capabilities removed to fit entry within 1023 bytes)
7504# (sgr removed to fit entry within 1023 bytes)
7505# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
7506visa50|geveke visa 50 terminal in ansi 80 character mode:\
7507	:bw:mi:ms:\
7508	:co#80:li#25:\
7509	:AL=\E[%dL:DC=\E[%dX:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
7510	:K1=\E[f:K2=\EOP:K3=\EOQ:K4=\EOR:K5=\EOS:LE=\E[%dD:\
7511	:RI=\E[%dC:UP=\E[%dA:ae=\E[3l:al=\E[L:as=\E3h:bl=^G:\
7512	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
7513	:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[X:dl=\E[M:do=\E[B:\
7514	:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
7515	:is=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h:k0=\E010:\
7516	:k1=\E001:k2=\E002:k3=\E003:k4=\E004:k5=\E005:k6=\E006:\
7517	:k7=\E007:k8=\E008:k9=\E009:kD=\177:kb=^H:kd=\E[A:ke=\E>:\
7518	:kh=\E[f:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=\E[D:mb=\E[5m:\
7519	:md=\E[1m:me=\E[0;2m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:\
7520	:se=\E[0;2m:sf=^J:so=\E[2;7m:ta=^I:ue=\E[0m:up=\E[A:\
7521	:us=\E[4m:vb=\E[?5h\E[?5l:
7522
7523#### Human Designed Systems (Concept)
7524#
7525#	Human Designed Systems
7526#	400 Fehley Drive
7527#	King of Prussia, PA 19406
7528#	Vox: (610)-277-8300
7529#	Fax: (610)-275-5739
7530#	Net: support@hds.com
7531#
7532# John Martin <john@hds.com> is their termcap expert.  They're mostly out of
7533# the character-terminal business now (1995) and making X terminals.  In
7534# particular, the whole `Concept' line described here was discontinued long
7535# ago.
7536#
7537
7538# From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
7539# Extensive changes to c108 by arpavax:eric Feb 1982
7540# Some unknown person at SCO then translated it to terminfo.
7541#
7542# There seem to be a number of different versions of the C108 PROMS
7543# (with bug fixes in its Z-80 program).
7544#
7545# The first one that we had would lock out the keyboard of you
7546# sent lots of short lines (like /usr/dict/words) at 9600 baud.
7547# Try that on your C108 and see if it sends a ^S when you type it.
7548# If so, you have an old version of the PROMs.
7549#
7550# You should configure the C108 to send ^S/^Q before running this.
7551# It is much faster (at 9600 baud) than the c100 because the delays
7552# are not fixed.
7553# new status line display entries for c108-8p:
7554# :i3: - init str #3 - setup term for status display -
7555# set programmer mode, select window 2, define window at last
7556# line of memory, set bkgnd stat mesg there, select window 0.
7557#
7558# :ts: - to status line - select window 2, home cursor, erase to
7559# end-of-window, 1/2 bright on, goto(line#0, col#?)
7560#
7561# :fs: - from status line - 1/2 bright off, select window 0
7562#
7563# :ds: - disable status display - set bkgnd status mesg with
7564# illegal window #
7565#
7566# There are probably more function keys that should be added but
7567# I don't know what they are.
7568#
7569# No delays needed on c108 because of ^S/^Q handshaking
7570#
7571c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages:\
7572	:i2=\EU\E z"\Ev\001\177 \041p\E ;"\E z \Ev  \001\177p\Ep\n:\
7573	:te=\Ev  \001\177p\Ep\r\n:\
7574	:tc=c108-4p:
7575c108-4p|concept108-4p|concept 108 w/4 pages:\
7576	:bs:es:hs:xo:\
7577	:pb@:\
7578	:ac=jEkTl\mMqLxU:ae=\Ej :as=\Ej\041:\
7579	:..cm=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c:\
7580	:cr=^M:dc=\E 1:ds=\E ;\177:fs=\Ee\E z :i1=\EK\E\041\E F:\
7581	:i2=\EU\E z"\Ev\177 \041p\E ;"\E z \Ev  \001 p\Ep\n:\
7582	:sf=^J:te=\Ev  \001 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r\E\025:\
7583	:ts=\E z"\E?\E\005\EE\Ea %+ :ve=\Ew:vs=\EW:\
7584	:tc=c100:
7585c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video:\
7586	:te=\Ev  \002 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r:\
7587	:tc=c108-rv-4p:
7588c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video:\
7589	:i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:\
7590	:tc=c108-4p:
7591c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode:\
7592	:co#132:\
7593	:i1=\E F\E":te=\Ev  ^A0\001D\Ep\r\n:\
7594	:ti=\EU\Ev  8\001D\Ep\r:tc=c108-8p:
7595
7596# Concept 100:
7597# These have only window relative cursor addressing, not screen
7598# relative. To get it to work right here, smcup/rmcup (which
7599# were invented for the concept) lock you into a one page
7600# window for screen style programs.
7601#
7602# To get out of the one page window, we use a clever trick:
7603# we set the window size to zero ("\Ev    " in rmcup) which the
7604# terminal recognizes as an error and resets the window to all
7605# of memory.
7606#
7607# This trick works on c100 but does not on c108, sigh.
7608#
7609# Some tty drivers use cr3 for concept, others use nl3, hence
7610# the delays on cr and ind below. This padding is only needed at
7611# 9600 baud and up.  One or the other is commented out depending on
7612# local conventions.
7613#
7614# 2 ms padding on :te: isn't always enough. 6 works fine. Maybe
7615# less than 6 but more than 2 will work.
7616#
7617# Note: can't use function keys f7-f10 because they are
7618# indistinguishable from arrow keys (!), also, del char and
7619# clear eol use xon/xoff so they probably won't work very well.
7620#
7621# Also note that we don't define insrt/del char/delline/eop/send
7622# because they don't transmit unless we reset them - I figured
7623# it was a bad idea to clobber their definitions.
7624#
7625# The <mc5> sequence changes the escape character to ^^ so that
7626# escapes will be passed through to the printer. Only trouble
7627# is that ^^ won't be - ^^ was chosen to be unlikely.
7628# Unfortunately, if you're sending raster bits through to be
7629# plotted, any character you choose will be likely, so we lose.
7630#
7631# \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
7632# cannot be # in is2 because it will hang a c100 with no printer
7633# if sent twice.
7634c100|concept100|concept|c104|c100-4p|hds concept 100:\
7635	:am:bs:eo:mi:ul:xn:\
7636	:co#80:li#24:pb#9600:vt#8:\
7637	:al=\E\022:bl=^G:cd=\E\005:ce=\E\025:cl=\E?\E\005:\
7638	:cm=\Ea%+ %+ :cr=\r:dc=\E\021:dl=\E\002:do=^J:ei=\E  :\
7639	:i1=\EK:i2=\Ev    \Ep\n:im=\E^P:ip=:\
7640	:is=\EU\Ef\E7\E5\E8\El\ENH\E\0\Eo&\0\Eo'\E\Eo\041\0\E\007\041\E\010A@ \E4#\072"\E\072a\E4#;"\E\072b\E4#<"\E\072c:\
7641	:k1=\E5:k2=\E6:k3=\E7:k4=\E8:k5=\E9:k6=\E\072a:k7=\E\072b:\
7642	:k8=\E\072c:kA=\E^R:kB=\E':kD=\E^Q:kE=\E^S:kF=\E[:kI=\E^P:\
7643	:kL=\E^B:kM=\E\0:kN=\E-:kP=\E.:kR=\E\:kS=\E^C:kT=\E]:kb=^H:\
7644	:kd=\E<:ke=\Ex:kh=\E?:kl=\E>:kr=\E=:ks=\EX:kt=\E_:ku=\E;:\
7645	:le=^H:mb=\EC:me=\EN@:mh=\EE:mk=\EH:mp=\EI:mr=\ED:nd=\E=:\
7646	:pf=\036o \E\EQ\041\EYP\027:\
7647	:po=\EQ"\EY(\027\EYD\Eo \036:rp=\Er%.%+ :se=\Ed:sf=^J:\
7648	:so=\ED:ta=\011:te=\Ev    \Ep\r\n:\
7649	:ti=\EU\Ev  8p\Ep\r\E\025:ue=\Eg:up=\E;:us=\EG:vb=\Ek\EK:
7650c100-rv|c100-rv-4p|concept100-rv|c100 rev video:\
7651	:i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:ve@:vs@:tc=c100:
7652oc100|oconcept|c100-1p|old 1 page concept 100:\
7653	:in:\
7654	:i3@:tc=c100:
7655
7656# From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
7657# Lots of notes, originally inline, but ncurses doesn't grok that.
7658#
7659# am: 	not available in power on mode, but turned on with \E[=107;207h in
7660#	is2=.  Also, \E=124l in is2= could have been used to prevent needing
7661#	to specify xenl:, but that would have rendered the last space on the
7662#	last line useless.
7663# bw:	Not available in power on mode, but turned on with \E[=107;207h in
7664#	is2=.
7665# clear: Could be done with \E[2J alone, except that vi (and probably most
7666#	other programs) assume that this also homes the cursor.
7667# dsl:	Go to window 2, go to the beginning of the line, use a line feed to
7668#	scroll the window, and go back to window 1.
7669# is2:	the string may cause a warning to be issued by tic that it
7670#	found a very long line and that it suspects that a comma is missing
7671#	somewhere.  This warning can be ignored (unless it comes up more than
7672#	once).  The initialization string contains the following commands:
7673#
7674#	 [Setup mode items changed from factory defaults:]
7675#		\E)0			set alternate character set to
7676#						graphics
7677#		^O			set character set to default
7678#	 [In case it wasn't]
7679#		\E[m			turn off all attributes
7680#	 [In case they weren't off]
7681#		\E[=107;		cursor wrap and
7682#			207h			character wrap on
7683#		\E[90;3u		set Fkey definitions to "transmit"
7684#						defaults
7685#		\E[92;3u		set cursor key definitions to
7686#						"transmit" defaults
7687#		\E[43;1u		set shift F13 to transmit...
7688#		\177\E$P\177
7689#		\E[44;1u		set shift F14 to transmit...
7690#			\177\E$Q\177
7691#		\E[45;1u		set shift F15 to transmit...
7692#			\177\E$R\177
7693#		\E[46;1u		set shift F16 to transmit...
7694#			\177\E$S\177
7695#		\E[200;1u		set shift up to transmit...
7696#			\177\E$A\177
7697#		\E[201;1u		set shift down to transmit...
7698#			\177\E$B\177
7699#		\E[202;1u		set shift right to transmit...
7700#			\177\E$C\177
7701#		\E[203;1u		set shift left to transmit...
7702#			\177\E$D\177
7703#		\E[204;1u		set shift home to transmit...
7704#			\177\E$H\177
7705#		\E[212;1u		set backtab to transmit...
7706#			\177\E$I\177
7707#		\E[213;1u		set shift backspace to transmit...
7708#			\177\E$^H\177
7709#		\E[214;1u		set shift del to transmit...
7710#			"\E$\177"
7711#	 [Necessary items not mentioned in setup mode:]
7712#		\E[2!w			move to window 2
7713#		\E[25;25w		define window as line 25 of memory
7714#		\E[!w			move to window 1
7715#		\E[2*w			show current line of window 2 as
7716#						status line
7717#		\E[2+x			set meta key to use high bit
7718#		\E[;3+}			move underline to bottom of character
7719#
7720#	All Fkeys are set to their default transmit definitions with \E[90;3u
7721#	in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
7722#	setting MUST be redefined or deactivated, because the default is
7723#	contained in almost all of this terminal's Fkey strings!  If for some
7724#	reason "quit" cannot be altered, the Fkeys can, but it would be
7725#	necessary to change ^| to ^] in all of these definitions, and add
7726#	\E[2;029!t to is2.
7727# lines: is set to 24 because this terminal refuses to treat the 25th
7728#	line normally.
7729# ll:	Not available in power on mode, but turned on with \E[=107;207h in
7730#	is2=.
7731# lm:	Pointless, given that this definition locks a single screen of
7732#	memory into view, but what the hey...
7733# rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
7734#	other attributes alone), but some programs expect this to turn off
7735#	everything.
7736# rmul: Could use \E[4!{ to turn off only underline (leaving any other
7737#	attributes alone), but some programs expect this to turn off
7738#	everything.
7739# sgr:	Attributes are set on this terminal with the string \E[ followed by
7740#	a list of attribute code numbers (in decimal, separated by
7741#	semicolons), followed by the character m.  The attribute code
7742#	numbers are:
7743#		  1 for bold;
7744#		  2 for dim (which is ignored in power on mode);
7745#		  4 for underline;
7746#		  5 for blinking;
7747#		  7 for inverse;
7748#		  8 for not displayable; and
7749#		=99 for protected (except that there are strange side
7750#		effects to protected characters which make them inadvisable).
7751#	 The mapping of terminfo parameters to attributes is as follows:
7752#		%p1 (standout) = bold and inverse together;
7753#		%p2 (underline) = underline;
7754#		%p3 (reverse) = inverse;
7755#		%p4 (blink) = blinking;
7756#		%p5 (dim) is ignored;
7757#		%p6 (bold) = bold;
7758#		%p7 (invisible) = not displayable;
7759#		%p8 (protected) is ignored; and
7760#		%p9 (alt char set) = alt char set.
7761#	 The code to do this is:
7762#		\E[0		OUTPUT	\E[0
7763#		%?%p1%p6%O	IF	(standout; bold) OR
7764#		%t;1		THEN	OUTPUT	;1
7765#		%;		ENDIF
7766#		%?%p2		IF	underline
7767#		%t;4		THEN	OUTPUT	;4
7768#		%;		ENDIF
7769#		%?%p4		IF	blink
7770#		%t;5		THEN	OUTPUT	;5
7771#		%;		ENDIF
7772#		%?%p1%p3%O	IF	(standout; reverse) OR
7773#		%t;7		THEN	OUTPUT	;7
7774#		%;		ENDIF
7775#		%?%p7		IF	invisible
7776#		%t;8		THEN	OUTPUT	;8
7777#		%;		ENDIF
7778#		m		OUTPUT	m
7779#		%?%p9		IF	altcharset
7780#		%t^N		THEN	OUTPUT	^N
7781#		%e^O		ELSE	OUTPUT	^O
7782#		%;		ENDIF
7783# sgr0: Everything is turned off (including alternate character set), since
7784#	there is no way of knowing what it is that the program wants turned
7785#	off.
7786# smul: The "underline" attribute is reconfigurable to an overline or
7787#	strikethru, or (as done with \E[;3+} in is2=), to a line at the true
7788#	bottom of the character cell.  This was done to allow for more readable
7789#	underlined characters, and to be able to distinguish between an
7790#	underlined space, an underscore, and an underlined underscore.
7791# xenl: Terminal can be configured to not need this, but this "glitch"
7792#	behavior is actually preferable with autowrap terminals.
7793#
7794# Parameters kf31= thru kf53= actually contain the strings sent by the shifted
7795# Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
7796# string modifies the 'O' in kf43 to kf46 to a '$'.
7797#
7798# kcbt was originally ^I but redefined in is2=.
7799# kHOM was \E[H originally but redefined in is2=, as were a number of
7800# other keys.
7801# kDC was originally \177 but redefined in is2=.
7802#
7803# kbs:	Shift was also ^H originally but redefined as \E$^H in is2=.
7804# tsl:	Go to window 2, then do an hpa=.
7805#
7806#------- flash=\E[8;3!}^G\E[3;3!}
7807#------- flash=\E[?5h$<100>\E[?5l
7808# There are two ways to flash the screen, both of which have their drawbacks.
7809# The first is to set the bell mode to video, transmit a bell character, and
7810# set the bell mode back - but to what?  There is no way of knowing what the
7811# user's old bell setting was before we messed with it.  Worse, the command to
7812# set the bell mode also sets the key click volume, and there is no way to say
7813# "leave that alone", or to know what it's set to, either.
7814# The second way to do a flash is to set the screen to inverse video, pad for a
7815# tenth of a second, and set it back - but like before, there's no way to know
7816# that the screen wasn't ALREADY in inverse video, or that the user may prefer
7817# it that way.  The point is moot anyway, since vi (and probably other
7818# programs) assume that by defining flash=, you want the computer to use it
7819# INSTEAD of bel=, rather than as a secondary type of signal.
7820#
7821#------- cvvis=\E[+{
7822# The is the power on setting, which is also as visible as the cursor
7823# gets.
7824#-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
7825# Windowing is possible, but not defined here because it is also used to
7826# emulate status line functions.  Allowing a program to set a window could
7827# clobber the status line or render it unusable.  There is additional memory,
7828# but screen scroll functions are destructive and do not make use of it.
7829#
7830#-------   dim=			Not available in power on mode.
7831# You have a choice of defining low intensity characters as "half bright" and
7832# high intensity as "normal", or defining low as "normal" and high as "bold".
7833# No matter which you choose, only one of either "half bright" or "bold" is
7834# available at any time, so taking the time to override the default is
7835# pointless.
7836#
7837#-------  prot=\E[=0;99m
7838# Not defined, because it appears to have some strange side effects.
7839#------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
7840#------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
7841#-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
7842#	 Available, but making them available to programs is inadvisable.
7843#	 The code to do this is:
7844#		%?%p1%{24}%<	IF	((key; 24) <;
7845#		%p1%{30}%>		 ((key; 30) >;
7846#		%p1%{54}%<		  (key; 54) <
7847#		%A			 ) AND
7848#		%O		  	) OR
7849#	 [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
7850#		%t\E[		THEN	OUTPUT	\E[
7851#		%p1%d			OUTPUT	(key) as decimal
7852#	 [next line applies to pfx only]
7853#		;1			OUTPUT	;1
7854#		u			OUTPUT	u
7855#		\177			OUTPUT	\177
7856#		%p2%s			OUTPUT	(string) as string
7857#		\177			OUTPUT	\177
7858#	 [DEL chosen as delimiter, but could be any character]
7859#	 [implied:		ELSE	do nothing]
7860#		%;		ENDIF
7861#
7862#-------   rs2=
7863# Not defined since anything it might do could be done faster and easier with
7864# either Meta-Shift-Reset or the main power switch.
7865#
7866#-------  smkx=\E[1!z
7867#-------  rmkx=\E[!z
7868# These sequences apply to the cursor and setup keys only, not to the
7869# numeric keypad.  But it doesn't matter anyway, since making these
7870# available to programs is inadvisable.
7871# For the key definitions below, all sequences beginning with \E$ are
7872# custom and programmed into the terminal via is2.  \E$ also has no
7873# meaning to any other terminal.
7874#
7875#------- cmdch=\E[;%p1%d!t
7876# Available, but making it available to programs is inadvisable.
7877#------- smxon=\E[1*q
7878# Available, but making it available to programs is inadvisable.
7879# Terminal will send XON/XOFF on buffer overflow.
7880#------- rmxon=\E[*q
7881# Available, but making it available to programs is inadvisable.
7882# Terminal will not notify on buffer overflow.
7883#-------   smm=\E[2+x
7884#-------   rmm=\E[+x
7885# Available, but making them available to programs is inadvisable.
7886#
7887# Printing:
7888#	 It's not made clear in the manuals, but based on other ansi/vt type
7889#	 terminals, it's a good guess that this terminal is capable of both
7890#	 "transparent print" (which doesn't copy data to the screen, and
7891#	 therefore needs mc5i: specified to say so) and "auxilliary print"
7892#	 (which does duplicate printed data on the screen, in which case mc4=
7893#	 and mc5= should use the \E[?4i and \E[?5i strings instead).
7894#
7895# (esr: I have commented out is2 in order to avoid overflowing termcap's
7896# 1024-byte limit.)
7897
7898# (untranslatable capabilities removed to fit entry within 1023 bytes)
7899# (sgr removed to fit entry within 1023 bytes)
7900# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
7901hds200|Human Designed Systems HDS200:\
7902	:am:bw:es:hs:km:mi:ms:xn:xo:\
7903	:co#80:it#8:li#24:lm#0:\
7904	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
7905	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
7906	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
7907	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
7908	:ds=\E[2\041w\r\n\E[\041w:ei=\E[4l:fs=\E[\041w:ho=\E[H:\
7909	:im=\E[4h:k1=^\001\r:k2=^\002\r:k3=^\003\r:k4=^\004\r:\
7910	:k5=^\005\r:k6=^\006\r:k7=^\007\r:k8=^\008\r:k9=^\009\r:\
7911	:kD=\177:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
7912	:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[H\E[A:mb=\E[0;5m:\
7913	:md=\E[0;1m:me=\E[m\017:mr=\E[0;7m:nd=\E[C:nw=\E[E:rc=\E8:\
7914	:sc=\E7:se=\E[m\017:sf=\ED:so=\E[0;1;7m:sr=\EM:st=\EH:\
7915	:ta=^I:ts=\E[2\041w\E[%i%p1%dG:ue=\E[m\017:up=\E[A:\
7916	:us=\E[0;4m:ve=\E[+{:vi=\E[6+{:
7917
7918# :ta: through :ce: included to specify padding needed in raw mode.
7919# (avt-ns: added empty <acsc> to suppress a tic warning --esr)
7920# (untranslatable capabilities removed to fit entry within 1023 bytes)
7921# (sgr removed to fit entry within 1023 bytes)
7922# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
7923avt-ns|concept avt no status line:\
7924	:am:bs:eo:mi:ul:xn:xo:\
7925	:co#80:it#8:li#24:lm#192:\
7926	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
7927	:RI=\E[%dC:UP=\E[%dA:ae=\016:al=\E[L:as=\017:bl=^G:bt=\E[Z:\
7928	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
7929	:cs=\E[%i%d;%dr:ct=\E[2g:dc=\E[P:dl=\E[M:do=^J:ei=\E4l:\
7930	:ho=\E[H:i1=\E[=103l\E[=205l:ic=\E[@:im=\E1:ip=:\
7931	:is=\E[1*q\E[2\041t\E[7\041t\E[=4;101;119;122l\E[=107;118;207h\E)1\E[1Q\EW\E[\041y\E[\041z\E>\E[0\0720\07232\041r\E[0*w\E[w\E2\r\n\E[2;27\041t:\
7932	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kD=\E^B\r:kI=\E^A\r:kb=^H:\
7933	:kd=\E[B:ke=\E[\041z\E[0;2u:kh=\E[H:kl=\E[D:kr=\E[C:\
7934	:ks=\E[1\041z\E[0;3u:ku=\E[A:le=^H:ll=\E[24H:mb=\E[5m:\
7935	:md=\E[1m:me=\E[m:mh=\E[1\041{:mr=\E[7m:nd=\E[C:rc=\E8:\
7936	:sc=\E7:se=\E[7\041{:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
7937	:te=\E[w\E2\r\n:ti=\E[=4l\E[1;24w\E2\r:ue=\E[4\041{:\
7938	:up=\E[A:us=\E[4m:ve=\E[=119l:vs=\E[=119h:
7939avt-rv-ns|concept avt in reverse video mode/no status line:\
7940	:i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:\
7941	:tc=avt-ns:
7942avt-w-ns|concept avt in 132 column mode/no status line:\
7943	:i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:\
7944	:tc=avt-ns:
7945avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video:\
7946	:i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
7947	:vb=\E[=205l\E[=205h:tc=avt-ns:
7948
7949# Concept AVT with status line. We get the status line using the
7950# "Background status line" feature of the terminal. We swipe the
7951# first line of memory in window 2 for the status line, keeping
7952# 191 lines of memory and 24 screen lines for regular use.
7953# The first line is used instead of the last so that this works
7954# on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
7955# assumes an 8 page AVT but lm isn't currently used anywhere.)
7956#
7957avt+s|concept avt status line changes:\
7958	:es:hs:\
7959	:lm#191:\
7960	:ds=\E[0*w:fs=\E[1;1\041w:\
7961	:i2=\E[2w\E[2\041w\E[1;1;1;80w\E[H\E[2*w\E[1\041w\E2\r\n:\
7962	:te=\E[2w\E2\r\n:ti=\E[2;25w\E2\r:\
7963	:ts=\E[2;1\041w\E[;%p1%dH\E[2K:
7964avt|avt-s|concept-avt|avt w/80 columns:\
7965	:tc=avt+s:tc=avt-ns:
7966avt-rv|avt-rv-s|avt reverse video w/sl:\
7967	:i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:tc=avt+s:tc=avt-ns:
7968avt-w|avt-w-s|concept avt 132 cols+status:\
7969	:i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:tc=avt+s:tc=avt-ns:
7970avt-w-rv|avt-w-rv-s|avt wide+status+rv:\
7971	:i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
7972	:vb=\E[=205l\E[=205h:tc=avt+s:\
7973	:tc=avt-ns:
7974
7975#### Contel Business Systems.
7976#
7977
7978# Contel c300 and c320 terminals.
7979contel300|contel320|c300|Contel Business Systems C-300 or C-320:\
7980	:am:in:xo:\
7981	:co#80:li#24:sg#1:\
7982	:al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:\
7983	:ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:im=:ip=:k0=\ERJ:\
7984	:k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:k7=\ERG:\
7985	:k8=\ERH:k9=\ERI:kb=^H:le=^H:ll=\EH\EA:me=\E\041\0:nd=\EC:\
7986	:se=\E\041\0:sf=^J:so=\E\041\r:st=\E1:up=\EA:\
7987	:vb=\020\002\020\003:
7988# Contel c301 and c321 terminals.
7989contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321:\
7990	:ei=:ic@:im=:ip@:se=\E\041\0:so=\E\041\r:vb@:\
7991	:tc=contel300:
7992
7993#### Data General (dg)
7994#
7995# According to James Carlson <carlson@xylogics.com> writing in January 1995,
7996# the terminals group at Data General was shut down in 1991; all these
7997# terminals have thus been discontinued.
7998#
7999# DG terminals have function keys that respond to the SHIFT and CTRL keys,
8000# e.g., SHIFT-F1 generates a different code from F1.  To number the keys
8001# sequentially, first the unmodified key codes are listed as F1 through F15.
8002# Then their SHIFT versions are listed as F16 through F30, their CTRL versions
8003# are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
8004# F46 through F60.  This is done in the private "includes" below whose names
8005# start with "dgkeys+".
8006#
8007# DG terminals generally support 8 bit characters.  For each of these terminals
8008# two descriptions are supplied:
8009#	1) A default description for 8 bits/character communications, which
8010#	   uses the default DG international character set and keyboard codes.
8011#	2) A description with suffix "-7b" for 7 bits/character communications.
8012#	   This description must use the NON-DEFAULT native keyboard language.
8013
8014# Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
8015# Ctrl/Shift fdkeys (kf34-kf44).
8016
8017# Most of these entries are `official' and came from DG.  Others are marked.
8018
8019dgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys:\
8020	:%9=\233i:F1=\233011z:F2=\233012z:F3=\233013z:\
8021	:F4=\233014z:F5=\233000z:F6=\233101z:F7=\233102z:\
8022	:F8=\233103z:F9=\233104z:FA=\233105z:FB=\233106z:\
8023	:FC=\233107z:FD=\233108z:FE=\233109z:FF=\233110z:\
8024	:FG=\233111z:FH=\233112z:FI=\233113z:FJ=\233114z:\
8025	:FK=\233100z:FL=\233201z:FM=\233202z:FN=\233203z:\
8026	:FO=\233204z:FP=\233205z:FQ=\233206z:FR=\233207z:\
8027	:FS=\233208z:FT=\233209z:FU=\233210z:FV=\233211z:\
8028	:FW=\233212z:FX=\233213z:FY=\233214z:FZ=\233200z:\
8029	:Fa=\233301z:Fb=\233302z:Fc=\233303z:Fd=\233304z:\
8030	:Fe=\233305z:Ff=\233306z:Fg=\233307z:Fh=\233308z:\
8031	:Fi=\233309z:Fj=\233310z:Fk=\233311z:Fl=\233312z:\
8032	:Fm=\233313z:Fn=\233314z:Fo=\233300z:K1=\233020z:\
8033	:K3=\233021z:K4=\233022z:K5=\233023z:k1=\233001z:\
8034	:k2=\233002z:k3=\233003z:k4=\233004z:k5=\233005z:\
8035	:k6=\233006z:k7=\233007z:k8=\233008z:k9=\233009z:\
8036	:k;=\233010z:kC=\2332J:kE=\233K:kd=\233B:kh=\233H:\
8037	:kl=\233D:kr=\233C:ku=\233A:
8038
8039dgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys:\
8040	:%9=\E[i:F1=\E[011z:F2=\E[012z:F3=\E[013z:F4=\E[014z:\
8041	:F5=\E[000z:F6=\E[101z:F7=\E[102z:F8=\E[103z:F9=\E[104z:\
8042	:FA=\E[105z:FB=\E[106z:FC=\E[107z:FD=\E[108z:FE=\E[109z:\
8043	:FF=\E[110z:FG=\E[111z:FH=\E[112z:FI=\E[113z:FJ=\E[114z:\
8044	:FK=\E[100z:FL=\E[201z:FM=\E[202z:FN=\E[203z:FO=\E[204z:\
8045	:FP=\E[205z:FQ=\E[206z:FR=\E[207z:FS=\E[208z:FT=\E[209z:\
8046	:FU=\E[210z:FV=\E[211z:FW=\E[212z:FX=\E[213z:FY=\E[214z:\
8047	:FZ=\E[200z:Fa=\E[301z:Fb=\E[302z:Fc=\E[303z:Fd=\E[304z:\
8048	:Fe=\E[305z:Ff=\E[306z:Fg=\E[307z:Fh=\E[308z:Fi=\E[309z:\
8049	:Fj=\E[310z:Fk=\E[311z:Fl=\E[312z:Fm=\E[313z:Fn=\E[314z:\
8050	:Fo=\E[300z:K1=\E[020z:K3=\E[021z:K4=\E[022z:K5=\E[023z:\
8051	:k1=\E[001z:k2=\E[002z:k3=\E[003z:k4=\E[004z:k5=\E[005z:\
8052	:k6=\E[006z:k7=\E[007z:k8=\E[008z:k9=\E[009z:k;=\E[010z:\
8053	:kC=\E[2J:kE=\E[K:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:
8054
8055dgkeys+11|Private entry describing 11 minimal-subset DG mode special keys:\
8056	:F1=^^{:F2=^^a:F3=^^b:F4=^^c:F5=^^d:F6=^^e:F7=^^f:F8=^^g:\
8057	:F9=^^h:FA=^^i:FB=^^j:FC=^^k:FD=^^1:FE=^^2:FF=^^3:FG=^^4:\
8058	:FH=^^5:FI=^^6:FJ=^^7:FK=^^8:FL=^^9:FM=^^\072:FN=^^;:\
8059	:FO=^^\041:FP=^^":FQ=^^#:FR=^^$:FS=^^%:FT=^^&:FU=^^':FV=^^(:\
8060	:FW=^^):FX=^^*:FY=^^+:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:\
8061	:k6=^^v:k7=^^w:k8=^^x:k9=^^y:k;=^^z:kC=^L:kE=^K:kd=^Z:kh=^H:\
8062	:kl=^Y:kr=^X:ku=^W:
8063
8064dgkeys+15|Private entry describing 15 DG mode special keys:\
8065	:#2=^^^H:#4=^^^Y:%i=^^^X:F1=^^{:F2=^^|:F3=^^}:F4=^^~:F5=^^p:\
8066	:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:FB=^^f:FC=^^g:FD=^^h:\
8067	:FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:FJ=^^n:FK=^^`:FL=^^1:\
8068	:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:FR=^^7:FS=^^8:FT=^^9:\
8069	:FU=^^\072:FV=^^;:FW=^^<:FX=^^=:FY=^^>:FZ=^^0:Fa=^^\041:\
8070	:Fb=^^":Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:Fg=^^':Fh=^^(:Fi=^^):\
8071	:Fj=^^*:Fk=^^+:Fl=^^\054:Fm=^^-:Fn=^^.:Fo=^^ :K1=^^\:K3=^^]:\
8072	:K4=^^\136:K5=^^_:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:\
8073	:k7=^^w:k8=^^x:k9=^^y:k;=^^z:
8074
8075# Data General color terminals use the "Tektronix" color model.  The total
8076# number of colors varies with the terminal model, as does support for
8077# attributes used in conjunction with color.
8078
8079# Removed u7, u8 definitions since they conflict with tack:
8080#		Preserve user-defined colors in at least some cases.
8081#	u7=^^Fh,
8082#		Default is ACM mode.
8083#	u8=^^F}20^^Fi^^F}21,
8084#
8085dgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode:\
8086	:ut:\
8087	:Co#16:NC#53:pa#256:\
8088	:AB=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c:\
8089	:AF=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c:\
8090	:Sb=\036B%+0:Sf=\036A%+0:op=\036Ad\036Bd:
8091
8092dg+fixed|Fixed color info for DG D430C terminals in DG mode:\
8093	:tc=dgunix+fixed:
8094
8095# Video attributes are coordinated using static variables set by "sgr", then
8096# checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings.
8097# (D=dim, U=underline, B=blink, R=reverse.)
8098dg+color8|Color info for Data General D220 and D230C terminals in ANSI mode:\
8099	:ut:\
8100	:Co#8:NC#16:pa#64:\
8101	:AB=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
8102	:AF=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
8103	:..Sb=\E[4%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
8104	:..Sf=\E[3%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
8105	:op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m:
8106
8107dg+color|Color info for Data General D470C terminals in ANSI mode:\
8108	:Co#16:NC#53:pa#256:\
8109	:AB=\E[%?%p1%{8}%<%t4%p1%e=%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
8110	:AF=\E[%?%p1%{8}%<%t3%p1%e<%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
8111	:..Sb=\E[%?%p1%{8}%<%t4%e=%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
8112	:..Sf=\E[%?%p1%{8}%<%t3%e<%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
8113	:tc=dg+color8:
8114
8115dgmode+color8|Color info for Data General D220/D230C terminals in DG mode:\
8116	:ut:\
8117	:Co#8:NC#16:pa#64:\
8118	:AB=\036B%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c:\
8119	:AF=\036A%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c:\
8120	:Sb=\036B%+0:Sf=\036A%+0:op=\036Ad\036Bd:
8121
8122dgmode+color|Color info for Data General D470C terminals in DG mode:\
8123	:Co#16:pa#256:\
8124	:AB=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c:\
8125	:AF=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c:\
8126	:tc=dgmode+color8:
8127
8128dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode:\
8129	:cc:ut:\
8130	:Co#52:NC#53:pa#26:\
8131	:..Ip=\036RG0%p1%02X%p2%{256}%*%{1001}%/%02X%p3%{256}%*%{1001}%/%02X%p4%{256}%*%{1001}%/%02X%p5%{256}%*%{1001}%/%02X%p6%{256}%*%{1001}%/%02X%p7%{256}%*%{1001}%/%02X:\
8132	:oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00:\
8133	:op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D:\
8134	:..sp=\036RG2%p1%02X:
8135
8136# Colors are in the order:  normal, reverse, dim, dim + reverse.
8137dg+ccc|Configurable color info for DG D430C terminals in DG mode:\
8138	:cc:ut:\
8139	:Co#52:NC#53:pa#26:\
8140	:..Ip=\036RG0%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c%p2%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p3%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p4%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p5%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p6%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p7%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c:\
8141	:oc=\036RG01\07200??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00:\
8142	:op=\036RF4831\072\036RF2>31;\036RF1=31<\036RF3?31=:\
8143	:sp=\036RG2%+^P%+^P:
8144
8145# The generic DG terminal type (an 8-bit-clean subset of the 6053)
8146# Initialization string 1 sets:
8147#	^R		- vertical scrolling enabled
8148#	^C		- blinking enabled
8149dg-generic|Generic Data General terminal in DG mode:\
8150	:NL:am:bw:ms:xo:\
8151	:co#80:li#24:\
8152	:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:i1=^R^C:le=^Y:\
8153	:mb=^N:me=^O^U^]:mh=^\:nd=^X:nw=^J:ps=^Q:se=^]:sf=^J:so=^\:\
8154	:ue=^U:up=^W:us=^T:\
8155	:tc=dgkeys+11:
8156
8157# (Some performance can be gained over the generic DG terminal type)
8158dg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053:\
8159	:xo@:\
8160	:ho=^P\0\0:ll=^P\0^W:tc=dg-generic:
8161
8162# Like 6053, but adds reverse video and more keypad and function keys.
8163d200|d200-dg|Data General DASHER D200:\
8164	:ho@:ll@:md=^^D^T:me=\017\025\035\036E:mr=^^D:\
8165	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;:\
8166	:se=^^E^]:so=^^D^\:\
8167	:tc=dgkeys+15:tc=dg6053:
8168
8169# DASHER D210 series terminals in ANSI mode.
8170#	Reverse video, no insert/delete character/line, 7 bits/character only.
8171#
8172# Initialization string 1 sets:
8173#	<0		- scrolling enabled
8174#	<1		- blink enabled
8175#	<4		- print characters regardless of attributes
8176d210|d214|Data General DASHER D210 series:\
8177	:NL:am:bw:ms:xo:\
8178	:co#80:li#24:\
8179	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bl=^G:cb=\E[1K:\
8180	:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:do=\E[B:\
8181	:ho=\E[H:i1=\E[<0;<1;<4l:le=^H:ll=\E[H\E[A:mb=\E[5m:\
8182	:md=\E[4;7m:me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^J:\
8183	:..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m:\
8184	:se=\E[m:sf=^J:so=\E[2;7m:ue=\E[m:up=\E[A:us=\E[4m:\
8185	:tc=dgkeys+7b:
8186
8187# DASHER D210 series terminals in DG mode.
8188# Like D200, but adds clear to end-of-screen and needs XON/XOFF.
8189d210-dg|d214-dg|Data General DASHER D210 series in DG mode:\
8190	:xo:\
8191	:cd=^^FF:tc=d200:
8192
8193# DASHER D211 series terminals in ANSI mode.
8194# Like the D210, but with 8-bit characters and local printer support.
8195#
8196# Initialization string 2 sets:
8197#	\E[2;1;1;1v
8198#		2;1	- 8 bit operations
8199#		1;1	- 8 bit (international) keyboard language
8200#	\E(B		- default primary character set (U.S. ASCII)
8201#	\E)4		- default secondary character set (international)
8202#	^O		- primary character set
8203#
8204d211|d215|Data General DASHER D211 series:\
8205	:km:\
8206	:is=\E[2;1;1;1v\E(B\E)4\017:ps=\E[i:tc=dgkeys+8b:tc=d210:
8207
8208# Initialization string 2 sets:
8209#	\E[2;0;1;0v
8210#		2;0	- 7 bit operations
8211#		1;0	- 7 bit (native) keyboard language
8212#	\E(0		- default character set (the keyboard native language)
8213#	^O		- primary character set
8214d211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode:\
8215	:km@:\
8216	:is=\E[2;0;1;0v\E(0\017:tc=dgkeys+7b:tc=d211:
8217
8218# Like the D210 series, but adds support for 8-bit characters.
8219#
8220# Reset string 2 sets:
8221#	^^N	- secondary character set
8222#	^^FS0>	- 8 bit international character set
8223#	^^O	- primary character set
8224#	^^FS00	- default character set (matching the native keyboard language)
8225#
8226d211-dg|d215-dg|Data General DASHER D211 series in DG mode:\
8227	:km:\
8228	:r2=\036N\036FS0>\036O\036FS00:tc=d210-dg:
8229
8230d216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode:\
8231	:tc=d211-dg:
8232
8233# Enhanced DG mode with changes to be more UNIX compatible.
8234d216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode:\
8235	:5i:\
8236	:it#8:\
8237	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:\
8238	:ac=a\177j$k"l\041m#n)q+t'u&v(w%x*:ae=\036FS00:\
8239	:as=\036FS11:ce=^^PE:ch=\020%.\177:cl=^^PH:cv=\020\177%.:\
8240	:do=^^PB:ho=^^PF:i1=\022\003\036P@1:i2=\036Fz0:kC=^^PH:\
8241	:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:kr=^^PC:ku=^^PA:le=^^PD:\
8242	:mb=^^PI:me=\036PJ\025\035\036E\036FS00:nd=^^PC:pf=^^Fa:\
8243	:po=^^F`:ps=\036F?9:r2=\036N\036FS0E\036O\036FS00:\
8244	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
8245	:sf=^J:ta=^I:up=^^PA:\
8246	:tc=dgkeys+15:tc=d216-dg:
8247d216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines:\
8248	:li#25:\
8249	:i2=\036Fz2:tc=d216+:
8250
8251d217-unix|Data General DASHER D217 in DG-UNIX mode:\
8252	:tc=d216-unix:
8253d217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines:\
8254	:tc=d216-unix-25:
8255
8256# DASHER D220 color terminal in ANSI mode.
8257# Like the D470C but with fewer colors and screen editing features.
8258#
8259# Initialization string 1 sets:
8260#	\E[<0;<1;<4l
8261#		<0	- scrolling enabled
8262#		<1	- blink enabled
8263#		<4	- print characters regardless of attributes
8264#	\E[m		- all attributes off
8265# Reset string 1 sets:
8266#	\Ec		- initial mode defaults (RIS)
8267#
8268d220|Data General DASHER D220:\
8269	:5i@:\
8270	:AL@:DL@:al@:dl@:i1=\E[<0;<1;<4l\E[m:pf@:po@:r1=\Ec:tc=dg+color8:tc=d470c:
8271
8272d220-7b|Data General DASHER D220 in 7 bit mode:\
8273	:5i@:\
8274	:AL@:DL@:al@:dl@:i1=\E[<0;<1;<4l\E[m:pf@:po@:r1=\Ec:tc=dg+color8:tc=d470c-7b:
8275
8276# Initialization string 3 sets:
8277#	- default cursor (solid rectangle)
8278# Reset string 2 sets:
8279#	^^N     - secondary character set
8280#	^^FS0>  - 8 bit international character set
8281#	^^O     - primary character set
8282#       ^^FS00  - default character set (matching the native keyboard language)
8283#
8284d220-dg|Data General DASHER D220 color terminal in DG mode:\
8285	:5i@:\
8286	:al@:dl@:ho@:i2=\036FQ2:is@:ll@:pf@:po@:r1@:\
8287	:r2=\036N\036FS0>\036O\036FS00:tc=dgmode+color8:\
8288	:tc=d470c-dg:
8289
8290# DASHER D230C color terminal in ANSI mode.
8291# Like the D220 but with minor ANSI compatibility improvements.
8292#
8293d230c|d230|Data General DASHER D230C:\
8294	:ke=\E[2;1v:ks=\E[2;0v:mb=\E[5;50m:md=\E[4;7;50m:\
8295	:me=\E[50m\E)4\017:mh=\E[2;50m:mr=\E[7;50m:nw=^M^J:\
8296	:..sa=\E[50%?%p1%p3%|%p6%|%t;7%{1}%e%{0}%;%PR%?%p4%t;5%{1}%e%{0}%;%PB%?%p2%p6%|%t;4%{1}%e%{0}%;%PU%?%p1%p5%|%t;2%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;:\
8297	:se=\E[50m:so=\E[2;7;50m:ue=\E[50m:us=\E[4;50m:\
8298	:tc=dgkeys+7b:tc=d220:
8299
8300d230c-dg|d230-dg|Data General DASHER D230C in DG mode:\
8301	:tc=d220-dg:
8302
8303# DASHER D400/D450 series terminals.
8304# These add intelligent features like insert/delete to the D200 series.
8305#
8306# Initialization string 2 sets:
8307#	^^FQ2		- default cursor (solid rectangle)
8308#	^^FW		- character protection disabled
8309#	^^FJ		- normal (80 column) mode
8310#	^^F\^		- horizontal scrolling enabled (for alignment)
8311#	^^FX004?	- margins at columns 0 and 79
8312#	^^F]		- horizontal scrolling disabled
8313#	^^O		- primary character set
8314#	^^FS00		- default character set (the keyboard native language)
8315#	- (should reset scrolling regions, but that glitches the screen)
8316# Reset string 1 sets:
8317#	^^FA		- all terminal defaults except scroll rate
8318# Reset string 2 sets:
8319#	^^F]		- horizontal scrolling disabled
8320#	^^FT0		- jump scrolling
8321#
8322d400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series:\
8323	:5i:\
8324	:ac=j$k"l\041m#n)q+t'u&v(w%x*:ae=^^O:al=^^FH:as=^^N:\
8325	:ch=\020%.\177:cv=\020\177%.:dc=^^K:dl=^^FI:\
8326	:eA=\036N\036FS11\036O:ei=:ho=^^FG:ic=^^J:im=:\
8327	:is=\036FQ2\036FW\036FJ\036F\136\036FX004?\036F]\036O\036FS00:\
8328	:ll=\036FG\027:me=\017\025\035\036E\036O:pf=^^Fa:\
8329	:po=^^F`:r1=^^FA:r2=\036F]\036FT0:\
8330	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036%?%p9%tN%eO%;:\
8331	:sr=^^I:ve=\036FQ2:vi=\036FQ0:\
8332	:tc=d210-dg:
8333
8334# DASHER D410/D460 series terminals in ANSI mode.
8335# These add a large number of intelligent terminal features.
8336#
8337# Initialization string 1 sets:
8338#	\E[<0;<1;<2;<4l
8339#		<0	- scrolling enabled
8340#		<1	- blink enabled
8341#		<2	- horizontal scrolling enabled (for alignment)
8342#		<4	- print characters regardless of attributes
8343#	\E[5;0v		- normal (80 column) mode
8344#	\E[1;1;80w	- margins at columns 1 and 80
8345#	\E[1;6;<2h
8346#		1	- print all characters even if protected
8347#		6	- character protection disabled
8348#		<2	- horizontal scrolling disabled
8349#	- (should reset scrolling regions, but that glitches the screen)
8350#
8351# Initialization string 2 sets:
8352#	\E[3;2;2;1;1;1v
8353#		3;2	- default cursor (solid rectangle)
8354#		2;1	- 8 bit operations
8355#		1;1	- international keyboard language
8356#	\E(B		- default primary character set (U.S. ASCII)
8357#	\E)4		- default secondary character set (international)
8358#	^O		- primary character set
8359#
8360#	Reset string 1 sets:
8361#	\Ec		- initial mode defaults (RIS)
8362#	\E[<2h		- horizontal scrolling disabled
8363#
8364# Reset string 2 sets:
8365#	\E[4;0;2;1;1;1v
8366#		4;0	- jump scrolling
8367#		2;1	- 8 bit operations
8368#		1;1	- 8 bit (international) keyboard language
8369#	\E(B		- default primary character set (U.S. ASCII)
8370#	\E)4		- default secondary character set (international)
8371#
8372d410|d411|d460|d461|Data General DASHER D410/D460 series:\
8373	:5i:\
8374	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:\
8375	:ac=j$k"l\041m#n)q+t'u&v(w%x*:ae=\E)4\017:al=\E[L:\
8376	:as=\E)6\016:dc=\E[P:dl=\E[M:ei=:\
8377	:i1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h:\
8378	:ic=\E[@:im=:is=\E[3;2;2;1;1;1v\E(B\E)4\017:\
8379	:me=\E[m\E)4\017:pf=\E[4i:po=\E[5i:r1=\Ec\E[<2h:\
8380	:r2=\E[4;0;2;1;1;1v\E(B\E)4:\
8381	:..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;:\
8382	:sr=\EM:ve=\E[3;2v:vi=\E[3;0v:\
8383	:tc=d211:
8384
8385# Initialization string 2 sets:
8386#	\E[3;2;2;0;1;0v
8387#		3;2	- default cursor (solid rectangle)
8388#		2;0	- 7 bit operations
8389#		1;0	- 7 bit (native) keyboard language
8390#	\E(0		- default character set (the keyboard native language)
8391#	^O		- primary character set
8392#
8393# Reset string 2 sets:
8394#	\E[4;0;2;0;1;0v
8395#		4;0	- jump scrolling
8396#		2;0	- 7 bit operations
8397#		1;0	- 7 bit (native) keyboard language
8398#	\E(0		- default character set (the keyboard native language)
8399#
8400d410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode:\
8401	:km@:\
8402	:ae=^O:as=^N:eA=\E)6:is=\E[3;2;2;0;1;0v\E(0\017:\
8403	:me=\E[m\017:r2=\E[4;0;2;0;1;0v\E(0:\
8404	:..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;:tc=dgkeys+7b:\
8405	:tc=d410:
8406
8407d410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode:\
8408	:km:\
8409	:ae=\036FS00:as=\036FS11:eA@:\
8410	:me=\017\025\035\036E\036FS00:\
8411	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:tc=d400-dg:
8412
8413# DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
8414#
8415# Initialization string 1 sets:
8416#	\E[<0;<1;<2;<4l
8417#		<0	- scrolling enabled
8418#		<1	- blink enabled
8419#		<2	- horizontal scrolling enabled (for alignment)
8420#		<4	- print characters regardless of attributes
8421#	\E[5;1v		- compressed (135 column) mode
8422#	\E[1;1;126	- margins at columns 1 and 126
8423#	\E[1;6;<2h
8424#		1	- print all characters even if protected
8425#		6	- character protection disabled
8426#		<2	- horizontal scrolling disabled
8427#	- (should reset scrolling regions, but that glitches the screen)
8428#
8429# Reset string 1 sets:
8430#	\Ec		- initial mode defaults (RIS)
8431#	\E[5;1v		- compressed (135 column) mode
8432#	\E[1;1;126w	- margins at columns 1 and 126
8433#	\E[<2h		- horizontal scrolling disabled
8434#
8435d410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode:\
8436	:co#126:\
8437	:i1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h:\
8438	:r1=\Ec\E[5;1v\E[1;1;126w\E[<2h:\
8439	:tc=d410:
8440
8441d410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode:\
8442	:co#126:\
8443	:i1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h:\
8444	:r1=\Ec\E[5;1v\E[1;1;126w\E[<2h:\
8445	:tc=d410-7b:
8446
8447d412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode:\
8448	:tc=d410-dg:
8449
8450# These add intelligent features like scrolling regions.
8451d412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode:\
8452	:al=^^FH:ch=\036FP%2.2XFF:cl=^^FE:cm=\036FP%r%2.2X%2.2X:\
8453	:cv=\036FPFF%2.2X:dc=^^K:dl=^^FI:ei=:ho=^^FG:ic=^^J:im=:\
8454	:is=\036FQ5\036FW\036FJ\036F\136\036FX004F\036O\036FS00:\
8455	:ll=\036FG\036PA:ps=^A:r1=\036FA\036FT0:r2=\036P@1:\
8456	:rc=\036F}11:sc=\036F}10:sr=^^I:ve=\036FQ5:vi=\036FQ0:\
8457	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X:\
8458	:tc=d216+:
8459d412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode:\
8460	:co#132:\
8461	:is=\036FQ5\036FW\036FK\036F\136\036FX0083\036O\036FS00:\
8462	:r2=\036P@1\036FK\036FX0083:\
8463	:..wi=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X:tc=d412-unix:
8464d412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines:\
8465	:li#25:\
8466	:i2=\036Fz2:\
8467	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X:tc=d462+:
8468d412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line:\
8469	:es:hs:\
8470	:cl=\036FG\036PH:fs=\036F}01\022:\
8471	:i2=\036Fz2\036F}00\036FB180000\036F}01:ll@:\
8472	:ts=\036F}00\036FP%p1%2.2X18\036PG:\
8473	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X:tc=d462+:
8474
8475#	Relative cursor motions are confined to the current window,
8476#	which is not what the scrolling region specification expects.
8477#	Thus, relative vertical cursor positioning must be deleted.
8478d412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region:\
8479	:..cs=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;:\
8480	:do@:ll@:up@:\
8481	:tc=d462+:
8482
8483d413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode:\
8484	:tc=d412-unix:
8485d413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode:\
8486	:tc=d412-unix-w:
8487d413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines:\
8488	:tc=d412-unix-25:
8489d413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line:\
8490	:tc=d412-unix-s:
8491d413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region:\
8492	:tc=d412-unix-sr:
8493
8494d414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode:\
8495	:tc=d413-unix:
8496d414-unix-w|d464-unix-w|Data General D414/D464 in wide DG-UNIX mode:\
8497	:tc=d413-unix-w:
8498d414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines:\
8499	:tc=d413-unix-25:
8500d414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line:\
8501	:tc=d413-unix-s:
8502d414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region:\
8503	:tc=d413-unix-sr:
8504
8505d430c-dg|d430-dg|Data General D430C in DG mode:\
8506	:tc=d413-dg:tc=dg+fixed:
8507d430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors:\
8508	:tc=d413-dg:tc=dg+ccc:
8509
8510d430c-unix|d430-unix|Data General D430C in DG-UNIX mode:\
8511	:tc=d413-unix:tc=dgunix+fixed:
8512d430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode:\
8513	:tc=d413-unix-w:tc=dgunix+fixed:
8514d430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines:\
8515	:tc=d413-unix-25:tc=dgunix+fixed:
8516d430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line:\
8517	:tc=d413-unix-s:tc=dgunix+fixed:
8518d430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region:\
8519	:tc=d413-unix-sr:tc=dgunix+fixed:
8520d430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors:\
8521	:tc=d413-unix:tc=dgunix+ccc:
8522d430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors:\
8523	:tc=d413-unix-w:tc=dgunix+ccc:
8524d430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors:\
8525	:tc=d413-unix-25:tc=dgunix+ccc:
8526d430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors:\
8527	:tc=d413-unix-s:tc=dgunix+ccc:
8528d430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors:\
8529	:tc=d413-unix-sr:tc=dgunix+ccc:
8530
8531# dg450 from Cornell (not official)
8532dg450|dg6134|data general 6134:\
8533	:le@:nd=^X:tc=dg200:
8534
8535# Not official...
8536# Note: lesser Dasher terminals will not work with vi because vi insists upon
8537# having a command to move straight down from any position on the bottom line
8538# and scroll the screen up, or a direct vertical scroll command.  The 460 and
8539# above have both, the D210/211, for instance, has neither.  We must use ANSI
8540# mode rather than DG mode because standard UNIX tty drivers assume that ^H is
8541# backspace on all terminals.  This is not so in DG mode.
8542# (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
8543# grounds that there is no matching ":ml:"
8544# fixed garbled ":k9=\E[00\:z:" capability -- esr)
8545dg460-ansi|Data General Dasher 460 in ANSI-mode:\
8546	:am:bs:ms:ul:\
8547	:co#80:it#8:li#24:\
8548	:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%2;%2H:dc=\E[P:\
8549	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=^^F@:k0=\E[001z:\
8550	:k1=\E[002z:k2=\E[003z:k3=\E[004z:k4=\E[005z:k5=\E[006z:\
8551	:k6=\E[007z:k7=\E[008z:k8=\E[009z:k9=\E[010z:kb=\E[D:\
8552	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:l1=f2:l2=f3:\
8553	:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l9=f10:le=^H:mb=\E[5m:me=\E[m:\
8554	:mh=\E[2m:mr=\E[7m:nd=\E[C:nl=\ED:se=\E[m:sf=\E[S:so=\E[7m:\
8555	:sr=\E[T:ta=^I:ue=\E[05:up=\E[A:us=\E[4m:
8556
8557# DASHER D470C color terminal in ANSI mode.
8558# Like the D460 but with 16 colors and without a compressed mode.
8559#
8560# Initialization string 1 sets:
8561#	\E[<0;<1;<2;<4l
8562#		<0	- scrolling enabled
8563#		<1	- blink enabled
8564#		<2	- horizontal scrolling enabled (for alignment)
8565#		<4	- print characters regardless of attributes
8566#	\E[1;1;80w	- margins at columns 1 and 80
8567#	\E[1;6;<2h
8568#		1	- print all characters even if protected
8569#		6	- character protection disabled
8570#		<2	- horizontal scrolling disabled
8571#	- (should reset scrolling regions, but that glitches the screen)
8572#
8573d470c|d470|Data General DASHER D470C:\
8574	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:\
8575	:..sa=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;:tc=dg+color:\
8576	:tc=d460:
8577
8578d470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode:\
8579	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:\
8580	:..sa=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm%?%p9%t\016%e\017%;:tc=dg+color:\
8581	:tc=d460-7b:
8582
8583# Initialization string 2 sets:
8584#	^^FQ2		- default cursor (solid rectangle)
8585#	^^FW		- character protection disabled
8586#	^^F\^		- horizontal scrolling enabled (for alignment)
8587#	^^FX004?	- margins at columns 0 and 79
8588#	^^F]		- horizontal scrolling disabled
8589#	^^O		- primary character set
8590#	^^FS00		- default character set (the keyboard native language)
8591#	- (should reset scrolling regions, but that glitches the screen)
8592#
8593d470c-dg|d470-dg|Data General DASHER D470C in DG mode:\
8594	:is=\036FQ2\036FW\036F\136\036FX004?\036F]\036O\036FS00:\
8595	:tc=dgmode+color:tc=d460-dg:
8596
8597# DASHER D555 terminal in ANSI mode.
8598# Like a D411, but has an integrated phone.
8599d555|Data General DASHER D555:\
8600	:tc=d411:
8601d555-7b|Data General DASHER D555 in 7-bit mode:\
8602	:tc=d411-7b:
8603d555-w|Data General DASHER D555 in wide mode:\
8604	:tc=d411-w:
8605d555-7b-w|Data General DASHER D555 in wide 7-bit mode:\
8606	:tc=d411-7b-w:
8607d555-dg|Data General DASHER D555 series in DG mode:\
8608	:tc=d411-dg:
8609
8610# DASHER D577 terminal in ANSI mode.
8611# Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
8612d577|Data General DASHER D577:\
8613	:tc=d411:
8614d577-7b|Data General DASHER D577 in 7-bit mode:\
8615	:tc=d411-7b:
8616d577-w|Data General DASHER D577 in wide mode:\
8617	:tc=d411-w:
8618d577-7b-w|Data General DASHER D577 in wide 7-bit mode:\
8619	:tc=d411-7b-w:
8620
8621d577-dg|d578-dg|Data General DASHER D577/D578 series in DG mode:\
8622	:tc=d411-dg:
8623
8624# DASHER D578 terminal.
8625# Like a D577, but without compressed mode; like a D470C in this respect.
8626#
8627# Initialization string 1 sets:
8628#	\E[<0;<1;<2;<4l
8629#		<0	- scrolling enabled
8630#		<1	- blink enabled
8631#		<2	- horizontal scrolling enabled (for alignment)
8632#		<4	- print characters regardless of attributes
8633#	\E[1;1;80w	- margins at columns 1 and 80
8634#	\E[1;6;<2h
8635#		1	- print all characters even if protected
8636#		6	- character protection disabled
8637#		<2	- horizontal scrolling disabled
8638#	- (should reset scrolling regions, but that glitches the screen)
8639#
8640d578|Data General DASHER D578:\
8641	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:tc=d577:
8642d578-7b|Data General DASHER D578 in 7-bit mode:\
8643	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:tc=d577-7b:
8644
8645# Here are some older Dasher entries from the Berkeley termcap file.
8646
8647# According to the 4.4BSD termcap file, the dg200 :cm: should be the
8648# termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
8649# notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
8650# maybe they were originally nuls (which would fit).
8651dg200|data general dasher 200:\
8652	:NL:am:bs:bw:\
8653	:co#80:li#24:\
8654	:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:k0=^^z:\
8655	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
8656	:k9=^^y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:l0=f10:le=^Y:nd=^X:\
8657	:nw=^J:se=^^E:sf=^J:so=^^D:ue=^U:up=^W:us=^T:
8658# Data General 210/211 (and 410?)	from Lee Pearson (umich!lp) via BRL
8659dg210|dg-ansi|Data General 210/211:\
8660	:am:\
8661	:co#80:li#24:\
8662	:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
8663	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:nl=\E[B:\
8664	:nw=\r\E[H\E[A\n:se=\E[0;m:so=\E[7;m:ue=\E[0;m:up=\E[A:\
8665	:us=\E[4;m:
8666# From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
8667# courtesy of Carlos Rucalde of Vantage Software, Inc.
8668# (dg211: this had :cm=\020%r%.%:., which was an ancient termcap hangover.
8669# I suspect the d200 function keys actually work on the dg211, check it out.)
8670dg211|Data General d211:\
8671	:k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb=^Y:l0@:nw=^M^Z:\
8672	:se=\036E\0/>:sf@:so=5\036D:ta=^I:te=^L:ti=^L^R:ve=^L:\
8673	:vs=^L^R:\
8674	:tc=dg200:
8675
8676# From: Wayne Throop <mcnc!rti-sel!rtp47!throopw> (not official)
8677# Data General 605x
8678# Ought to work for a Model 6242, Type D210 as well as a 605x.
8679# Note that the cursor-down key transmits ^Z.  Job control users, beware!
8680# This also matches a posted description of something called a `Dasher 100'
8681# so there's a dg100 alias here.
8682# (dg6053: the 4.4BSD file had :le=^H:, :do=^J:, :nd=^S:. -- esr)
8683dg6053-old|dg100|data general 6053:\
8684	:am:bs:bw:ul:\
8685	:co#80:li#24:\
8686	:bc=^Y:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:\
8687	:is=^R:k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:\
8688	:k7=^^x:k8=^^y:k9=^^z:kb=^Y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
8689	:le=^Y:nd=^X:se=\0^^E:so=\0\0\0\0\0\036D:ta=^I:te=^L:\
8690	:ti=^L^R:ue=^U:up=^W:us=^T:ve=^L:vs=^L^R:
8691
8692#### Datamedia (dm)
8693#
8694# Datamedia was headquartered in Nashua, New Hampshire until it went
8695# out of business in 1993, but the ID plates on the terminals referred
8696# to the factory in Pennsauken, NJ.  The factory was sold to a PCB board
8697# manufacturer which threw out all information about the terminals.
8698#
8699
8700cs10|colorscan|Datamedia Color Scan 10:\
8701	:ms:\
8702	:co#80:li#24:\
8703	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%02;%02H:cr=^M:\
8704	:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:kl=\E[D:\
8705	:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
8706	:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
8707cs10-w|Datamedia Color Scan 10 with 132 columns:\
8708	:co#132:\
8709	:cm=\E[%i%02;%03H:tc=cs10:
8710
8711# (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
8712dm1520|dm1521|datamedia 1520:\
8713	:am:bs:xn:\
8714	:co#80:it#8:li#24:\
8715	:bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:ho=^Y:\
8716	:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:nd=^\:sf=^J:ta=^I:up=^_:
8717# dm2500: this terminal has both :IC: and :im:. Applications using
8718# termcap/terminfo directly (rather than through ncurses) might be confused.
8719dm2500|datamedia2500|datamedia 2500:\
8720	:bs:nc:\
8721	:co#80:li#24:\
8722	:al=\020\n\030\035\030\035:bl=^G:ce=^W:cl=^^^^\177:\
8723	:cm=\014%r%n%.%.:dc=\020\010\030\035:\
8724	:dl=\020\032\030\035:dm=^P:do=^J:ed=^X^]:\
8725	:ei=\377\377\030\035:ho=^B:ic=\020\034\030\035:im=^P:\
8726	:le=^H:nd=^\:pc=\377:se=^X^]:sf=^J:so=^N:up=^Z:
8727# dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
8728# also, has a meta-key.
8729# From: <goldberger@su-csli.arpa>
8730# (dmchat: ":MT:" changed to ":km:" -- esr)
8731dmchat|dmchat version of datamedia 2500:\
8732	:km:\
8733	:al=1*\020\n\030\035\030\035:dl=2\020\032\030\035:tc=dm2500:
8734# (dm3025: ":MT:" changed to ":km:" -- esr)
8735dm3025|datamedia 3025a:\
8736	:bs:km:\
8737	:co#80:it#8:li#24:\
8738	:al=\EP\n\EQ:bl=^G:cd=\EJ:ce=\EK:cl=\EM:cm=\EY%r%+ %+ :\
8739	:cr=^M:dc=\010:dl=\EP\EA\EQ:dm=\EP:do=^J:ed=\EQ:ei=\EQ:\
8740	:ho=\EH:im=\EP:ip=:is=\EQ\EU\EV:le=^H:nd=\EC:se=\EO0:sf=^J:\
8741	:so=\EO1:ta=^I:up=\EA:
8742dm3045|datamedia 3045a:\
8743	:am:bs:eo:km@:ul:xn:\
8744	:al@:dc=\EB:dl@:dm@:ed@:ei=\EP:is=\EU\EV:k0=\Ey\r:k1=\Ep\r:\
8745	:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
8746	:k8=\Ew\r:k9=\Ex\r:kh=\EH:kr=\EC:ku=\EA:pc=\177:se@:so@:\
8747	:tc=dm3025:
8748# Datamedia DT80 soft switches:
8749# 1	0=Jump  1=Smooth
8750# 	Autorepeat 	0=off  1=on
8751# 	Screen		0=Dark 1=light
8752# 	Cursor		0=u/l  1=block
8753#
8754# 2	Margin Bell	0=off  1=on
8755# 	Keyclick	0=off  1=on
8756# 	Ansi/VT52	0=VT52 1=Ansi
8757# 	Xon/Xoff	0=Off  1=On
8758#
8759# 3	Shift3		0=Hash 1=UK Pound
8760# 	Wrap		0=Off  1=On
8761# 	Newline		0=Off  1=On
8762# 	Interlace	0=Off  1=On
8763#
8764# 4	Parity		0=Odd  1=Even
8765# 	Parity		0=Off  1=On
8766# 	Bits/Char	0=7    1=8
8767# 	Power		0=60Hz 1=50Hz
8768#
8769# 5	Line Interface  0=EIA  1=Loop
8770# 	Aux Interface   0=EIA  1=Loop
8771# 	Local Copy    	0=Off  1=On
8772# 	Spare
8773#
8774# 6	Aux Parity	0=Odd  1=Even
8775# 	Aux Parity	0=Off  1=On
8776# 	Aux Bits/Char   0=7    1=8
8777# 	CRT Saver	0=Off  1=On
8778# dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
8779dm80|dmdt80|dt80|datamedia dt80/1:\
8780	:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=%i\E[%d;%dH:do=^J:\
8781	:ho=\E[H:me=\E[m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
8782	:se=\E[m:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
8783	:tc=vt100:
8784# except in 132 column mode, where it needs a little padding.
8785# This is still less padding than the vt100, and you can always turn on
8786# the ^S/^Q handshaking, so you can use vt100 flavors for things like
8787# reverse video.
8788dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode:\
8789	:co#132:\
8790	:cd=20\E[0J:ce=20\E[0K:cl=50\E[H\E[2J:cm=5\E[%i%d;%dH:\
8791	:do=^J:up=5\E[A:\
8792	:tc=dm80:
8793# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
8794dt80-sas|Datamedia DT803/DTX for SAS usage:\
8795	:am:bw:\
8796	:co#80:li#24:\
8797	:ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
8798	:ae=\EG:al=\EL:as=\EF:bl=^G:cd=^K:ce=^]:cl=^L:\
8799	:cm=\E=%r%+ %+ :cr=^M:\
8800	:..cs=\E=%p1%{32}%+%c%{32}%c\E#1\E=%p2%{32}%+%c%{32}%c\E#2:\
8801	:ct=\E'0:dl=\EM:do=\EB:ff=^L:ho=^Y:is=\E)0\E<\EP\E'0\E$2:\
8802	:kC=^L:kE=^]:kS=^K:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:me=^X:\
8803	:mr=\E$2\004:nd=^\:pf=^O:po=^N:se=^X:sf=\EB:so=\E$2\004:\
8804	:sr=\EI:st=\E'1:ta=^I:up=^_:
8805
8806# Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
8807# These aren't end-all Excel termcaps; but do insert/delete char/line
8808# and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
8809# The naming convention has been bent somewhat, with the use of E? (where
8810# E is for 'Excel') as # a name.  This was done to distinguish the entries
8811# from the other Datamedias in use here, and yet to associate a model of
8812# the Excel terminals with the regular datamedia terminals that share
8813# major characteristics.
8814excel62|excel64|datamedia Excel 62:\
8815	:dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
8816	:k9=\EOy:kb=^H:kd=^J:kl=^H:\
8817	:tc=dt80:
8818excel62-w|excel64-w|datamedia Excel 62 in 132 char mode:\
8819	:dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
8820	:k9=\EOy:kb=^H:kd=^J:kl=^H:\
8821	:tc=dt80w:
8822excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode:\
8823	:dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
8824	:k9=\EOy:kb=^H:kd=^J:kl=^H:vb=\E[?5l\E[?5h:\
8825	:tc=dt80:
8826
8827#### Falco
8828#
8829#	Falco Data Products
8830#	440 Potrero Avenue
8831#	Sunnyvale, CA 940864-196
8832#	Vox: (800)-325-2648
8833#	Fax: (408)-745-7860
8834#	Net: techsup@charm.sys.falco.com
8835#
8836# Current Falco models as of 1995 are generally ANSI-compatible and support
8837# emulations of DEC VT-series, Wyse, and Televideo types.
8838#
8839
8840# Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
8841# This terminal was released around 1983 and was discontinued long ago.
8842# The standout and underline highlights are the same.
8843falco|ts1|ts-1|falco ts-1:\
8844	:am:bs:\
8845	:co#80:it#8:li#24:\
8846	:al=\EE:bl=^G:cd=\EY:ce=\ET\EG0\010:cl=\E*:cm=\E=%+ %+ :\
8847	:cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E3:\
8848	:k0=^A0\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:me=\Eg0:nd=^L:\
8849	:se=\Eg0:sf=^J:so=\Eg1:ta=^I:ue=\Eg0:up=^K:us=\Eg1:
8850falco-p|ts1p|ts-1p|falco ts-1 with paging option:\
8851	:am:bs:da:db:mi:ms:ul:\
8852	:co#80:it#8:li#24:\
8853	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET\EG0\010\Eg0:cl=\E*:\
8854	:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=\E[B:ei=\Er:im=\Eq:\
8855	:is=\EZ\E3\E_c:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
8856	:le=^H:me=\Eg0:nd=\E[C:se=\Eg0:sf=^J:so=\Eg4:ta=^I:te=\E_b:\
8857	:ti=\E_d:ue=\Eg0:up=\E[A:us=\Eg1:
8858# (ts100: I added <rmam>/<smam> based on the init string -- esr)
8859ts100|ts100-sp|falco ts100-sp:\
8860	:am:mi:ms:xn:xo:\
8861	:co#80:it#8:li#24:vt#3:\
8862	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
8863	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
8864	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
8865	:ae=^O:al=\E~E:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
8866	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
8867	:ct=\E[3g:dc=\E~W:dl=\E~R:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
8868	:i1=\E~)\E~ea:ic=\E~Q:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
8869	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
8870	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
8871	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
8872	:nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
8873	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
8874	:sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
8875	:ue=\E[m:up=\E[A:us=\E[4m:
8876ts100-ctxt|falco ts-100 saving context:\
8877	:te=\E~_b:ti=\E~_d\E[2J:tc=ts100:
8878
8879#### Florida Computer Graphics
8880#
8881
8882# Florida Computer Graphics Beacon System, using terminal emulator program
8883# "host.com", as provided by FCG.  This description is for an early release
8884# of the "host" program.  Known bug: :cd: clears the whole screen, so it's
8885# commented out.
8886
8887# From: David Bryant <cbosg!djb> 1/7/83
8888beacon|FCG Beacon System:\
8889	:am:da:db:\
8890	:co#80:li#32:\
8891	:al=\EE:bl=\ESTART\r\E37\r\EEND\r:ce=\ET:cl=\EZ:\
8892	:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=\EH:ic=\EQ:\
8893	:im=:le=^H:mb=\ESTART\r\E61\0541\r\EEND\r:\
8894	:me=\ESTART\r\E78\r\E70\0540\r\EEND\r:\
8895	:mr=\ESTART\r\E59\0541\r\EEND\r:nd=\EV:\
8896	:se=\ESTART\r\E70\0540\r\EEND\r:sf=^J:\
8897	:so=\ESTART\r\E70\0546\r\EEND\r:te=:\
8898	:ti=\ESTART\r\E2\0540\r\E12\r\EEND\r:\
8899	:ue=\ESTART\r\E60\0540\r\EEND\r:up=\EU:\
8900	:us=\ESTART\r\E60\0541\r\EEND\r:
8901
8902#### Fluke
8903#
8904
8905# The f1720a differences from ANSI: no auto margin, destructive
8906# tabs, # of lines, funny highlighting and underlining
8907f1720|f1720a|fluke 1720A:\
8908	:xt:\
8909	:co#80:li#16:sg#1:\
8910	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
8911	:do=\E[B:is=\E[H\E[2J:kd=^]:kl=^_:kr=^^:ku=^\:le=^H:me=\E[m:\
8912	:nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:\
8913	:us=\E[4m:
8914
8915#### Liberty Electronics (Freedom)
8916#
8917#	Liberty Electronics
8918#	48089 Fremont Blvd
8919#	Fremont CA 94538
8920#	Vox: (510)-623-6000
8921#	Fax: (510)-623-7021
8922
8923# From: <faletti@berkeley.edu>
8924# (f100: added empty <acsc> to suppress a tic warning;
8925# made this relative to adm+sgr -- note that <invis> isn't
8926# known to work for f100 but does on the f110. --esr)
8927f100|freedom|freedom100|freedom model 100:\
8928	:am:bs:bw:hs:mi:ms:xo:\
8929	:co#80:li#24:\
8930	:ac=:ae=\E$:al=\EE:as=\E%:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
8931	:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:cv=\E[%+ :\
8932	:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:im=\Eq:\
8933	:ip=:is=\Eg\Ef\r\Ed:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
8934	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
8935	:kB=\EI:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:\
8936	:sr=\Ej:st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
8937	:tc=adm+sgr:
8938f100-rv|freedom-rv|freedom 100 in reverse video:\
8939	:is=\Eg\Ef\r\Eb:vb=\Ed\Eb:tc=f100:
8940# The f110 and f200 have problems with vi(1).  They use the ^V
8941# code for the down cursor key. When kcud1 is defined in terminfo
8942# as ^V, the Control Character Quoting capability (^V in insert mode)
8943# is lost! It cannot be remapped in vi because it is necessary to enter
8944# a ^V to to quote the ^V that is being remapped!!!
8945#
8946# f110/f200 users will have to decide whether
8947# to lose the down cursor key or the quoting capability. We will opt
8948# initially for leaving the quoting capability out, since use of VI
8949# is not generally applicable to most interactive applications
8950# (f110: added :ta:, :kh: & <kcbt> from f100 -- esr)
8951f110|freedom110|Liberty Freedom 110:\
8952	:bw@:es:\
8953	:it#8:ws#80:\
8954	:ae=\E%%:al=\EE:as=\E$:dl=\ER:do=^V:ds=\Ef\r:ei=\Er\EO:\
8955	:im=\EO\Eq:ip@:is@:k0=^AI\r:k;@:kA=\EE:kC=^^:kD=\EW:kE=\ET:\
8956	:kI=\EQ:kL=\ER:kS=\EY:mb=\EG2:md=\EG0:mh=\EG@:pf=\Ea:po=\E`:\
8957	:so=\EG<:sr=\EJ:ts=\Ef:vb=\Eb\Ed:ve=\E.2:vi=\E.1:vs=\E.2:\
8958	:tc=f100:
8959f110-14|Liberty Freedom 110 14inch:\
8960	:dc@:tc=f110:
8961f110-w|Liberty Freedom 110 - 132 cols:\
8962	:co#132:tc=f110:
8963f110-14w|Liberty Freedom 110 14in/132 cols:\
8964	:co#132:\
8965	:dc@:tc=f110:
8966# (f200: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
8967f200|freedom200|Liberty Freedom 200:\
8968	:am:bs:es:hs:mi:ms:xo:\
8969	:co#80:it#8:li#24:ws#80:\
8970	:ac=:ae=\E%%:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
8971	:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:cs=\Em0%+ %+ :ct=\E3:\
8972	:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=\Er:fs=^M:ho=^^:\
8973	:im=\Eq:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
8974	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kC=^^:\
8975	:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:\
8976	:ku=^K:le=^H:mb=\EG2:md=\EG0:mh=\EG@:nd=^L:pf=\Ea:po=\E`:\
8977	:sf=^J:so=\EG<:sr=\EJ:st=\E1:ts=\Ef:up=^K:vb=\Eo\En:ve=\E.1:\
8978	:vi=\E.0:vs=\E.1:\
8979	:tc=adm+sgr:
8980f200-w|Liberty Freedom 200 - 132 cols:\
8981	:co#132:tc=f200:
8982# The f200 has the ability to reprogram the down cursor key. The key is
8983# reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
8984# so powering the terminal off and on will not cause the change to be lost.
8985f200vi|Liberty Freedom 200 for vi:\
8986	:kd=^J:vb=\Eb\Ed:tc=f200:
8987f200vi-w|Liberty Freedom 200 - 132 cols for vi:\
8988	:co#132:tc=f200vi:
8989
8990#### GraphOn (go)
8991#
8992#	Graphon Corporation
8993#	544 Division Street
8994#	Campbell, CA 95008
8995#	Vox: (408)-370-4080
8996#	Fax: (408)-370-5047
8997#	Net: troy@graphon.com (Troy Morrison)
8998#
8999#
9000# The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
9001# including one odd hybrid that starts out life on power-up as a character
9002# terminal, than can be switched to X graphics mode (driven over the serial
9003# line) by an escape sequence.  No info on this beast yet.
9004# (go140: I added <rmam>/<smam> based on the init string -- esr)
9005go140|graphon go-140:\
9006	:bs:\
9007	:co#80:it#8:li#24:\
9008	:RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=10\E[J:ce=\E[K:\
9009	:cl=10\E[H\E[2J:cm=\E[%i%2;%2H:dc=\E[P:dl=\E[M:ei=\E[4l:\
9010	:if=/usr/share/tabset/vt100:im=\E[4h:\
9011	:is=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
9012	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:\
9013	:kh=\E[H:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
9014	:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
9015	:up=\E[A:us=\E[4m:
9016go140w|graphon go-140 in 132 column mode:\
9017	:am:\
9018	:co#132:\
9019	:is=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q:tc=go140:
9020# Hacked up vt200 termcap to handle GO-225/VT220
9021# From: <edm@nwnexus.WA.COM>
9022# (go225: I added <rmam>/<smam> based on the init string -- esr)
9023go225|go-225|Graphon 225:\
9024	:am:bs:mi:xn:\
9025	:co#80:it#8:li#25:vt#3:\
9026	:RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
9027	:cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:\
9028	:ei=\E[4l:ho=\E[H:im=\E[4h:\
9029	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:k2=\EOQ:\
9030	:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
9031	:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
9032	:mr=\E[7m:nd=\E[C:r1=\E[\041p\E[?7h\E[2;1;1#w:rc=\E8:\
9033	:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
9034	:so=\E[7m:sr=\EM:ta=^I:te=\E[\041p\E[?7h\E[2;1;1#w:\
9035	:ti=\E[2;0#w\E[1;25r:ue=\E[24m:up=\E[A:us=\E[4m:
9036
9037#### Harris
9038#
9039# Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
9040# Their terminal group is ancient history now (1995) though the parent
9041# company is still in business.
9042#
9043
9044# 8675, 8686, and bee from Cyrus Rahman
9045# (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
9046ha8675|harris 8675:\
9047	:F1=^W:F2=\ER:F3=\EE:F4=\EI:F5=\Ei:F6=\Eg:\
9048	:is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU:k1=^F:k2=^P:k3=^N:\
9049	:k4=^V:k5=^J:k6=^T:k7=^H:k8=\177:k9=\Ee:k;=\Ed:\
9050	:tc=bee:
9051# (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
9052# in :is: -- esr)
9053ha8686|harris 8686:\
9054	:F1=\EW:F2=\002\E{\003:F3=\002\E|\003:F4=\002\E}\003:\
9055	:F5=\002\E~\003:F6=\002\E\177\003:\
9056	: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#:\
9057	:k1=\002\Ep\003:k2=\002\Eq\003:k3=\002\Er\003:\
9058	:k4=\002\Es\003:k5=\E3:k6=\EI:k7=\ER:k8=\EJ:k9=\E(:k;=\Ej:tc=bee:
9059
9060#### Hazeltine
9061#
9062# Hazeltine appears to be out of the terminal business as of 1995.  These
9063# guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
9064# Harris. They have a hazeltine.com domain (but no web page there ) and can
9065# be reached at:
9066#
9067#	Hazeltine
9068#	450 East Pulaski Road
9069#	Greenlawn, New York 11740
9070#
9071# As late as 1993, manuals for the terminal product line could still be
9072# purchased from:
9073#
9074#	TRW Customer Service Division
9075#	15 Law Drive
9076#	P.O. Box 2076
9077#	Fairfield, NJ 07007-2078
9078#
9079# They're now (1998) a subsidiary of General Electric, operating under the
9080# marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
9081# at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
9082#
9083
9084# Since :nd: is blank, when you want to erase something you
9085# are out of luck.  You will have to do ^L's a lot to
9086# redraw the screen.  h1000 is untested.  It doesn't work in
9087# vi - this terminal is too dumb for even vi.  (The code is
9088# there but it isn't debugged for this case.)
9089hz1000|hazeltine 1000:\
9090	:bs:\
9091	:co#80:li#12:\
9092	:bl=^G:cl=^L:cr=^M:do=^J:ho=^K:le=^H:nd= :sf=^J:
9093# From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
9094hz1420|hazeltine 1420:\
9095	:am:bs:\
9096	:co#80:li#24:\
9097	:al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%+ :\
9098	:cr=^M:dl=\E^S:do=^J:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:ta=^N:\
9099	:up=\E^L:
9100# New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
9101# freakout with out-of-range args and tn3270.  No hz since it needs to
9102# receive tildes.
9103hz1500|hazeltine 1500:\
9104	:am:bs:hz:\
9105	:co#80:li#24:\
9106	:al=~\032:bl=^G:cd=~\030:ce=~^O:cl=~^\:\
9107	:cm=~\021%r%>^^ %+`%+`:cr=^M:dl=~\023:do=~^K:ho=~^R:kd=^J:\
9108	:kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:nd=^P:se=~^Y:sf=^J:so=~^_:\
9109	:up=~^L:
9110# h1510 assumed to be in sane escape mode.  Else use h1500.
9111# (h1510: early versions of this entry apparently had ":se=\E^_:,
9112# :so=\E^Y:, but these caps were commented out in 8.3; also,
9113# removed incorrect and overridden ":do=^J:" -- esr)
9114hz1510|hazeltine 1510:\
9115	:am:bs:\
9116	:co#80:li#24:\
9117	:al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%.:\
9118	:cr=^M:dl=\E^S:do=\E^K:le=^H:nd=^P:sf=^J:up=\E^L:
9119# Hazeltine 1520
9120# The following switch settings are assumed for normal operation:
9121#	FULL		CR		U/L_CASE	ESCAPE
9122#	FORMAT_OFF	EOM_A_OFF	EOM_B_OFF	WRAPAROUND_ON
9123# Other switches may be set for operator convenience or communication
9124# requirements.
9125hz1520|Hazeltine 1520:\
9126	:am:bs:bw:ms:\
9127	:co#80:li#24:\
9128	:al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%.:\
9129	:cr=^M:dl=\E^S:do=^J:ho=\E^R:kA=\E^Z:kC=\E^\:kE=\E^O:\
9130	:kL=\E^S:kS=\E^X:kb=^H:kd=\E^K:kh=\E^R:kl=^H:kr=^P:ku=\E^L:\
9131	:le=^H:md=\E^_:me=\E^Y:nd=^P:r1=\E$\E\005\E?\E\031:\
9132	:se=\E^Y:sf=^J:so=\E^_:up=\E^L:
9133# This version works with the escape switch off
9134# (h1520: removed incorrect and overridden ":do=^J:" -- esr)
9135hz1520-noesc|hazeltine 1520:\
9136	:am:hz:\
9137	:co#80:li#24:\
9138	:al=~^Z:bl=^G:cd=~^X:ce=~^O:cl=~^\:cm=~\021%r%.%.:cr=^M:\
9139	:dl=~^S:do=~^K:ho=~^R:le=^H:nd=^P:se=~^Y:sf=^J:so=~^_:up=~^L:
9140# Note: the h1552 appears to be the first Hazeltine terminal which
9141# is not braindamaged.  It has tildes and backprimes and everything!
9142# Be sure the auto lf/cr switch is set to cr.
9143hz1552|hazeltine 1552:\
9144	:bs:\
9145	:al=\EE:dl=\EO:do=^J:k1=\EP:k2=\EQ:k3=\ER:l1=blue:l2=red:\
9146	:l3=green:\
9147	:tc=vt52:
9148hz1552-rv|hazeltine 1552 reverse video:\
9149	:do=^J:se=\ET:so=\ES:tc=hz1552:
9150# Note: h2000 won't work well because of a clash between upper case and ~'s.
9151hz2000|hazeltine 2000:\
9152	:am:bs:nc:\
9153	:co#74:li#27:\
9154	:al=~\032:bl=^G:cl=~\034:cm=~\021%r%.%.:dl=~\023:do=^J:\
9155	:ho=~^R:le=^H:pc=\177:sf=^J:
9156# Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
9157# I tested this termcap entry for the Hazeltine Esprit with vi. It seems
9158# to work ok. There is one problem though if one types a lot of garbage
9159# characters very fast vi seems not able to keep up and hangs while trying
9160# to insert. That's in insert mode while trying to insert in the middle of
9161# a line. It might be because the Esprit doesn't have insert char and delete
9162# char as a built in function. Vi has to delete to end of line and then
9163# redraw the rest of the line.
9164esprit|Hazeltine Esprit I:\
9165	:am:bs:bw:\
9166	:co#80:li#24:\
9167	:al=\E^Z:bl=^G:bt=\E^T:cd=\E^W:ce=\E^O:cl=\E^\:\
9168	:cm=\E\021%r%.%.:cr=^M:dl=\E^S:do=\E^K:ho=\E^R:is=\E?:\
9169	:k0=^B0^J:k1=^B1^J:k2=^B2^J:k3=^B3^J:k4=^B4^J:k5=^B5^J:\
9170	:k6=^B6^J:k7=^B7^J:k8=^B8^J:k9=^B9^J:kb=^H:kd=\E^K:ke=\E>:\
9171	:kh=\E^R:kl=^H:kr=^P:ks=\E<:ku=\E^L:l0=0:l1=1:l2=2:l3=3:l4=4:\
9172	:l5=5:l6=6:l7=7:l8=8:l9=9:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:\
9173	:up=\E^L:
9174esprit-am|hazeltine esprit auto-margin:\
9175	:am:tc=esprit:
9176# Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
9177# Vi it seems always wants to send a control J for "do" and it turned out
9178# that the terminal would work somewhat if the auto LF/CR was turned off.
9179# (hmod1: removed :dn=~^K: -- esr)
9180hmod1|Hazeltine Modular 1:\
9181	:am:bs:hz:\
9182	:co#80:li#24:\
9183	:al=~^Z:bl=^G:bt=~^T:cl=~^\:cm=~\021%r%.%.:cr=^M:dl=~^S:\
9184	:do=~^K:ho=~^R:kd=~^K:kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:me=~^Y:\
9185	:nd=^P:rc=~^Q:sc=~^E:se=~^Y:sf=^J:so=~^_:up=~^L:
9186#
9187# Hazeltine Executive 80 Model 30 (1554?)
9188#	from  Will Martin <control@ALMSA-1.ARPA> via BRL
9189# Like VT100, except for different "am" behavior.
9190hazel|exec80|h80|he80|Hazeltine Executive 80:\
9191	:am:bs:pt:\
9192	:co#80:it#8:li#24:vt#3:\
9193	:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
9194	:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
9195	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
9196	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
9197	:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
9198	:nd=2\E[C:nl=^J:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
9199	:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:\
9200	:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
9201
9202#### Hewlett-Packard (hp)
9203#
9204#	Hewlett-Packard
9205#	8000 Foothills Blvd
9206#	Roseville, CA 95747
9207#	Vox: 1-(916)-785-4363	(Technical response line for VDTs)
9208#	     1-(800)-633-3600	(General customer support)
9209#
9210#
9211# As of March 1998, HP no longer has any terminals in production.
9212# The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being
9213# supported (they still have parts). So are the 2392a and 2394a.
9214# See the WORKSTATION CONSOLES section for the 700s.
9215#
9216
9217# Generic HP terminal - this should (hopefully) work on any HP terminal.
9218hpgeneric|hp|hewlett-packard generic terminal:\
9219	:am:bs:da:db:mi:pt:xs:\
9220	:co#80:li#24:lm#0:vt#6:\
9221	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
9222	:cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
9223	:do=^J:ei=\ER:im=\EQ:kB=\Ei:kb=^H:le=^H:me=\E&d@:nd=\EC:\
9224	:se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
9225	:us=\E&dD:
9226
9227hp110|hewlett-packard model 110 portable:\
9228	:li#16:tc=hpgeneric:
9229
9230hp+pfk+cr|hp function keys with CR:\
9231	:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:\
9232	:k7=\Ev\r:k8=\Ew\r:
9233
9234hp+pfk-cr|hp function keys w/o CR:\
9235	:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:
9236
9237# The hp2621s use the same keys for the arrows and function keys,
9238# but not separate escape sequences. These definitions allow the
9239# user to use those keys as arrow keys rather than as function
9240# keys.
9241hp+pfk+arrows|hp alternate arrow definitions:\
9242	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:kF=\Er\r:kH=\Eq\r:kR=\Es\r:\
9243	:kd=\Ew\r:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:ku=\Et\r:
9244
9245hp+arrows|hp arrow definitions:\
9246	:kF=\ES:kH=\EF:kR=\ET:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:ku=\EA:
9247
9248# Generic stuff from the HP 262x series
9249#
9250hp262x|HP 262x terminals:\
9251	:xs:\
9252	:cd=\EJ:dc=\EP:ip=:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:\
9253	:kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kd=\EB:ke=\E&s0A:kh=\Eh:\
9254	:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:mb=\E&dA:me=\E&d@:mk=\E&dS:\
9255	:mr=\E&dB:\
9256	:..sa=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c:\
9257	:se=\E&d@:sf=\ES:so=\E&dB:ta=\011:ue=\E&d@:us=\E&dD:
9258
9259# Note: no :ho: on HPs since that homes to top of memory, not screen.
9260# Due to severe 2621 braindamage, the only way to get the arrow keys to
9261# transmit anything at all is to turn on the function key labels
9262# with :ks:, and even then the user has to hold down shift!
9263# The default 2621 turns off the labels except when it has to to
9264# enable the function keys. If your installation prefers labels
9265# on all the time, or off all the time (at the "expense" of the
9266# function keys), use 2621-nl or 2621-wl.
9267#
9268# Note: there are newer ROMs for 2621's that allow you to set
9269# strap A so the regular arrow keys xmit \EA, etc, as with the
9270# 2645. However, even with this strap set, the terminal stops
9271# xmitting if you reset it, until you unset and reset the strap!
9272# Since there is no way to set/unset the strap with an escape
9273# sequence, we don't use it in the default.
9274# If you like, you can use 2621-ba (brain-damaged arrow keys).
9275hp2621-ba|2621 w/new rom and strap A set:\
9276	:ke@:ks@:tc=hp+arrows:\
9277	:tc=hp2621:
9278
9279# hp2621 with function labels. Most of the time they are off,
9280# but inside vi, the function key labels appear. You have to
9281# hold down shift to get them to xmit.
9282hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels:\
9283	:is=\E&jA\r:ke=\E&jA:\
9284	:tc=hp2621-fl:
9285hp2621-fl|hp 2621:\
9286	:xo:xs@:\
9287	:pb#19200:\
9288	:bt=\Ei:cm=\E&a%r%dc%dY:dc=\EP:ip=:is=\E&j@\r:ke=\E&j@:\
9289	:ks=\E&jB:me=\E&d@:se=\E&d@:so=\E&dD:ta=\011:ue=\E&d@:\
9290	:us=\E&dD:\
9291	:tc=hp+pfk+cr:tc=hpgeneric:
9292
9293# To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
9294hp2621p|hp 2621 with printer:\
9295	:pf=\E&p13C:po=\E&p11C:tc=hp2621:
9296
9297hp2621p-a|hp2621p with fn as arrows:\
9298	:tc=hp+pfk+arrows:tc=hp2621p:
9299
9300# hp2621 with k45 keyboard
9301hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard:\
9302	:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:\
9303	:ku=\EA:\
9304	:tc=hp2621:
9305
9306# 2621 using all 48 lines of memory, only 24 visible at any time.
9307hp2621-48|48 line 2621:\
9308	:li#48:\
9309	:cm=\E&a%r%dc%dR:cv=\E&a%dR:ho=\EH:tc=hp2621:
9310
9311# 2621 with no labels ever. Also prevents vi delays on escape.
9312hp2621-nl|hp 2621 with no labels:\
9313	:kd@:ke@:kh@:kl@:kr@:ks@:ku@:tc=hp2621-fl:
9314
9315# Needed for UCB ARPAVAX console, since lsi-11 expands tabs
9316# (wrong).
9317#
9318hp2621-nt|hp 2621 w/no tabs:\
9319	:ta@:tc=hp2621:
9320
9321# Hp 2624 B with 4 or 10 pages of memory.
9322#
9323# Some assumptions are made with this entry. These settings are
9324# NOT set up by the initialization strings.
9325#
9326# Port Configuration
9327# 	RecvPace=Xon/Xoff
9328# 	XmitPace=Xon/Xoff
9329# 	StripNulDel=Yes
9330#
9331# Terminal Configuration
9332# 	InhHndShk=Yes
9333# 	InhDC2=Yes
9334# 	XmitFnctn(A)=No
9335# 	InhEolWrp=No
9336#
9337# Note: the 2624 DOES have a true :ho:, believe it or not!
9338#
9339# The 2624 has an "error line" to which messages can be sent.
9340# This is CLOSE to what is expected for a "status line". However,
9341# after a message is sent to the "error line", the next carriage
9342# return is EATEN and the "error line" is turned back off again!
9343# So I guess we can't define :hs:, :es:, :ws:, :ds:, :fs:, :ts:.
9344#
9345# This entry supports emacs (and any other program that uses raw
9346# mode) at 4800 baud and less. I couldn't get the padding right
9347# for 9600.
9348#
9349# (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
9350hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B:\
9351	:da:db:\
9352	:lm#96:\
9353	:vb=\E&w13F\E&w12F\E&w13F\E&w12F:tc=hp+labels:tc=scrhp:
9354
9355# This hp2626 entry does not use any of the fancy windowing stuff
9356# of the 2626.
9357#
9358# Indeed, terminfo does not yet handle such stuff. Since changing
9359# any window clears memory, it is probably not possible to use
9360# this for screen opt.
9361#
9362# ed is incredibly slow most of the time - I am guessing at the
9363# exact padding. Since the terminal uses xoff/xon this is intended
9364# only for cost computation, so that the terminal will prefer el
9365# or even dl1 which is probably faster!
9366#
9367# \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
9368# extra slow on the last line of the window.
9369#
9370# The padding probably should be changed.
9371#
9372hp2626|hp2626a|hp2626p|hp 2626:\
9373	:da:db:\
9374	:lm#0:pb#19200:\
9375	:SF=\E&r%dD:SR=\E&r%dU:cd=\ED\EJ\EC:ip=:is=\E&j@\r:tc=hp+pfk+cr:tc=hp+labels:tc=scrhp:
9376
9377# This entry is for sysline. It allocates a 23 line window with
9378# a 115 line workspace for regular use, and a 1 line window for
9379# the status line.
9380#
9381# This assumes port 2 is being used.
9382# Turn off horizontal line, Create ws #1 with 115 lines,
9383# Create ws #2 with 1 line, Create window #1 lines 1-23,
9384# Create window #2 lines 24-24, Attach cursor to workspace #1.
9385# Note that this clears the tabs so it must be done by tset before
9386# it sets the tabs.
9387#
9388hp2626-s|hp 2626 using only 23 lines:\
9389	:es:hs:\
9390	:li#23:\
9391	:fs=\E&d@\E&w7f2p1I\E&w4f1I:\
9392	:i1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r:\
9393	:ts=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC:\
9394	:tc=hp2626:
9395# Force terminal back to 24 lines after being 23.
9396hp2626-ns|hp 2626 using all 24 lines:\
9397	:i1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r:tc=hp2626:
9398# Various entries useful for small windows on 2626.
9399hp2626-12|hewlett-packard 2626 12 lines:\
9400	:li#12:tc=hp2626:
9401hp2626-12x40|hewlett-packard 2626 12 lines 40 columns:\
9402	:co#40:li#12:tc=hp2626:
9403hp2626-x40|hewlett-packard 2626 40 columns:\
9404	:co#40:tc=hp2626:
9405hp2626-12-s|hewlett-packard 2626 11 lines plus status:\
9406	:li#11:tc=hp2626-s:
9407
9408#
9409# hp2627 color tubes from University of Wisconsin
9410#
9411hp2627a-rev|hp 2627 with reverse video colors:\
9412	:cr=^M:do=^J:\
9413	:is=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r:\
9414	:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&v0S\E&d@:\
9415	:us=\E&dD\E&v1S:\
9416	:tc=hp2621-nl:
9417hp2627a|hp 2627 color terminal with no labels:\
9418	:cr=^M:do=^J:\
9419	:is=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r:\
9420	:kb=^H:kd=^J:kl=^H:nw=^M^J:se=\E&v0S:sf=^J:so=\E&v2S:ta=^I:\
9421	:ue=\E&v0S\E&d@:us=\E&dD\E&v1S:\
9422	:tc=hp2621-nl:
9423hp2627c|hp 2627 color (cyan) terminal with no labels:\
9424	:cr=^M:do=^J:\
9425	:is=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r:\
9426	:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:\
9427	:tc=hp2627a:
9428
9429# hp2640a doesn't have the Y cursor addressing feature, and C is
9430# memory relative instead of screen relative, as we need.
9431#
9432hp2640a|hp 2640a:\
9433	:cm@:ke@:ks@:tc=hp2645:
9434
9435hp2640b|hp2644a|hp 264x series:\
9436	:ke@:ks@:tc=hp2645:
9437
9438# (hp2641a: removed unknown :gu: -- esr)
9439hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry:\
9440	:am:da:db:mi:xs:\
9441	:co#80:li#24:\
9442	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%2C:cl=\EH\EJ:\
9443	:cm=\E&a%r%2c%2Y:cr=^M:cv=\E&a%2Y:dc=\EP:dl=\EM:do=^J:\
9444	:ei=\ER:if=/usr/share/tabset/std:im=\EQ:is=500\EE:kb=^H:\
9445	:kd=^J:kl=^H:le=^H:nd=\EC:nw=^M^J:se=\E&d@:sf=^J:so=\E&dB:\
9446	:ta=^I:up=\EA:
9447
9448# This terminal should be used at 4800 baud or less. It needs padding for
9449# plain characters at 9600, I guessed at an appropriate cr delay.  It really
9450# wants ^E/^F handshaking, but that doesn't work well even if you write
9451# software to support it.
9452hp2645|hp45|HP 2645 series:\
9453	:pb#9600:\
9454	:cr=\r:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:kM=\ER:\
9455	:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:kd=\EB:ke=\E&s0A:kh=\Eh:\
9456	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:mb=\E&dA:me=\E&d@:\
9457	:mh=\E&dH:mr=\E&dB:\
9458	:..sa=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c:\
9459	:us=\E&dD:\
9460	:tc=hpgeneric:
9461# You should use this terminal at 4800 baud or less.
9462hp2648|hp2648a|HP 2648a graphics terminal:\
9463	:cl=\EH\EJ:cm=\E&a%r%dc%dY:dc=\EP:ip=:tc=hp2645:
9464
9465# The HP 150 terminal is a fairly vanilla HP terminal, with the
9466# clreol standout problem. It also has graphics capabilities and
9467# a touch screen, which we don't describe here.
9468hp150|hewlett packard Model 150:\
9469	:bs:tc=hp2622:
9470
9471# HP 2382a terminals, "the little ones." They don't have any
9472# alternate character set support and sending out ^N/^O will
9473# leave the screen blank.
9474hp2382a|hp2382|hewlett packard 2382a:\
9475	:da:db:\
9476	:lh#1:lm#48:\
9477	:ac@:ae@:as@:me=\E&d@:\
9478	:..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:\
9479	:..sa=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c:\
9480	:tc=hp+labels:tc=scrhp:
9481
9482hp2621-a|hp2621a-a|hp2621 with fn as arrows:\
9483	:tc=hp+pfk+arrows:tc=hp2621-fl:
9484
9485# newer hewlett packard terminals
9486
9487newhpkeyboard|generic entry for HP extended keyboard:\
9488	:kA=\EL:kB=\Ei:kC=\EJ:kD=\EP:kE=\EK:kF=\ET:kH=\EF:kI=\EQ:\
9489	:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ES:kS=\EJ:kb=^H:kd=\EB:\
9490	:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
9491	:tc=hp+pfk-cr:
9492
9493newhp|generic entry for new hewlett packard terminals:\
9494	:am:bw:mi:xo:xs:\
9495	:co#80:li#24:pb#4800:\
9496	:ac=2[3@4>5I9(\072'JSKWLQMAO#P$Q;R\041S"T1U2V4W3X\072Y+Z*dHjGkTlRmFn/q\054t5u6v8w7x.:\
9497	:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:cr=^M:ct=\E3:\
9498	:dc=\EP:dl=\EM:do=^J:ei=\ER:i1=\E&jB:im=\EQ:ip=:le=^H:\
9499	:mb=\E&dA:md=\E&dF:me=\E&d@\017:mh=\E&dH:mk=\E&dS:\
9500	:mr=\E&dB:nd=\EC:nw=^M^J:\
9501	:..pk=\E&f0a%p1%dk0d%p2%l%dL%p2%s:\
9502	:..pl=\E&f1a%p1%dk0d%p2%l%dL%p2%s:\
9503	:..px=\E&f2a%p1%dk0d%p2%l%dL%p2%s:r1=\Eg:\
9504	:..sa=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c%?%p9%t\016%e\017%;:\
9505	:se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=\011:ue=\E&d@:\
9506	:up=\EA:us=\E&dD:\
9507	:tc=newhpkeyboard:
9508
9509memhp|memory relative addressing for new HP ttys:\
9510	:vt#6:\
9511	:CM=\E&a%p1%dr%p2%dC:DO=\E&a+%dR:LE=\E&a-%dC:\
9512	:RI=\E&a+%dC:UP=\E&a-%dR:ch=\E&a%dC:cl=\EH\EJ:\
9513	:cm=\E&a%dr%dC:cv=\E&a%dR:ho=\EH:ll=\E&a23R\r:tc=newhp:
9514
9515scrhp|screen relative addressing for new HP ttys:\
9516	:CM=\E&a%p1%dr%p2%dC:DO=\E&a+%dR:LE=\E&a-%dC:\
9517	:RI=\E&a+%dC:UP=\E&a-%dR:ch=\E&a%dC:cl=\E&a0c0Y\EJ:\
9518	:cm=\E&a%dy%dC:cv=\E&a%dY:ho=\E&a0y0C:ll=\E&a0y0C\EA:\
9519	:tc=newhp:
9520
9521# (hp+labels: added label values from a BRL termcap -- esr)
9522hp+labels|"standard" label info for new HP ttys:\
9523	:Nl#8:lh#2:lw#8:\
9524	:LF=\E&j@:LO=\E&jB:l0=f1:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:\
9525	:l7=f8:\
9526	:..pn=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:
9527
9528hp+printer|"standard" printer info for HP ttys:\
9529	:ff=\E&p4u0C:pf=\E&p13C:po=\E&p11C:ps=\EH\E&p4dF:
9530
9531
9532# The new hp2621b is kind of a cross between the old 2621 and the
9533# new 262x series of machines. It has dip-switched options.
9534# The firmware has a bug in it such that if you give it a null
9535# length label, the following character is eaten!
9536hp2621b|hp 2621b with old style keyboard:\
9537	:Nl#8:lh#1:lm#48:lw#8:\
9538	:LO=\E&jB:kF=\ET:kH=\EF:kR=\ES:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:\
9539	:ku=\EA:\
9540	:..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%{111}%p1%+%c\r:tc=hp2621:
9541
9542hp2621b-p|hp 2621b with printer:\
9543	:tc=hp+printer:tc=hp2621b:
9544
9545# hp2621b - new 2621b with new extended keyboard
9546# these are closer to the new 26xx series than the other 2621b
9547hp2621b-kx|hp 2621b with extended keyboard:\
9548	:tc=newhpkeyboard:tc=hp2621b:
9549
9550hp2621b-kx-p|hp 2621b with new keyboard & printer:\
9551	:tc=hp+printer:tc=hp2621b-kx:
9552
9553# Some assumptions are made in the following entries.
9554# These settings are NOT set up by the initialization strings.
9555#
9556#    Port Configuration
9557# RecvPace=Xon/Xoff	XmitPace=Xon/Xoff	StripNulDel=Yes
9558#
9559#    Terminal Configuration
9560# InhHndShk(G)=Yes	InhDC2(H)=Yes
9561# XmitFnctn(A)=No		InhEolWrp=No
9562#
9563#
9564# Hp 2622a & hp2623a display and graphics terminals
9565#
9566hp2622|hp2622a|hp 2622:\
9567	:da:db:\
9568	:lm#0:pb#19200:\
9569	:is=\E&dj@\r:tc=hp+pfk+cr:tc=hp+labels:tc=scrhp:
9570
9571# The 2623 is a 2622 with extra graphics hardware.
9572hp2623|hp2623a|hp 2623:\
9573	:tc=hp2622:
9574
9575hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer:\
9576	:tc=hp+printer:tc=hp2624:
9577
9578# The hewlett packard B can have an optional extra 6 pages of memory.
9579hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory:\
9580	:lm#240:tc=hp2624:
9581
9582hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer:\
9583	:lm#240:tc=hp2624b-p:
9584
9585# Color manipulations for HP terminals
9586hp+color|hp with colors:\
9587	:cc:\
9588	:Co#16:NC#17:pa#7:\
9589	:..Ip=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a%?%p3%{1000}%=%t1%e.%p3%d%;b%?%p4%{1000}%=%t1%e.%p4%d%;c%?%p5%{1000}%=%t1%e.%p5%d%;x%?%p6%{1000}%=%t1%e.%p6%d%;y%?%p7%{1000}%=%t1%e.%p7%d%;z%p1%dI:\
9590	:oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I:\
9591	:op=\E&v0S:sp=\E&v%dS:
9592
9593# :is: sets the screen to be 80 columns wide
9594hp2397a|hp2397|hewlett packard 2397A color terminal:\
9595	:is=\E&w6f80X:\
9596	:tc=memhp:tc=hp+labels:tc=hp+color:
9597
9598#
9599# (hp2392: copied :ei: here from hpex -- esr)
9600hp2392|239x series:\
9601	:co#80:\
9602	:bt=\Ei:cm=\E&a%dy%dC:cv=\E&a%dY:ei=\ER:im=\EQ:k1=\Ep\r:\
9603	:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
9604	:k8=\Ew\r:kF=\EU:kN=\Eu:kP=\Ev:kR=\EV:kh=\Eh:ue=\E&d@:\
9605	:us=\E&dD:\
9606	:tc=hpsub:
9607
9608hpsub|hp terminals -- capability subset:\
9609	:am:da:db:mi:xo:xs:\
9610	:li#24:\
9611	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cr=^M:\
9612	:dc=\EP:dl=\EM:do=\EB:if=/usr/share/tabset/stdcrt:\
9613	:is=\E&s1A\E<\E&k0\:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:\
9614	:kr=\EC:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
9615	:sf=^J:so=\E&dB:ta=^I:up=\EA:
9616
9617# hpex:
9618#	May be used for most 24 x 80 hp terminals,
9619# but has no padding added, so may allow runover in some terminals at high
9620# baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and
9621# hp98x5 terminal emulators or hp98x6 consoles.
9622# 	Adds xy-cursor addressing, vertical cursor addressing, home,
9623# last line, and underline capabilities.
9624#
9625# (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
9626# moved :ei: here from hpsub -- esr)
9627hpex|hp extended capabilites:\
9628	:cm=\E&a%dy%dC:cr=^M:cv=\E&a%dY:do=^J:ei=\ER:im=\EQ:kb=^H:\
9629	:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&d@:us=\E&dD:\
9630	:tc=hpsub:
9631
9632# From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
9633hp2|hpex2|hewlett-packard extended capabilities newer version:\
9634	:am:da:db:mi:xs:\
9635	:Nl#8:co#80:lh#2:li#24:lm#0:lw#8:sg#0:\
9636	:LF=\E&j@:LO=\E&jB:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:\
9637	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
9638	:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
9639	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
9640	:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
9641	:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
9642	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:me=\E&d@:\
9643	:ml=\El:mu=\Em:nd=\EC:..pk=\E&f%p1%dk%p2%l%dL%p2%s:\
9644	:..pl=\E&f1a%p1%dk%p2%l%dL%p2%s:\
9645	:..pn=\E&f%p1%dk%p2%l%dd0L%p2%s:\
9646	:..px=\E&f2a%p1%dk%p2%l%dL%p2%s:\
9647	:..sa=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;:\
9648	:se=\E&d@:sf=^J:so=\E&dB:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
9649	:us=\E&dD:
9650
9651# HP 236 console
9652# From: <ddavis@ic.berkeley.edu>
9653hp236|hp236 internal terminal emulator:\
9654	:am:bs:\
9655	:co#80:li#24:\
9656	:al=\EG:ce=\EK:cl=\EF:cm=\EE%+ %+ :dc=\EJ:dl=\EH:ei=:ic=\EI:\
9657	:im=:le=^H:me=\ECI:se=\ECI:so=\EBI:up=^K:ve=\EDE:vs=\EDB:
9658
9659# This works on a hp300 console running Utah 4.3 BSD
9660# From: Craig Leres <leres@okeeffe.berkeley.edu>
9661hp300h|HP Catseye console:\
9662	:am:bs:da:db:mi:xs:\
9663	:co#128:li#51:lm#0:sg#0:\
9664	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
9665	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
9666	:dc=\EP:dl=\EM:do=\EB:ei=\ER:if=/usr/share/tabset/stdcrt:\
9667	:im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
9668	:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:sf=^J:\
9669	:so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
9670# From: Greg Couch <gregc@ernie.berkeley.edu>
9671hp9837|hp98720|hp98721|HP 9000/300 workstations:\
9672	:am:bs:da:db:mi:xs:\
9673	:co#128:it#8:li#46:lm#0:\
9674	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
9675	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:ct=\E3:cv=\E&a%dY:dc=\EP:\
9676	:dl=\EM:do=\EB:ei=\ER:im=\EQ:is=\E&v0m1b0i&j@:kA=\EL:\
9677	:kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kN=\EU:kP=\EV:kS=\EJ:kb=^H:\
9678	:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
9679	:le=^H:me=\E&d@:nd=\EC:se=\E&v0S:sf=^J:so=\E&v5S:st=\E1:\
9680	:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
9681# HP 9845 desktop computer from BRL
9682# (hp9845: removed unknown capability :gu: -- esr)
9683hp9845|HP 9845:\
9684	:am:bs:da:db:eo:mi:xs:\
9685	:co#80:li#21:\
9686	:al=\EL:bc=\ED:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E&a%r%2c%2Y:\
9687	:dc=\EP:dl=\EM:ei=\ER:if=/usr/share/tabset/std:im=\EQ:\
9688	:nd=\EC:se=\E&d@:so=\E&dB:up=\EA:
9689# From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
9690# (hp98550: replaced /usr/share/tabset/9837 with std because :it#8:,:st=\E1:;
9691# added empty <acsc> to avoid warnings re :as:/:ae: --esr)
9692hp98550|hp98550a|HP 9000 Series 300 color console:\
9693	:am:bs:da:db:mi:xs:\
9694	:co#128:it#8:li#49:lm#0:\
9695	:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:\
9696	:ch=\E&a%dC:cl=\EH\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:\
9697	:cv=\E&a%dY:dc=\EP:dl=\EM:do=^J:ei=\ER:\
9698	:if=/usr/share/tabset/std:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
9699	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
9700	:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
9701	:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
9702	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
9703	:md=\E&dJ:me=\E&d@:mh=\E&dH:mk=\E&ds:mr=\E&dJ:nd=\EC:\
9704	:se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
9705	:us=\E&dD:ve=\E*dQ:vi=\E*dR:
9706
9707bobcat|sbobcat|HP 9000 model 300 console:\
9708	:am:da:db:mi:xs:\
9709	:co#128:it#8:li#47:sg#0:\
9710	:al=10*\EL:bt=\Ei:cd=\EJ:ce=\EK:ch=6\E&a%dC:cl=\EH\EJ:\
9711	:cm=6\E&a%dy%dC:cr=^M:cv=6\E&a%dY:dc=\EP:dl=10*\EM:do=\EB:\
9712	:ei=\ER:im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
9713	:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:nw=^M^J:se=\E&d@:\
9714	:sf=^J:so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
9715gator-t|HP 9000 model 237 emulating extra-tall AAA:\
9716	:li#94:tc=gator:
9717gator|HP 9000 model 237 emulating AAA:\
9718	:bw:km:mi:ul:\
9719	:co#128:it#8:li#47:\
9720	:AL=1*\E[%dL:DC=4\E[%dP:DL=1*\E[%dM:IC=4\E[%d@:al=\E[L:\
9721	:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:\
9722	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:\
9723	:ic=\E[@:im=:kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:mr=\E[7m:\
9724	:nd=\E[C:nw=^M^J:rp=1*%.\E[%db:se=\E[m:so=\E[7m:ta=^I:\
9725	:ue=\E[m:up=\EM:us=\E[4m:
9726gator-52|HP 9000 model 237 emulating VT52:\
9727	:co#128:li#47:tc=vt52:
9728gator-52t|HP 9000 model 237 emulating extra-tall VT52:\
9729	:li#94:tc=gator-52:
9730
9731#### Honeywell-Bull
9732#
9733# From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
9734#
9735
9736# Honeywell Bull terminal.  Its cursor and function keys send single
9737# control characters and it has standout/underline glitch.  Most programs
9738# do not like these features/bugs.  Visual bell is realized by flashing the
9739# "keyboard locked" LED.
9740dku7003-dumb|Honeywell Bull DKU 7003 dumb mode:\
9741	:co#80:li#25:\
9742	:cd=^_:ce=\E[K:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:do=^K:ho=^]:\
9743	:kb=^H:kd=^K:kh=^]:kl=^Y:kr=^X:ku=^Z:le=^Y:nd=^X:nw=^M^J:\
9744	:sf=^J:ta=^I:up=^Z:vb=\E[2h\E[2l:
9745dku7003|Honeywell Bull DKU 7003 all features described:\
9746	:ms:\
9747	:sg#1:\
9748	:mb=\E[5m:md=\E[7m:me=\E[m:mh=\E[2m:mr=\E[7m:se=\E[m:\
9749	:so=\E[7m:ue=\E[m:us=\E[4m:\
9750	:tc=dku7003-dumb:
9751
9752#### IBM
9753#
9754
9755ibm327x|line mode IBM 3270 style:\
9756	:gn:\
9757	:ce=^M:cl=^M^J:ho=^M:
9758
9759# Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
9760# From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
9761# (ibm3101: :if=/usr/share/tabset/ibm3101: removed, no such file -- esr)
9762# Some versions of this that have :ct=\EH:; they may ort may not be broken.
9763ibm3101|i3101|IBM 3101-10:\
9764	:am:bs:xo:\
9765	:co#80:li#24:\
9766	:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EY%+ %+ :cr=^M:ct=\E1:do=^J:\
9767	:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
9768	:nw=^M^J:sf=^J:st=\E0:ta=^I:up=\EA:
9769ibm3151|IBM 3151 display:\
9770	:ae=\E>B:as=\E>A:is=\E S:me=\E4@\E>B:r2=\E S:s0=\E>B:\
9771	:..sa=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E>B%;:\
9772	:te=\E>B:ti=\E>B:\
9773	:tc=ibm3163:
9774# From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
9775# I've commented out or translated some IBM extensions.
9776# <kend>, :kN:, :kP:, <mc4>, <mc5> merged in from AIX 3.2.5
9777ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display:\
9778	:am:bs:mi:ms:\
9779	:co#80:it#8:li#24:\
9780	:@7=\E2:F1=\Ek\r:F2=\El\r:F3=\E\041a\r:F4=\E\041b\r:\
9781	:F5=\E\041c\r:F6=\E\041d\r:F7=\E\041e\r:F8=\E\041f\r:\
9782	:F9=\E\041g\r:FA=\E\041h\r:FB=\E\041i\r:FC=\E\041j\r:\
9783	:FD=\E\041k\r:FE=\E\041l\r:\
9784	:ac=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370:\
9785	:bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dc=\EQ:\
9786	:dl=\EO:do=\EB:ho=\EH:k1=\Ea\r:k2=\Eb\r:k3=\Ec\r:k4=\Ed\r:\
9787	:k5=\Ee\r:k6=\Ef\r:k7=\Eg\r:k8=\Eh\r:k9=\Ei\r:k;=\Ej\r:\
9788	:kA=\EN:kB=\E2:kC=\EL\r:kD=\EQ:kE=\EI:kI=\EP \010:kL=\EO:\
9789	:kN=\EI:kP=\EL:kS=\EJ:kT=\E0:ka=\E 1:kb=^H:kd=\EB:kh=\EH:\
9790	:kl=\ED:kr=\EC:kt=\E1:ku=\EA:le=\ED:mb=\E4D:md=\E4H:\
9791	:me=\E4@\E<@:mk=\E4P:mr=\E4A:nd=\EC:pf=^P^T:po=^P^R:\
9792	:..sa=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E<@%;:\
9793	:se=\E4@:sf=^J:so=\E4A:te=\E>A:ti=\E>A:ue=\E4@:up=\EA:\
9794	:us=\E4B:
9795
9796ibm3161-C|IBM 3161-C NLS terminal using cartridge:\
9797	:s0=\E>B:s1=\E>A:te=\E>B:ti=\E>B:\
9798	:tc=ibm3161:
9799ibm3162|IBM 3162 display:\
9800	:al=\EN:mb=\E4$a:md=\E4(a:me=\E4@:mk=\E40a:mr=\E4\041a:\
9801	:se=\E4>b:so=\E4\041a:ue=\E4=b:us=\E4"a:\
9802	:tc=ibm3161-C:
9803
9804# How the 3164 sgr string works:
9805#	%{32}	        # push space for no special video characteristics
9806#	%?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
9807#	%?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
9808#	%?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
9809#	%c              # pop Pa1
9810#	%{39}%p1%-	# calculate 32 + (7 - p1) for foreground
9811#	%c		# pop Pa2
9812#	%{64}		# use only black background for now
9813#	%c		# pop Pa3
9814# (ibm3164: merged :ms:,<colors>,<pairs>,<setb>,<setf> from AIX 3.2.5 -- esr)
9815ibm3164|i3164|IBM 3164:\
9816	:ms:\
9817	:Co#8:pa#64:\
9818	:Sb=\E4  %+@:..Sf=\E4%?%p1%t %p1%{32}%+%c%e\041'%;@:\
9819	:mb=\E4D:md=\E4H:me=\E4@:\
9820	:..sa=\E4%{32}%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c%{39}%p1%-%c%{64}%c:tc=ibm3163:
9821
9822# From: <pryor@math.berkeley.edu>
9823# (ibm5081: merged acsc, s0ds, s1ds, sgr0 into ibm5081 from AIX 3.2.5. -- esr)
9824ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 Megapel color display:\
9825	:es:hs:\
9826	:li#33:\
9827	:ac=jjkkllmmnnqqttuuvvwwxx:ds=\Ej\EYA \EI\Ek:fs=\Ek:\
9828	:me=\E[0m\E(B:s0=\E(B:s1=\E(0:ts=\Ej\EYA%+ \Eo:\
9829	:tc=ibmmono:
9830ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display:\
9831	:es:hs:\
9832	:li#33:\
9833	:ds=\Ej\EYA \EI\Ek:fs=\Ek:ts=\Ej\EYA%+ \Eo:tc=ibmega-c:
9834# (untranslatable capabilities removed to fit entry within 1023 bytes)
9835# (sgr removed to fit entry within 1023 bytes)
9836# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
9837ibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display:\
9838	:am:bw:ms:xo:\
9839	:co#80:it#8:li#25:\
9840	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
9841	:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:\
9842	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
9843	:dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:\
9844	:k0=\E[010q:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:\
9845	:k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:\
9846	:kD=\E[P:kI=\E[139q:kN=\E[154q:kP=\E[150q:kb=^H:kd=\E[B:\
9847	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
9848	:me=\E[0m:mr=\E[7m:nd=\E[C:rc=\E[u:sc=\E[s:se=\E[m:sf=\E[S:\
9849	:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:us=\E[4m:
9850ibm5154|IBM 5154 Color display:\
9851	:Co#8:pa#64:\
9852	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:md@:tc=ibm5151:
9853ibm6153|IBM 6153 Black & White display:\
9854	:mb@:md=\E[12m:me=\E[0;10m:s0=\E[10m:s1=\E[11m:s2=\E[12m:\
9855	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m:\
9856	:tc=ibm5151:
9857ibm6153-90|IBM 6153 Black & White display:\
9858	:co#90:li#36:\
9859	:mb@:md@:tc=ibm5151:
9860ibm6153-40|IBM 6153 Black & White display:\
9861	:co#40:li#12:tc=ibm6153-90:
9862ibm6154|IBM 6154 Color displays:\
9863	:mb@:md=\E[12m:me=\E[0;10m:s0=\E[10m:s1=\E[11m:s2=\E[12m:\
9864	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m:\
9865	:tc=ibm5154:
9866ibm6155|IBM 6155 Black & White display:\
9867	:mb@:md@:tc=ibm5151:
9868ibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display:\
9869	:tc=hft-c:
9870ibm8512|ibm8513|IBM color VGA Terminal:\
9871	:am:mi:ms:\
9872	:co#80:it#8:li#25:\
9873	:AL=\E[%dL:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
9874	:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[L:as=^N:cd=\E[J:\
9875	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:dl=\E[M:dm=\E[4h:\
9876	:do=^J:ec=\E[%dX:ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:\
9877	:is=\Eb\E[m\017\E[?7h:k0=\E[010q:k1=\E[001q:k2=\E[002q:\
9878	:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:\
9879	:k8=\E[008q:k9=\E[009q:kd=\E[B:kh=\E[H:ku=\E[A:le=\E[D:\
9880	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
9881	:r1=\Eb\E[m\017\E[?7h\E[H\E[J:rc=\E[u:sc=\E[s:se=\E[m:\
9882	:so=\E[7m:te=\E[20h:ti=\E[20;4l\E[?7h\Eb:ue=\E[m:up=\E[A:\
9883	:us=\E[4m:\
9884	:tc=ibm8503:
9885ibm8514|IBM 8514 color display:\
9886	:es:hs:\
9887	:li#41:\
9888	:cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:kl=^H:\
9889	:nw=^M^J:sf=^J:ta=^I:ts=\Ej\EYI%+ \Eo:\
9890	:tc=ibmega:
9891ibm8514-c|IBM 8514 color display with standout and underline:\
9892	:es:hs:\
9893	:li#41:\
9894	:cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:kl=^H:\
9895	:nw=^M^J:sf=^J:ta=^I:ts=\Ej\EYI%+ \Eo:\
9896	:tc=ibmega-c:
9897
9898ibmaed|IBM Experimental display:\
9899	:am:bs:eo:ms:\
9900	:co#80:it#8:li#52:\
9901	:al=\EN:cd=\EJ:ce=\EI:cl=\EH\EK:cm=\EY%+ %+ :dc=\EQ:dl=\EO:\
9902	:do=\EB:ei=:ho=\EH:ic=\EP:im=:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
9903	:ku=\EA:le=^H:me=\E0:nd=\EC:se=\E0:so=\E0:ta=^I:up=\EA:\
9904	:vb=\EG:
9905ibm-apl|apl|IBM apl terminal simulator:\
9906	:li#25:tc=dm1520:
9907# (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
9908# Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
9909ibmmono|IBM workstation monochrome:\
9910	:es:hs:\
9911	:al=\EL:dl=\EM:ds=\Ej\EY8 \EI\Ek:fs=\Ek:k0=\E<:k1=\ES:\
9912	:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\EY:\
9913	:kF=\EE:kI=\0:kN=\EE:kP=\Eg:kR=\EG:kb=^H:kh=\EH:l0=f10:\
9914	:md=\EZ:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:se=\Ez:\
9915	:so=\EZ:sr=\EA:ts=\Ej\EY8%+ \Eo:ue=\Ew:us=\EW:\
9916	:tc=ibm3101:
9917ibmega|IBM Enhanced Color Display:\
9918	:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmmono:
9919ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline:\
9920	:se=\EB:so=\EF\Ef3;:ue=\EB:us=\EF\Ef2;:\
9921	:tc=ibmmono:
9922ibmvga-c|IBM VGA display color termcap:\
9923	:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega-c:
9924ibmvga|IBM VGA display:\
9925	:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega:
9926# ibmapa* and ibmmono entries come from ACIS 4.3 distribution
9927rtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display:\
9928	:li#32:\
9929	:ds=\Ej\EY@ \EI\Ek:ts=\Ej\EY@%+ \Eo:tc=ibmmono:
9930# Advanced Monochrome (6153) and Color (6154) Graphics Display:
9931ibmapa8c|ibmapa8|IBM 6153/4 Advanced Graphics Display:\
9932	:li#31:\
9933	:ds=\Ej\EY? \EI\Ek:ts=\Ej\EY?%+ \Eo:tc=ibmmono:
9934ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display:\
9935	:li#31:\
9936	:ds=\Ej\EY? \EI\Ek:mh=\EF\Ef7;:ts=\Ej\EY?%+ \Eo:tc=ibmega-c:
9937hft-c-old|HFT with Color PC850:\
9938	:Co#8:pa#64:\
9939	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:tc=ibm5151:
9940# From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
9941# also in /usr/lpp/bos/bsdsysadmin.
9942# (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
9943# pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
9944# a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
9945# I also added <rmam>/<smam> based on the terminal reset string.
9946# There was an unknown boolean ":ht:" which I assume was meant to set hardware
9947# tabs, so I have inserted it#8. Finally, :ac=^N: paired with the :ae: looked
9948# like a typo for :as=^N:; finally, added empty <acsc> to quiet tic -- esr)
9949hft-c|IBM High Function Terminal:\
9950	:am:mi:ms:\
9951	:co#80:it#8:li#25:\
9952	:AL=\E[%dL:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
9953	:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[L:as=^N:cd=\E[J:\
9954	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:dl=\E[M:dm=\E[4h:\
9955	:do=^J:ec=\E[%dX:ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:\
9956	:is=\Eb\E[m\017\E[?7h:k0=\E[010q:k1=\E[001q:k2=\E[002q:\
9957	:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:\
9958	:k8=\E[008q:k9=\E[009q:kd=\E[B:kh=\E[H:ku=\E[A:le=\E[D:\
9959	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
9960	:r1=\Eb\E[m\017\E[?7h\E[H\E[J:rc=\E[u:sc=\E[s:se=\E[m:\
9961	:so=\E[7m:te=\E[20h:ti=\E[20;4l\E[?7h\Eb:ue=\E[m:up=\E[A:\
9962	:us=\E[4m:
9963hft|AIWS High Function Terminal:\
9964	:am:xo:\
9965	:co#80:li#25:\
9966	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
9967	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E6:ho=\E[H:\
9968	:ic=\E[@:im=\E6:k1=\E[001q:k2=\E[002q:k3=\E[003q:\
9969	:k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:\
9970	:k9=\E[009q:kN=\E[153q:kP=\E[159q:ka=\E[010q:kb=^H:\
9971	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
9972	:md=\E[1m:me=\E[m:mk=\E[8m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:\
9973	:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
9974ibm-system1|system1|ibm system/1 computer:\
9975	:am:xt:\
9976	:co#80:li#24:\
9977	:bl=^G:cl=^Z:cm=\005%+ %+ :ho=^K:le=^H:nd=^\:sf=^J:up=^^:
9978#       lft-pc850 : IBM Low Function Terminal Device
9979#    lft "supports" underline, bold, and blink in the sense that the lft code
9980#    sets all the right bits.  HOWEVER, depending upon the adapter, these
9981#    attributes may or may not be supported by the device driver.
9982# (untranslatable capabilities removed to fit entry within 1023 bytes)
9983# (sgr removed to fit entry within 1023 bytes)
9984# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
9985lft|lft-pc850|LFT-PC850|IBM LFT PC850 Device:\
9986	:am:bw:ms:xo:\
9987	:co#80:it#8:li#25:\
9988	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
9989	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
9990	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:bt=\E[Z:cd=\E[2J:ce=\E[0K:\
9991	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:\
9992	:dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:\
9993	:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
9994	:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:kD=\E[P:\
9995	:kI=\E[139q:kN=\E[154q:kP=\E[150q:kb=^H:kd=\E[B:kh=\E[H:\
9996	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
9997	:mr=\E[7m:nd=\E[C:se=\E[0m:sf=\ED:so=\E[7m:sr=\EL:ue=\E[0m:\
9998	:up=\E[A:us=\E[4m:
9999
10000#
10001# AIX entries.  IBM ships these with AIX 3.2.5.
10002# AIX extension caps are commented out,
10003# except for box1 which has been translated to an <acsc> string.
10004#
10005aixterm|IBM Aixterm Terminal Eemulator:\
10006	:es:hs:\
10007	:ac=jjkkllmmnnqqttuuvvwwxx:ds=\E[?E:fs=\E[?F:md=\E[1m:\
10008	:me=\E[0;10m\E(B:s0=\E(B:s1=\E(0:\
10009	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m:\
10010	:sr@:ts=\E[?%p1%dT:\
10011	:tc=ibm6154:
10012aixterm-m|IBM AIXterm Monochrome Terminal Emulator:\
10013	:es:hs:\
10014	:ac=jjkkllmmnnqqttuuvvwwxx:ds=\E[?E:fs=\E[?F:md=\E[1m:\
10015	:me=\E[0;10m\E(B:s0=\E(B:s1=\E(0:\
10016	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
10017	:sr@:ts=\E[?%p1%dT:\
10018	:tc=ibm6153:
10019aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator:\
10020	:es:hs:\
10021	:ds=\E[?E:fs=\E[?F:md=\E[1m:\
10022	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
10023	:sr@:ts=\E[?%p1%dT:\
10024	:tc=ibm6153:
10025jaixterm|IBM Kanji Aixterm Terminal Eemulator:\
10026	:ac@:tc=aixterm:
10027jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator:\
10028	:ac@:\
10029	:tc=aixterm-m:
10030
10031#### Infoton/General Terminal Corp.
10032#
10033
10034# gt100 sounds like something DEC would come out with.  Let's hope they don't.
10035i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100):\
10036	:am:bs:\
10037	:co#80:li#24:\
10038	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\Ef%r%+ %+ :cr=^M:\
10039	:dl=\EM:do=^J:ho=\EH:le=^H:nd=\EC:se=\Ea:sf=^J:so=\Eb:up=\EA:\
10040	:vb=\Eb\Ea:
10041i400|infoton 400:\
10042	:am:bs:\
10043	:co#80:li#25:\
10044	:al=\E[L:bl=^G:ce=\E[N:cl=\E[2J:cm=%i\E[%3;%3H:cr=^M:\
10045	:dc=\E[4h\E[2Q\E[P\E[4l\E[0Q:dl=\E[M:do=^J:\
10046	:ei=\E[4l\E[0Q:im=\E[4h\E[2Q:le=^H:nd=\E[C:sf=^J:up=\E[A:
10047# (addrinfo: removed obsolete ":bc=^Z:" -- esr)
10048addrinfo:\
10049	:am:\
10050	:co#80:li#24:\
10051	:bl=^G:cd=^K:cl=^L:..cm=\037%p1%{1}%-%c%p2%{1}%-%c:cr=^M:\
10052	:do=^J:ho=^H:le=^Z:ll=^H^\:nd=^Y:sf=^J:up=^\:
10053# (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
10054infoton:\
10055	:am:\
10056	:co#80:li#24:\
10057	:bl=^G:cd=^K:cl=^L:cr=^M:do=^J:le=^Z:ll=^H^\:nd=^Y:sf=^J:\
10058	:up=^\:
10059
10060# The ICL6402 was actually the Kokusai Display System 6402.
10061# The 6404 was the KDS7372 (color version of the 6402).
10062#
10063# ICL6404 control codes follow:
10064#
10065#code            function
10066#~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10067#ctrl-A          set SOM position at cursor position
10068#ctrl-G          Bell
10069#ctrl-H          Backspace
10070#ctrl-I          Horiz tab
10071#ctrl-J          Linefeed
10072#ctrl-K          Cursor up
10073#ctrl-L          Cursor right
10074#ctrl-M          Carriage return
10075#ctrl-N          Disable xon/xoff to host
10076#ctrl-O          Enable xon/xoff to host
10077#ctrl-R          Enable bidirectional mode
10078#ctrl-T          Disable bidirectional mode
10079#ctrl-V          Cursor down
10080#ctrl-Z          Clear unprotected data to insert char
10081#ctrl-^          Cursor home
10082#ctrl-_          Newline
10083#
10084#ESC             lead-in char for multiple character command
10085#
10086#ESC space R     execute power on sequence
10087#ESC ! p1 p2     define scroll region:
10088#                p1 = scroll top    line:  20h - 37h
10089#                p1 = scroll bottom line:  20h - 37h
10090#ESC "           unlock keyboard
10091#ESC #           lock keyboard
10092#ESC $           Semi-graphics mode on
10093#ESC %           Semi-graphics mode off
10094#ESC &           protect mode on
10095#ESC '           protect mode off
10096#ESC (           write protect mode off (full intensity)
10097#ESC )           write protect mode on (half intensity)
10098#
10099#ESC *           clear screen
10100#ESC +           clear unprotected data to insert char
10101#ESC ,           clear unprotected data to half intensity spaces
10102#ESC - p1 p2 p3 p4     address cursor to page, row, column:
10103#                      p1 = page number  0 - 3
10104#                      p2 = row          20h - 7fh
10105#                      p3 = column (lo)  20h - 7fh
10106#                      p4 = column (hi)  20h - 21h (only 132 col)
10107#ESC . p1        set cursor style:
10108#                p1 = 0  invisible cursor
10109#                p1 = 1  block blinking cursor
10110#                p1 = 2  block steady cursor
10111#                p1 = 3  underline blinking cursor
10112#                p1 = 4  underline steady cursor
10113#ESC /           transmit cursor location (page, row, column)
10114#ESC 0 p1 p2 p3 p4     program edit key:
10115#                      p1 = edit key code: '@'-'S', '`'-'s'
10116#                      p2 p3 p4 = program data (3 bytes)
10117#
10118#ESC 1           set tab
10119#ESC 2           clear tab at cursor
10120#ESC 3           clear all tabs
10121#ESC 4           send unprotect line to cursor
10122#ESC 5           send unprotect page to cursor
10123#ESC 6           send line to cursor
10124#ESC 7           send page to cursor
10125#ESC 8 n         set scroll mode:
10126#                n = 0   set jump scroll
10127#                n = 1   set smooth scroll
10128#ESC 9 n         control display:
10129#                n = 0   display off
10130#                n = 1   display on
10131#ESC :           clear unprotected data to null
10132#ESC ;           clear unprotected data to insert char
10133#
10134#ESC <           keyclick on
10135#ESC = p1 p2     address cursor to row, column
10136#                p1 = row          20h - 7fh
10137#                p2 = column (lo)  20h - 7fh
10138#                p3 = column (hi)  20h - 21h (only 132 col)
10139#ESC >           keyclick off
10140#ESC ?           transmit cursor location (row, column)
10141#
10142#ESC @           copy print mode on
10143#ESC A           copy print mode off
10144#ESC B           block mode on
10145#ESC C           block mode off (conversation mode)
10146#ESC D F         set full duplex
10147#ESC D H         set half duplex
10148#ESC E           line insert
10149#ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
10150#                0 = black, 1 = red,     2 = green, 3 = yellow
10151#                4 = blue,  5 = magenta, 6 = cyan,  7 = white
10152#ESC G n         set serial field attribute (n = 30h - 3Fh)
10153#ESC H n         full graphics mode:
10154#                n = 0  exit full graphics mode
10155#                n = 1  enter full graphics mode
10156#ESC I           back tab
10157#ESC J           back page
10158#ESC K           forward page
10159#
10160#ESC L           unformatted page print
10161#ESC M L         move window left  (132 col mode only)
10162#ESC M R         move window right (132 col mode only)
10163#ESC N           set page edit (clear line edit)
10164#ESC O           set line edit (clear page edit)
10165#ESC P           formatted page print
10166#ESC Q           character insert
10167#ESC R           line delete
10168#ESC S           send message unprotected only
10169#ESC T           erase line to insert char
10170#ESC U           set monitor mode   (see ESC X, ESC u)
10171#
10172#ESC V n         select video attribute mode:
10173#                n = 0   serial field attribute mode
10174#                n = 1   parallel character attribute mode
10175#ESC V 2 n       define line attribute:
10176#                n = 0   single width single height
10177#                n = 1   single width double height
10178#                n = 2   double width single height
10179#                n = 3   double width double height
10180#ESC V 3 n       select character font:
10181#                n = 0   system font
10182#                n = 1   user defined font
10183#ESC V 4 n       select screen mode:
10184#                n = 0   page screen mode
10185#                n = 1   virtual screen mode
10186#ESC V 5 n       control mouse mode:
10187#                n = 0   disable mouse
10188#                n = 1   enable sample mode
10189#                n = 2   send mouse information
10190#                n = 3   enable request mode
10191#ESC W           character delete
10192#ESC X           clear monitor mode (see ESC U, ESC u)
10193#ESC Y           erase page to insert char
10194#
10195#ESC Z n         send user/status line:
10196#                n = 0   send user line
10197#                n = 1   send status line
10198#                n = 2   send terminal ID
10199#ESC [ p1 p2 p3  set character attribute (parallel char mode):
10200#                p1: 0 = normal
10201#                    1 = blank
10202#                    2 = blink
10203#                    3 = blink blank (= blank)
10204#                    4 = reverse
10205#                    5 = reverse blank
10206#                    6 = reverse blink
10207#                    7 = reverse blink blank (= reverse blank)
10208#                    8 = underline
10209#                    9 = underline blank
10210#                    : = underline blink
10211#                    ; = underline blink blank
10212#                    < = reverse underline
10213#                    = = reverse underline blank
10214#                    > = reverse underline blink
10215#                    ? = reverse underline blink blank
10216#                p2, p3: f/grnd, b/grnd colour
10217#                (see ESC F for colours)
10218#                use ZZ for mono, eg.
10219#                    ESC [ 0 Z Z for normal
10220#                    ESC [ 4 Z Z for inverse etc.
10221#
10222#ESC \ n         set page size:
10223#                n = 1   24 lines/page
10224#                n = 2   48 lines/page
10225#                n = 3   72 lines/page
10226#                n = 4   96 lines/page
10227#ESC ] n         set Wordstar mode:
10228#                n = 0   normal (KDS7372) mode
10229#                n = 1   Wordstar mode
10230#
10231#ESC b           set foreground colour screen
10232#
10233#ESC c n         enter self-test mode:
10234#                n = 0   exit self test mode
10235#                n = 1   ROM test
10236#                n = 2   RAM test
10237#                n = 3   NVRAM test
10238#                n = 4   screen display test
10239#                n = 5   main/printer port test
10240#                n = 6   mouse port test
10241#                n = 7   graphics board test
10242#                n = 8   graphics memory test
10243#                n = 9   display all 'E'
10244#                n = :   display all 'H'
10245#ESC d           set background colour screen
10246#
10247#ESC e n         program insert char (n = insert char)
10248#ESC f text CR   load user status line with 'text'
10249#
10250#ESC g           display user status line on 25th line
10251#ESC h           display system status line on 25th line
10252#ESC i           tab
10253#ESC j           reverse linefeed
10254#ESC k n         duplex/local edit mode:
10255#                n = 0   duplex edit mode
10256#                n = 1   local edit mode
10257#ESC l n         select virtual screen:
10258#                n = 0   screen 1
10259#                n = 1   screen 2
10260#ESC m           save current config to NVRAM
10261#ESC n p1        select display screen:
10262#                p1 = 0  screen 1
10263#                p1 = 1  screen 2
10264#                p1 = 2  screen 3
10265#                p1 = 3  screen 4
10266#ESC o p1 p2     set characters/line and attribute:
10267#                p1 = 0  80 chars/line
10268#
10269#ESC o p1 p2     set characters/line and attribute:
10270#                p1 = 0  80 chars/line
10271#                p1 = 1  132 chars/line
10272#                p2 = 0  single width single height
10273#                p2 = 1  single width double height
10274#                p2 = 2  double width single height
10275#                p2 = 3  double width double height
10276#
10277#ESC q           insert mode on
10278#ESC r           edit mode on
10279#ESC s           send message all
10280#ESC t           erase line to null
10281#ESC u           clear monitor mode (see ESC U, ESC X)
10282#ESC v           autopage mode on
10283#ESC w           autopage mode off
10284#ESC x p1 p2 p3  define delimiter code...
10285#ESC y           erase page to null
10286#
10287#ESC z 2 p1 p2 p3 p4   draw quadrangle:
10288#                      p1 = starting row
10289#                      p2 = starting column
10290#                      p3 = end row
10291#                      p4 = end column
10292#
10293#ESC { p1 p2 p3 p4     configure main port
10294#                      (baud, stop bits, parity, word length)
10295#
10296#ESC | p1 p2 text Ctrl-Y    program function key with 'text':
10297#                        p1 = function key code:
10298#                             '1' - ';'  normal f1- f11
10299#                             '<' - 'F'  shifted f1 - f11
10300#                        p2 = program mode:
10301#                             1 = FDX
10302#                             2 = LOC
10303#                             3 = HDX
10304#                        Ctrl-Y = terminator
10305#                        (use Ctrl-P to escape ^P, ^Y )
10306#
10307#ESC } p1 p2 p3 p4     configure printer port
10308#                      (baud, stop bits, parity, word length)
10309#ESC ~           send system status
10310#
10311# Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
10312#
10313# Entry is by esr going solely on above information and is UNTESTED.
10314# This actually looks a lot like a Televideo 9xx.
10315# This entry uses page 0 and is monochrome; I'm not brave enough to try
10316# to make color work without a test terminal.  The :am: capability is a guess.
10317# The initialization string sets conversation mode, blinking underline cursor,
10318# full duplex, parallel attribute mode, display user status line, white
10319# foreground, black background, normal highlight.
10320#
10321icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372:\
10322	:am:bs:hs:\
10323	:co#80:li#24:\
10324	:DC=\EW:al=\EE:bl=^G:bt=\EI:cl=\E*:cm=\E=%+ %+P%+P:cr=^M:\
10325	:..cs=\E\041%+%p1%{32}%+%p2%{32} cud1=\026:ct=\E3:\
10326	:dl=\ER:ei=\Er:ho=^^:i1=\EC\E.3\EDF\EV1\Eg\E[0ZZ:im=\Eq:\
10327	:mb=\E[2ZZ:me=\E[0ZZ:mk=\E[1ZZ:mr=\E[4ZZ:nd=^L:nw=^_:\
10328	:r2=\Eo1:\
10329	:..sa=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ:\
10330	:se=\E[%gh%{4}%^%Ph%gh%dZZ:so=\E[8ZZ:st=\E1:ta=^I:\
10331	:ue=\E[%gh%{8}%^%Ph%gh%dZZ:up=^K:us=\E[8ZZ:ve=\E.3:\
10332	:vi=\E.0:vs=\E.1:
10333icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols:\
10334	:r2=\Eo1:\
10335	:tc=icl6404:
10336
10337#### Interactive Systems Corp
10338#
10339# ISC used to sell OEMed and customized hardware to support ISC UNIX.
10340# ISC UNIX still exists in 1995, but ISC itself is no more; they got
10341# bought out by Sun.
10342#
10343
10344# From: <cithep!eric>  Wed Sep 16 08:06:44 1981
10345# (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
10346# ":le=^_:" later overridden -- esr)
10347intext|Interactive Systems Corporation modified owl 1200:\
10348	:am:bs:\
10349	:co#80:it#8:li#24:sg#1:\
10350	:al=\020:bl=^G:bt=^Y:cd=\026J:ce=^Kp^R:cl=\014:\
10351	:cm=\017%+ %+ :cr=^M:dc=\022:dl=\021:do=^J:ei=^V<:im=^V;:\
10352	:ip=:k0=^VJ\r:k1=^VA\r:k2=^VB\r:k3=^VC\r:k4=^VD\r:k5=^VE\r:\
10353	:k6=^VF\r:k7=^VG\r:k8=^VH\r:k9=^VI\r:kb=^H:kd=^J:ke=^V9:\
10354	:kh=^Z:kl=^_:kr=^^:ks=\036\072\264\026%:ku=^\:le=^H:nd=^^:\
10355	:se=^V# :sf=^J:so=^V$\054:ta=^I:up=^\:
10356intext2|intextii|INTERACTIVE modified owl 1251:\
10357	:am:bw:ul:\
10358	:co#80:li#24:sg#0:\
10359	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:\
10360	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
10361	:do=\E[B:ei=:ic=\E[@:im=:k0=\E@\r:k1=\EP\r:k2=\EQ\r:\
10362	:k3=\ES\r:k4=\ET\r:k5=\EU\r:k6=\EV\r:k7=\EW\r:k8=\EX\r:\
10363	:k9=\EY\r:kb=^H:kd=\EB\r:kh=\ER\r:kl=\ED\r:kr=\EC\r:\
10364	:ku=\EA\r:l0=REFRSH:l1=DEL CH:l2=TABSET:l3=GOTO:l4=+PAGE:\
10365	:l5=+SRCH:l6=-PAGE:l7=-SRCH:l8=LEFT:l9=RIGHT:nd=\E[C:\
10366	:se=\E[2 D:sf=\E[S:so=\E[6 D:sr=\E[T:ta=^I:ue=\E[2 D:\
10367	:up=\E[A:us=\E[18 D:\
10368	:vb=\E[;;;;;;;;;2;;u\E[;;;;;;;;;1;;u:
10369
10370#### Kimtron (abm, kt)
10371#
10372# Kimtron seems to be history, but as March 1998 these people are still
10373# offering repair services for Kimtron equipment:
10374#
10375#    Com/Pair Monitor Service
10376#    1105 N. Cliff Ave.
10377#    Sioux Falls, South Dakota 57103
10378#
10379#    WATS voice:  1-800/398-4946
10380#    POTS   fax: +1 605/338-8709
10381#    POTS voice: +1 605/338-9650
10382#         Email: <compair@sd.cybernex.net>
10383#  Internet/Web: <http://www.com-pair.com>
10384#
10385# Kimtron entries include (undocumented) codes for: enter dim mode,
10386# enter bold mode, enter reverse mode, turn off all attributes.
10387#
10388
10389# Kimtron ABM 85 added by Dual Systems
10390# (abm85: removed duplicated ":kd=^J:" -- esr)
10391abm85|Kimtron ABM 85:\
10392	:am:bs:bw:ms:\
10393	:co#80:it#8:li#24:sg#1:\
10394	:al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
10395	:dl=\ER:do=^J:ei=\Er:if=/usr/share/tabset/stdcrt:im=\EQ:\
10396	:is=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq:kb=^H:kd=^J:kh=^^:\
10397	:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\Ek:so=\Ej:ta=^I:ue=\Em:\
10398	:up=^K:us=\El:
10399# Kimtron ABM 85H added by Dual Systems.
10400# Some notes about the abm85h entries:
10401# 1) there are several firmware revs of 85H in the world. Use abm85h-old for
10402#    firmware revs prior to SP51
10403# 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
10404#    abm85e entry if it is in tvi920 emulation mode. They are incompatible
10405#    in some places and NOT software settable i.e., :is: can't fix it)
10406# 3) In 85h mode, the arrow keys and special functions transmit when
10407#    the terminal is in dup-edit, and work only locally in local-edit.
10408#    Vi won't swallow `del char' for instance, but :ti: turns on
10409#    dup-edit anyway so that the arrow keys will work right. If the
10410#    arrow keys don't work the way you like, change :ti:, :te:, and
10411#    :is:.  Note that 920E mode does not have software commands to toggle
10412#    between dup and local edit, so you get whatever was set last on the
10413#    terminal.
10414# 4) :vb: attribute is nice, but seems too slow to work correctly
10415#    (\Eb:pc:\Ed)
10416# 5) Make sure `hidden' attributes are selected. If `embedded' attributes
10417#    are selected, the <xmc@> entry should be removed.
10418# 6) auto new-line should be on (selectable from setup mode only)
10419#
10420# From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
10421abm85h|Kimtron ABM 85H native mode:\
10422	:hs:\
10423	:sg@:\
10424	:bl=^G:ds=\Ee:fs=^M:im=\EZ:\
10425	:is=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El:\
10426	:kd=^V:me=\E(\EG0:mh=\E):mk@:ts=\Eg\Ef:vb@:ve=\E.4:vs=\E.2:\
10427	:tc=adm+sgr:tc=abm85:
10428abm85e|Kimtron ABM 85H in 920E mode:\
10429	:sg@:\
10430	:bl=^G:im=\EZ:\
10431	:is=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em:\
10432	:me=\E(\Ek:mh=\E):mr=\Ej:vb@:\
10433	:tc=abm85:
10434abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.:\
10435	:sg@:\
10436	:bl=^G:im=\EZ:\
10437	:is=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF:\
10438	:me=\E(\Ek:mh=\E):mr=\Ej:\
10439	:tc=abm85:
10440# From: <malman@bbn-vax.arpa>
10441# (kt7: removed obsolete :ma=^V^J^L :" -- esr)
10442kt7|kimtron model kt-7:\
10443	:am:bs:\
10444	:co#80:it#8:li#24:\
10445	:al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
10446	:dl=\ER:do=^V:ei=:fs=\Eg:ho=^^:ic=\EQ:\
10447	:if=/usr/share/tabset/stdcrt:im=:is=\El\E":k0=^AI\r:\
10448	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
10449	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=^Z:kD=\EW:\
10450	:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:\
10451	:ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\Ef:up=^K:\
10452	:tc=adm+sgr:
10453# Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
10454# other kt7 entry and the adjacent key capabilities).  Removed EE which is
10455# identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
10456# but we can't figure out what.
10457kt7ix|kimtron model kt-7 or 70 in IX mode:\
10458	:am:bw:\
10459	:co#80:it#8:li#25:\
10460	:@7=\EY:PU=\EK:ac=jYk?lZm@nEqDt4uCvAwBx3:ae=\E%:al=\EE:\
10461	:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :\
10462	:cr=^M:dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=:fs=^M:ho=^^:ic=\EQ:\
10463	:im=:is=\EG0\E s\017\E~:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
10464	:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
10465	:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:kE=\ET:kI=\EQ:kL=\ER:kN=\EJ:\
10466	:kS=\EY:kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
10467	:mb=\EG2:me=\EG0:mh=\EG@:nd=^L:nw=^M^J:se=\EG0:sf=^J:\
10468	:so=\EG4:ta=^I:ts=\Ef:ue=\EG0:up=^K:us=\EG8:ve=\E.3:vi=\E.0:
10469
10470#### Microdata/MDIS
10471#
10472# This was a line of terminals made by McDonnell-Douglas Information Systems.
10473# These entries come direct from MDIS documentation.  I have edited them only
10474# to move primary names of the form p[0-9] * to aliases, and to comment out
10475# :ae:/:as: in a couple of entries without <acsc> strings.  I have
10476# also removed the change history; the last version indicates this is
10477# version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
10478#
10479
10480# McDonnell Information Systems Terminal Family History
10481# =========================================
10482#
10483# Prism-1, Prism-2 and P99:
10484#       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
10485#
10486# Prism-4 and Prism-5:
10487#       Slightly less ancient range of Microdata terminals. Follow-on from
10488#       Prism-2, but with many enhancements. P5 has eight display pages.
10489#
10490# Prism-6:
10491#       A special terminal for use with library systems, primarily in Germany.
10492#       Limited numbers. Similar functionality to P5 (except attributes?).
10493#
10494# Prism-7, Prism-8 and Prism-9:
10495#       More recent range of MDIS terminals, in which P7 and P8
10496#       replace the P4 & P5, with added functionality, and P9 is the flagship.
10497#       The P9 has two emulation modes - P8 and ANSI - and includes a
10498#       large number of the DEC VT220 control sequences. Both
10499#       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
10500#
10501# Prism-12 and Prism-14:
10502#       Latest range, functionally very similar to the P9.  The P14 has a
10503#       black-on-white overscanning screen.
10504#
10505# The terminfo definitions given here are:
10506#
10507# p2      - Prism-2 (or Prism-1 or P99).
10508#
10509# p4      - Prism-4 (and older P7s & P8s).
10510# p5      - Prism-5 (or Prism-6).
10511#
10512# p7      - Prism-7.
10513# p8      - Prism-8 (in national or multinational mode).
10514# p8-w    - 132 column version of p8.
10515# p9      - Prism-9 in ANSI mode.
10516# p9-w    - 132 column version of p9.
10517# p9-8    - Prism-9 in Prism-8 emulation mode.
10518# p9-8-w  - As p9-8, but with 132 columns.
10519#
10520# p12     - Prism-12 in ANSI mode.
10521# p12-w   - 132 column version of p12.
10522# p12-m   - Prism-12 in MDC emulation mode.
10523# p12-m-w - As p12-m, but with 132 columns.
10524# p14     - Prism-14 in ANSI mode.
10525# p14-w   - 132 column version of p14.
10526# p14-m   - Prism-14 in MDC emulation mode.
10527# p14-m-w - As p14-m, but with 132 columns.
10528#
10529# p2: Prism-2
10530# -----------
10531#
10532# Includes Prism-1 and basic P99 without SP or MP loaded.
10533# The simplest form of Prism-type terminal.
10534# Basic cursor movement and clearing operations only.
10535# No video attributes.
10536# Notes:
10537#  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
10538#  value up, followed by backspace.
10539#
10540prism2|MDC Prism-2:\
10541	:am:bw:ms:\
10542	:co#80:li#24:\
10543	:bl=^G:cd=\EJ:ce=\EK:\
10544	:..ch=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
10545	:cl=\014:\
10546	:..cm=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
10547	:cr=^M:cv=\013%+ :do=^J:ho=^A:kb=^H:kh=^A:le=^H:nd=^F:sf=^J:\
10548	:up=^Z:
10549
10550# p4: Prism-4
10551# -----------
10552#
10553# Includes early versions of P7 & P8.
10554# Basic family definition for most Prisms (except P2 and P9 ANSI).
10555# Notes:
10556#  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
10557#  value up, followed by backspace.
10558#  Cursor key definitions removed because they interfere with vi and csh keys.
10559#
10560prism4|p4|P4|MDC Prism-4:\
10561	:5i:am:bw:hs:ms:\
10562	:co#80:li#24:sg#1:ws#72:\
10563	:bl=^G:cd=\EJ:ce=\EK:\
10564	:..ch=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
10565	:cl=\014:\
10566	:..cm=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
10567	:cr=^M:cv=\013%+ :do=^J:ds=\035\343\035\345:fs=^]\345:\
10568	:ho=^A:kb=^H:kh=^A:le=^H:mb=^CB:me=^C :mh=^CA:mk=^CH:mr=^CD:\
10569	:nd=^F:pf=\ET:po=\ER:ps=\EU:\
10570	:..sa=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;:\
10571	:se=^C :sf=^J:so=^CD:ts=^]\343:ue=^C :up=^Z:us=^CP:\
10572	:ve=^]\342:vi=^]\344:
10573
10574# p5: Prism-5
10575# -----------
10576#
10577# Same definition as p4. Includes Prism-6 (not tested!).
10578# Does not use any multi-page features.
10579#
10580prism5|p5|P5|MDC Prism-5:\
10581	:tc=p4:
10582
10583# p7: Prism-7
10584# -----------
10585#
10586# Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
10587# Notes:
10588#  Use p4 for very early models of P7.
10589#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
10590#
10591prism7|p7|P7|MDC Prism-7:\
10592	:ch@:cm=\E[%i%d;%dH:cv@:tc=p4:
10593
10594# p8: Prism-8
10595# -----------
10596#
10597# Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
10598# Supports national and multinational character sets.
10599# Notes:
10600#  Alternate char set operations only work in multinational mode.
10601#  Use p4 for very early models of P8.
10602#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
10603# (esr: commented out :as:/:ae: because there's no <acsc>)
10604#
10605prism8|p8|P8|MDC Prism-8:\
10606	:ch=\E[%i%d`:cm=\E[%i%d;%dH:cv=\E[%i%dd:is=\E[<12h:tc=p4:
10607
10608# p8-w: Prism-8 in 132 column mode
10609# --------------------------------
10610#
10611# 'Wide' version of p8.
10612# Notes:
10613#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
10614#
10615prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode:\
10616	:co#132:\
10617	:is=\E[<12h\E[<14h:tc=p8:
10618
10619# p9: Prism-9 in ANSI mode
10620# -------------------------
10621#
10622# The "flagship" model of this generation of terminals.
10623# ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
10624# Notes:
10625#  Tabs only reset by "reset". Otherwise assumes default (8 cols).
10626#  Fixes to deal with terminal firmware bugs:
10627#  . 'ri' uses insert-line since rev index doesn't always
10628#  . 'sgr0' has extra '0' since esc[m fails
10629#  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
10630#  Not covered in the current definition:
10631#  . Labels
10632#  . Programming Fn keys
10633#  . Graphic characters (defaults correctly to vt100)
10634#  . Padding values (sets xon)
10635# (esr: commented out :as:/:ae: because there's no <acsc>)
10636#
10637# (untranslatable capabilities removed to fit entry within 1023 bytes)
10638prism9|p9|P9|MDC Prism-9 in ANSII mode:\
10639	:5i:am:bw:hs:ms:xn:xo:\
10640	:co#80:it#8:li#24:vt#3:ws#72:\
10641	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
10642	:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
10643	:F7=\E[31~:F8=\E[32~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
10644	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=^L:\
10645	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%d%v:ct=\E[2g:\
10646	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ds=\E[%}\024:ec=\E[%dX:\
10647	:ei=\E[4l:fs=^T:ho=\E[H:im=\E[4h:is=\E[&p\E[<12l\E F:\
10648	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
10649	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kC=^L:\
10650	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
10651	:mb=\E[5m:md=\E[1m:me=\E[0m:mp=\E[32%{:mr=\E[7m:nd=\E[C:\
10652	:nw=^M^J:pf=\E[4i:po=\E[5i:ps=\E[i:\
10653	:r2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N:\
10654	:rc=\E[%z:rp=\E[%r%db%.:sc=\E[%y:se=\E[27m:sf=^J:so=\E[7m:\
10655	:sr=\E[L:st=\EH:ta=^I:ts=\E[%i%p1%d%%}:ue=\E[24m:up=\E[A:\
10656	:us=\E[4m:ve=\E[<4h:vi=\E[<4l:
10657
10658# p9-w: Prism-9 in 132 column mode
10659# --------------------------------
10660#
10661# 'Wide' version of p9.
10662#
10663prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode:\
10664	:co#132:\
10665	:is=\E[&p\E[<12l\E F\E[<14h:\
10666	:r2=\E[&p\E[<12l\E F\E[<14h:tc=p9:
10667
10668# p9-8: Prism-9 in P8 mode
10669# ------------------------
10670#
10671# P9 terminal in P8 emulation mode.
10672# Similar to p8 definition.
10673# Insertion and deletion operations possible.
10674#
10675prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode:\
10676	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:dc=\E[P:\
10677	:dl=\E[M:ei=:ic=\E[@:im=:\
10678	:tc=p8:
10679
10680# p9-8-w: Prism-9 in P8 and 132 column modes
10681# ------------------------------------------
10682#
10683# P9 terminal in P8 emulation mode and 132 column mode.
10684#
10685prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode:\
10686	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:dc=\E[P:\
10687	:dl=\E[M:ei=:ic=\E[@:im=:\
10688	:tc=p8-w:
10689
10690# p12: Prism-12 in ANSI mode
10691# ---------------------------
10692#
10693# See p9 definition.
10694#
10695prism12|p12|P12|MDC Prism-12 in ANSI mode:\
10696	:tc=p9:
10697
10698# p12-w: Prism-12 in 132 column mode
10699# ----------------------------------
10700#
10701# 'Wide' version of p12.
10702#
10703prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode:\
10704	:tc=p9-w:
10705
10706# p12-m: Prism-12 in MDC emulation mode
10707# -------------------------------------
10708#
10709# P12 terminal in MDC emulation mode.
10710# Similar to p8 definition.
10711# Insertion and deletion operations possible.
10712#
10713prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode:\
10714	:tc=p9-8:
10715
10716# p12-m-w: Prism-12 in MDC emulation and 132 column modes
10717# -------------------------------------------------------
10718#
10719# P12 terminal in MDC emulation mode and 132 column mode.
10720#
10721prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode:\
10722	:tc=p9-8-w:
10723
10724# p14: Prism-14 in ANSII mode
10725# ---------------------------
10726#
10727# See p9 definition.
10728#
10729prism14|p14|P14|MDC Prism-14 in ANSII mode:\
10730	:tc=p9:
10731
10732# p14-w: Prism-14 in 132 column mode
10733# ----------------------------------
10734#
10735# 'Wide' version of p14.
10736#
10737prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode:\
10738	:tc=p9-w:
10739
10740# p14-m: Prism-14 in MDC emulation mode
10741# -------------------------------------
10742#
10743# P14 terminal in MDC emulation mode.
10744# Similar to p8 definition.
10745# Insertion and deletion operations possible.
10746#
10747prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode:\
10748	:tc=p9-8:
10749
10750# p14-m-w: Prism-14 in MDC emulation and 132 column modes
10751# -------------------------------------------------------
10752#
10753# P14 terminal in MDC emulation mode and 132 column mode.
10754#
10755prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode:\
10756	:tc=p9-8-w:
10757
10758# End of McDonnell Information Systems Prism definitions
10759
10760# These things were popular in the Pick database community at one time
10761# From: George Land <georgeland@aol.com> 24 Sep 1996
10762p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition:\
10763	:am:bw:hs:mi:\
10764	:co#80:li#24:ma#1:sg#1:ws#78:\
10765	:F2=^AJ\r:F3=^AK\r:F4=^AL\r:F5=^AM\r:F6=^AN\r:F7=^AO\r:\
10766	:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc= ^H:\
10767	:dl=^P:do=^J:ho=^A:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
10768	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
10769	:kD= ^H:kE=\EK:kL=^P:kS=\EJ:kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:\
10770	:ku=^Z:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:l9=F9:\
10771	:la=F10:le=^U:mb=^CB:me=^C :mh=^CA:mk=^CH:mr=^CD:nd=^F:\
10772	:nw=^J^M:pc=\0:se=^C :sf=^J:so=^CE:ue=^C :up=^Z:us=^C0:
10773
10774#### Microterm (act, mime)
10775#
10776# The mime1 entries refer to the Microterm Mime I or Mime II.
10777# The default mime is assumed to be in enhanced act iv mode.
10778#
10779
10780# New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
10781# freakout with out-of-range args on Sytek multiplexors.  No :so=^N: and
10782# :se=^N: since  it gets confused and it's too dim anyway.  No :ic:
10783# since Sytek insists ^S means xoff.
10784# (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
10785act4|microterm|microterm act iv:\
10786	:am:bs:\
10787	:co#80:li#24:\
10788	:al=2.3*\001<2.3*/>:bl=^G:cd=2.2*\037:ce=.1*\036:\
10789	:cl=12\014:cm=\024%+^X%>/0%+P:cr=^M:dc=.1*\004:\
10790	:dl=2.3*\027:do=^K:ho=^]:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:\
10791	:sf=^J:up=^Z:
10792# The padding on :sr: and :ta: for act5 and mime is a guess and not final.
10793# The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
10794# (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
10795act5|microterm5|microterm act v:\
10796	:kd=^K:kl=^H:kr=^X:ku=^Z:sr=\EH:uc=^H\EA:tc=act4:
10797# Mimes using brightness for standout.  Half bright is really dim unless
10798# you turn up the brightness so far that lines show up on the screen.
10799mime-fb|full bright mime1:\
10800	:is=^S\E:se=^S:so=^Y:tc=mime:
10801mime-hb|half bright mime1:\
10802	:is=^Y\E:se=^Y:so=^S:tc=mime:
10803# (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
10804# the more plausible ":do=^J:" -- esr)
10805# uc was at one time disabled to get around a curses bug, be wary of it
10806mime|mime1|mime2|mimei|mimeii|microterm mime1:\
10807	:am:bs:\
10808	:co#80:it#8:li#24:vt#9:\
10809	:al=\001:bl=^G:cd=^_:ce=^^:cl=^]^C:cm=\024%+^X%> 0%+P:\
10810	:cr=^M:dl=\027:do=^J:ho=^]:is=^S\E^Q:kd=^K:kl=^H:kr=^X:ku=^Z:\
10811	:le=^H:nd=^X:sf=^J:sr=\022:ta=\011:uc=^U:up=^Z:
10812# These termcaps (for mime2a) put the terminal in low intensity mode
10813# since high intensity mode is so obnoxious.
10814mime2a-s|microterm mime2a (emulating an enhanced soroc iq120):\
10815	:am:bs:\
10816	:co#80:li#24:\
10817	:al=\001:bl=^G:cd=\EJ:ce=\EK:cl=\EL:cm=\E=%+ %+ :cr=^M:\
10818	:dc=\ED:dl=\027:do=^J:ei=^Z:ho=^^:im=\EE:ip=:is=\E):kd=^J:\
10819	:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\E;:sf=^J:so=\E\072:sr=\EI:\
10820	:ue=\E7:up=\EI:us=\E6:
10821# This is the preferred mode (but ^X can't be used as a kill character)
10822mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52):\
10823	:bs:\
10824	:co#80:it#8:li#24:\
10825	:al=\001:bl=^G:cd=\EQ:ce=\EP:cl=\EL:cm=\EY%+ %+ :cr=^M:\
10826	:dc=^N:dl=\027:do=^J:ei=^Z:ho=\EH:im=^O:ip=:is=^Y:kd=\EB:\
10827	:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\E9:sf=^J:so=\E8:\
10828	:sr=\EA:ta=^I:ue=\E5:up=\EA:us=\E4:
10829# (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
10830mime3a|mime1 emulating 3a:\
10831	:am@:\
10832	:kd=^K:kl=^H:kr=^X:ku=^Z:tc=adm3a:
10833mime3ax|mime-3ax|mime1 emulating enhanced 3a:\
10834	:it#8:\
10835	:al=\001:cd=^_:ce=^X:dl=\027:ta=\011:tc=mime3a:
10836# Wed Mar  9 18:53:21 1983
10837# We run our terminals at 2400 baud, so there might be some timing problems at
10838# higher speeds. The major improvements in this model are the terminal now
10839# scrolls down and insert mode works without redrawing the rest of the line
10840# to the right of the cursor. This is done with a bit of a kludge using the
10841# exit graphics mode to get out of insert, but it does not appear to hurt
10842# anything when using vi at least. If you have some users using act4s with
10843# programs that use curses and graphics mode this could be a problem.
10844mime314|mm314|mime 314:\
10845	:am:\
10846	:co#80:li#24:\
10847	:al=^A:cd=^_:ce=^^:cl=^L:cm=\024%.%.:dc=^D:dl=^W:ei=^V:ho=^]:\
10848	:im=^S:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:ta=^I:up=^Z:
10849# Microterm mime 340 from University of Wisconsin
10850mm340|mime340|mime 340:\
10851	:co#80:li#24:\
10852	:al=46\EU:cd=2*\037:ce=2.1\EL:cl=12\032:cm=\E=%+ %+ :\
10853	:cr=^M:dc=2.1*\E#:dl=49.6\EV:do=^J:is=\E\054:kb=^H:kd=^J:\
10854	:kl=^H:ku=^K:le=^H:nd=^L:nw=^M^J:sf=^J:ta=^I:up=^K:
10855# This came from University of Wisconsin marked "astro termcap for jooss".
10856# (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
10857# also added <rmam>/<smam> based  on the init string -- esr)
10858mt4520-rv|micro-term 4520 reverse video:\
10859	:am:hs:ms:xn:xo:\
10860	:co#80:it#8:li#24:ws#80:\
10861	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
10862	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
10863	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
10864	:cr=^M:cs=\E[%i%d;%dr:ct=\E[g:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
10865	:fs=\E[?5l\E[?5h:ho=\E[H:ic=\E[@:im=:\
10866	:is=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J:\
10867	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:\
10868	:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:me=\E[m:\
10869	:nd=\E[C:nw=\EE:\
10870	:r1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J:\
10871	:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[0m:\
10872	:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[25;1H:ue=\E[24m:\
10873	:up=\E[A:us=\E[4m:vb=\E[?5l\E[?5h:ve=\E[0V\E8:\
10874	:vs=\E7\E[0U:
10875
10876# Fri Aug  5 08:11:57 1983
10877# This entry works for the ergo 4000 with the following setups:
10878# ansi,wraparound,newline disabled, xon/xoff disabled in both
10879# setup a & c.
10880#
10881# WARNING!!! There are multiple versions of ERGO 4000 microcode
10882# Be advised that very early versions DO NOT WORK RIGHT !!
10883# Microterm does have a ROM exchange program- use it or lose big
10884# (ergo400: added <rmam>/<smam> based on the init string -- esr)
10885ergo4000|microterm ergo 4000:\
10886	:da:db:ms:\
10887	:co#80:li#66:\
10888	:AL=\E[1L:RA=\E[?7l:SA=\E[?7m:bl=^G:cd=\E[0J:ce=\E[0K:\
10889	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[1M:\
10890	:do=\E[B:ei=\E[4l:im=\E[4h:\
10891	:is=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:\
10892	:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:ke=\E=:kl=\E[D:kr=\E[C:\
10893	:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:le=^H:me=\E[m:\
10894	:nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:
10895
10896#### NCR
10897#
10898# NCR's terminal group was merged with AT&T's when AT&T bought the company.
10899# For what happened to that group, see the ADDS section.
10900#
10901# There is an NCR4103 terminal that's just a re-badged Wyse-50.
10902#
10903
10904# The following vendor-supplied termcaps were captured from the Boundless
10905# Technologies site, 8 March 1998.  I removed all-upper-case names that were
10906# identical, except for case, to lower-case ones.  I also uncommented the acsc
10907# capabilities.X
10908#
10909# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
10910# DEC vt200/300 with color capabilities added.
10911ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard:\
10912	:Co#8:pa#64:\
10913	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300an:
10914# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
10915# DEC vt200/300 with color capabilities added.
10916ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard:\
10917	:Co#8:pa#64:\
10918	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300wan:
10919# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
10920# DEC vt200/300 with color capabilities added.
10921ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard:\
10922	:Co#8:pa#64:\
10923	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300pp:
10924# The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
10925# DEC vt200/300 with color capabilities added.
10926ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode:\
10927	:Co#8:pa#64:\
10928	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300wpp:
10929# This definition for ViewPoint supports several attributes.  This means
10930# that it has magic cookies (extra spaces where the attributes begin).
10931# Some applications do not function well with magic cookies.  The System
10932# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
10933# If supporting various attributes is not vital, 'xmc#1' and the extra
10934# attributes can be removed.
10935# Mapping to ASCII character set ('acsc' capability) can also be
10936# restored if needed.
10937# (untranslatable capabilities removed to fit entry within 1023 bytes)
10938# (sgr removed to fit entry within 1023 bytes)
10939# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
10940ncr260vppp|NCR 2900_260 viewpoint:\
10941	:am:bw:hs:km:mi:ms:xo:\
10942	:co#80:li#24:sg#1:\
10943	:CM=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c:K1=^A:\
10944	:K3=\EJ:K4=\ET:K5=\EJ:ae=\EcB0\EH\003:al=\EM:\
10945	:as=\EcB1\EH\002:bl=^G:bt=\EI:cd=\Ek:ce=\EK:cl=\014:\
10946	:cm=\EY%+ %+ :cr=\r:dc=\EW:dl=\El:do=\n:ds=\E`c:ei=\Er:\
10947	:fs=^M:ho=\036:im=\Eq:\
10948	:is=\Ee6\E~%\E+\E`\072\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
10949	:k1=^B1\r:k2=^B2\r:k3=^B3\r:k4=^B4\r:k5=^B5\r:k6=^B6\r:\
10950	:k7=^B7\r:k8=^B8\r:k9=^B9\r:kD=\EW:kI=\Eq:kN=\EJ:kP=\EJ:\
10951	:kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=\010:ll=\001:mb=\EG2:\
10952	:me=\EG0\EH\003:mh=\EGp:mr=\EG4:nd=\006:nw=\037:se=\EG0:\
10953	:sf=\n:so=\EG4:sr=\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:up=\032:\
10954	:us=\EG8:ve=\E`5:vi=\E`0:vs=\E`5:
10955ncr260vpwpp|NCR 2900_260 viewpoint wide mode:\
10956	:co#132:\
10957	:cm=\Ea%i%dR%dC:\
10958	:is=\Ee6\E~%\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
10959	:r2=\Ee6\E~%\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
10960	:tc=ncr260vppp:
10961# (untranslatable capabilities removed to fit entry within 1023 bytes)
10962# (sgr removed to fit entry within 1023 bytes)
10963# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
10964ncr260vt100an|NCR 2900_260 vt100 with ansi kybd:\
10965	:am:hs:mi:ms:xn:xo:\
10966	:co#80:li#24:\
10967	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
10968	:K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
10969	:RI=\E[%dC:SF=\E[%dE:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
10970	:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:cr=\r:\
10971	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:\
10972	:ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:\
10973	:im=\E[4h:\
10974	:is=\E[\041p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
10975	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kD=\E[3~:kI=\E[2~:\
10976	:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
10977	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=\E[D:mb=\E[5m:md=\E[1m:\
10978	:me=\E[0m\017:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\
10979	:se=\E[0m:sf=\ED:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
10980	:ts=\E[2$~\E[1$}:ue=\E[0m:up=\E[A:us=\E[4m:ve=\E[?25h:\
10981	:vi=\E[?25l:
10982ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd:\
10983	:co#132:\
10984	:cm=\E[%i%d;%dH:\
10985	:is=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
10986	:r2=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
10987	:tc=ncr260vt100an:
10988ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd:\
10989	:@7=\E[5~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:\
10990	:is=\E[\041p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
10991	:kD=\E[4~:kI=\E[1~:kN=\E[6~:kP=\E[3~:kd=\E[B:ke=\E>:\
10992	:kh=\E[2~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:\
10993	:l3=pf3:l4=pf4:\
10994	:r2=\E[\041p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:tc=ncr260vt100an:
10995ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd:\
10996	:co#132:\
10997	:cm=\E[%i%d;%dH:\
10998	:is=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
10999	:r2=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
11000	:tc=ncr260vt100pp:
11001# (untranslatable capabilities removed to fit entry within 1023 bytes)
11002# (sgr removed to fit entry within 1023 bytes)
11003# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
11004ncr260vt200an|NCR 2900_260 vt200 with ansi kybd:\
11005	:am:hs:mi:ms:xn:xo:\
11006	:co#80:li#24:\
11007	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
11008	:K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
11009	:RI=\E[%dC:SF=\E[%dE:UP=\E[%dA:ae=\017:al=\E[L:as=\016:\
11010	:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:\
11011	:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:\
11012	:ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:\
11013	:im=\E[4h:\
11014	:is=\E[\041p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
11015	:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
11016	:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
11017	:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
11018	:ks=\E[?1h\E=:ku=\EOA:le=\E[D:mb=\E[5m:md=\E[1m:\
11019	:me=\E[0m\017:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\
11020	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
11021	:ts=\E[2$~\E[1$}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:\
11022	:vi=\E[?25l:
11023ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd:\
11024	:co#132:\
11025	:cm=\E[%i%d;%dH:\
11026	:is=\E[\041p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H:\
11027	:r2=\E[\041p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H:\
11028	:tc=ncr260vt200an:
11029ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd:\
11030	:@7=\E[1~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:kD=\E[4~:\
11031	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
11032	:kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
11033	:tc=ncr260vt200an:
11034ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd:\
11035	:co#132:\
11036	:cm=\E[%i%d;%dH:\
11037	:is=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
11038	:r2=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
11039	:tc=ncr260vt200pp:
11040# (untranslatable capabilities removed to fit entry within 1023 bytes)
11041# (sgr removed to fit entry within 1023 bytes)
11042# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
11043ncr260vt300an|NCR 2900_260 vt300 with ansi kybd:\
11044	:am:hs:mi:ms:xn:xo:\
11045	:co#80:li#24:\
11046	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
11047	:K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
11048	:RI=\E[%dC:SF=\E[%dE:UP=\E[%dA:ae=\017:al=\E[L:as=\016:\
11049	:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:\
11050	:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:\
11051	:ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:\
11052	:im=\E[4h:\
11053	:is=\E[\041p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
11054	:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
11055	:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
11056	:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
11057	:ks=\E[?1h\E=:ku=\EOA:le=\E[D:mb=\E[5m:md=\E[1m:\
11058	:me=\E[0m\017:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\
11059	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
11060	:ts=\E[2$~\E[1$}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:\
11061	:vi=\E[?25l:
11062ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd:\
11063	:co#132:\
11064	:cm=\E[%i%d;%dH:\
11065	:is=\E[\041p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H:\
11066	:r2=\E[\041p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H:\
11067	:tc=ncr260vt300an:
11068ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd:\
11069	:@7=\E[1~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:kD=\E[4~:\
11070	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
11071	:kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
11072	:tc=ncr260vt300an:
11073NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd:\
11074	:co#132:\
11075	:cm=\E[%i%d;%dH:\
11076	:is=\E[\041p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
11077	:r2=\E[\041p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
11078	:tc=ncr260vt300pp:
11079# This terminfo file contains color capabilities for the Wyse325 emulation of
11080# the NCR 2900/260C color terminal.  Because of the structure of the command
11081# (escape sequence) used to set color attributes, one of the fore/background
11082# colors must be preset to a given value. I have set the background color to
11083# black.  The user can change this setup by altering the last section of the
11084# 'setf' definition.  The escape sequence to set color attributes is
11085#		ESC d y <foreground_color> <background_color> 1
11086# In addition, the background color can be changed through the desk accessories.
11087# The capablitiy 'op' sets colors to green on black (default combination).
11088#
11089# NOTE:  The NCR Unix System Administrator's Shell will not function properly
11090# 	    if the 'pairs' capability is defined. Un-Comment the 'pairs'
11091#	    capability and recompile if you wish to have it included.
11092#
11093# (untranslatable capabilities removed to fit entry within 1023 bytes)
11094# (sgr removed to fit entry within 1023 bytes)
11095# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
11096ncr260wy325pp|NCR 2900_260 wyse 325:\
11097	:am:bw:hs:km:mi:ms:xo:\
11098	:co#80:li#24:\
11099	:CM=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c:K1=^^:\
11100	:K2=\EJ:K4=\ET:K5=\EK:ae=\EH\003\EcB0:al=\EE:\
11101	:as=\EH\002\EcB1:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:\
11102	:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=\n:ds=\E`c:\
11103	:ei=\Er:fs=^M:ho=\036:im=\Eq:\
11104	:is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11105	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
11106	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
11107	:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:mb=\EG2:\
11108	:me=\EG0\EcB0\EcD:mr=\EG4:nd=\014:nw=\037:se=\EG0:sf=\n:\
11109	:so=\EGt:sr=\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:up=\013:us=\EG8:\
11110	:ve=\E`1:vi=\E`0:vs=\E`5:
11111ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode:\
11112	:co#132:\
11113	:cm=\Ea%i%dR%dC:\
11114	:is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11115	:r2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11116	:tc=ncr260wy325pp:
11117# This definition for Wyse 350 supports several attributes.  This means
11118# that it has magic cookies (extra spaces where the attributes begin).
11119# Some applications do not function well with magic cookies.  The System
11120# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
11121# If supporting various attributes is not vital, 'xmc#1' and the extra
11122# attributes can be removed.
11123# Mapping to ASCII character set ('acsc' capability) can also be
11124# restored if needed.
11125# In addition, color capabilities have been added to this file.  The drawback,
11126# however, is that the background color has to be black.  The foreground colors
11127# are numbered 0 through 15.
11128#
11129# NOTE:  The NCR Unix System Administrator's Shell does not function properly
11130# 	    with the 'pairs' capability defined as below.  If you wish to
11131#	    have it included, Un-comment it and recompile (using 'tic').
11132#
11133# (untranslatable capabilities removed to fit entry within 1023 bytes)
11134# (sgr removed to fit entry within 1023 bytes)
11135# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
11136ncr260wy350pp|NCR 2900_260 wyse 350:\
11137	:am:bw:hs:km:mi:ms:xo:\
11138	:co#80:li#24:sg#1:\
11139	:CM=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c:K1=^^:\
11140	:K4=\ET:K5=\EK:ae=\EH\003\EcB0:al=\EE:as=\EH\002\EcB1:\
11141	:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :cr=^M:\
11142	:ct=\E0:dc=\EW:dl=\ER:do=\n:ds=\E`c:ei=\Er:fs=^M:ho=\036:\
11143	:im=\Eq:\
11144	:is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11145	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
11146	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
11147	:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:mb=\EG2:\
11148	:me=\EG0\EH\003\EcD:mh=\EGp:mr=\EG4:nd=\014:nw=\037:\
11149	:se=\EG0:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:\
11150	:up=\013:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
11151ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode:\
11152	:co#132:\
11153	:cm=\Ea%i%dR%dC:\
11154	:is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11155	:r2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11156	:tc=ncr260wy350pp:
11157# This definition for Wyse 50+ supports several attributes.  This means
11158# that it has magic cookies (extra spaces where the attributes begin).
11159# Some applications do not function well with magic cookies.  The System
11160# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
11161# If supporting various attributes is not vital, 'xmc#1' and the extra
11162# attributes can be removed.
11163# Mapping to ASCII character set ('acsc' capability) can also be
11164# restored if needed.
11165# (ncr260wy50+pp: originally contained commented-out
11166# <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
11167# (untranslatable capabilities removed to fit entry within 1023 bytes)
11168# (sgr removed to fit entry within 1023 bytes)
11169# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
11170ncr260wy50+pp|NCR 2900_260 wyse 50+:\
11171	:am:bw:hs:km:mi:ms:xo:\
11172	:co#80:li#24:sg#1:\
11173	:CM=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c:K1=^^:\
11174	:K4=\ET:K5=\EK:ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:cd=\EY:\
11175	:ce=\ET:cl=\E+:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:\
11176	:do=\n:ds=\E`c:ei=\Er:fs=^M:ho=\036:im=\Eq:\
11177	:is=\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11178	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
11179	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
11180	:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:mb=\EG2:\
11181	:me=\EG0\EH\003:mh=\EGp:mr=\EG4:nd=\014:nw=\037:se=\EG0:\
11182	:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=\011:ts=\EF:ue=\EG0:up=\013:\
11183	:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
11184ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode:\
11185	:co#132:\
11186	:cm=\Ea%i%dR%dC:\
11187	:is=\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11188	:r2=\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11189	:tc=ncr260wy50+pp:
11190# (untranslatable capabilities removed to fit entry within 1023 bytes)
11191# (sgr removed to fit entry within 1023 bytes)
11192# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
11193ncr260wy60pp|NCR 2900_260 wyse 60:\
11194	:am:bw:hs:km:mi:ms:xo:\
11195	:co#80:li#24:\
11196	:CM=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c:K1=^^:\
11197	:K2=\EJ:K4=\ET:K5=\EK:ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:\
11198	:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:\
11199	:dl=\ER:do=\n:ds=\E`c:ei=\Er:fs=^M:ho=\036:im=\Eq:\
11200	:is=\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11201	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
11202	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
11203	:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:mb=\EG2:\
11204	:me=\EG0\EcB0\EcD:mr=\EG4:nd=\014:nw=\037:se=\EG0:sf=\n:\
11205	:so=\EGt:sr=\Ej:st=\E1:ta=\011:ts=\EF:ue=\EG0:up=\013:\
11206	:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
11207ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode:\
11208	:co#132:\
11209	:cm=\Ea%i%dR%dC:\
11210	:is=\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11211	:r2=\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11212	:tc=ncr260wy60pp:
11213ncr160vppp|NCR 2900_160 viewpoint:\
11214	:tc=ncr260vppp:
11215ncr160vpwpp|NCR 2900_160 viewpoint wide mode:\
11216	:tc=ncr260vpwpp:
11217ncr160vt100an|NCR 2900_160 vt100 with ansi kybd:\
11218	:tc=ncr260vt100an:
11219ncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd:\
11220	:tc=ncr260vt100pp:
11221ncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd:\
11222	:tc=ncr260vt100wan:
11223ncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd:\
11224	:tc=ncr260vt100wpp:
11225ncr160vt200an|NCR 2900_160 vt200 with ansi kybd:\
11226	:tc=ncr260vt200an:
11227ncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd:\
11228	:tc=ncr260vt200pp:
11229ncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd:\
11230	:tc=ncr260vt200wan:
11231ncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd:\
11232	:tc=ncr260vt200wpp:
11233ncr160vt300an|NCR 2900_160 vt300 with ansi kybd:\
11234	:tc=ncr260vt300an:
11235ncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd:\
11236	:tc=ncr260vt300pp:
11237ncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd:\
11238	:tc=ncr260vt300wan:
11239ncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd:\
11240	:tc=ncr260vt300wpp:
11241ncr160wy50+pp|NCR 2900_160 wyse 50+:\
11242	:tc=ncr260wy50+pp:
11243ncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode:\
11244	:tc=ncr260wy50+wpp:
11245ncr160wy60pp|NCR 2900_160 wyse 60:\
11246	:tc=ncr260wy60pp:
11247ncr160wy60wpp|NCR 2900_160 wyse 60 wide mode:\
11248	:tc=ncr260wy60wpp:
11249ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal:\
11250	:5i:am:hs:mi:ms:xo:\
11251	:Nl#32:co#80:it#8:li#24:\
11252	:#4=\E[D:%i=\E[C:@8=^M:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
11253	:DO=\E[%dB:K1=\E[H:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
11254	:ac=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~:ae=\017:\
11255	:al=\E[B\E[L:as=\016:bl=^G:cb=\E[1K:cd=\E[0J:ce=\E[0K:\
11256	:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
11257	:ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:ds=\E[31l:eA=\E(B\E)0:\
11258	:ei=\E[4l:fs=1:ho=\E[H:im=\E[4h:\
11259	:is=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0:k1=\EOP:\
11260	:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:\
11261	:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\017\E[0m:mr=\E[7m:\
11262	:nd=\E[C:nw=\EE:ps=\E[i:\
11263	:r2=\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:\
11264	:rc=\E8:\
11265	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>:\
11266	:sc=\E7:se=\E[0m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
11267	:ts=\E[>+1:ue=\E[0m:up=\E[A:us=\E[4m:
11268ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal:\
11269	:co#132:\
11270	:is=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0:\
11271	:r2=\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:\
11272	:tc=ncrvt100an:
11273#
11274# Vendor-supplied NCR termcaps end here
11275
11276# NCR7900 DIP switches:
11277#
11278# Switch A:
11279# 1-4 - Baud Rate
11280# 5   - Parity (Odd/Even)
11281# 6   - Don't Send or Do Send Spaces
11282# 7   - Parity Enable
11283# 8   - Stop Bits (One/Two)
11284#
11285# Switch B:
11286# 1   - Upper/Lower Shift
11287# 2   - Typewriter Shift
11288# 3   - Half Duplex / Full Duplex
11289# 4   - Light/Dark Background
11290# 5-6 - Carriage Return Without / With Line Feed
11291# 7   - Extended Mode
11292# 8   - Suppress Keyboard Display
11293#
11294# Switch C:
11295# 1   - End of line entry disabled/enabled
11296# 2   - Conversational mode / (Local?) Mode
11297# 3   - Control characters displayed / not displayed
11298# 4   - (2-wire?) / 4-wire communications
11299# 5   - RTS on and off for each character
11300# 6   - (50Hz?) / 60 Hz
11301# 7   - Exit after level zero diagnostics
11302# 8   - RS-232 interface
11303#
11304# Switch D:
11305# 1   - Reverse Channel (yes / no)
11306# 2   - Manual answer (no / yes)
11307# 3-4 - Cursor appearance
11308# 5   - Communication Rate
11309# 6   - Enable / Disable EXT turnoff
11310# 7   - Enable / Disable CR turnoff
11311# 8   - Enable / Disable backspace
11312#
11313# Since each attribute parameter is 0 or 1, we shift each attribute (standout,
11314# reverse, blink, dim, and underline) the appropriate number of bits (by
11315# multiplying the 0 or 1 by a correct factor to shift) so the bias character,
11316# '@' is (effectively) "or"ed with each attribute to generate the proper third
11317# character in the <ESC>0 sequence.  The :sa: string implements the following
11318# equation:
11319#
11320# ((((('@' + P5) | (P4 << 1)) | (P3 << 3)) | (P2 << 4)) | (p1 * 17))    =>
11321# ((((('@' + P5) + (P4 << 1)) + (P3 << 3)) + (P2 << 4)) + (p1 * 17))
11322#
11323#	Where:  P1 <==> Standout attribute parameter
11324#		P2 <==> Underline attribute parameter
11325#		P3 <==> Reverse attribute parameter
11326#		P4 <==> Blink attribute parameter
11327#		P5 <==> Dim attribute parameter
11328# From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
11329ncr7900i|ncr7900|ncr 7900 model 1:\
11330	:am:bw:ul:\
11331	:co#80:li#24:sg#1:\
11332	:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\E1%r%.%.:cr=^M:do=^J:\
11333	:is=\E0@\010\E3\E4\E7:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:\
11334	:ll=^A:mb=\E0B:me=\E0@:mh=\E0A:mr=\E0P:nd=^F:pf=^T:po=^R:\
11335	:..sa=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c:\
11336	:se=\E0@:sf=^J:so=\E0Q:ue=\E0@:up=^Z:us=\E0`:
11337ncr7900iv|ncr 7900 model 4:\
11338	:am:bw:es:hs:\
11339	:co#80:li#24:\
11340	:al=\E^N:bl=^G:cl=^L:cm=\013%+@\E\005%02:cr=^M:dl=\E^O:\
11341	:do=^J:ds=\Ey1:fs=\Ek\Ey5:ho=\013@\E^E00:k1=\ES:k2=\ET:\
11342	:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:kb=^H:kd=\EB:\
11343	:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l6=blue:l7=red:l8=white:le=^H:\
11344	:nw=^M^J:sf=^J:ts=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo:
11345# Warning: This terminal will lock out the keyboard when it receives a CTRL-D.
11346#	   The user can enter a CTRL-B to get out of this locked state.
11347# In <hpa>, we want to output the character given by the formula:
11348#		((col / 10) * 16) + (col % 10)		where "col" is "p1"
11349ncr7901|ncr 7901 model:\
11350	:am:bw:ul:\
11351	:co#80:li#24:\
11352	:bl=^G:cd=\Ek:ce=\EK:ch=\020%+^J:cl=^L:cm=\EY%+ %+ :cr=^M:\
11353	:cv=\013%+@:do=^J:is=\E4^O:kC=^L:kd=^J:kh=^H:kl=^U:kr=^F:\
11354	:ku=^Z:le=^H:ll=^A:mb=\E0B:me=^O:mh=\E0A:mr=\E0P:nd=^F:pf=^T:\
11355	:po=^R:\
11356	:..sa=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016:\
11357	:se=^O:sf=^J:so=\E0Q\016:ue=^O:up=^Z:us=\E0`\016:ve=^X:\
11358	:vi=^W:
11359
11360#### Perkin-Elmer (Owl)
11361#
11362# These are official terminfo entries from within Perkin-Elmer.
11363#
11364
11365bantam|pe550|pe6100|perkin elmer 550:\
11366	:bs:\
11367	:co#80:li#24:\
11368	:bl=^G:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:do=^J:ho=\EH:\
11369	:le=^H:ll=\EH\EA:nd=\EC:sf=^J:up=\EA:
11370fox|pe1100|perkin elmer 1100:\
11371	:am:bs:\
11372	:co#80:li#24:\
11373	:bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EX%+ \EY%+ :cr=^M:\
11374	:ct=\E3:do=^J:ho=\EH:le=^H:ll=\EH\EA:nd=\EC:sf=^J:st=\E1:\
11375	:up=\EA:vb=\020\002\020\003:
11376owl|pe1200|perkin elmer 1200:\
11377	:am:bs:in:\
11378	:co#80:li#24:\
11379	:al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EX%+ \EY%+ :\
11380	:cr=^M:ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:im=:ip=:\
11381	:k0=\ERJ:k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:\
11382	:k7=\ERG:k8=\ERH:k9=\ERI:kb=^H:le=^H:ll=\EH\EA:me=\E\041\0:\
11383	:nd=\EC:se=\E\041\0:sf=^J:so=\E\041^H:st=\E1:up=\EA:\
11384	:vb=\020\002\020\003:
11385pe1251|pe6300|pe6312|perkin elmer 1251:\
11386	:am:\
11387	:co#80:it#8:li#24:pb#300:sg#1:vt#8:\
11388	:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:ct=\E3:\
11389	:do=\EB:ho=\EH:k0=\ERA:k1=\ERB:k2=\ERC:k3=\ERD:k4=\ERE:\
11390	:k5=\ERF:k6=\ERG:k7=\ERH:k8=\ERI:k9=\ERJ:k;=\ERK:le=\ED:\
11391	:nd=\EC:sf=^J:st=\E1:up=\EA:
11392# (pe7000m: this had
11393# 	rmul=\E!\0, smul=\E!\040,
11394# which is probably wrong, it collides with kf0
11395pe7000m|perkin elmer 7000 series monochrome monitor:\
11396	:am:\
11397	:co#80:li#24:\
11398	:bl=^G:bt=\E\041Y:cd=\EJ:ce=\EI:cl=\EK:cm=\ES%+ %+ :cr=^M:\
11399	:do=\EB:ho=\EH:i1=\E\041\0\EW  7o\Egf\ES7 :k0=\E\041\0:\
11400	:k1=\E\041^A:k2=\E\041^B:k3=\E\041^C:k4=\E\041^D:\
11401	:k5=\E\041^E:k6=\E\041^F:k7=\E\041^G:k8=\E\041^H:\
11402	:k9=\E\041^I:k;=\E\041^J:kb=^H:kd=\E\041U:kh=\E\041S:\
11403	:kl=\E\041V:kr=\E\041W:ku=\E\041T:le=\ED:ll=\ES7 :nd=\EC:\
11404	:sf=^J:sr=\ER:up=\EA:
11405pe7000c|perkin elmer 7000 series colour monitor:\
11406	:i1=\E\041\0\EW  7o\Egf\Eb0\Ec7\ES7 :se=\Eb0:so=\Eb2:\
11407	:ue=\E\041\0:us=\E\041 :\
11408	:tc=pe7000m:
11409
11410#### Prime
11411#
11412# Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
11413# <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
11414# Prime merged with ComputerVision in the late 1980s; you can reach them at:
11415#
11416#	ComputerVision Services
11417#	500 Old Connecticut Path
11418#	Framingham, Mass.
11419#
11420
11421# Standout mode is dim reverse-video.
11422pt100|pt200|wren|fenix|prime pt100/pt200:\
11423	:am:bw:mi:ms:\
11424	:co#80:it#8:li#24:\
11425	:DC=\E[%dP:DL=\E[M:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
11426	:UP=\E[%dA:al=\E[L\E[t:bt=\E[Z:cd=\E[J\E[r:ce=\E[K\E[t:\
11427	:cl=\E?:cm=\E0%+!%+!:cr=^M:dc=\E[P:do=\ED:ei=\E[4l:ho=\E$B:\
11428	:im=\E[4h:kb=^H:kd=\E[B:ke=\E[>13l:kh=\E$A:kl=\E[D:kr=\E[C:\
11429	:ks=\E[>13h:ku=\E[A:le=^H:me=\E[m:mh=\E[2m:nd=\E[C:nw=^M^J:\
11430	:se=\E[m:sf=^J:so=\E[2;7m:ta=^I:te=:\
11431	:ti=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q:\
11432	:ue=\E[m:up=\EM:us=\E[4m:vb=\E$\E$P:
11433pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode:\
11434	:co#132:\
11435	:cm=\E[%i%d;%dH:tc=pt100:
11436pt250|Prime PT250:\
11437	:se@:so@:tc=pt100:
11438pt250w|Prime PT250 in 132-column mode:\
11439	:se@:so@:tc=pt100w:
11440
11441#### Sperry Univac
11442#
11443# Sperry Univac has merged with Burroughs to form Unisys.
11444#
11445
11446# This entry is for the Sperry UTS30 terminal running the TTY
11447# utility under control of CP/M Plus 1R1. The functionality
11448# provided is comparable to the DEC vt100.
11449# (uts30: I added <rmam>/<smam> based on the init string -- esr)
11450uts30|sperry uts30 with cp/m@1R1:\
11451	:am:bw:hs:\
11452	:co#80:li#24:ws#40:\
11453	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
11454	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7m:SF=\E[%dB:\
11455	:SR=\E[%dA:UP=\E[%dA:\
11456	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
11457	:ae=\Ed:al=\EN:as=\EF:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
11458	:cm=\E[%i%d;%dH:cr=^M:cs=\EU%+ %+ :dc=\EM:dl=\EL:do=\EB:\
11459	:ei=:fs=^M:ho=\E[H:ic=\EO:im=:is=\E[U 7\E[24;1H:kb=^H:\
11460	:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=\E[5m:\
11461	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\EC:\
11462	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\EX:\
11463	:rf=/usr/share/tabset/vt100:sc=\EW:se=\E[m:sf=^J:\
11464	:so=\E[7m:sr=\EI:ta=^I:ts=\E]:uc=\EPB:ue=\E[m:up=\E[A:\
11465	:us=\E[4m:ve=\ES:vi=\ER:
11466
11467#### Tandem
11468#
11469# Tandem builds these things for use with its line of fault-tolerant
11470# transaction-processing computers.  They aren't generally available
11471# on the merchant market, and so are fairly uncommon.
11472#
11473
11474tandem6510|adm3a repackaged by Tandem:\
11475	:tc=adm3a:
11476
11477# A funny series of terminal that TANDEM uses.  The actual model numbers
11478# have a fourth digit after 653 that designates minor variants.  These are
11479# natively block-mode and rather ugly, but they have a character mode which
11480# this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
11481# (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
11482# removed :if=/usr/share/tabset/tandem653:, no such file -- esr)
11483tandem653|t653x|Tandem 653x multipage terminal:\
11484	:am:bs:da:db:hs:\
11485	:co#80:li#24:sg#1:ws#64:\
11486	:cd=\EJ:ce=\EK:cl=\EI:cm=\023%+ %+ :do=^J:ds=\Eo\r:fs=^M:\
11487	:ho=\EH:le=^H:me=\E6 :nd=\EC:se=\E6 :sf=\ES:so=\E6$:sr=\ET:\
11488	:ts=\Eo:ue=\E6 :up=\EA:us=\E60:
11489
11490#### Tandy/Radio Shack
11491#
11492# Tandy has a line of VDTs distinct from its microcomputers.
11493#
11494
11495dmterm|deskmate terminal:\
11496	:am:bw:\
11497	:co#80:li#24:\
11498	:al=\EP:bl=^G:cd=\EJ:ce=\EK:cl=\Ej:cm=\EY%+ %+ :cr=^M:\
11499	:dc=\ES:dl=\ER:do=\EB:ei=:ho=\EH:ic=\EQ:im=:k0=\E1:k1=\E2:\
11500	:k2=\E3:k3=\E4:k4=\E5:k5=\E6:k6=\E7:k7=\E8:k8=\E9:k9=\E0:\
11501	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:l2=f3:l3=f4:\
11502	:l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:ll=\EE:mk@:nd=\EC:\
11503	:sf=\EX:ta=^I:ue@:up=\EA:us@:ve=\EG6:vi=\EG5:\
11504	:tc=adm+sgr:
11505dt100|dt-100|Tandy DT-100 terminal:\
11506	:xo:\
11507	:co#80:li#24:sg#1:\
11508	:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[L:as=^N:bl=^G:\
11509	:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:cr=^M:\
11510	:cs=\E[%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:\
11511	:im=:is=\E[?3l\E)0\E(B:k1=\E[?3i:k2=\E[2i:k3=\E[@:k4=\E[M:\
11512	:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
11513	:k;=\E[?5i:kN=\E[29~:kP=\E[28~:kd=\E[B:kh=\E[H:kl=\E[D:\
11514	:kr=\E[C:ku=\E[A:l1=f1:l2=f2:l3=f3:l4=f4:l5=f5:l6=f6:l7=f7:\
11515	:l8=f8:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
11516	:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
11517dt100w|dt-100w|Tandy DT-100 terminal (wide mode):\
11518	:co#132:tc=dt100:
11519dt110|Tandy DT-110 emulating ansi:\
11520	:xo:\
11521	:co#80:li#24:\
11522	:@7=\E[K:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[0L:as=^N:\
11523	:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:\
11524	:cr=^M:cs=\E[%i%d;%dr:dc=\E[0P:dl=\E[0M:do=\E[0B:\
11525	:eA=\E(B\E)0:ei=:ho=\E[H:ic=\E[0@:im=:is=\E[?3l\E)0\E(B:\
11526	:k1=\E[1~:k2=\E[2~:k3=\E[3~:k4=\E[4~:k5=\E[5~:k6=\E[6~:\
11527	:k7=\E[7~:k8=\E[8~:k9=\E[9~:k;=\E[10~:kI=\E[@:kN=\E[26~:\
11528	:kP=\E[25~:kd=\E[B:kh=\E[G:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:\
11529	:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:\
11530	:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
11531	:ue=\E[m:up=\E[0A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
11532pt210|TRS-80 PT-210 printing terminal:\
11533	:hc:os:\
11534	:co#80:\
11535	:bl=^G:cr=^M:do=^J:sf=^J:
11536
11537#### Tektronix (tek)
11538#
11539# Tektronix tubes are graphics terminals.  Most of them use modified
11540# oscilloscope technology incorporating a long-persistence green phosphor,
11541# and support vector graphics on a main screen with an attached "dialogue
11542# area" for interactive text.
11543#
11544
11545tek|tek4012|tektronix 4012:\
11546	:bs:os:\
11547	:co#75:li#35:\
11548	:bl=^G:cl=\E\014:cr=^M:do=^J:ff=\014:is=\E^O:le=^H:
11549# (tek4013: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
11550tek4013|tektronix 4013:\
11551	:ac=:ae=\E^O:as=\E^N:tc=tek4012:
11552tek4014|tektronix 4014:\
11553	:co#81:li#38:\
11554	:is=\E\017\E9:tc=tek4012:
11555# (tek4015: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
11556tek4015|tektronix 4015:\
11557	:ac=:ae=\E^O:as=\E^N:tc=tek4014:
11558tek4014-sm|tektronix 4014 in small font:\
11559	:co#121:li#58:\
11560	:is=\E\017\E\072:tc=tek4014:
11561# (tek4015-sm: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
11562tek4015-sm|tektronix 4015 in small font:\
11563	:ac=:ae=\E^O:as=\E^N:tc=tek4014-sm:
11564# Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
11565#
11566# You need to have "stty nl2" in effect.  Some versions of tset(1) know
11567# how to set it for you.
11568#
11569# It's got the Magic Cookie problem around stand-out mode.  If you can't
11570# live with Magic Cookie, remove the :so: and :se: fields and do without
11571# reverse video.  If you like reverse video stand-out mode but don't want
11572# it to flash, change the letter 'H' to 'P' in the :so: field.
11573tek4023|tektronix 4023:\
11574	:am:bs:\
11575	:co#80:dN#4:li#24:sg#1:vt#4:\
11576	:bl=^G:cl=4\E\014:cm=\034%r%+ %+ :cr=^M:do=^J:kb=^H:le=^H:\
11577	:nd=^I:nl=^J:se=^_@:so=^_P:
11578# It is recommended that you run the 4025 at 4800 baud or less;
11579# various bugs in the terminal appear at 9600.  It wedges at the
11580# bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
11581# on keyboard don't work.  You have to hit BREAK twice to get
11582# one break at any speed - this is a documented feature.
11583# Can't use cursor motion because it's memory relative, and
11584# because it only works in the workspace, not the monitor.
11585# Same for home. Likewise, standout only works in the workspace.
11586#
11587# :ce: was commented out since vi and rogue seem to work better
11588# simulating it with lots of spaces!
11589#
11590# :al: and :AL: had 145ms of padding, but that slowed down vi's ^U
11591# and didn't seem necessary.
11592#
11593tek4024|tek4025|tek4027|tektronix 4024/4025/4027:\
11594	:am:bs:da:db:\
11595	:co#80:it#8:li#34:lm#0:\
11596	:AL=\037up\r\037ili %d\r:CC=^_:DL=\037dli %d\r\006:\
11597	:DO=\037dow %d\r:LE=\037lef %d\r:RI=\037rig %d\r:\
11598	:UP=\037up %d\r:al=\037up\r\037ili\r:bl=^G:\
11599	:cd=\037dli 50\r:cl=\037era\r\n\n:cr=^M:dc=\037dch\r:\
11600	:dl=\037dli\r\006:do=^F^J:ei=:ic=\037ich\r \010:im=:\
11601	:is=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
11602	:ke=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r:\
11603	:ks=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r:\
11604	:le=^H:nd=\037rig\r:sf=^F^J:ta=^I:up=^K:
11605tek4025-17|tek 4025 17 line window:\
11606	:li#17:tc=tek4025:
11607tek4025-17-ws|tek 4025 17 line window in workspace:\
11608	:is=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r:\
11609	:se=\037att s\r:so=\037att e\r:te=\037mon h\r:\
11610	:ti=\037wor h\r:\
11611	:tc=tek4025-17:
11612tek4025-ex|tek4027-ex|tek 4025/4027 w/!:\
11613	:is=\037com 33\r\n\041sto 9 17 25 33 41 49 57 65 73\r:\
11614	:te=\037com 33\r:ti=\041com 31\r:\
11615	:tc=tek4025:
11616# Tektronix 4025a
11617# From: Doug Gwyn <gwyn@brl-smoke.ARPA>
11618# The following status modes are assumed for normal operation (replace the
11619# initial "!" by whatever the current command character is):
11620#	!COM 29			# NOTE: changes command character to GS (^])
11621#	^]DUP
11622#	^]ECH R
11623#	^]EOL
11624#	^]RSS T
11625#	^]SNO N
11626#	^]STO 9 17 25 33 41 49 57 65 73
11627# Other modes may be set according to communication requirements.
11628# If the command character is inadvertently changed, termcap can't restore it.
11629# Insert-character cannot be made to work on both top and bottom rows.
11630# Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
11631# There also seems to be a problem with vertical motion, perhaps involving
11632# delete/insert-line, following a typed carriage return.  This terminal sucks.
11633# Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
11634# (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
11635# work any more. -- esr)
11636tek4025a|Tektronix 4025A:\
11637	:am:bs:bw:da:db:pt:xo:\
11638	:co#80:it#8:li#34:\
11639	:CC=^]:DC=\035dch %d;:DL=\035dli %d;:DO=\035dow %d;:\
11640	:LE=\035lef %d;:RI=\035rig %d;:SF=\035dow %d;:\
11641	:UP=\035up %d;:al=\013\035ili;:bl=^G:bt=\035bac;:\
11642	:ce=\035dch 80;:ch=\r\035rig %d;:cl=\035era;\n\035rup;:\
11643	:cr=^M:ct=\035sto;:dc=\035dch;:dl=\035dli;:do=^J:le=^H:\
11644	:nd=\035rig;:\
11645	:rs=\041com 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;:\
11646	:sf=^J:ta=^I:up=^K:
11647# From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
11648# Here's the command file that I use to get rogue to work on the 4025.
11649# It should work with any program using the old curses (e.g. it better
11650# not try to scroll, or cursor addressing won't work.  Also, you can't
11651# see the cursor.)
11652# (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
11653tek4025-cr|tek 4025 for curses and rogue:\
11654	:am:bs:\
11655	:co#80:it#8:li#33:\
11656	:cl=\037era;:cm=\037jum%i%d\054%d;:do=^F^J:\
11657	:is=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
11658	:le=^H:nd=\037rig;:sf=^F^J:ta=^I:te=\037wor 0:\
11659	:ti=\037wor 33h:up=^K:
11660# next two lines commented out since curses only allows 128 chars, sigh.
11661#	: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:\
11662#	: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:
11663tek4025ex|4025ex|4027ex|tek 4025 w/!:\
11664	:is=\037com 33\r\n\041sto 9\05417\05425\05433\05441\05449\05457\05465\05473\r:\
11665	:te=\037com 33\r:ti=\041com 31\r:\
11666	:tc=tek4025:
11667tek4105|tektronix 4105:\
11668	:am:bs:mi:ms:ul:xn:xt:\
11669	:co#79:it#8:li#29:\
11670	:ac=:ae=\E[m:al=\E[1L:as=\E[1m:bl=^G:bt=\E[Z:cd=\E[J:\
11671	:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:cr=^M:ct=\E[1g:\
11672	:dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:i1=\E%!1\E[m:\
11673	:im=\E[4h:is=\E%!1\E[?6141\E[m:kb=^H:kd=\E[1B:kl=\E[1D:\
11674	:kr=\E[1C:ku=\E[1A:mb=\E[=3;<7m:md=\E[=7;<4m:\
11675	:me=\E[=0;<1m:mh=\E[=1;<6m:mk=\E[=6;<5:mr=\E[=1;<3m:\
11676	:nd=\E[1C:se=\E[=0;<1m:sf=\E[S:so=\E[=2;<3m:sr=\E[T:ta=^I:\
11677	:te=:ti=\E%!1\E[?6l\E[2J:ue=\E[=0;<1m:up=\E[1A:\
11678	:us=\E[=5;<2m:
11679
11680# (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
11681tek4105-30|4015 emulating 30 line vt100:\
11682	:am:mi:ms:xn:xo:\
11683	:co#80:it#8:li#30:vt#3:\
11684	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
11685	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
11686	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
11687	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
11688	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
11689	:eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
11690	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
11691	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
11692	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
11693	:nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
11694	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
11695	:sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
11696	:ue=\E[m:up=\E[A:us=\E[4m:
11697
11698# Tektronix 4105 from BRL
11699# The following setup modes are assumed for normal operation:
11700#	CODE ansi		CRLF no			DABUFFER 141
11701#	DAENABLE yes		DALINES 30		DAMODE replace
11702#	DAVISIBILITY yes	ECHO no			EDITMARGINS 1 30
11703#	FLAGGING input		INSERTREPLACE replace	LFCR no
11704#	ORIGINMODE relative	PROMPTMODE no		SELECTCHARSET G0 B
11705#	SELECTCHARSET G1 0	TABS -2
11706# Other setup modes may be set for operator convenience or communication
11707# requirements; I recommend
11708#	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
11709#	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
11710#	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
11711#	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 10 1
11712#	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
11713#	PROMPTSTRING ''		QUEUESIZE 2460		WINDOW 0 0 4095 3132
11714#	XMTDELAY 0
11715# and factory color maps.  After setting these modes, save them with NVSAVE. No
11716# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
11717# "IC" cannot be used in combination with "im" & "ei".
11718# "tek4105a" is just a guess:
11719tek4105a|Tektronix 4105:\
11720	:bs:ms:pt:xo:\
11721	:co#80:it#8:kn#8:li#30:vt#3:\
11722	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
11723	:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:ae=^O:al=\E[L:\
11724	:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
11725	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
11726	:dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
11727	:is=\E%!1:k0=\EOA:k1=\EOB:k2=\EOC:k3=\EOD:k4=\EOP:k5=\EOQ:\
11728	:k6=\EOR:k7=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
11729	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:\
11730	:l5=F6:l6=F8:le=^H:ll=\E[30;H:mb=\E[5m:md=\E[1m:me=\E[m:\
11731	:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
11732	: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>:\
11733	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
11734	:te=\E%!0\ELBH=\E%!1:ti=\E[?6l:ue=\E[m:up=\EM:us=\E[4m:\
11735	:ve=\E%!0\ETD10\E%!1:vi=\E%!0\ETD00\E%!1:\
11736	:vs=\E%!0\ETD70\E%!1:
11737
11738#
11739# Tektronix 4106/4107/4109 from BRL
11740# The following setup modes are assumed for normal operation:
11741#	CODE ansi		COLUMNMODE 80		CRLF no
11742#	DABUFFER 141		DAENABLE yes		DALINES 32
11743#	DAMODE replace		DAVISIBILITY yes	ECHO no
11744#	EDITMARGINS 1 32	FLAGGING input		INSERTREPLACE replace
11745#	LFCR no			LOCKKEYBOARD no		ORIGINMODE relative
11746#	PROMPTMODE no		SELECTCHARSET G0 B	SELECTCHARSET G1 0
11747#	TABS -2
11748# Other setup modes may be set for operator convenience or communication
11749# requirements; I recommend
11750#	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
11751#	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
11752#	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
11753#	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 9 3
11754#	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
11755#	PROMPTSTRING ''		QUEUESIZE 2620		WINDOW 0 0 4095 3132
11756#	XMTDELAY 0
11757# and factory color maps.  After setting these modes, save them with NVSAVE.  No
11758# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
11759# "IC" cannot be used in combination with "im" & "ei".
11760tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109:\
11761	:ms:xo:\
11762	:co#80:it#8:li#32:vt#3:\
11763	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
11764	:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:ae=^O:al=\E[L:\
11765	:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
11766	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
11767	:dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
11768	:is=\E%!1:k0=\EOA:k1=\EOB:k2=\EOC:k3=\EOD:k4=\EOP:k5=\EOQ:\
11769	:k6=\EOR:k7=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
11770	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:\
11771	:l5=F6:l6=F8:le=^H:ll=\E[32;H:mb=\E[5m:md=\E[1m:me=\E[m:\
11772	:mr=\E[7m:nd=\E[C:nw=\EE:\
11773	: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>:\
11774	:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7;42m:sr=\EM:st=\EH:\
11775	:ta=^I:te=\E%!0\ELBH=\E%!1:ti=\E[?6l:ue=\E[m:up=\EM:\
11776	:us=\E[4m:ve=\E%!0\ETD10\E%!1:vi=\E%!0\ETD00\E%!1:\
11777	:vs=\E%!0\ETD70\E%!1:
11778
11779tek4107|tek4109|tektronix terminals 4107 4109:\
11780	:am:bs:mi:ms:ul:xn:xt:\
11781	:co#79:it#8:li#29:\
11782	:bl=^G:cd=\EJ:ce=\EK:cl=\ELZ:cm=\EY%+ %+ :cr=^M:do=^J:kb=^H:\
11783	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:mb=\E%!1\E[5m\E%!0:\
11784	:md=\E%!1\E[1m\E%!0:me=\E%!1\E[m\E%!0:\
11785	:mh=\E%!1\E[<0m\E%!0:mr=\E%!1\E[7m\E%0:nd=\EC:\
11786	:..sa=\E%%\0411\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%\0410:\
11787	:se=\E%!1\E[m\E%!0:sf=^J:so=\E%!1\E[7;5m\E%!0:sr=\EI:\
11788	:ta=^I:ue=\E%!1\E[m\E%!0:up=\EA:us=\E%!1\E[4m\E%!0:\
11789	:ve=\E%!0:vs=\E%!3:
11790# Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
11791# see the note attached to tek4207.
11792tek4207-s|Tektronix 4207 with sysline but no memory:\
11793	:es:hs:\
11794	:ds=\E7\E[?6l\E[2K\E[?6h\E8:fs=\E[?6h\E8:\
11795	: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:\
11796	:is=\E7\E[?6l\E[2K\E[?6h\E8:\
11797	:ts=\E7\E[?6l\E[2K\E[;%i%df:tc=tek4107:
11798
11799# The 4110 series may be a wonderful graphics series, but they make the 4025
11800# look good for screen editing.  In the dialog area, you can't move the cursor
11801# off the bottom line.  Out of the dialog area, ^K moves it up, but there
11802# is no way to scroll.
11803#
11804# Note that there is a floppy for free from Tek that makes the
11805# 4112 emulate the vt52 (use the vt52 termcap). There is also
11806# an expected enhancement that will use ANSI standard sequences.
11807#
11808# 4112 in non-dialog area pretending to scroll. It really wraps
11809# but vi is said to work (more or less) in this mode.
11810#
11811# 'vi' works reasonably well with this entry.
11812#
11813otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series:\
11814	:am:\
11815	:co#80:li#34:\
11816	:bl=^G:cl=\E^L:cr=^M:do=^J:le=^H:sf=^J:te=\EKA1\ELV1:\
11817	:ti=\EKA0\ELV0\EMG0:up=^K:
11818# The 4112 with the ANSI compatibility enhancement
11819tek4112|tek4114|tektronix 4110 series:\
11820	:am:bs:db:\
11821	:co#80:li#34:\
11822	:al=\E[L:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[0;0H:\
11823	:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:im=:\
11824	:is=\E3\0411:le=^H:me=\E[m:nd=\E[C:se=\E[m:\
11825	:sf=\E7\E[0;0H\E[M\E8:so=\E[7m:sr=\E7\E[0;0H\E[L\E8:\
11826	:ue=\E[m:up=\EM:us=\E[4m:
11827tek4112-nd|4112 not in dialog area:\
11828	:ns:\
11829	:up=^K:tc=tek4112:
11830tek4112-5|4112 in 5 line dialog area:\
11831	:li#5:tc=tek4112:
11832# (tek4113: this used to have ":nd=\LM1\s\LM0:", someone's mistake;
11833# removed ":as=\E^N:, :ae=\E^O:", which had been commented out in 8.3.
11834# Note, the !0 and !1 sequences in :te:/:ti:/:ve:/:vi: were
11835# previously \0410 and \0411 sequences...I don't *think* they were supposed
11836# to be 4-digit octal -- esr)
11837tek4113|tektronix 4113 color graphics with 5 line dialog area:\
11838	:am:bs:da:eo:\
11839	:co#80:li#5:\
11840	:cl=\ELZ:do=^J:is=\EKA1\ELL5\ELV0\ELV1:le=^H:\
11841	:nd=\ELM1 \ELM0:uc=\010\ELM1_\ELM0:\
11842	:vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:
11843tek4113-34|tektronix 4113 color graphics with 34 line dialog area:\
11844	:li#34:\
11845	:is=\EKA1\ELLB2\ELV0\ELV1:tc=tek4113:
11846# :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
11847# supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
11848# :vb: needs enough delay to let you see the background color being toggled.
11849tek4113-nd|tektronix 4113 color graphics with no dialog area:\
11850	:am:bs:eo:\
11851	:co#80:it#8:li#34:\
11852	:cl=\E^L:do=^J:ho=\ELF7l\177 @:is=\ELZ\EKA0\ELF7l\177 @:\
11853	:le=^H:ll=\ELF hl @:nd=^I:se=\EMT1:so=\EMT2:ta=^I:\
11854	:uc=\010\EMG1_\EMG0:up=^K:\
11855	:vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\
11856	:vs=\ELZ\EKA0:
11857# This entry is from Tek. Inc.  (Brian Biehl)
11858# (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
11859otek4115|Tektronix 4115:\
11860	:am:bs:da:db:eo:\
11861	:co#80:it#8:li#34:\
11862	:RA=\E[?7l:SA=\E[?7h:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:\
11863	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:\
11864	:ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
11865	: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:\
11866	:kb=^H:ke=\E>:ks=\E=:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:\
11867	:so=\E[7m:sr=\EM:ta=^I:te=\E%!0\ELBG8\E%!1\E[34;1H\E[J:\
11868	:ti=\E%!0\ELBB2\E%!1:ue=\E[m:up=\E[A:us=\E[4m:\
11869	:ve=\E%!0\ELBG8\E%!1\E[34;1H:vs=\E%!0\ELBB2\E%!1:
11870tek4115|newer tektronix 4115 entry with more ANSI capabilities:\
11871	:am:xo:\
11872	:co#80:li#34:\
11873	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
11874	:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:al=\E[L:bl=^G:\
11875	:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:cl=\E[H\E[J:\
11876	:cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:cv=\E[%+^Ad:dc=\E[P:\
11877	:dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=\E[B:kh=\E[H:\
11878	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
11879	:mk=\E[8m:mr=\E[7m:nd=\E[C:..rp=%p1%c\E[%p2%{1}%-%db:\
11880	:..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:\
11881	:se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
11882	:us=\E[4m:
11883# The tek4125 emulates a vt100 incorrectly - the scrolling region
11884# command is ignored.  The following entry replaces :cs: with the needed
11885# :AL:, :AL:, and :im:; removes some cursor pad commands that the tek4125
11886# chokes on; and adds a lot of initialization for the tek dialog area.
11887# Note that this entry uses all 34 lines and sets the cursor color to green.
11888# Steve Jacobson 8/85
11889# (tek4125: there were two "\!"s in the is that I replaced with "\E!";
11890# commented out, :im:=\E1 because there's no :ei:  -- esr)
11891tek4125|tektronix 4125:\
11892	:li#34:\
11893	:al=\E[1L:cs@:dl=\E[1M:\
11894	:is=\E%\E\0410\EQD1\EUX03\EKA\ELBB2\ELCE0\ELI100\ELJ2\ELLB2\ELM0\ELS1\ELX00\ELV1\E%\E\0411\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
11895	:ks=\E=:rc@:sc@:\
11896	:tc=vt100:
11897
11898# From: <jcoker@ucbic>
11899# (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
11900# supplied another, less capable 4107 entry.  So we'll use that for 4107 and
11901# note that if jcoker wasn't confused you may be able to use this one.
11902# I merged in :ms:,:sf:,:sr:,<invis>,:ct: from a BRL entry -- esr)
11903tek4207|Tektronix 4207 graphics terminal with memory:\
11904	:am:bw:mi:ms:ul:xn:\
11905	:co#80:it#8:li#32:\
11906	:al=3\E[L:bt=\E[Z:cd=\E[J:ce=5\E[K:cl=156\E[H\E[J:\
11907	:cm=\E[%i%d;%dH:ct=\E[1g:dc=4\E[P:dl=3\E[M:do=^J:ei=:\
11908	:ho=\E[H:ic=4\E[@:im=:\
11909	: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:\
11910	:kd=\ED:kh=\E[H:kl=\E[D:kr=\E[C:ku=\EM:le=^H:mb=\E[5m:\
11911	:md=\E[1m:me=\E[m:mk=\E[=6;<5:mr=\E[7m:nd=\E[C:se=\E[m:\
11912	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
11913	:te=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f:ti=\E[?6l\E[H\E[J:\
11914	:ue=\E[m:up=\EM:us=\E[4m:
11915
11916# From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
11917# (tek4404: There was a "\!" in :ti: that I replaced with "\E!".
11918# Tab had been given as \E2I,that must be the tab-set capability -- esr)
11919tek4404|tektronix 4404:\
11920	:bs:\
11921	:co#80:it#8:li#32:\
11922	:al=\E[1L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
11923	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[1M:do=^J:ei=\E[4l:ho=\E[H:\
11924	:im=\E[4h:kd=\E[B:ke=\E[?1h:kl=\E[D:kr=\E[C:ks=\E[?1l:\
11925	:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:rc=\E8:\
11926	:sc=\E7:se=\E[27m:so=\E[7m:st=\E[2I:ta=^I:\
11927	:te=\E[1;1H\E[0J\E[?6h\E[?1l:\
11928	:ti=\E%\E\0411\E[1;32r\E[?6l\E>:ue=\E[m:up=\E[A:\
11929	:us=\E[4m:
11930# Some unknown person wrote:
11931# I added the is string - straight Unix has ESC ; in the login
11932# string which sets a ct8500 into monitor mode (aka 4025 snoopy
11933# mode). The is string here cleans up a few things (but not
11934# everything).
11935ct8500|tektronix ct8500:\
11936	:am:bw:da:db:\
11937	:co#80:li#25:\
11938	:al=\E^L:bl=^G:bt=\E^I:cd=\E^U:ce=\E^T:cl=\E^E:\
11939	:cm=\E|%+ %+ :cr=^M:dc=\E^]:dl=\E^M:do=^J:ei=:ic=\E^\:im=:\
11940	:is=\037\EZ\Ek:le=^H:me=\E :nd=\ES:se=\E :sf=^J:so=\E$:\
11941	:sr=\E^A:ta=^I:ue=\E :up=\ER:us=\E\041:
11942
11943# Tektronix 4205 terminal.
11944#
11945# am is not defined because the wrap around occurs not when the char.
11946# is placed in the 80'th column, but when we are attempting to type
11947# the 81'st character on the line.  (esr: hmm, this is like the vt100
11948# version of xenl, perhaps am + xenl would work!)
11949#
11950# Bold, dim, and standout are simulated by colors and thus not allowed
11951# with colors.  The tektronix color table is mapped into the RGB color
11952# table by setf/setb. All colors are reset to factory specifications by oc.
11953# The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
11954# interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
11955# interval then maps into pre-defined value.
11956# (untranslatable capabilities removed to fit entry within 1023 bytes)
11957tek4205|tektronix 4205:\
11958	:cc:mi:ms:\
11959	:Co#8:NC#49:co#80:it#8:li#30:pa#63:\
11960	:AL=\E[%dL:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\
11961	:UP=\E[%dA:\
11962	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
11963	:ae=^O:al=\E[1L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:\
11964	:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[1g:\
11965	:dc=\E[1P:dl=\E[1M:do=\E[B:eA=\E)0:ec=\E%dX:ei=\E[4l:\
11966	:ho=\E[H:i1=\E%!0\ETM1\E%!1\E[m:im=\E[4h:k0=\EOA:k1=\EOB:\
11967	:k2=\EOC:k3=\EOD:k4=\EP:k5=\EQ:k6=\ER:k7=\ES:kb=^H:kd=\E[B:\
11968	:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[=7;<4m:\
11969	:me=\E[=0;<1m\E[24;25;27m\017:mh=\E[=1;<6m:mk=\E[=6;<5:\
11970	:mr=\E[7m:nd=\E[C:\
11971	:oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1:\
11972	:op=\E[39;40m:se=\E[=0;<1m:sf=\ED:so=\E[=2;<3m:sr=\EM:\
11973	:ta=^I:te=:ti=\E%%\0411\E[?6l\E[2J:ue=\E[24m:up=\E[A:\
11974	:us=\E[4m:
11975
11976#### Teletype (tty)
11977#
11978# These are the hardcopy Teletypes from before AT&T bought the company,
11979# clattering electromechanical dinosaurs in Bakelite cases that printed on
11980# pulpy yellow roll paper.  If you remember these you go back a ways.
11981# Teletype-branded VDTs are listed in the AT&T section.
11982#
11983# The earliest UNIXes were designed to use these clunkers; nroff and a few
11984# other programs still default to emitting codes for the Model 37.
11985#
11986
11987tty33|tty35|model 33 or 35 teletype:\
11988	:hc:os:xo:\
11989	:co#72:\
11990	:bl=^G:cr=^M:do=^J:sf=^J:
11991tty37|model 37 teletype:\
11992	:bs:hc:os:xo:\
11993	:bl=^G:cr=^M:do=^J:hd=\E9:hu=\E8:le=^H:sf=^J:up=\E7:
11994
11995# There are known to be at least three flavors of the tty40, all seem more
11996# like IBM half duplex forms fillers than ASCII terminals.  They have lots of
11997# awful braindamage, such as printing a visible newline indicator after each
11998# newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
11999# braindamaged but has hope and is described here.  The 40-4 is a 3270
12000# lookalike and beyond hope.  The terminal has visible bell but I don't know
12001# it - it's null here to prevent it from showing the BL character.
12002# There is an \EG in <nl> because of a bug in old vi (if stty says you have
12003# a "newline" style terminal (-crmode) vi figures all it needs is nl
12004# to get crlf, even if :cr: is not ^M.)
12005# (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
12006tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2:\
12007	:bs:xo:\
12008	:co#80:li#24:\
12009	:al=\EL:cd=\EJ:cl=\EH\EJ:cr=\EG:ct=\EH\E2:dc=\EP:dl=\EM:\
12010	:do=\EB:ei=:ho=\EH:ic=\E\136:im=:kb=^]:kl=^H:le=^H:nd=\EC:\
12011	:pf=^T:po=\022:r2=\023\ER:se=\E4:sf=\ES:so=\E3:sr=\ET:\
12012	:st=\E1:ta=\E@:up=\E7:
12013tty43|model 43 teletype:\
12014	:am:bs:hc:os:xo:\
12015	:co#132:\
12016	:bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
12017
12018#### Tymshare
12019#
12020
12021# You can add :is=\E<: to put this 40-column mode, though I can't
12022# for the life of me think why anyone would want to.
12023scanset|sc410|sc415|Tymshare Scan Set:\
12024	:am:bw:ms:\
12025	:co#80:li#24:\
12026	:ac=j%k4l<m-q\054x5:ae=^O:as=^N:bl=^G:cd=\EJ:ce=\EK:\
12027	:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:kd=\EB:kl=\ED:\
12028	:kr=\EC:ku=\EA:le=^H:nd=^I:pf=\E;0:po=\E;0:ps=\E;3:r1=\E>:\
12029	:rc=^C:sc=^B:sf=^J:up=^K:
12030
12031#### Volker-Craig (vc)
12032#
12033# If you saw a Byte Magazine cover with a terminal on it during the early
12034# 1980s, it was probably one of these.  Carl Helmers liked them because
12035# they could crank 19.2 and were cheap (that is, he liked them until he tried
12036# to program one...)
12037#
12038
12039# Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
12040# every other linefeed.
12041vc303|vc103|vc203|volker-craig 303:\
12042	:am:bs:ns:\
12043	:co#80:li#24:\
12044	:bl=^G:cl=\014:cr=^M:do=^J:ho=\013:kd=^J:kl=^H:kr=^I:ku=^N:\
12045	:le=^H:ll=\017W:nd=^I:up=^N:
12046vc303a|vc403a|volker-craig 303a:\
12047	:ce=\026:cl=\030:ho=\031:kr=^U:ku=^Z:ll=^P:nd=^U:up=^Z:tc=vc303:
12048# (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
12049vc404|volker-craig 404:\
12050	:am:bs:\
12051	:co#80:li#24:\
12052	:bl=^G:cd=\027:ce=\026:cl=\030:cm=\020%+ %+ :cr=^M:do=^J:\
12053	:ho=\031:kd=^J:kl=^H:kr=^U:ku=^Z:le=^H:nd=^U:sf=^J:up=^Z:
12054vc404-s|volker-craig 404 w/standout mode:\
12055	:do=^J:se=^O:so=^N:tc=vc404:
12056# From: <wolfgang@cs.sfu.ca>
12057# (vc414: merged in cup/dl1/home from an old vc414h-noxon)
12058vc414|vc414h|Volker-Craig 414H in sane escape mode.:\
12059	:am:bs:\
12060	:co#80:li#24:\
12061	:al=\E\032:cd=\E^X:ce=10\E\017:cl=\E\034:cm=\E\021%r%.%.:\
12062	:dc=\E3:dl=\E\023:do=\E^K:ei=:ho=\E^R:ic=\E\072:im=:k0=\EA:\
12063	:k1=\EB:k2=\EC:k3=\ED:k4=\EE:k5=\EF:k6=\EG:k7=\EH:kd=\E^K:\
12064	:kh=\E^R:kl=^H:kr=^P:ku=\E^L:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
12065	:l4=PF5:l5=PF6:l6=PF7:l7=PF8:nd=^P:se=\E^_:so=\E^Y:up=\E^L:
12066vc415|volker-craig 415:\
12067	:cl=^L:tc=vc404:
12068
12069######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
12070#
12071
12072#### IBM PC and clones
12073#
12074
12075# The pcplot IBM-PC terminal emulation program is really messed up. It is
12076# supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
12077# doesn't support scrolling regions, ignores add line commands, and ignores
12078# delete line commands. Consequently, the resulting behavior looks like a
12079# crude adm3a-type terminal.
12080# Steve Jacobson 8/85
12081pcplot|pc-plot terminal emulation program:\
12082	:xn@:\
12083	:AL@:DL@:al@:cs@:dl@:rc@:sc@:tc=vt100:
12084# KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
12085# I've found that my KayPro II, running MDM730, continues to emulate an
12086# ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
12087# system the following termcap entry works well:
12088# I have noticed a couple of minor glitches, but nothing I can't work
12089# around. (I added two capabilities from the BRL entry -- esr)
12090kaypro|kaypro2|kaypro II:\
12091	:am:bs:\
12092	:co#80:li#24:\
12093	:al=\EE:bl=^G:cd=^W:ce=^X:cl=1\032:cm=\E=%+ %+ :cr=^M:\
12094	:dl=\ER:do=^J:ho=^^:kd=^J:kr=^L:ku=^K:nd=^L:sf=^J:up=^K:
12095
12096# From IBM, Thu May  5 19:35:27 1983
12097# (ibmpc: commented out :im:=\200R because we don't know :ei: -- esr)
12098ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS):\
12099	:am:bs:\
12100	:co#80:li#24:\
12101	:bl=^G:cl=^L^K:cr=^M^^:do=^J:ho=^K:kd=^_:le=^]:nd=^\:sf=\n:\
12102	:up=^^:
12103
12104ibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX:\
12105	:am:bw:eo:hs:km:ms:ul:\
12106	:co#80:it#8:li#24:\
12107	:@7=\E[Y:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS\E[%dB:\
12108	:SR=\E[%dT\E[%dA:UP=\E[%dA:\
12109	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
12110	:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\Ec:cm=\E[%i%d;%dH:\
12111	:cr=^M:do=\E[B:ec=\E[%dX:ho=\E[H:k1=\240:k2=\241:k3=\242:\
12112	:k4=\243:k5=\244:k6=\245:k7=\246:k8=\247:k9=\250:k;=\251:\
12113	:kB=^]:kD=\177:kI=\E[^H:kN=\E[U:kb=^H:kd=\E[B:kh=\E[H:\
12114	:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:mb=\E[5m:\
12115	:md=\E[1m:me=\E[m:mk=\E[30;40m:mr=\E[7m:nd=\E[C:nw=^M:\
12116	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
12117	:se=\E[m:sf=\E[S\E[B:so=\E[7m:sr=\E[T\E[A:ue=\E[m:up=\E[A:\
12118	:us=\E[4m:
12119
12120#### Apple II
12121#
12122# Apple II firmware console first, then various 80-column cards and
12123# terminal emulators.  For two cents I'd toss all these in the UFO file
12124# along with the 40-column apple entries.
12125#
12126
12127# From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
12128#	'it#8' tells UNIX that you have tabs every 8 columns.  This is a
12129#		function of TIC, not the firmware.
12130#	The clear key on a IIgs will do something like clear-screen,
12131#		depending on what you're in.
12132appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface:\
12133	:am:bs:bw:eo:ms:\
12134	:co#80:it#8:li#24:\
12135	:bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:ho=^Y:\
12136	:kC=^X:kD=\177:kb=^H:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:nd=^\:\
12137	:nw=^M^W:se=^N:sf=^W:so=^O:sr=^V:ta=^I:up=^_:
12138# Apple //e with 80-column card, entry from BRL
12139# The modem interface is permitted to discard LF (maybe DC1), otherwise
12140# passing characters to the 80-column firmware via COUT (PR#3 assumed).
12141# Auto-wrap does not work right due to newline scrolling delay, which also
12142# requires that you set "stty cr2".
12143# Note: Cursor addressing is only available via the Pascal V1.1 entry,
12144# not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
12145# using a terminal emulation program instead of the built-in firmware.
12146apple2e|Apple //e:\
12147	:bw:ms:\
12148	:co#80:li#24:\
12149	:bl=^G:cd=4*\013:ce=4\035:cl=100\014:do=^J:ho=^Y:is=^R^N:\
12150	:kb=^H:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:me=^N:mr=^O:nw=100\r:\
12151	:r1=^R^N:se=^N:sf=^W:so=^O:sr=^V:ta=^I:up=^_:
12152# mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
12153# 4.20, with incoming and outgoing terminals both on 0, emulation On.
12154apple2e-p|Apple //e via Pascal:\
12155	:cm=\036%r%+ %+ :kb=^H:kd=^J:kl=^H:tc=apple2e:
12156# (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
12157# Enable DC3/DC1 flow control with "stty ixon -ixany".
12158apple-ae|ASCII Express:\
12159	:am:bs:bw:ms:nx:xo:\
12160	:co#80:it#8:li#24:\
12161	:bl=500\007:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:\
12162	:ho=^Y:is=^R^N:kC=^X:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:me=^N:\
12163	:mr=^O:nd=^U:r1=^R^N:se=^N:sf=^W:so=^O:sr=^V:up=^_:
12164appleII|apple ii plus:\
12165	:am:bs:\
12166	:co#80:it#8:li#24:\
12167	:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :do=^J:ho=\E^Y:\
12168	:is=\024T1\016:kd=^J:kr=^U:le=^H:me=^N:nd=^\:se=^N:so=^O:\
12169	:ta=^I:up=^_:vb=\024G1\024T1:ve=^TC2:vs=^TC6:
12170# Originally by Gary Ford 21NOV83
12171# From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
12172apple-80|apple II with smarterm 80 col:\
12173	:am:bs:bw:\
12174	:co#80:li#24:\
12175	:bt=^R:cd=10*\013:ce=10\035:cl=10*\014:cm=\036%r%+ %+ :\
12176	:cr=10*\r:do=^J:ho=^Y:le=^H:nd=^\:up=^_:
12177apple-soroc|apple emulating soroc 120:\
12178	:am:\
12179	:co#80:li#24:\
12180	:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
12181	:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
12182# From Peter Harrison, Computer Graphics Lab, San Francisco
12183#   ucbvax!ucsfmis!harrison  .....uucp
12184#   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
12185# "These two work.  If you don't have the inverse video chip for the
12186# Apple with videx then remove the :so: and :se: fields."
12187# (apple-videx: this used to be called DaleApple -- esr)
12188apple-videx|Apple with videx videoterm 80 column board with inverse video:\
12189	:am:bs:xn:\
12190	:co#80:it#8:li#24:\
12191	:cd=^K:ce=^]:cl=300\014:cm=\036%r%+ %+ :do=^J:ho=^Y:kd=^J:\
12192	:kh=^Y:kl=^H:kr=^U:le=^H:me=^Z2:nd=^\:se=^Z2:so=^Z3:ta=^I:\
12193	:up=^_:
12194# My system [for reference] : Apple ][+, 64K, Ultraterm display card,
12195#			      Apple Cat ][ 212 modem, + more all
12196#			      controlled by ASCII Express: Pro.
12197# From Dave Shaver <isucs1!shaver>
12198apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell:\
12199	:am:bs:eo:xt:\
12200	:co#80:li#24:\
12201	:ac=:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :ho=^Y:\
12202	:is=^V4^W06\017\rVisible Bell Installed.\016\r\n:\
12203	:nd=^\:se=^N:so=^O:up=^_:vb=^W35^W06:
12204apple-uterm|Ultraterm for Apple micros:\
12205	:am:bs:eo:xt:\
12206	:co#80:li#24:\
12207	:ac=:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :ho=^Y:\
12208	:is=^V4^W06\016:nd=^\:se=^N:so=^O:up=^_:
12209# from trwrba!bwong (Bradley W. Wong):
12210#
12211# This entry assumes that you are using an apple with the UCSD Pascal
12212# language card.  SYSTEM.MISCINFO is assumed to be the same as that
12213# supplied with the standard apple except that screenwidth should be set
12214# using SETUP to 80 columns.  Note that the right arrow in not mapped in
12215# this termcap entry.  This is because that key, on the Apple, transmits
12216# a ^U and would thus preempt the more useful "up" function of vi.
12217#
12218# HMH 2/23/81
12219apple80p|80-column apple with Pascal card:\
12220	:am:bw:\
12221	:co#80:li#24:\
12222	:cd=^K:ce=^]:cl=^Y^L:cm=\036%r%+ %+ :ho=^Y:kl=^H:nd=^\\072:\
12223	:up=^_:
12224#
12225# Apple II+ equipped with Videx 80 column card
12226#
12227# Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
12228# manually converted by D A Gwyn
12229#
12230# DO NOT use any terminal emulation with this data base, it works directly
12231# with the Videx card.  This has been tested with vi 1200 baud and works fine.
12232#
12233# This works great for vi, except I've noticed in pre-R2, ^U will scroll back
12234# 1 screen, while in R2 ^U doesn't.
12235# For inverse alternate character set add:
12236#	:as:=^O::ae:=^N:
12237# (apple-v: added it#8 -- esr)
12238apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520):\
12239	:am:xn:\
12240	:co#80:it#8:li#24:\
12241	:bl=100\007:cd=16*\013:ce=^]:cl=16*\014:cm=\036%r%+ %+ :\
12242	:cr=^M:do=^J:ho=^Y:kb=^H:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:\
12243	:nd=^\:se=^Z2:sf=^J:so=^Z3:ta=8\011:up=^_:
12244apple-videx3|vapple|Apple II with 80 col card:\
12245	:am:bs:\
12246	:co#80:li#24:\
12247	:ce=\Ex:cl=\Ev:cm=\EY%+ %+ :ho=\EH:k0=\EP:k1=\EQ:k2=\ER:\
12248	:k3=\E :k4=\E\041:k5=\E":k6=\E#:k7=\E$:k8=\E%:k9=\E&:kd=\EB:\
12249	:kh=\EH:kl=\ED:kr=\EC:ku=\EA:nd=\EC:up=\EA:
12250#From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
12251aepro|Apple II+ running ASCII Express Pro--vt52:\
12252	:bs:\
12253	:co#80:li#24:\
12254	:cd=\EJ:ce=\EK:cl=300\014:cm=\EY%+ %+ :ho=\EH:nd=\EC:\
12255	:up=\EA:
12256# UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
12257apple-vm80|ap-vm80|apple with viewmax-80:\
12258	:bs:\
12259	:co#80:li#24:\
12260	:cd=300\013:ce=^]:cl=300\014:cm=100\036%+ %+ :ho=200\031:\
12261	:nd=^\\072:up=^_:
12262
12263#### Apple Lisa & Macintosh
12264#
12265
12266# (lisa: changed :vs: to :ve: -- esr)
12267lisa|apple lisa console display (black on white):\
12268	:am:bs:eo:ms:\
12269	:co#88:it#8:li#32:\
12270	:ac=jdkclfmenbqattuvvuwsx`:ae=\E[10m:al=\E[L:as=\E[11m:\
12271	:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:\
12272	:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E>\E[m\014:kb=^H:\
12273	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
12274	:se=\E[m:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[5l:\
12275	:vi=\E[5h:
12276liswb|apple lisa console display (white on black):\
12277	:is=\E>\E[0;7m\014:se=\E[0;7m:so=\E[m:ue=\E[0;7m:\
12278	:us=\E[4m:tc=lisa:
12279
12280# lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
12281# :is: revised by Ferd Brundick <fsbrn@BRL.ARPA>
12282#
12283# These entries assume that the 'Auto Wraparound' is enabled.
12284# Xon-Xoff flow control should also be enabled.
12285#
12286# The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
12287# settings are in non-volatile memory and don't need to be reset upon login.
12288# Also setting the number of columns glitches the screen annoyingly.
12289# You can type "reset" to get them set.
12290#
12291lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation:\
12292	:am:bs:pt:xn:xo:\
12293	:co#80:it#8:kn#4:li#24:vt#3:\
12294	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bl=^G:cd=\E[J:\
12295	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
12296	:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:ho=\E[H:k0=\EOP:k1=\EOQ:\
12297	:k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
12298	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:le=^H:\
12299	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
12300	:r1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r:\
12301	:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
12302	:ue=\E[m:up=\E[A:us=\E[4m:
12303# Lisaterm in 132 column ("wide") mode.
12304lisaterm-w|Apple Lisa with Lisaterm in 132 column mode:\
12305	:co#132:\
12306	:kb=^H:kd=^J:kl=^H:tc=lisaterm:
12307# Although MacTerminal has insert/delete line, it is commented out here
12308# since it is much faster and cleaner to use the "lock scrolling region"
12309# method of inserting and deleting lines due to the MacTerminal implementation.
12310# Also, the "Insert/delete ch" strings have an extra character appended to them
12311# due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
12312# supported by MacTerminal.
12313mac|macintosh|Macintosh with MacTerminal:\
12314	:xn:\
12315	:dN#30:\
12316	:dc=7\E[P:ei=:ic=9\E[@:im=:ip=7:mb@:tc=lisa:
12317# Lisaterm in 132 column ("wide") mode.
12318mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode:\
12319	:co#132:tc=mac:
12320
12321#### Radio Shack/Tandy
12322#
12323
12324# (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
12325# I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
12326# From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
12327coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II:\
12328	:am:bs:\
12329	:co#80:it#8:li#24:\
12330	:al=^_0:bl=^G:cd=^K:ce=^D:cl=5*\014:cm=2\002%r%+ %+ :\
12331	:dl=^_1:do=^J:ho=^A:kd=^J:kl=^H:kr=^I:ku=^L:le=^H:mb=^_":\
12332	:md=\E\072^A:me=\037\041\E\072\0:mr=^_ :nd=^F:se=^_\041:\
12333	:so=^_ :ue=^_#:up=^I:us=^_":ve=^E\041:vi=^E :
12334# (trs2: removed obsolete ":nl=^_:" -- esr)
12335trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M:\
12336	:am:bs:ms:\
12337	:co#80:it#8:li#24:\
12338	:al=^D:bl=^G:cd=^B:ce=^A:cl=^L:cm=\EY%+ %+ :cr=^M:dl=^K:\
12339	:do=^_:ho=^F:kb=^H:kd=^_:kl=^\:kr=^]:ku=^^:le=^H:me=^O:nd=^]:\
12340	:se=^O:sf=^J:so=^N:ta=^I:up=^^:
12341# From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
12342# (This had extension capabilities
12343#	:BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
12344#	:CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
12345# I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
12346trs16|trs-80 model 16 console:\
12347	:am:bs:\
12348	:co#80:it#8:li#24:\
12349	:ac=jak`l_mbquvewcxs:ae=\ERg:al=\EL:as=\ERG:bl=^G:cd=\EJ:\
12350	:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EQ:dl=\EM:do=\EB:ei=:\
12351	:ho=\EH:ic=\EP:im=:k0=^A:k1=^B:k2=^D:k3=^L:k4=^U:k5=^P:k6=^N:\
12352	:k7=^S:kb=^H:kd=\EB:kh=^W:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:\
12353	:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:le=^H:me=\ER@:nd=\EC:\
12354	:pf=\E]+:po=\E]=:se=\ER@:sf=^J:so=\ERD:ta=^I:up=\EA:ve=\ERC:\
12355	:vi=\ERc:
12356
12357#### Atari ST
12358#
12359
12360# From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
12361atari|atari st:\
12362	:am:bs:\
12363	:co#80:it#8:li#25:\
12364	:al=\EL:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :dl=\EM:do=\EB:\
12365	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:me=\Eq:nd=\EC:se=\Eq:\
12366	:so=\Ep:sr=\EI:ta=^I:up=\EA:
12367# UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
12368# From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
12369uniterm|uniterm49|UniTerm VT220 emulator with 49 lines:\
12370	:li#49:\
12371	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H:tc=vt220:
12372# MiNT VT52 emulation. 80 columns, 25 rows.
12373# MiNT is Now TOS, the operating system which comes with all Ataris now
12374# (mainly Atari Falcon). This termcap is for the VT52 emulation you get
12375# under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
12376# From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
12377st52|Atari ST with VT52 emulation:\
12378	:am:km:\
12379	:co#80:li#25:\
12380	:K1=\E#7:K2=\E#9:K3=\E#5:K4=\E#1:K5=\E#3:al=\EL:bl=^G:\
12381	:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dl=\EM:do=\EB:\
12382	:ho=\EH:k0=\E#D:k1=\E#;:k2=\E#<:k3=\E#=:k4=\E#>:k5=\E#?:\
12383	:k6=\E#@:k7=\E#A:k8=\E#B:k9=\E#C:kA=\E#R:kC=\E#7:kF=\E#2:\
12384	:kR=\E#8:kb=^H:kd=\E#P:kh=\E#G:kl=\E#K:kr=\E#M:ku=\E#H:\
12385	:l0=f10:le=\ED:me=\Eq:nd=\EC:nw=^M^J:r1=\Ez_\Eb@\EcA:\
12386	:rc=\Ek:sc=\Ej:se=\Eq:sf=^J:so=\Ep:sr=\EI:ta=^I:te=:ti=\Ee:\
12387	:up=\EA:ve=\Ee:vi=\Ef:
12388
12389#### Commodore Business Machines
12390#
12391# Formerly located in West Chester, PA; went spectacularly bust in 1994
12392# after years of shaky engineering and egregious mismanagement.  Made one
12393# really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
12394# C-128, VIC-20).  The C-64 is said to have been the most popular machine
12395# ever (most units sold); they can still be found gathering dust in closets
12396# everywhere.
12397#
12398
12399# From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
12400# Added a few more entries, converted caret-type control sequence (^x) entries
12401# to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
12402# Corrections by Ty Sarna <tsarna@endicor.com>, Sat Feb 28 18:55:15 1998
12403#
12404# :as:, :ae:			Support for alternate character sets.
12405# :ve=\E[\040p:vi=\E[\060\040p:	cursor visible/invisible.
12406# :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
12407#     This one appears to fix a problem I always had with a line ending
12408#     at 'width+1' (I think) followed by a blank line in vi. The blank
12409#     line tended to disappear and reappear depending on how the screen
12410#     was refreshed. Note that this is probably needed only if you use
12411#     something like a Dnet Fterm with the window sized to some peculiar
12412#     dimension larger than 80 columns.
12413# :k0=\E9~:	map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
12414# (amiga: removed obsolete :kn#10:,
12415# also added empty <acsc> to suppress a warning --esr)
12416amiga|Amiga ANSI:\
12417	:am:bs:bw:xn:\
12418	:co#80:li#24:\
12419	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
12420	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:\
12421	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
12422	:cl=\E[H\E[J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
12423	:ho=\E[H:ic=\E[@:im=:is=\E[20l:k0=\E[9~:k1=\E[0~:k2=\E[1~:\
12424	:k3=\E[2~:k4=\E[3~:k5=\E[4~:k6=\E[5~:k7=\E[6~:k8=\E[7~:\
12425	:k9=\E[8~:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:\
12426	:mb=\E[7;2m:md=\E[1m:me=\E[m:mh=\E[2m:mk=\E[8m:mr=\E[7m:\
12427	:nd=\E[C:r1=\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:\
12428	:up=\E[A:us=\E[4m:ve=\E[ p:vi=\E[0 p:
12429
12430# From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
12431# (amiga: added empty <acsc> to suppress a warning.
12432# I'm told this entry screws up badly with AS225, the Amiga
12433# TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
12434amiga-h|Hans Verkuil's Amiga ANSI:\
12435	:bs:bw:ms:\
12436	:co#80:li#24:\
12437	:DC=\233%dP:DO=\233%dB:IC=\233%d@:LE=\233%dD:RI=\233%dC:\
12438	:SF=\233%dS:SR=\233%dT:UP=\233%dA:ac=:ae=^O:as=^N:bl=^G:\
12439	:bt=\233Z:cd=\233J:ce=\233K:cl=\233H\233J:\
12440	:cm=\233%i%d;%dH:cr=^M:dc=\233P:do=\233B:ec=\233%dP:ei=:\
12441	:ho=\233H:ic=\233@:im=:is=\23320l:k0=\2339~:k1=\2330~:\
12442	:k2=\2331~:k3=\2332~:k4=\2333~:k5=\2334~:k6=\2335~:\
12443	:k7=\2336~:k8=\2337~:k9=\2338~:kD=\177:kb=^H:kd=\233B:\
12444	:kl=\233D:kr=\233C:ku=\233A:le=\233D:mb=\2337;2m:\
12445	:md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
12446	:nd=\233C:nw=\233B\r:r1=\Ec:se=\2330m:sf=\233S:so=\2337m:\
12447	:sr=\233T:ta=^I:te=\233?7h:ti=\233?7l:ue=\2330m:up=\233A:\
12448	:us=\2334m:vb=^G:ve=\233 p:vi=\2330 p:
12449
12450# From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
12451amiga-8bit|Amiga ANSI using 8-bit controls:\
12452	:AL=\233%dL:DL=\233%dM:SF@:SR@:ac=:al=\233L:dl=\233M:\
12453	:sf=\204:sr=\215:\
12454	:tc=amiga-h:
12455
12456# Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
12457# 	I'm trying to write a termcap for a commodore b-128, and I'm
12458# having a little trouble. I've had to map most of my control characters
12459# to something that unix will accept (my delete-char is a ctrl-t, etc),
12460# and create some functions (like cm), but thats life.
12461# 	The problem is with the arrow keys - right, and up work fine, but
12462# left deletes the previous character and down I just can't figure out.
12463# Jove knows what I want, but I don't know what it's sending to me (it
12464# isn't thats bound to next-line in jove).
12465# 	Anybody got any ideas? Here's my termcap.
12466# DAG -- I changed his "^n" entries to "\n"; see if that works.
12467#
12468commodore|b-128|Commodore B-128 micro:\
12469	:am:bw:\
12470	:co#80:dN#20:li#24:pb#150:\
12471	:al=10\Ei:bc=^H:ce=10\Eq:cl=10\E\006:\
12472	:cm=20\E\013%2\054%2\054:cr=^M:dc=10*\177:dl=10*\Ed:\
12473	:do=^J:ei=:ho=\E^E:ic=5\E\n:im=:kd=^J:kh=\E^E:kl=^B:kr=^F:\
12474	:ku=^P:nd=^F:nl=^M:ta=5\011:up=^P:
12475
12476#### North Star
12477#
12478# North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
12479northstar|North Star Advantage:\
12480	:bs:\
12481	:co#80:li#24:\
12482	:cd=200\017:ce=200\016:cl=200\004:cm=1\E=%+ %+ :\
12483	:ho=200\034\032:
12484
12485#### Osborne
12486#
12487# Thu Jul  7 03:55:16 1983
12488#
12489# As an aside, be careful; it may sound like an anomaly on the
12490# Osborne, but with the 80-column upgrade, it's too easy to
12491# enter lines >80 columns!
12492#
12493# I've already had several comments...
12494# The Osborne-1 with the 80-col option is capable of being
12495# 52, 80, or 104 characters wide; default to 80 for compatibility
12496# with most systems.
12497#
12498# The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
12499osborne-w|osborne1-w|osborne I in 104-column mode:\
12500	:ms:ul:xt:\
12501	:co#104:li#24:\
12502	:al=\EE:bl=^G:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:\
12503	:do=^J:ei=:ic=\EQ:im=:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:\
12504	:se=\E(:sf=^J:so=\E):ue=\Em:up=^K:us=\El:
12505# Osborne I	from ptsfa!rhc (Robert Cohen) via BRL
12506osborne|osborne1|osborne I in 80-column mode:\
12507	:am:bs:mi:ms:ul:xs:\
12508	:co#80:dB#4:li#24:\
12509	:al=\EE:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=4\EW:dl=\ER:do=^J:ei=:\
12510	:im=\EQ:is=^Z:kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=\010:nd=^L:\
12511	:se=\E):so=\E(:ue=\Em:up=^K:us=\El:
12512#
12513# Osborne Executive definition from BRL
12514# Similar to tvi920
12515# Added by David Milligan and Tom Smith (SMU)
12516osexec|Osborne executive:\
12517	:am:bs:\
12518	:co#80:li#24:sg#1:\
12519	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
12520	:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
12521	:is=\Eq\Ek\Em\EA\Ex0:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:\
12522	:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:k8=^AH\r:k9=^AI\r:\
12523	:kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:nl=^J:se=\Ek:\
12524	:so=\Ej:st=\E1:ue=\Em:up=^K:us=\El:
12525
12526#### Console types for obsolete and not-so-obsolete UNIX clones
12527#
12528# Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
12529# machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
12530# were commercial, Minix an educational tool sold in conjunction with a book.
12531# Memory-segmentation limits and a strong tendency to look like V7 long after
12532# it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
12533# and Minix were ported to 32-bit Intel boxes, only to be run over by a
12534# steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
12535# Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
12536# are also, I'm told, Minix ports that ran on Amiga and Atari machines and
12537# even as single processes under SunOS and the Macintosh OS.
12538#
12539
12540# This is the entry provided with MINIX 3.1.6.
12541minix|minix console:\
12542	:am:xn:bs:\
12543	:co#80:it#8:li#25:\
12544	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
12545	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[0J:\
12546	:ce=\E[K:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
12547	:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:is=\E[0m:k1=\E[11~:\
12548	:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
12549	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\177:\
12550	:kI=\E[@:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
12551	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
12552	:mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[0m:sf=^J:so=\E[7m:\
12553	:sr=\EM:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:@7=\E[Y:\
12554	:Co#8:pa#64:AB=\E[4%dm:AF=\E[3%dm:
12555# Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
12556minix-old|minix console (v1.5):\
12557	:xo:\
12558	:co#80:it#8:li#25:\
12559	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
12560	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[0J:\
12561	:ce=\E[K:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
12562	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k0=\E[Y:k1=\E[V:\
12563	:k2=\E[U:k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:kd=\E[B:kh=\E[H:\
12564	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
12565	:mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[0m:sf=^J:so=\E[7m:sr=\EM:\
12566	:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
12567# The linewrap option can be specified by editing /usr/include/minix/config.h
12568# before recompiling the minix 1.5 kernel.
12569minix-old-am|minix console with linewrap:\
12570	:am:tc=minix-old:
12571
12572pc-minix|minix console on an Intel box:\
12573	:tc=klone+acs:tc=minix:
12574
12575# According to the Coherent 2.3 manual, the PC console is similar
12576# to a z19. The differences seem to be (1) 25 lines, (2) no status
12577# line, (3) standout is broken, (4) ins/del line is broken, (5)
12578# has blinking and bold.
12579pc-coherent|pcz19|coherent|IBM PC console running Coherent:\
12580	:am:mi:\
12581	:co#80:it#8:li#25:\
12582	:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :cr=^M:dc=\EN:\
12583	:do=\EB:ei=\EO:ho=\EH:im=\E@:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
12584	:kr=\EC:ku=\EA:le=^H:me=\Eq:nd=\EC:se=\Eq:sf=^J:so=\Ep:\
12585	:sr=\EI:ta=^I:up=\EA:
12586
12587# According to the Venix 1.1 manual, the PC console is similar
12588# to a DEC vt52.  Differences seem to be (1) arrow keys send
12589# different strings, (2) enhanced standout, (3) added insert/delete line.
12590# Note in particular that it doesn't have automatic margins.
12591# There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
12592# not described here because this derives from an old termcap entry.
12593pc-venix|venix|IBM PC console running Venix:\
12594	:co#80:it#8:li#25:\
12595	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
12596	:dl=\EM:do=^J:kb=^H:kd=\EP:kh=\EG:kl=\EK:kr=\EM:ku=\EH:le=^H:\
12597	:nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
12598
12599#### Miscellaneous microcomputer consoles
12600#
12601# If you know anything more about any of these, please tell me.
12602#
12603
12604# The MAI Basic Four computer was obsolete at the end of the 1980s.
12605# It may be used as a terminal by putting it in "line" mode as seen on
12606# one of the status lines.
12607# Initialization is similar to CIT80. :is: will set ANSI mode for you.
12608# Hardware tabs set by :if: at 8-spacing.  Auto line wrap causes glitches so
12609# wrap mode is reset by :vs:.  Using :sf:=\E[S caused errors so I
12610# used \ED instead.
12611# From: bf347@lafn.org (David Lawyer), 28 Jun 1997
12612mai|basic4|MAI Basic Four in ansi mode:\
12613	:am:da:db:mi:ms:\
12614	:co#82:it#8:li#25:\
12615	:al=\E[L:bl=^G:cd=^_:ce=^^:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:\
12616	:cs=\E[%i%d;%dr:dc=\E[1P:dl=\E[M:do=^J:ei=\E[4l:ho=^]:\
12617	:if=/usr/lib/tabset/vt100:im=\E[4h:\
12618	:is=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H:\
12619	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:\
12620	:k8=\EOW:kb=^H:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:\
12621	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=^X:nw=^M\ED:rc=\E8:\
12622	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=^Z:\
12623	:us=\E[4m:ve=\E[?7h:vs=\E[?7l:
12624# basis from Peter Harrison, Computer Graphics Lab, San Francisco
12625#   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
12626#
12627# On Sat, 7 Aug 1999, Torsten Jerzembeck <toje@nightingale.ms.sub.org> wrote:
12628# The Basis 108 was a Apple II clone, manufactured by the "Basis
12629# Mikrocomputer GmbH" in Munster, Germany (the company still exists today,
12630# about 1,5 km from where I live, but doesn't build own computers any
12631# more). A Basis 108 featured a really heavy (cast aluminium?) case, was
12632# equipped with one or two 5.25" disk drives, had a monochrome and colour
12633# video output for a TV set or a dedicated monitor and several slots for
12634# Apple II cards. Basis 108 were quite popular at german schools before
12635# the advent of the IBM PC. They run, for example, the UCSD Pascal
12636# development system (which I used even in 1993 to program the steering
12637# and data recording for our school's experimental solar panel :), Apple DOS
12638# or CP/M.
12639# (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
12640basis|BASIS108 computer with terminal translation table active:\
12641	:cd=\EY:ce=\ET:cl=300\E*:do=5000\n:kb=^H:kd=^J:kl=^H:kr=^L:\
12642	:ku=^K:me=\E):se=\E):so=\E(:\
12643	:tc=adm3a:
12644# luna's BMC terminal emulator
12645luna|luna68k|LUNA68K Bitmap console:\
12646	:co#88:li#46:tc=ansi-mini:
12647megatek|pegasus workstation terminal emulator:\
12648	:am:os:\
12649	:co#83:li#60:
12650# The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
12651# interface (pre-Macintosh by several years) that went nowhere.
12652xerox820|x820|Xerox 820:\
12653	:am:\
12654	:co#80:li#24:\
12655	:bl=^G:cd=^Q:ce=^X:cl=1^Z:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
12656	:le=^H:nd=^L:sf=^J:up=^K:
12657
12658#### Videotex and teletext
12659#
12660
12661# From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
12662#
12663minitel1|minitel 1:\
12664	:am:bw:es:hs:hz:ms:\
12665	:Co#8:co#40:li#24:pa#8:\
12666	:..Sf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;:\
12667	:ac=+.\054\054./f0g1:bl=^G:ce=^X:cl=^L:cm=\037%+A%+A:\
12668	:cr=^M:do=^J:eA=^Y:fs=^J:ho=^^:\
12669	:is=\E;`ZQ\E\072iC\E\072iE\021:le=^H:mb=\EH:me=\EI\E\:\
12670	:mr=\E]:nd=^I:nw=^M^J:op=\EG:rp=%.\022%+?:\
12671	:..sa=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;:se=\E\:\
12672	:sf=^J:so=\E]:sr=^K:ts=\037@%p1%{65}%+%c:up=^K:ve=^Q:vi=^T:
12673# is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
12674minitel1b|minitel 1-bistandard (in 40cols mode):\
12675	:mi:\
12676	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
12677	:RI=\E[%dC:UP=\E[%dA:al=\E[L:cb=\E[1K:cd=\E[J:dc=\E[P:\
12678	:dl=\E[M:ei=\E[4l:i1=\E;iYA\E;jYC:im=\E[4h:kA=\E[L:\
12679	:kC=\E[2J:kD=\E[P:kE=^X:kI=\E[4h:kL=\E[M:kd=\E[B:kh=\E[H:\
12680	:kl=\E[D:kr=\E[C:ks=\E;iYA\E;jYC:kt=^I:ku=\E[A:\
12681	:tc=minitel1:
12682# :ke: posait des problemes (logout en sortant de vi).
12683minitel1b-80|minitel 1-bistandard (standard teleinformatique):\
12684	:am@:bw@:hz@:\
12685	:Co@:co#80:it#8:pa@:\
12686	:@8=\EOM:Sf@:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:ho=\E[H:\
12687	:i1@:is@:k0=\EOp:k1=\EOq:k2=\EOr:k3=\EOs:k4=\EOt:k5=\EOu:\
12688	:k6=\EOv:k7=\EOw:k8=\EOx:k9=\EOy:ke@:ks@:mb=\E[5m:md=\E[1m:\
12689	:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:op@:rc=\E8:rp@:\
12690	:..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:\
12691	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[24m:\
12692	:up=\E[A:us=\E[4m:ve=\037@A\021\n:vi=\037@A\024\n:\
12693	:tc=minitel1b:
12694# \E\:1}	switch to te'le'informatique mode (ascii terminal/ISO 6429)
12695# \E[?3l	80 columns
12696# \E[?4l	scrolling on
12697# \E[12h	local echo off
12698# \Ec		reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
12699# \E)0		G1 DEC set (line graphics)
12700#
12701# From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
12702m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique:\
12703	:bs:es:hs:xn:\
12704	:co#80:it#8:li#24:sg#0:ws#72:\
12705	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
12706	:RI=\E[%dC:SF=^J:SR=\EM:UP=\E[%dA:\
12707	:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:ae=^O:al=\E[L:\
12708	:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
12709	:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
12710	:fs=^J:ho=\E[H:i1=\E\0721}\Ec\E[?4l\E[12h:\
12711	:i2=\E[?3l kbs=\010:im=\E[4h:ip=7:is=\Ec\E[12h\E)0:\
12712	:k0=\EOp:k1=\EOq:k2=\EOr:k3=\EOs:k4=\EOt:k5=\EOu:k6=\EOv:\
12713	:k7=\EOw:k8=\EOx:k9=\EOy:k;=\EOp:kA=\E[4l:kC=\E[2J:kD=\E[P:\
12714	:kI=\E[4h:kL=\E[M:kN=\EOn:kP=\EOR:kd=\E[B:kh=\E[H:kl=\E[D:\
12715	:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;80H:mb=\E[5m:md=\E[1m:\
12716	:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M^J:ps=\E[i:\
12717	:r1=\Ec\E[?4l\E[12h:r2=\Ec\E)0:rc=\E8:sc=\E7:se=\E[27m:\
12718	:sf=^J:so=\E[7m:sr=\EM:ta=^I:ts=^_@A:u6=\E[%i%d;%dR:\
12719	:u7=\E[6n:ue=\E[24m:up=\E[A:us=\E[4m:vb=^G:ve=\E[<1l:\
12720	:vi=\E[<1h:
12721
12722######## OBSOLETE VDT TYPES
12723#
12724# These terminals are *long* dead -- these entries are retained for
12725# historical interest only.
12726
12727#### Amtek Business Machines
12728#
12729
12730# (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
12731# but these caps were commented out in 8.3; also, removed overridden
12732# ":do=^J:" -- esr)
12733abm80|amtek business machines 80:\
12734	:am:bs:bw:\
12735	:co#80:li#24:\
12736	:al=\E^Z:bt=^T:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%+ %+ :\
12737	:dl=\E^S:do=\E^K:ho=\E^R:le=^H:nd=^P:up=\E^L:
12738
12739#### Bell Labs blit terminals
12740#
12741# These were AT&T's official entries.  The 5620 FAQ maintained by
12742# David Breneman <daveb@dgtl.com> has this to say:
12743#
12744#  Actually, in the beginning was the Jerq, and the Jerq was white with a
12745#  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
12746#  was good.  But lo, upon the horizon loomed a mighty management-type person
12747#  (known now only by the initials VP) who said, the mighty Jerq must stay
12748#  alone, and could not go forth into the world. So Locanthi and Pike put the
12749#  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
12750#  world. And the Jerq lived the rest of its days in research, but never
12751#  strayed from those paths.
12752#
12753#  In all seriousness, the Blit was originally known as the Jerq, but when
12754#  it started to be shown outside of the halls of the Bell Labs Research
12755#  organization, the management powers that be decided that the name could
12756#  not remain. So it was renamed to be Blit. This was in late 1981.
12757#
12758# (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
12759# 730, and 730+.)
12760#
12761
12762blit|jerq|blit running teletype rom:\
12763	:am:eo:ul:xo:\
12764	:co#87:it#8:li#72:\
12765	:AL=\EF%+ :DC=\Ee%+ :DL=\EE%+ :IC=\Ef%+ :al=\EF\041:bl=^G:\
12766	:ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=^M:dc=\Ee\041:dl=\EE\041:\
12767	:do=^J:ei=:ic=\Ef\041:im=:k1=\Ex:k2=\Ey:k3=\Ez:kb=^H:kd=\EB:\
12768	:kl=\ED:kr=\EC:ku=\EA:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:
12769
12770# (cbblit: here's a BSD termcap that says :do=\EG: -- esr)
12771cbblit|fixterm|blit running columbus code:\
12772	:co#88:\
12773	:cd=\EJ:ei=\ER:ic@:im=\EQ:pO=\EP%03:pf=^T:po=^R:se=\EV\041:\
12774	:so=\EU\041:ue=\EV":us=\EU":vb=\E^G:\
12775	:tc=blit:
12776
12777oblit|ojerq|first version of blit rom:\
12778	:am:da:db:eo:mi:ul:xo:\
12779	:co#88:it#8:li#72:\
12780	:AL=\Ef%+ :DL=\Ee%+ :al=\EF:bl=^G:cd=\EJ:ce=\EK:cl=^L:\
12781	:cm=\EY%r%+ %+ :cr=^M:dc=\EO:dl=\EE:do=^J:ei=\ER:im=\EQ:\
12782	:kb=^H:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:vb=\E^G:
12783
12784#### Bolt, Beranek & Newman (bbn)
12785#
12786# The BitGraph was a product of the now-defunct BBN Computer Corporation.
12787# The parent company, best known as the architects of the Internet, is
12788# still around.
12789#
12790# Jeff DelPapa <dp@world.std.com> writes:
12791# The bitgraph was a large white box that contained a monochrome bitmap
12792# display, and a 68000 to run it.  You could download code and run it on
12793# the cpu, it had 128kb (I think) of memory.  I used one in the late
12794# 70's, sure beat a vt100.  It had one strange feature tho -- it used
12795# the cpu to bitblt pixels to scroll, it took longer than the refresh
12796# rate, and looked like a rubber sheet stretching, then snapping
12797# upwards.  It had everything the early mac had, except a floppy drive a
12798# small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
12799# Beranek and Neuman) sold at most a few hundred of them to the real
12800# world.  DOD may have bought more...
12801#
12802
12803# Entries for the BitGraph terminals.  The problem
12804# with scrolling in vi can only be fixed by getting BBN to put
12805# smarter scroll logic in the terminal or changing vi or padding
12806# scrolls with about 500 ms delay.
12807#
12808# I always thought the problem was related to the terminal
12809# counting newlines in its input buffer before scrolling and
12810# then moving the screen that much. Then vi comes along and
12811# paints lines in on the bottom line of the screen, so you get
12812# this big white gap.
12813
12814bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video):\
12815	:is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:\
12816	:tc=bg2.0:
12817bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video):\
12818	:is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg2.0:
12819bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init):\
12820	:bs:xn:\
12821	:co#85:li#64:\
12822	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=%i\E[%d;%dH:\
12823	:cr=^M:cs=\E[%i%d;%dr:dl=\E[M:do=\E[B:k1=\EOP:k2=\EOQ:\
12824	:k3=\EOR:k4=\EOS:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:\
12825	:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:me=\E[m:nd=\E[C:\
12826	:rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:ta=^I:up=\E[A:
12827
12828bg1.25rv|bbn bitgraph 1.25 (reverse video):\
12829	:is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg1.25:
12830bg1.25nv|bbn bitgraph 1.25 (normal video):\
12831	:is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:tc=bg1.25:
12832# (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
12833bg1.25|bbn bitgraph 1.25:\
12834	:co#85:li#64:\
12835	:RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
12836	:cl=\E[H\E[J:cm=%i\E[%d;%dH:cr=^M:dl=\E[M:do=\E[B:k1=\EP:\
12837	:k2=\EQ:k3=\ER:k4=\ES:kd=\EB:ke=\E>:kl=\ED:kr=\EC:ks=\E=:\
12838	:ku=\EA:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:ll=\E[64;1H:\
12839	:me=\E[m:nd=\E[C:se=\E[m:sf=\n:so=\E[7m:ta=^I:up=\E[A:
12840
12841#### Bull (bq, dku, vip)
12842#
12843# (Adapted for terminfo; AIX extension capabilities translated -- esr)
12844
12845#============================================#
12846# BULL QUESTAR 210 `SDP' terminals emulation #
12847#============================================#
12848#
12849# Description written by R.K.Saunders (Bull Transac)
12850#
12851# Modifications written by F. Girard (Bull MTS)
12852#		19-05-87 V02.00.01
12853#		17-12-87 V02.00.02
12854#		15-09-89 V02.00.05
12855#
12856#	Typical technical selections F1 (modes SDP/ROLL):
12857# -------------------------------------------------------
12858# |   01   02   03   04   05   06   07   08   09   10   |
12859# |  1010 0011 1010 0110 0110 0001 0100 0000 0000 0000  |
12860# |                                                     |
12861# |   11   12   13   14   15   16   17   18   19   20   |
12862# |  0000 0110 100? 0000 0000 0000 0001 0000 0000 0001  |
12863# |                                                     |
12864# |   21   22   23   24   25   26   27   28   29   30   |
12865# |  0011 0000 0001 1000 0000 0000 0000 0000 0000 0000  |
12866# |                                                     |
12867# |   31   32   33   34   35   36   37   38   39   40   |
12868# |  1010 0011 0000 0000 0000 0000 0000 0000 0000 0000  |
12869# -------------------------------------------------------
12870#	Typical firmware identification F5 "etat 6":
12871#  P287.02.04b	(AZERTY)
12872#  P297.11.04	(24-pin: 2732)	or P798.11.04	(28-pin: 2764)
12873#  P298.03.03	(monochrome)	or P374.03.02	(colour)
12874#
12875#	SM SDP mode (VIP command):	^[[?=h
12876#	RIS (erases screen):		^[c
12877#	DMI disable keyboard:		^[`
12878#	SM double rendition mode:	^[[?>h
12879#	RM solicited status mode:	^[[5l
12880#	RM character mode:		^[[>l
12881#	RM echoplex mode:		^[[12l
12882#	RM column tab mode:		^[[18l
12883#	RM forbid SS2 keyboard mode:	^[[?<l
12884#	SM scroll mode:			^[[=h
12885#	FCF enable XON/XOFF:		^[P1s^[\
12886#	MTL select end msg character:	^[[^Wp
12887#	EMI enable keyboard:		^[b
12888#	RIS retour etat initial:	^[c
12889#	enable FC keypad:		^[[?<h,
12890#	MPW map status line window:	^[PY99:98^[\
12891#	SCP select status line:		^[[0;98v
12892#	ED erase entire partition:	^[[2J
12893#	SCP select main partition:	^[[v
12894#	SM character insertion mode:	^[[4h
12895#	RM character replacement mode:	^[[4l
12896#	COO cursor on:			^[[r
12897#	COO cursor off:			^[[1r
12898#	SGR dim (turquoise) rev attr:	^[[2;7m
12899#	SGR Data normal attr:		^[[m
12900#	SO Line-graphic mode ON:	^N
12901#	SI Line-graphic mode OFF:	^O
12902#	MC start routing to printer:	^[[5i
12903#	MC stop routing to printer:	^M^[[4i
12904#
12905
12906# This entry covers the following terminals:
12907# dku7102, tws2102, and tws models 2105 to 2112
12908# (untranslatable capabilities removed to fit entry within 1023 bytes)
12909# (sgr removed to fit entry within 1023 bytes)
12910# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
12911tws-generic|dku7102|Bull Questar tws terminals:\
12912	:am:es:hs:mi:ms:xn:xo:xs@:\
12913	:co#80:it#8:li#24:ws#80:\
12914	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
12915	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
12916	:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%df:cr=^M:ct=\E[2g:\
12917	:dc=\E[P:dl=\E[M:do=^J:\
12918	:ds=\EPY99\07298\E\\E[0;98v\E[2J\E[v:ei=\E[4l:fs=\E[v:\
12919	:ho=\E[H:i1=\E[?=h\Ec\E`\E[?>h\EPY99\07298\E\:\
12920	:i2=\Eb\E[?<h:im=\E[4h:\
12921	:is=\E[5;>;12;18;?<l\E[=h\EP1s\E\\E[\027p:\
12922	:k1=\E[1u\027:k2=\E[2u\027:k3=\E[3u\027:k4=\E[4u\027:\
12923	:k5=\E[5u\027:k6=\E[6u\027:k7=\E[7u\027:k8=\E[8u\027:\
12924	:kD=\E[P:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
12925	:le=^H:ll=\E[H\E[A:mb=\E[0;5m:me=\E[m\017:mh=\E[0;2m:\
12926	:mr=\E[0;7m:nd=\E[C:se=\E[m:sf=^J:so=\E[0;7m:st=\EH:\
12927	:ta=\E[I:te=\E[0;98v\E[2J\E[v:ti=\E[?>h\EPY99\07298\E\:\
12928	:ts=\EPY99\07298\E\\E[0;98v\E[2;7m:ue=\E[m:up=\E[A:\
12929	:us=\E[0;4m:ve=\E[r:vi=\E[1r:
12930tws2102-sna|dku7102-sna|BULL Questar tws2102 for SNA:\
12931	:ds=\E[0;98v\E[2J\E[v:fs=\E[v:i2=\Eb:ts=\E[0;98v:\
12932	:tc=tws-generic:
12933tws2103|xdku|BULL Questar tws2103:\
12934	:ta=^I:tc=tws-generic:
12935tws2103-sna|dku7103-sna|BULL Questar tws2103 for SNA:\
12936	:ta=^I:\
12937	:tc=tws2102-sna:
12938dku7102-old|BULL Questar 200 DKU7102 (microcode version < 6):\
12939	:AL@:DL@:al@:ce=\E[K\E[m:cl=\E[2J\E[H:cm@:dl@:\
12940	:ds=\EPY99\07298\E\\E[0;98v\E[2J\E[H\E[v:\
12941	:ts=\EPY99\07298\E\\E[0;98v\E[H\E[2;7m:\
12942	:tc=tws-generic:
12943dku7202|BULL Questar 200 DKU7202 (colour/character attributes):\
12944	:i2=\E[?3h\Eb:mb=\E[0;2;4m:mh=\E[0;5m:so=\E[0;4;5;7m:\
12945	:ta=^I:us=\E[0;2m:\
12946	:tc=tws-generic:
12947
12948#=========================================================#
12949# BULL QUESTAR 303 & 310 `DEC VT 320' terminals emulation #
12950#=========================================================#
12951#
12952# Description written by J. Staerck (BULL SA)
12953#       Copyright (c) 1989 BULL SA
12954#---------------------------------------------------------------------------
12955#  This entry is used for terminals with vt320 emulation mode
12956#  and following set-up :
12957#    8 bit ISO Latin Character Set (ISO 8859-1),
12958#    7 bit Control Characters,
12959#    80 columns screen.
12960#  Hereafter are some DEC vt terminals' commands. (valid on vt200 and 300)
12961#  They are used in string capabilities with vt220-320 emulation mode.
12962#  In the following DEC definitions, two kinds of terminfo databases are
12963#    provided :
12964#    1. the first with Command Sequence Introducer starting with escape
12965#       sequence in 7 bits characters ex. ESC [ : 2 chars. in 7-bit mode.
12966#    2. the second with Command Sequence Introducer starting with escape
12967#       sequence in 8 bits characters ex. ESC [ : 1 char. 'CSI' =x9B.
12968#	Soft Terminal Reset		esc [ ! p
12969#	RIS (erases screen):		esc c
12970#	DECKPNM numeric keypad mode:	esc >
12971#	DECKPAM applic. keypad mode:	esc =
12972#	DECSTBM Scrolling region:	esc [ r
12973#	SCS select G0 = US:		esc ( B
12974#	SCS select G1 = line-graphic:	esc ) 0
12975#	Select 7-bit C1 controls:	esc sp F
12976#	Select 8-bit C1 controls:	esc sp G
12977#	Select cursor home:		esc [  H
12978#	Select erase screen:		esc [  J
12979#	SM KAM lock keyboard:		esc [ 2 h
12980#	RM KAM unlock keyboard:		esc [ 2 l
12981#	SM SRM local echo off:		esc [ 1 2 h
12982#	RM SRM local echo on:		esc [ 1 2 l
12983#	SM LNM New line :		esc [ 2 0 h
12984#	RM LNM return = CR only:	esc [ 2 0 l
12985#	SM DECCKM cursor keys mode:	esc [ ? 1 h
12986#	RM DECCKM appli. keys mode:	esc [ ? 1 l
12987#	SM DECANM ANSI mode on:		esc [ ? 2 h
12988#	RM DECANM ANSI mode off:	esc [ ? 2 l
12989#	SM DECCOLM 132-column screen:	esc [ ? 3 h
12990#	RM DECCOLM 80-column screen:	esc [ ? 3 l
12991#	SM DECSCLM Smooth scroll:	esc [ ? 4 h
12992#	RM DECSCLM Jump scroll:		esc [ ? 4 l
12993#	SM DECSCNM screen light backgr.	esc [ ? 5 h
12994#	RM DECSCNM screen dark backgr.	esc [ ? 5 l
12995#	SM DECOM move within margins:	esc [ ? 6 h
12996#	RM DECOM move outside margins:	esc [ ? 6 l
12997#	SM DECAWM auto right margin:	esc [ ? 7 h
12998#	RM DECAWM auto right margin:	esc [ ? 7 l
12999#	SM DECARM auto repeat:		esc [ ? 8 h
13000#	RM DECARM auto repeat:		esc [ ? 8 l
13001#	DECSASD Select active main:	esc [ 0 $ }
13002#	DECSASD Select active status:	esc [ 1 $ }
13003#	DECSSDT Select status none:	esc [ 0 $ ~
13004#	DECSSDT Select status indic.:	esc [ 1 $ ~
13005#	DECSSDT Select status host-wr:	esc [ 2 $ ~
13006#	SM DECTCEM Visible cursor:	esc [ ? 2 5 h
13007#	RM DECTCEM Invisible cursor:	esc [ ? 2 5 l
13008#	SM DECNCRM 7 bits NCR set:	esc [ ? 4 2 h
13009#	RM DECNCRM Multi or ISO latin:	esc [ ? 4 2 l
13010#	SM DECNKM numeric keypad mode:	esc [ ? 6 6 h
13011#	RM DECNKM numeric keypad appl.:	esc [ ? 6 6 l
13012#	SM DECKBUM clavier informatique	esc [ ? 6 8 h
13013#	RM DECKBUM clavier bureautique:	esc [ ? 6 8 l
13014#	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 " p
13015# or	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 ; 0 " p
13016# or	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 ; 2 " p
13017#	DECSCL vt300 mode 7-bit ctrl:	esc [ 6 3 ; 1 " p
13018#	Char. and Line attributes:	esc [ Ps ... Ps m
13019# with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
13020# and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
13021#
13022
13023# This entry covers BQ303, BQ306, BQ310, Q303, Q306, Q310
13024# (untranslatable capabilities removed to fit entry within 1023 bytes)
13025# (sgr removed to fit entry within 1023 bytes)
13026# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
13027bq300|Bull vt320 ISO Latin 1 80 columns terminal:\
13028	:am:eo:es:hs:km:mi:ms:xn:xo:\
13029	:co#80:it#8:li#24:vt#3:ws#80:\
13030	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
13031	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
13032	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
13033	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
13034	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
13035	:ds=\E[1$}\E[2$~\n\E[0$}:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:\
13036	:ho=\E[H:i1=\E[63;1"p\E[2h:\
13037	:i2=\E[0$}\E[?25h\E[2l\E[H\E[J:im=\E[4h:\
13038	:is=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
13039	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
13040	:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
13041	:kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ku=\E[A:\
13042	:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0m\E(B:mr=\E[7m:nd=\E[C:\
13043	:nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
13044	:st=\EH:ta=^I:te=\E[?7h:ti=\E[?7l\E[?1l\E(B:\
13045	:ts=\E[1$}\E[2$~:ue=\E[24m:up=\E[A:us=\E[4m:\
13046	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
13047bg300-rv|Bull vt320 reverse 80 columns:\
13048	:is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
13049	:vb=\E[?5l\E[?5h:\
13050	:tc=bq300:
13051bq300-w|Bull vt320 132 columns:\
13052	:co#132:ws#132:\
13053	:is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
13054	:r2=\E[?3h:\
13055	:tc=bq300:
13056bq300-w-rv|Bull vt320 reverse mode 132 columns:\
13057	:co#132:ws#132:\
13058	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
13059	:r2=\E[?3h:vb=\E[?5l\E[?5h:\
13060	:tc=bq300:
13061
13062#  This entry is used for terminals with vt320 emulation mode
13063#  and following set-up :
13064#    8 bit ISO Latin Character Set (ISO 8859-1),
13065#    8 bit Control Characters, (CSI coded as x9B for ESC [)
13066#    80 columns screen.
13067#	Soft Terminal Reset		csi ! p
13068#	RIS (erases screen):		esc c
13069#	DECKPNM numeric keypad mode:	esc >
13070#	DECKPAM applic. keypad mode:	esc =
13071#	DECSTBM Scrolling region:	esc [ r
13072#	SCS select G0 = US:		esc ( B
13073#	SCS select G1 = line-graphic:	esc ) 0
13074#	Select 7-bit C1 controls:	esc sp F
13075#	Select 8-bit C1 controls:	esc sp G
13076#	Select cursor home:		csi H
13077#	Select erase screen:		csi J
13078#	SM KAM lock keyboard:		csi 2 h
13079#	RM KAM unlock keyboard:		csi 2 l
13080#	SM SRM local echo off:		csi 1 2 h
13081#	RM SRM local echo on:		csi 1 2 l
13082#	SM LNM New line :		csi 2 0 h
13083#	RM LNM return = CR only:	csi 2 0 l
13084#	SM DECCKM cursor keys mode:	csi ? 1 h
13085#	RM DECCKM appli. keys mode:	csi ? 1 l
13086#	SM DECANM ANSI mode on:		csi ? 2 h
13087#	RM DECANM ANSI mode off:	csi ? 2 l
13088#	SM DECCOLM 132-column screen:	csi ? 3 h
13089#	RM DECCOLM 80-column screen:	csi ? 3 l
13090#	SM DECSCLM Smooth scroll:	csi ? 4 h
13091#	RM DECSCLM Jump scroll:		csi ? 4 l
13092#	SM DECSCNM screen light backgr.	csi ? 5 h
13093#	RM DECSCNM screen dark backgr.	csi ? 5 l
13094#	SM DECOM move within margins:	csi ? 6 h
13095#	RM DECOM move outside margins:	csi ? 6 l
13096#	SM DECAWM auto right margin:	csi ? 7 h
13097#	RM DECAWM auto right margin:	csi ? 7 l
13098#	SM DECARM auto repeat:		csi ? 8 h
13099#	RM DECARM auto repeat:		csi ? 8 l
13100#	DECSASD Select active main:	csi 0 $ }
13101#	DECSASD Select active status:	csi 1 $ }
13102#	DECSSDT Select status none:	csi 0 $ ~
13103#	DECSSDT Select status indic.:	csi 1 $ ~
13104#	DECSSDT Select status host-wr:	csi 2 $ ~
13105#	SM DECTCEM Visible cursor:	csi ? 2 5 h
13106#	RM DECTCEM Invisible cursor:	csi ? 2 5 l
13107#	SM DECNCRM 7 bits NCR set:	csi ? 4 2 h
13108#	RM DECNCRM Multi or ISO latin:	csi ? 4 2 l
13109#	DECSCL vt300 mode 8-bit ctrl:	csi 6 3 " p
13110# or	DECSCL vt300 mode 8-bit ctrl:	csi 6 3 ; 0 " p
13111#	DECSCL vt300 mode 7-bit ctrl:	csi 6 3 ; 1 " p
13112#	Char. and Line attributes:	csi Ps ... Ps m
13113# with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
13114# and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
13115# (bq300-8: :le:,:nd:,:up:,:do:,:dl:,:al: to get under 1024 --esr)
13116# (untranslatable capabilities removed to fit entry within 1023 bytes)
13117# (sgr removed to fit entry within 1023 bytes)
13118# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
13119bq300-8|Bull vt320 full 8 bits 80 columns:\
13120	:am:eo:es:hs:km:mi:ms:xn:xo:\
13121	:co#80:it#8:li#24:vt#3:ws#80:\
13122	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
13123	:K1=\217w:K2=\217u:K3=\217y:K4=\217q:K5=\217s:LE=\233%dD:\
13124	:RI=\233%dC:UP=\233%dA:ae=^O:as=^N:bl=^G:cd=\233J:ce=\233K:\
13125	:cl=\233H\233J:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:\
13126	:ct=\2333g:dc=\233P:ds=\2331$}\2332$~\n\2330$}:\
13127	:ec=\233%dX:ei=\2334l:fs=\2330$}:ho=\233H:\
13128	:i1=\E[63;2"p\E[2h:i2=\2330$}\233?25h\2332l\233H\233J:\
13129	:im=\2334h:\
13130	:is=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
13131	:k1=\217P:k2=\217Q:k3=\217R:k4=\217S:k6=\23317~:\
13132	:k7=\23318~:k8=\23319~:k9=\23320~:kD=\2333~:kI=\2332~:\
13133	:kN=\2336~:kP=\2335~:kb=^H:kd=\233B:ke=\233?1l\E>:\
13134	:kl=\233D:kr=\233C:ku=\233A:mb=\2335m:md=\2331m:\
13135	:me=\2330m\E(B:mr=\2337m:nw=\EE:rc=\E8:sc=\E7:se=\23327m:\
13136	:sf=\ED:so=\2337m:sr=\EM:st=\EH:ta=^I:te=\233?7h:\
13137	:ti=\233?7l\233?1l\E(B:ts=\2331$}\2332$~:ue=\23324m:\
13138	:us=\2334m:vb=\233?5h\233?5l:ve=\233?25h:vi=\233?25l:\
13139	:vs=\233?25h:
13140bq300-8rv|Bull vt320 8-bit reverse mode 80 columns:\
13141	:is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
13142	:vb=\233?5l\233?5h:\
13143	:tc=bq300-8:
13144bq300-8w|Bull vt320 8-bit 132 columns:\
13145	:co#132:ws#132:\
13146	:is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
13147	:r2=\233?3h:\
13148	:tc=bq300-8:
13149bq300-w-8rv|Bull vt320 8-bit reverse mode 132 columns:\
13150	:co#132:ws#132:\
13151	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
13152	:r2=\233?3h:vb=\233?5l\233?5h:\
13153	:tc=bq300-8:
13154
13155#  This entry is used for terminals with vt320 emulation mode
13156#  a 102 keys keyboard (PC scancode !) and following set-up :
13157#    8 bit ISO Latin Character Set (ISO 8859-1),
13158#    7 bit Control Characters,
13159#    80 columns screen.
13160bq300-pc|Questar 303 with PC keyboard ISO Latin 1 80 columns:\
13161	:%0@:%1@:*6@:@0@:@7=\E[4~:F1=\E[29~:F2=\E[31~:F3@:F4@:F5@:F6@:\
13162	:F7@:F8@:F9@:FA@:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:\
13163	:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:\
13164	:k;=\E[28~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
13165	:kh=\E[1~:l1@:l2@:l3@:l4@:\
13166	:tc=bq300:
13167bq300-pc-rv|Questar 303 with PC keyboard reverse mode 80 columns:\
13168	:is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
13169	:vb=\E[?5l\E[?5h:\
13170	:tc=bq300-pc:
13171bq300-pc-w|Questar 303 with PC keyboard 132 columns terminal:\
13172	:co#132:ws#132:\
13173	:is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
13174	:r2=\E[?3h:\
13175	:tc=bq300-pc:
13176bq300-pc-w-rv|Questar 303 with PC keyboard reverse mode 132 columns:\
13177	:co#132:ws#132:\
13178	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
13179	:r2=\E[?3h:vb=\E[?5l\E[?5h:\
13180	:tc=bq300-pc:
13181#    8 bit ISO Latin Character Set (ISO 8859-1),
13182#    8 bit Control Characters,
13183#    80 columns screen.
13184bq300-8-pc|Q306-8-pc|Questar 303 with PC keyboard in full 8 bits 80 columns:\
13185	:%0@:%1@:*6@:@0@:@7=\2334~:F1=\23329~:F2=\23331~:F3@:F4@:F5@:\
13186	:F6@:F7@:F8@:F9@:FA@:k1=\23317~:k2=\23318~:k3=\23319~:\
13187	:k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
13188	:k9=\23326~:k;=\23328~:kD=\2333~:kI=\2332~:kN=\2336~:\
13189	:kP=\2335~:kb=^H:kh=\2331~:l1@:l2@:l3@:l4@:\
13190	:tc=bq300-8:
13191bq300-8-pc-rv|Questar 303 with PC keyboard full 8 bits reverse mode 80 columns:\
13192	:is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
13193	:vb=\E[?5l\E[?5h:\
13194	:tc=bq300-8-pc:
13195bq300-8-pc-w|Questar 303 with PC keyboard full 8 bits 132 columns:\
13196	:co#132:ws#132:\
13197	:is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
13198	:r2=\E[?3h:\
13199	:tc=bq300-8-pc:
13200bq300-8-pc-w-rv|Questar 303 with PC keyboard full 8 bits reverse 132 columns:\
13201	:co#132:ws#132:\
13202	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
13203	:r2=\E[?3h:vb=\E[?5l\E[?5h:\
13204	:tc=bq300-8-pc:
13205
13206#======================================================#
13207# BULL QUESTAR 310 `VIP 7800/8800' terminals emulation #
13208#======================================================#
13209
13210# normal mode, 8 bits, 80 columns terminal.
13211#	RES reset :			^[e
13212#	RIS reset initial state:	^[c
13213#	BLE bell enable			^[h
13214#	BLD bell disable		^[g
13215#	CAMS char. attr. mode set	^[[D
13216#	CAMR char. attr. mode reset	^[[G
13217#	CLR clear			^[`
13218#	KBU keyboard unlock (set)	^[[W
13219#	KBL keyboard lock (reset)	^[[X
13220#	CM  character mode (async.) 	^[k
13221#	NEP non echoplex mode (by host)	^[l
13222#	EP  echoplex mode (by host) 	^[m
13223#	IM  insert mode set		^[[I
13224#	IM  insert mode reset 		^[[J
13225#	RMS roll mode set 		^[r
13226#	RMR roll mode reset 		^[q
13227#	SM78 set mode vip7800	 	^[[1q
13228#	SD  scroll up  	(72 lines) 	^[[0s
13229#	SD  scroll down	(72 lines) 	^[[1s
13230#	RBM block mode reset		^[[E
13231#	SLS status line set 		^[w
13232#	SLR status line reset 		^[v
13233#	SLL status line lock 		^[O
13234#	LGS Line-graphic mode set 	^[G
13235#	LGR Line-graphic mode reset 	^[F
13236#	TBC tab clear (at cursor pos.)	^[[g
13237#	TBI tab initialize 		^[[N
13238#	TBS tab set (at cursor pos.)	^[p
13239#	PDS  print data space		^[[0p
13240#	PHD  print host data 		^[[3p
13241#	PDT  print data terminator	^[[<p
13242#	PRES print adapter reset	^[[2p
13243#	SSPR multi-part. reset		^[[<>u
13244#	SSP0 partition 0 set		^[[00u
13245#	SSP1 partition n format 1 	^[[PnPnSTRINGu
13246#	SSP2 partition n format 2 	^[[PnPnSTRINGu
13247#	SSP3 partition n format 3 	^[[PnPnu
13248#	ATR attribute (visual)
13249#	    blink :			^[sB
13250#	    dim :			^[sL
13251#	    hide (blank) :		^[sH
13252#	    restore :			^[sR
13253#	    inverse video :		^[sI
13254#	    prot. :			^[sP
13255#	    underline :			^[s_
13256#	    reset :			^{
13257#
13258# This covers the vip7800 and BQ3155-vip7800
13259# (untranslatable capabilities removed to fit entry within 1023 bytes)
13260# (sgr removed to fit entry within 1023 bytes)
13261# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
13262vip|Bull Questar 3155-7800:\
13263	:am:es:hs:km:ms:xn:xo:\
13264	:co#80:it#8:li#24:vt#3:ws#80:\
13265	:ae=\EF:as=\EG:bl=^G:bt=\E[Z:cd=\EJ:ce=\EK:cl=\E`:\
13266	:cm=\E[%i%03%03f:cr=^M:ct=\E[N:dc=\E[P:dl=\E[M:do=^J:\
13267	:ds=\Ev:ei=\E[J:fs=\EO:ho=\EH:i2=\Er\E[W\E`:ic=\E[I:\
13268	:im=\E[I:is=\E[00u\E[<>001001024080024080u\E[01u:\
13269	:k1=\E0:k2=\E2:k3=\E6:k4=\E8:k5=\E\072:k6=\E<:k7=\E>:k8=\EP:\
13270	:k9=\ER:kD=\E[P:kH=\EH\EA:kI=\E[I:kb=^H:kd=\EB:kh=\EH:\
13271	:kl=\ED:kr=\EC:ku=\EA:le=^H:ll=\EH\EA:mb=\EsB:\
13272	:me=\EsR\EsU\EF:mh=\EsL:mr=\EsI:nd=\EC:nw=^M:se=\EsR:sf=^J:\
13273	:so=\EsI:sr=\EA\EJ\EH\E[L:st=\Ep:ta=^I:ts=\Ew:ue=\EsR:\
13274	:up=\EA:us=\Es_:vb=\007\007\007:
13275# normal screen, 8 bits, 132 columns terminal.
13276vip-w|vip7800-w|Q310-vip-w|Q310-vip-w-am|Questar 3155-vip7800 wide:\
13277	:co#132:ws#132:\
13278	:is=\E[00u\E[<>001001024132024132u\E[01u:tc=vip:
13279vip-H|vip7800-H|Q310-vip-H|Q310-vip-H-am|Questar 3155-vip7800 72 lines:\
13280	:li#72:\
13281	:is=\E[00u\E[<>001001024080072080u\E[01u:tc=vip:
13282vip-Hw|vip7800-Hw|Q310-vip-Hw|Questar 3155-vip7800 wide 72 lines:\
13283	:co#132:li#72:ws#132:\
13284	:is=\E[00u\E[<>001001024132072132u\E[01u:tc=vip:
13285#### Chromatics
13286#
13287
13288# I have put the long strings in :ti:/:te:. Ti sets up a window
13289# that is smaller than the screen, and puts up a warning message
13290# outside the window. Te erases the warning message, puts the
13291# window back to be the whole screen, and puts the cursor at just
13292# below the small window. I defined :ve: and :vi: to really turn
13293# the cursor on and off, but I have taken this out since I don't
13294# like the cursor being turned off when vi exits.
13295cg7900|chromatics|chromatics 7900:\
13296	:am:\
13297	:co#80:li#40:\
13298	:al=^A>2:bl=^G:cd=^Al:ce=^A`:cl=^L:cm=\001M%r%d\054%d\054:\
13299	:cr=^M:dc=^A<1:dl=^A<2:do=^J:ei=:ho=^\:ic=^A>1:im=:le=^H:\
13300	:ll=^A|:nd=^]:se=\001C1\054\001c2\054:sf=^J:\
13301	:so=\001C4\054\001c7\054:\
13302	:te=\001W0\05440\05485\05448\054\014\001W0\0540\05485\05448\054\001M0\05440\054:\
13303	:ti=\001P0\001O1\001R1\001C4\054\001c0\054\014\001M0\05442\054WARNING DOUBLE ENTER ESCAPE and \025\001C1\054\001c2\054\001W0\0540\05479\05439\054:\
13304	:uc=\001\001_\001\0:up=^K:
13305
13306#### Computer Automation
13307#
13308
13309ca22851|computer automation 22851:\
13310	:am:\
13311	:co#80:li#24:\
13312	:bl=^G:cd=^\:ce=^]:cl=\014:cm=\002%i%.%.:cr=^M:do=^J:ho=^^:\
13313	:kd=^W:kh=^^:kl=^U:ku=^V:le=^U:nd=^I:sf=^J:up=^V:
13314
13315#### Cybernex
13316#
13317
13318# This entry has correct padding and the undocumented "ri" capability
13319cyb83|xl83|cybernex xl-83:\
13320	:am:bs:\
13321	:co#80:li#24:\
13322	:bl=^G:cd=\020:ce=\017:cl=\014:cm=\027%+ %+ :cr=^M:do=^J:\
13323	:ho=^K:kd=^J:kl=^H:kr=^I:ku=^N:le=^H:nd=^I:sf=^J:sr=^N:up=^N:
13324# (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
13325cyb110|mdl110|cybernex mdl-110:\
13326	:am:bs:\
13327	:co#80:li#24:\
13328	:al=\016A\016\035:bl=^G:cd=\016@\026:ce=\016@\026:\
13329	:cl=\030:cm=\020%+ %+ :cr=^M:dc=\016A\036:\
13330	:dl=\016A\016\036:do=^J:ei=:ho=^Y:ic=\016A\035:im=:le=^H:\
13331	:nd=^U:se=^NG:sf=^J:so=^NF:ta=\011:up=^Z:
13332
13333#### Datapoint
13334#
13335# Datapoint is gone.  They used to be headquartered in Texas.
13336# They created ARCnet, an Ethernet competitor that flourished for a while
13337# in the early 1980s before 3COM got wise and cut its prices.  The service
13338# side of Datapoint still lives (1995) in the form of Intelogic Trace.
13339#
13340
13341dp3360|datapoint|datapoint 3360:\
13342	:am:bs:\
13343	:co#82:li#25:\
13344	:bl=^G:cd=^_:ce=^^:cl=^]^_:cr=^M:do=^J:ho=^]:le=^H:nd=^X:\
13345	:sf=^J:up=^Z:
13346
13347# From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
13348# The Datapoint 8242 Workstation was sold at least between 1985
13349# and 1989. To make the terminal work with this entry, press
13350# CONTROL-INT-INT to take the terminal off-line, and type (opt).
13351# Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO
13352# CR/LF off. Use control-shift-[] as escape key, control-I as tab,
13353# shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
13354# fact unusable because the strings sent by the terminal conflict
13355# with other keys).
13356# The terminal is capable of displaying "box draw" characters.
13357# For each graphic character you must send 2 ESC's (\E\E) followed
13358# by a control character as follows:
13359#         character        meaning
13360#         =========        =======
13361#         ctrl-E           top tee
13362#         ctrl-F           right tee
13363#         ctrl-G           bottom tee
13364#         ctrl-H           left tee
13365#         ctrl-I           cross
13366#         ctrl-J           top left corner
13367#         ctrl-K           top right corner
13368#         ctrl-L           bottom left corner
13369#         ctrl-M           bottom right corner
13370#         ctrl-N           horizontal line
13371#         ctrl-O           vertical line
13372# Unfortunately this cannot be fitted into the termcap/terminfo
13373# description scheme.
13374dp8242|datapoint 8242:\
13375	:ms:\
13376	:co#80:li#25:\
13377	:al=\E^T:bl=^G:cd=^W:ce=^V:cl=\025\E\004\027\030:\
13378	:cm=\011%r%+\%+\:cr=^M:dl=\E^Z:do=^J:ho=^U:\
13379	:i1=\E\014\E\016\0\230\0\317\025\027\030\E\004:\
13380	:k1=^G\Ee:k2=^I\Ed:k3=^J\Ec:k4=^J\Eb:k5=^S\Ea:k6=\EO\Ee:\
13381	:k7=\EN\Ed:k8=\EM\Ec:k9=\EL\Eb:k;=\EK\Ea:kb=^H:kd=^B:kl=^D:\
13382	:kr=^F:ku=^E:le=^H:nw=^M^J:\
13383	:r1=\E\014\E\016\0\230\0\317\025\027\030\E\004:\
13384	:rp=\E\023%.%.:se=\E^D:sf=^C:so=\E^E:sr=^K:ta=^I:ue=\E^D:\
13385	:us=\E^F:ve=^X:vi=^Y:\
13386	:..wi=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025:
13387
13388#### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
13389#
13390# These entries are DEC's official terminfos for its older terminals.
13391# Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
13392# Engineering for more information.  Updated terminfos and termcaps
13393# are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
13394#
13395
13396gt40|dec gt40:\
13397	:bs:os:\
13398	:co#72:li#30:\
13399	:bl=^G:cr=^M:do=^J:le=^H:
13400gt42|dec gt42:\
13401	:bs:os:\
13402	:co#72:li#40:\
13403	:bl=^G:cr=^M:do=^J:le=^H:
13404
13405vt50|dec vt50:\
13406	:bs:\
13407	:co#80:li#12:\
13408	:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cr=^M:do=^J:le=^H:nd=\EC:\
13409	:sf=^J:ta=^I:up=\EA:
13410vt50h|dec vt50h:\
13411	:bs:\
13412	:co#80:li#12:\
13413	:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:\
13414	:le=^H:nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
13415# (<acsc>/:ae:/:as: capabilities aren't in DEC's official entry -- esr)
13416vt52|dec vt52:\
13417	:bs:\
13418	:co#80:it#8:li#24:\
13419	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
13420	:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
13421	:cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
13422	:le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
13423
13424# (vt61: there's a BSD termcap that claims :dl=\EPd:, :al=\EPf.: :kb=^H:)
13425vt61|vt-61|vt61.5|dec vt61:\
13426	:co#80:li#24:\
13427	:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=\r:do=^J:\
13428	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:sf=\n:sr=\EI:ta=^I:\
13429	:up=\EA:
13430
13431# The gigi does standout with red!
13432# (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
13433gigi|vk100|dec gigi graphics terminal:\
13434	:am:bs:xn:\
13435	:co#84:li#24:\
13436	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
13437	:UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
13438	:cm=\E[%i%d;%dH:cr=^M:do=^J:\
13439	:is=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h:k1=\EOP:\
13440	:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:kh=\E[H:\
13441	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:me=\E[m:\
13442	:nd=\E[C:se=\E[m:sf=^J:so=\E[7;31m:sr=\EM:ta=^I:ue=\E[m:\
13443	:up=\E[A:us=\E[4m:
13444
13445# DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
13446# a PC differentiated from the IBM clones.  It was a total, ludicrous,
13447# grossly-overpriced failure (among other things, DEC's OS didn't include
13448# a format program, so you had to buy pre-formatted floppies from DEC at
13449# a hefty premium!).
13450pro350|decpro|dec pro console:\
13451	:bs:\
13452	:co#80:it#8:li#24:\
13453	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
13454	:ae=\EG:as=\EF:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :do=\EB:\
13455	:ho=\EH:k0=\EE:k1=\EF:k2=\EG:k3=\EH:k4=\EI:k5=\EJ:k6=\Ei:\
13456	:k7=\Ej:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
13457	:se=\E^N:so=\E^H:sr=\EI:ta=^I:ue=\E^C:up=\EA:us=\E^D:
13458
13459dw1|decwriter I:\
13460	:bs:hc:os:\
13461	:co#72:\
13462	:bl=^G:cr=^M:do=^J:le=^H:sf=^J:
13463dw2|decwriter|dw|decwriter II:\
13464	:bs:hc:os:\
13465	:co#132:\
13466	:bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
13467# \E(B		Use U.S. character set (otherwise # => british pound !)
13468# \E[20l	Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
13469# \E[w   	10 char/in pitch
13470# \E[1;132	full width horizontal margins
13471# \E[2g		clear all tab stops
13472# \E[z		6 lines/in
13473# \E[66t	66 lines/page (for \f)
13474# \E[1;66r	full vertical page can be printed
13475# \E[4g		clear vertical tab stops
13476# \E>		disable alternate keypad mode (so it transmits numbers!)
13477# \E[%i%p1%du	set tab stop at column %d (origin == 1)
13478#		(Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
13479#		a tab stop)
13480#
13481#       The dw3 does standout with wide characters.
13482#
13483dw3|la120|decwriter III:\
13484	:bs:hc:os:\
13485	:co#132:\
13486	:bl=^G:cr=^M:do=^J:\
13487	:i1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>:\
13488	:is=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r:\
13489	:kb=^H:le=^H:me=\E[w:se=\E[w:sf=^J:so=\E[6w:ta=^I:
13490dw4|decwriter IV:\
13491	:am:bs:hc:os:\
13492	:co#132:\
13493	:bl=^G:cr=^M:do=^J:is=\Ec:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:\
13494	:kb=^H:le=^H:sf=^J:ta=^I:
13495
13496# These aren't official
13497ln03|dec ln03 laser printer:\
13498	:hc:\
13499	:co#80:li#66:\
13500	:bl=^G:cr=^M:do=^J:hd=\EK:hu=\EL:me=\E[m:nw=^M^J:se=\E[22m:\
13501	:sf=^J:so=\E[1m:ta=^I:ue=\E[24m:us=\E[4m:
13502ln03-w|dec ln03 laser printer 132 cols:\
13503	:co#132:\
13504	:bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ln03:
13505
13506#### Delta Data (dd)
13507#
13508
13509# Untested. The cup sequence is hairy enough that it probably needs work.
13510# The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
13511# There are BSD-derived termcap entries floating around for this puppy
13512# that are *certainly* wrong.
13513delta|dd5000|delta data 5000:\
13514	:am:bs:\
13515	:co#80:li#27:\
13516	:bl=^G:ce=^NU:cl=^NR:cm=\017%+^P%+^P:dc=^NV:do=^J:ho=^NQ:\
13517	:le=^H:nd=^Y:sf=^J:up=^Z:
13518
13519#### Digital Data Research (ddr)
13520#
13521
13522# (ddr: I added <rmam>/<smam> based on the init string -- esr)
13523ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator:\
13524	:am:bs:xn:\
13525	:co#80:it#8:li#24:vt#3:\
13526	:RA=\E[7l:SA=\E[7l:cd=50\E[J:ce=3\E[K:cl=50\E[H\E[2J:\
13527	:cm=5\E[%i%d;%dH:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
13528	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
13529	:kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ks=\E[?1h\E=:\
13530	:ku=\E[A:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
13531	:nd=2\E[C:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
13532	:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[m:sf=5\ED:\
13533	:so=\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
13534
13535#### Evans & Sutherland
13536#
13537
13538# Jon Leech <leech@cs.unc.edu> tells us:
13539# The ps300 was the Evans & Sutherland Picture System 300, a high
13540# performance 3D vector graphics system with a bunch of specialized hardware.
13541# Approximate date of release was 1982 (early 80s, anyway), and it had several
13542# evolutions including (limited) color versions such as the PS330C. PS300s
13543# were effectively obsolete by the late 80s, replaced by raster graphics
13544# systems, although specialized applications like molecular modelling
13545# hung onto them for a while longer.  AFAIK all E&S vector graphics systems
13546# are out of production, though of course E&S is very much alive (in 1996).
13547# (ps300: changed ":pt@:" to "it@" -- esr)
13548#
13549ps300|Picture System 300:\
13550	:xt:\
13551	:it@:\
13552	:se@:so@:ue@:us@:tc=vt100:
13553
13554#### General Electric (ge)
13555#
13556
13557terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200:\
13558	:bs:hc:os:\
13559	:co#120:\
13560	:bl=^G:cr=^M:do=^J:sf=^J:
13561
13562#### Heathkit/Zenith
13563#
13564
13565# Here is a description of the H19 DIP switches:
13566#
13567# S401
13568# 0-3 = baud rate as follows:
13569#
13570#         3       2       1       0
13571#	---	---	---	---
13572#         0       0       1       1       300 baud
13573#         0       1       0       1       1200 baud
13574#         1       0       0       0       2400 baud
13575#         1       0       1       0       4800 baud
13576#         1       1       0       0       9600 baud
13577#         1       1       0       1       19.2K baud
13578#
13579# 4 = parity (0 = no parity)
13580# 5 = even parity (0 = odd parity)
13581# 6 = stick parity (0 = normal parity)
13582# 7 = full duplex (0 = half duplex)
13583#
13584# S402
13585# 0 = block cursor (0 = underscore cursor)
13586# 1 = no key click (0 = keyclick)
13587# 2 = wrap at end of line (0 = no wrap)
13588# 3 = auto LF on CR (0 = no LF on CR)
13589# 4 = auto CR on LF (0 = no CR on LF)
13590# 5 = ANSI mode (0 = VT52 mode)
13591# 6 = keypad shifted (0 = keypad unshifted)
13592# 7 = 50Hz refresh (1 = 60Hz refresh)
13593#
13594# Factory Default settings are as follows:
13595#          7 6 5 4 3 2 1 0
13596# S401     1 0 0 0 1 1 0 0
13597# S402     0 0 0 0 0 0 0 0
13598# (h19: I added <rmam>/<smam> based on the init string;
13599# also added empty <acsc> to suppress a tic warning -- esr)
13600h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode:\
13601	:am:bs:mi:ms:\
13602	:co#80:it#8:li#24:\
13603	:RA=\E[?7l:SA=\E[?7h:ac=:ae=\E[11m:al=\E[1L:as=\E[10m:\
13604	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:\
13605	:dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:im=\E[4h:\
13606	:is=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h:k1=\EOS:\
13607	:k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:\
13608	:kb=^H:kd=\E[1B:kh=\E[H:kl=\E[1D:kr=\E[1C:ku=\E[1A:l6=blue:\
13609	:l7=red:l8=white:le=^H:nd=\E[1C:se=\E[m:sf=^J:so=\E[7m:\
13610	:sr=\EM:ta=^I:up=\E[1A:ve=\E[>4l:vs=\E[>4h:
13611h19-bs|heathkit w/keypad shifted:\
13612	:ke=\Eu:ks=\Et:tc=h19-b:
13613h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor:\
13614	:ke=\Eu:ks=\Et:\
13615	:tc=h19-u:
13616# (h19: merged in :ip: from BSDI hp19-e entry>;
13617# also added empty <acsc> to suppress a tic warning --esr)
13618# From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998
13619# Tim tells us that:
13620# I have an old Zenith-19 terminal at home that still gets a lot of use.
13621# This terminal suffers from the same famous insert-mode padding lossage
13622# that has been acknowledged for the Z29 terminal.  Emacs is nearly
13623# unusable on this box, since even a half-scroll up or down the window
13624# causes flaming terminal death.
13625#
13626# On the Z19, the only way I have found around this problem is to remove
13627# the :al: and :dl: entries entirely.  No amount of extra padding will
13628# help (I have tried up to 20000).  Removing :al=\EL$: and :dl=\EM$:
13629# makes Emacs a little slower, but it remains in the land of the living.
13630# Big win.
13631h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19:\
13632	:am:bs:es:hs:mi:ms:\
13633	:co#80:it#8:li#24:\
13634	:ac=:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :\
13635	:cr=^M:dc=\EN:do=\EB:ei=\EO:fs=\Ek\Ey5:ho=\EH:im=\E@:\
13636	:ip=1.5<1.5/>:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:\
13637	:k7=\EQ:k8=\ER:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:\
13638	:l6=blue:l7=red:l8=white:le=^H:nd=\EC:se=\Eq:sf=^J:so=\Ep:\
13639	:sr=\EI:ta=^I:ts=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo:up=\EA:\
13640	:ve=\Ey4:vs=\Ex4:
13641h19-u|heathkit with underscore cursor:\
13642	:ve@:vs@:tc=h19-b:
13643h19-g|h19g|heathkit w/block cursor:\
13644	:ve=\Ex4:tc=h19-b:
13645alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19:\
13646	:li#60:\
13647	:al=\EL:dl=\EM:tc=h19:
13648
13649# The major problem with the Z29 is that it requires more padding than the Z19.
13650#
13651# The problem with declaring an H19 to be synonymous with a Z29 is that
13652# it needs more padding. It especially loses if a program attempts
13653# to put the Z29 into insert mode and insert text at 9600 baud. It
13654# even loses worse if the program attempts to insert tabs at 9600
13655# baud. Adding padding to text that is inserted loses because in
13656# order to make the Z29 not die, one must add so much padding that
13657# whenever the program tries to use insert mode, the effective
13658# rate is about 110 baud.
13659#
13660# What program would want to put the terminal into insert mode
13661# and shove stuff at it at 9600 baud you ask?
13662#
13663# Emacs. Emacs seems to want to do the mathematically optimal
13664# thing in doing a redisplay rather than the practical thing.
13665# When it is about to output a line on top of a line that is
13666# already on the screen, instead of just killing to the end of
13667# the line and outputting the new line, it compares the old line
13668# and the new line and if there are any similarities, it
13669# constructs the new line by deleting the text on the old line
13670# on the terminal that is already there and then inserting new
13671# text into the line to transform it into the new line that is
13672# to be displayed. The Z29 does not react kindly to this.
13673#
13674# But don't cry for too long.... There is a solution. You can make
13675# a termcap entry for the Z29 that says the Z29 has no insert mode.
13676# Then Emacs cannot use it. "Oh, no, but now inserting into a
13677# line will be really slow", you say. Well there is a sort of a
13678# solution to that too. There is an insert character option on
13679# the Z29 that will insert one character. Unfortunately, it
13680# involves putting the terminal into ansi mode, inserting the
13681# character, and changing it back to H19 mode. All this takes 12
13682# characters. Pretty expensive to insert one character, but it
13683# works. Either Emacs doesn't try to use its inserting hack when
13684# it's only given an insert character ability or the Z29 doesn't
13685# require padding with this (the former is probably more likely,
13686# but I haven't checked it out).
13687# (z29: added empty <acsc> to suppress a tic warning, merged in
13688# status line capabilities from BRL entry --esr)
13689z29|zenith29|z29b|zenith z29b:\
13690	:am:bs:es:hs:mi:ms:pt:\
13691	:co#80:kn#10:li#24:\
13692	:ac=:ae=\EF:al=1\EL:as=\EG:bc=\ED:bl=^G:bt=\E-:cd=\EJ:ce=\EK:\
13693	:cl=\EE:cm=\EY%+ %+ :cr=^M:dc=\EN:dl=1\EM:do=\EB:ds=\Ey1:\
13694	:ei=\EO:fs=\Ek\Ey5:ho=\EH:ic=\E<\E[1@\E[?2h:im=\E@:\
13695	:is=\E<\E[?2h\Ev:k0=\E~:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:\
13696	:k6=\EP:k7=\EQ:k8=\ER:k9=\E0I:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
13697	:kr=\EC:ku=\EA:l0=home:le=^H:nd=\EC:se=\Eq:sf=\n:so=\Ep:\
13698	:sr=2\EI:ta=^I:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Es0:up=\EA:\
13699	:us=\Es8:ve=\Ey4:vs=\Ex4:
13700# z29 in ansi mode. Assumes that the cursor is in the correct state, and that
13701# the world is stable. <rs1> causes the terminal to be reset to the state
13702# indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
13703# cursor, bc -> block cursor.
13704# From: Mike Meyers
13705# (z29a: replaced nonexistent :if=/usr/share/tabset/zenith29: befause :st:
13706# looks vt100-compatible -- esr)
13707z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode:\
13708	:am:bs:es:hs:mi:ms:pt:\
13709	:co#80:it#8:kn#10:li#24:\
13710	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
13711	:RI=\E[%dC:UP=\E[%dA:bc=\ED:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:\
13712	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:\
13713	:do=^J:ds=\E[>1l:fs=\E[u\E[>5l:ho=\E[H:\
13714	:if=/usr/share/tabset/vt100:k0=\E[~:k1=\EOS:k2=\EOT:\
13715	:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:\
13716	:kC=\E[J:kS=\E[J:kb=^H:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:\
13717	:ku=\EOA:l0=help:le=^H:mb=\E[5m:md=\E[2m:me=\E[m:mh=\E[2m:\
13718	:mr=\E[7m:nd=\E[C:nw=^M\ED:ps=\E#7:\
13719	: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:\
13720	:rc=\E[r:sc=\E[s:se=\E[m:sf=\ED:so=\E[7;2m:sr=\EM:st=\EH:\
13721	:ta=^I:te=\E[?7h:ti=\E[?7l:\
13722	:ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:ue=\E[m:up=\E[A:\
13723	:us=\E[4m:
13724z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor:\
13725	:r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m:\
13726	:tc=z29a:
13727z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick:\
13728	: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:\
13729	:tc=z29a:
13730z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick:\
13731	: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:\
13732	:tc=z29a:
13733# From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
13734z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode:\
13735	:5i:am:es:hs:mi:ms:xo:\
13736	:co#80:li#24:\
13737	:%1=\E[~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:K1=\EOw:\
13738	:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:\
13739	:UP=\E[%dA:ac=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~:\
13740	:ae=\E(B:al=\E[1L:as=\E(0:bl=^G:bt=\E[1Z:cb=\E[1K:cd=\E[0J:\
13741	:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
13742	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
13743	:ds=\E[>1l:ei=\E[4l:fs=\E[u:ho=\E[H:im=\E[4h:\
13744	:is=\E<\E[>1;3;5;6;7l\E[0m\E[2J:k1=\EOS:k2=\EOT:k3=\EOU:\
13745	:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:kS=\E[J:\
13746	:kb=^H:kd=\E[B:ke=\E[>7l:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[>7h:\
13747	:ku=\E[A:le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[0m:\
13748	:mh=\E[2m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:\
13749	:ps=\E[?19h\E[i:r2=\E<\Ec\0:rc=\E[u:sc=\E[s:se=\E[0m:\
13750	:sf=^J:so=\E[7m:st=\EH:ta=^I:ts=\E[s\E[>1h\E[25;%i%p1%dH:\
13751	:ue=\E[0m:up=\E[A:us=\E[4m:ve=\E[>5l:vi=\E[>5h:
13752
13753# From: Brad Brahms <Brahms@USC-ECLC>
13754z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor:\
13755	:ve=\Ey4\Em70:vs=\Ex4\Em71:\
13756	:tc=z100bw:
13757# (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
13758z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc:\
13759	:bs:mi:ms:pt:\
13760	:co#80:it#8:kn#10:li#24:\
13761	:ac=:ae=\EG:al=5*\EL:as=\EF:cd=\EJ:ce=\EK:cl=5*\EE:\
13762	:cm=1*\EY%+ %+ :dc=1*\EN:dl=5*\EM:do=\EB:ei=\EO:ho=\EH:\
13763	:im=\E@:k0=\EJ:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:\
13764	:k7=\EQ:k8=\ER:k9=\EOI:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
13765	:ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Ep:sr=\EI:ta=^I:up=\EA:\
13766	:ve=\Ey4:vs=\Ex4:
13767p19|h19-b with il1/dl1:\
13768	:al=2*\EL:dl=2*\EM:tc=h19-b:
13769# From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
13770# (ztx: removed duplicate :sr: -- esr)
13771ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11:\
13772	:am:bs:es:hs:\
13773	:co#80:it#8:li#24:\
13774	:al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dl=\EM:do=^J:\
13775	:ds=\Ey1:fs=\Ek\Ey5:ho=\EH:\
13776	:is=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>:k0=\ES:\
13777	:k1=\EB:k2=\EU:k3=\EV:k4=\EW:k5=\EP:k6=\EQ:k7=\ER:kb=^H:\
13778	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Es5:\
13779	:sr=\EI:ta=^I:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Eq:up=\EA:\
13780	:us=\Es2:
13781
13782#### IMS International (ims)
13783#
13784# There was a company called IMS International located in Carson City,
13785# Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
13786# bus/Z80 hardware and a line of terminals called Ultimas.
13787#
13788
13789# From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
13790ims950-b|bare ims950 no init string:\
13791	:is@:tc=ims950:
13792# (ims950: removed obsolete ":ko@:" -- esr)
13793ims950|ims televideo 950 emulation:\
13794	:xn@:\
13795	:k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:tc=tvi950:
13796# (ims950-rv: removed obsolete ":ko@:" -- esr)
13797ims950-rv|ims tvi950 rev video:\
13798	:xn@:\
13799	:k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:tc=tvi950-rv:
13800ims-ansi|ultima2|ultimaII|IMS Ultima II:\
13801	:am:bs:\
13802	:co#80:it#8:li#24:\
13803	:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\E[%i%2;%2H:do=\ED:\
13804	:if=/usr/share/tabset/vt100:\
13805	:is=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r:kd=\E[B:kh=\E[H:\
13806	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:se=\E[m\E[1m:\
13807	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m\E[1m:up=\EM:us=\E[4m:
13808
13809#### Intertec Data Systems
13810#
13811# I think this company is long dead as of 1995.  They made an early CP/M
13812# micro called the "Intertec Superbrain" that was moderately popular,
13813# then sank out of sight.
13814#
13815
13816superbrain|intertec superbrain:\
13817	:am:bs:bw:\
13818	:co#80:li#24:\
13819	:bc=^U:bl=^G:cd=\E~k<10*>:ce=\E~K:cl=\014:cm=\EY%+ %+ :\
13820	:cr=^M:do=^J:kd=^J:kl=^U:kr=^F:ku=^K:le=^H:nd=^F:sf=^J:ta=^I:\
13821	:te=^L:ti=^L:up=^K:
13822# (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>,
13823# rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
13824# and the reverse is actually true.  Try it. -- esr)
13825intertube|intertec|Intertec InterTube:\
13826	:am:bs:\
13827	:co#80:li#25:\
13828	:bl=^G:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=^A:le=^H:nd=^F:\
13829	:se=\E0@:sf=^J:so=\E0P:up=^Z:
13830# The intertube 2 has the "full duplex" problem like the tek 4025: if you
13831# are typing and a command comes in, the keystrokes you type get interspersed
13832# with the command and it messes up
13833intertube2|intertec data systems intertube 2:\
13834	:bs:\
13835	:ce=\EK:ch=\020%+^J:cm=\016%.\020%+^J:cv=\013%.:\
13836	:ll=^K^X\r:\
13837	:tc=intertube:
13838
13839#### Ithaca Intersystems
13840#
13841# This company made S100-bus personal computers long ago in the pre-IBM-PC
13842# past.  They used to be reachable at:
13843#
13844#	Ithaca Intersystems
13845#	1650 Hanshaw Road
13846#	Ithaca, New York 14850
13847#
13848# However, the outfit went bankrupt years ago.
13849#
13850
13851# The Graphos III was a color graphics terminal from Ithaca Intersystems.
13852# These entries were written (originally in termcap syntax) by Brian Yandell
13853# <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
13854# University of Wisconsin.
13855
13856# (graphos: removed obsolete and syntactically incorrect :kn=4:,
13857# removed :if=/usr/share/tabset/init.graphos: and
13858# <rf=/usr/share/tabset/init.graphos> no such file & no :st: -- esr)
13859graphos|graphos III:\
13860	:am:mi:\
13861	:co#80:it#8:li#24:\
13862	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
13863	:UP=\E[%dA:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
13864	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:dm=\E[4h:do=\E[B:\
13865	:ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOQ:\
13866	:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
13867	:ku=\E[A:le=^H:me=\E[m:nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:\
13868	:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:\
13869	:ve=\Ez56;2;0;0z\Ez73z\Ez4;1;1z:\
13870	:vs=\Ez4;2;1z\Ez56;2;80;24z:
13871graphos-30|graphos III with 30 lines:\
13872	:li#30:\
13873	:vs=\Ez4;2;1z\Ez56;2;80;30z:tc=graphos:
13874
13875#### Modgraph
13876#
13877# These people used to be reachable at:
13878#
13879#	Modgraph, Inc
13880#	1393 Main Street,
13881#	Waltham, MA 02154
13882#	Vox: (617)-890-5796.
13883#
13884# However, if you call that number today you'll get an insurance company.
13885# I have mail from "Michael Berman, V.P. Sales, Modgraph" dated
13886# 26 Feb 1997 that says:
13887#
13888# Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
13889# for ~7 years.  Modgraph still in business.  Products are rugged laptop and
13890# portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
13891# panel-mount etc).  I can be emailed at sonfour@aol.com
13892#
13893# Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
13894# dated 1984.  According to the manual, it featured Tek 4010/4014
13895# graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
13896#
13897
13898modgraph|mod24|modgraph terminal emulating vt100:\
13899	:xn@:\
13900	:co#80:li#24:\
13901	: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:\
13902	:rf@:sr=5\EM\E[K:vs=\E\1369;0s\E\1367;1s:\
13903	:tc=vt100:
13904# The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
13905modgraph2|modgraph gx-1000 80x24 with keypad not enabled:\
13906	:am:da:db:\
13907	:co#80:it#8:li#24:\
13908	:cd=50\EJ:ce=3\EK:cl=50\EH\EJ:cm=5\EY%+ %+ :\
13909	: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:\
13910	:le=^H:nd=2\EC:sr=5\EI:ta=^I:up=2\EA:
13911#
13912# Modgraph from Nancy L. Cider <nancyc@brl-tbd>
13913# BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
13914# If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
13915# mark and using delete-to-killbuffer work correctly.  However, we would
13916# like normal mode of operation to be using a Modgraph with 48 line setting.
13917# If we set TERM=mod (which is a valid entry in termcap with 48 lines)
13918# the setting mark and delete-to-killbuffer results in the deletion of only
13919# the line the mark is set on.
13920# We've discovered that the delete-to-killbuffer works correctly
13921# with TERM=mod and screen set to 80x48 but it's not obvious.  Only
13922# the first line disappears but a ctrl-l shows that it did work
13923# correctly.
13924modgraph48|mod|Modgraph w/48 lines:\
13925	:am:bs:pt:xn:\
13926	:co#80:it#8:li#48:vt#3:\
13927	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
13928	:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
13929	:is=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h:k1=\EOP:k2=\EOQ:\
13930	:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
13931	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
13932	:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:r1=\E=\E[0q\E>:rc=\E8:\
13933	:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
13934	:us=\E[4m:vb=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q:
13935
13936#### Morrow Designs
13937#
13938# This was George Morrow's company.  They started in the late 1970s making
13939# S100-bus machines.  They used to be reachable at:
13940#
13941#        Morrow
13942#        600 McCormick St.
13943#        San Leandro, CA 94577
13944#
13945# but they're long gone now (1995).
13946#
13947
13948# The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
13949# Jeff's specimen was dated June 1984.
13950# From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
13951mt70|mt-70|Morrow MD-70; native Morrow mode:\
13952	:am:mi:ms:xo:\
13953	:co#80:it#8:li#24:\
13954	:%1=^AO\r:F1=^A`\r:F2=^Aa\r:F3=^Ab\r:F4=^Ac\r:F5=^Ad\r:\
13955	:F6=^Ae\r:F7=^Af\r:F8=^Ag\r:F9=^Ah\r:FA=^Ai\r:\
13956	:ac=+z\054{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI:ae=\E%:\
13957	:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
13958	:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:\
13959	:i1=\E"2\EG0\E]:ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
13960	:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
13961	:k;=^AI\r:kB=^A^Z\r:kC=^An\r:kD=\177:kb=^H:kd=^AK\r:\
13962	:kh=^AN\r:kl=^AL\r:kr=^AM\r:ku=^AJ\r:le=^H:mh=\EG2:mk@:\
13963	:nd=^L:nw=^_:sf=^J:ta=^I:te=:ti=\E"2\EG0\E]:up=^K:us=\EG1:\
13964	:vb=\EK1\EK0:ve=\E"2:vi=\E"0:\
13965	:tc=adm+sgr:
13966
13967#### Motorola
13968#
13969
13970# Motorola EXORterm 155	from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
13971# (Seth H Zirin)
13972ex155|Motorola Exorterm 155:\
13973	:am:bs:bw:\
13974	:co#80:kn#5:li#24:\
13975	:bt=\E[:cd=\ET:ce=\EU:cl=\EX:cm=\EE%+ %+ :do=\EB:ho=\E@:\
13976	:kB=\E[:kC=\EX:kE=\EU:kS=\ET:kb=^H:kd=^J:kh=\E@:kl=^H:kr=^L:\
13977	:ku=^K:nd=\ED:se=\Ec\ED:so=\Eb\ED:ta=\EZ:ue=\Eg\ED:\
13978	:us=\Ef\ED:
13979
13980#### Omron
13981#
13982# This company is still around in 1995, manufacturing point-of-sale systems.
13983
13984omron|Omron 8025AG:\
13985	:am:bs:da:db:\
13986	:co#80:li#24:\
13987	:al=\EL:bl=^G:cd=\ER:ce=\EK:cl=\EJ:cr=^M:dc=\EP:dl=\EM:do=^J:\
13988	:ho=\EH:le=^H:nd=\EC:se=\E4:sf=\ES:so=\Ef:sr=\ET:up=\EA:\
13989	:vs=\EN:
13990
13991#### Ramtek
13992#
13993# Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
13994# were competition for things like the Tektronics 4025.
13995#
13996
13997# Ramtek 6221 from BRL, probably by Doug Gwyn
13998# The following SET-UP modes are assumed for normal operation:
13999#	UNDERLINE_CURSOR	ANSI_MODE	AUTO_XON/XOFF_ON
14000#	NEWLINE_OFF		80_COLUMNS
14001# Other SET-UP modes may be set for operator convenience or communication
14002# requirements; I recommend
14003#	SMOOTH_SCROLL	AUTO_REPEAT_ON	3_#_SHIFTED	WRAP_AROUND_ON
14004# Hardware tabs are assumed to be every 8 columns; they can be set up by the
14005# "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
14006# Note that the Control-E key is useless on this brain-damaged terminal.  No
14007# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
14008rt6221|Ramtek 6221 80x24:\
14009	:bs:ms:pt:xo:\
14010	:co#80:it#8:kn#4:li#24:vt#3:\
14011	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:as=^N:\
14012	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[J:cm=\E[%i%d;%dH:\
14013	:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^K:ho=\E[1;1H:is=\E)0:\
14014	:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:kb=^H:kd=\E[B:ke=\E>:\
14015	:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
14016	:le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
14017	:nd=\E[C:nw=\EE:\
14018	: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>:\
14019	:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
14020	:ue=\E[m:up=\EM:us=\E[4m:ve=\E[>5h\E[>9h:vi=\E[>5l:\
14021	:vs=\E[>7h\E[>9l:
14022# [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
14023rt6221-w|Ramtek 6221 160x48:\
14024	:co#160:li#48:\
14025	:ll=\E[48;1H:tc=rt6221:
14026
14027#### RCA
14028#
14029
14030# RCA VP3301 or VP3501
14031rca|rca vp3301/vp3501:\
14032	:bs:\
14033	:co#40:li#24:\
14034	:cl=^L:cm=\EY%+ %+ :ho=^Z:nd=^U:se=\E\ES0:so=\E\ES1:up=^K:
14035
14036
14037#### Selanar
14038#
14039
14040# Selanar HiREZ-100 from BRL, probably by Doug Gwyn
14041# The following SET-UP modes are assumed for normal operation:
14042#	SET_DEFAULT_TABS	48_LINES		80_COLUMNS
14043#	ONLINE			ANSI			CURSOR_VISIBLE
14044#	VT102_AUTO_WRAP_ON	VT102_NEWLINE_OFF	VT102_MONITOR_MODE_OFF
14045#	LOCAL_ECHO_OFF		US_CHAR_SET		WPS_TERMINAL_DISABLED
14046#	CPU_AUTO_XON/XOFF_ENABLED			PRINT_FULL_SCREEN
14047# For use with graphics software, all graphics modes should be set to factory
14048# default.  Other SET-UP modes may be set for operator convenience or
14049# communication requirements.  No delays are specified; use "stty ixon -ixany"
14050# to enable DC3/DC1 flow control!
14051# I commented out the scrolling capabilities since they are too slow.
14052hirez100|Selanar HiREZ-100:\
14053	:bs:mi:ms:pt:xo:\
14054	:co#80:it#8:kn#4:li#48:vt#3:\
14055	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
14056	:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
14057	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
14058	:dc=\E[P:dl=\E[M:do=^J:ho=\E[H:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
14059	:k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
14060	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
14061	:le=^H:ll=\E[48H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
14062	:nd=\E[C:nw=\EE:pf=\E[4i\E[?4i:po=\E[?5i\E[5i:ps=\E[i:\
14063	: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>:\
14064	:rc=\E8:sc=\E7:se=\E[m:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\EM:\
14065	:us=\E[4m:
14066hirez100-w|Selanar HiREZ-100 in 132-column mode:\
14067	:co#132:tc=hirez100:
14068
14069#### Signetics
14070#
14071
14072# From University of Wisconsin
14073vsc|Signetics Vsc Video driver by RMC:\
14074	:am:ms:\
14075	:co#80:it#8:li#26:\
14076	:ce=\E[K:cl=50\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:\
14077	:ho=\E[H:kb=^H:kd=^J:kl=^H:le=^H:me=^_\041:mr=^_ :nd=\E[C:\
14078	:nw=^M^J:se=^_\041:sf=^J:so=^_ :ta=^I:ue=^_#:up=\E[A:us=^_":
14079
14080#### Soroc
14081#
14082# Alan Frisbie <frisbie@flying-disk.com> writes:
14083#
14084# As you may recall, the Soroc logo consisted of their name,
14085# with the letter "S" superimposed over an odd design.   This
14086# consisted of a circle with a slightly smaller 15 degree (approx.)
14087# wedge with rounded corners inside it.   The color was sort of
14088# a metallic gold/yellow.
14089#
14090# If I had been more of a beer drinker it might have been obvious
14091# to me, but it took a clue from their service department to make
14092# me exclaim, "Of course!"   The circular object was the top of
14093# a beer can (the old removable pop-top style) and "Soroc" was an
14094# anagram for "Coors".
14095#
14096# I can just imagine the founders of the company sitting around
14097# one evening, tossing back a few and trying to decide what to
14098# call their new company and what to use for a logo.
14099#
14100
14101# (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
14102soroc120|iq120|soroc|soroc iq120:\
14103	:cd=\EY:ce=\ET:cl=\E*:do=^J:kd=^J:kl=^H:kr=^L:ku=^K:tc=adm3a:
14104soroc140|iq140|soroc iq140:\
14105	:am:bs:mi:\
14106	:co#80:li#24:\
14107	:al=\Ee:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
14108	:cr=^M:dc=\Ew:dl=\Er:do=^J:ei=\E8:ho=^^:im=\E9:k0=^A0\r:\
14109	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
14110	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kh=^^:kr=^L:ku=^K:le=^H:\
14111	:ll=^^^K:nd=^L:se=\E\177:sf=^J:so=\E\177:ue=\E^A:up=^K:\
14112	:us=\E^A:
14113
14114#### Synertek
14115#
14116# Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
14117#
14118# Synertek used to make ICs, various 6502-based single-board process
14119# control and hobbyist computers, and assorted peripherals including a
14120# series of small inexpensive terminals (I think they were one of the
14121# first to have a "terminal-on-a-keyboard", where the terminal itself
14122# was only slightly larger than the keyboard).
14123#
14124# They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
14125# was a 40x24 terminal that could connect to a standard TV through a
14126# video modulator.  The KTM-2/80 was the 80-column version (the 2/40
14127# could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
14128# I have a KTM-2/80 still in working order.  The KTM-2s had fully
14129# socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
14130# ROM and 2 ROMs as character generators. They were incredibly simple,
14131# and I've never had any problems with mine (witness the fact that mine
14132# was made in 1981 and is still working great... I've blown the video
14133# output transistor a couple of times, but it's a 2N2222 :-)
14134#
14135# The KTM-3 (which is what is listed in the terminfo file) was their
14136# attempt at putting a KTM-2 in a box (and some models came with a
14137# CRT). It wasn't much different from the KTM-2 hardware-wise, but the
14138# control and escape sequences are very different. The KTM-3 was always
14139# real broken, at least according to the folks I've talked to about it.
14140#
14141# The padding in the entry is probably off--these terminals were very
14142# slow (it takes like 100ms for the KTM-2 to clear the screen...) And
14143# anyone with any sanity replaced the ROMs with something that provided
14144# a reasonable subset of VT100 functionality, since the usual ROMs were
14145# obviously very primitive... oh, you could get an upgraded ROM from
14146# Synertek for some incredible amount of money, but what hacker with an
14147# EPROM burner would do that? :)
14148#
14149# Sorry I don't have any contact info; I believe they were located in
14150# Sunnyvale, and I'm fairly sure they are still manufacturing ICs
14151# (they've gone to ASICs and FPGAs), but I doubt they're in the computer
14152# business these days.
14153#
14154
14155# Tested, seems to work fine with vi.
14156synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal:\
14157	:am:\
14158	:co#80:li#24:\
14159	:cd=\EJ:ce=\EK:cl=^Z:cm=\E=%+ %+ :le=^H:nd=^L:up=^K:
14160
14161#### Tab Office Products
14162#
14163#	TAB Products Co. - Palo Alto, California
14164#	Electronic Office Products,
14165#	1451 California Avenue 94304
14166#
14167# I think they're out of business.
14168#
14169
14170# The tab 132 uses xon/xoff, so no padding needed.
14171# :ks:/:ke: have nothing to do with arrow keys.
14172# :is: sets 80 col mode, normal video, autowrap on (for :am:).
14173# Seems to be no way to get rid of status line.
14174# The manual for this puppy was dated June 1981.  It claims to be VT52-
14175# compatible but looks more vt100-like.
14176tab132|tab|tab132-15|tab 132/15:\
14177	:da:db:\
14178	:co#80:dN@:li#24:lm#96:\
14179	:al=\E[L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
14180	:im=\E[4h:is=\E[?7h\E[?3l\E[?5l:kd=\E[B:ke@:kl=\E[D:ks@:\
14181	:ku=\E[A:\
14182	:tc=vt100:
14183tab132-w|tab132 in wide mode:\
14184	:co#132:\
14185	:is=\E[?7h\E[?3h\E[?5l:tc=tab132:
14186tab132-rv|tab132 in reverse-video mode:\
14187	:is=\E[?7h\E[?3l\E[?5h:tc=tab132:
14188tab132-w-rv|tab132 in reverse-video/wide mode:\
14189	:is=\E[?7h\E[?3h\E[?5h:tc=tab132-w:
14190
14191
14192#### Teleray
14193#
14194#	Research Incorporated
14195#	6425 Flying Cloud Drive
14196#	Eden Prairie, MN 55344
14197#	Vox: (612)-941-3300
14198#
14199# The Teleray terminals were all discontinued in 1992-93.  RI still services
14200# and repairs these beasts, but no longer manufactures them.  The Teleray
14201# people believe that all the types listed below are very rare now (1995).
14202# There was a newer line of Telerays (Model 7, Model 20, Model 30, and
14203# Model 100) that were ANSI-compatible.
14204#
14205# Note two things called "teleray".  Reorder should move the common one
14206# to the front if you have either.  A dumb teleray with the cursor stuck
14207# on the bottom and no obvious model number is probably a 3700.
14208#
14209
14210t3700|dumb teleray 3700:\
14211	:bs:\
14212	:co#80:li#24:\
14213	:bl=^G:cl=^L:cr=^M:do=^J:le=^H:sf=^J:
14214t3800|teleray 3800 series:\
14215	:bs:\
14216	:co#80:it#8:li#24:\
14217	:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:\
14218	:le=^H:ll=\EY7 :nd=\EC:sf=^J:ta=^I:up=^K:
14219t1061|teleray|teleray 1061:\
14220	:am:bs:km:xs:xt:\
14221	:co#80:it#8:li#24:sg#1:\
14222	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\014:cm=\EY%+ %+ :cr=^M:\
14223	:ct=\EG:dc=\EQ:dl=\EM:do=^J:ei=:ho=\EH:ic=\EP:im=:ip=:\
14224	: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:\
14225	:k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:k7=^Z7:k8=^Z8:\
14226	:le=^H:nd=\EC:se=\ER@:sf=^J:so= \ERD:st=\EF:ta=^I:ue=\ER@:\
14227	:up=\EA:us=\ERH:
14228t1061f|teleray 1061 with fast PROMs:\
14229	:al=\EL:dl=\EM:ip@:tc=t1061:
14230# "Teleray Arpa Special", officially designated as
14231# "Teleray Arpa network model 10" with "Special feature 720".
14232# This is the new (1981) fast microcode updating the older "arpa" proms
14233# (which gave meta-key and programmable-fxn keys).  720 is much much faster,
14234# converts the keypad to programmable function keys, and has other goodies.
14235# Standout mode is still broken (magic cookie, etc) so is suppressed as no
14236# programs handle such lossage properly.
14237# Note: this is NOT the old termcap's "t1061f with fast proms."
14238# From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
14239# (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
14240t10|teleray 10 special:\
14241	:bs:km:xs:xt:\
14242	:co#80:it#8:li#24:sg#2:\
14243	:al=\EL:cd=\EJ:ce=\EK:cl=30\Ej:cm=\EY%+ %+ :dc=\EQ:dl=\EM:\
14244	:ei=:ho=\EH:ic=\EP:im=:le=^H:nd=\EC:pc=\0:se=\ER@:sf=\Eq:\
14245	:so=\ERD:sr=\Ep:ta=^I:ue=\ER@:up=\EA:us=\ERH:
14246# teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
14247# back/forth words. Put the function keys (f1-f10) where they can be
14248# found, and turn off the other magic keys along the top row, except
14249# for line/local. Do the magic appropriate to make the page shifts work.
14250# Also toggle ^S/^Q for those of us who use Emacs.
14251t16|teleray 16:\
14252	:am:da:db:mi:xs:xt:\
14253	:co#80:li#24:\
14254	:al=\E[L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
14255	:cm=%i\E[%d;%df:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
14256	:ho=\E[H:im=\E[4h:k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:\
14257	:k7=^Z7:k8=^Z8:k9=^Z9:k;=^Z0:le=^H:me=\E[m:nd=\E[C:se=\E[m:\
14258	:sf=^J:so=\E[7m:sr=\E[T:ta=^I:te=\E[V\E[24;1f\E[?38h:\
14259	:ti=\E[U\E[?38l:ue=\E[m:up=\E[A:us=\E[4m:
14260
14261#### Texas Instruments (ti)
14262#
14263
14264# The Silent 700 was so called because it was built around a quiet thermal
14265# printer.  It was portable, equipped with an acoustic coupler, and pretty
14266# neat for its day.
14267ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800:\
14268	:bs:hc:os:\
14269	:co#80:\
14270	:bl=^G:cr=\r:do=^J:le=^H:sf=^J:
14271
14272#
14273# Texas Instruments 916 VDT 7 bit control mode
14274#
14275ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL:\
14276	:da:db:in:ms:\
14277	:%9=^X:@4=\E[29~:@8=^J:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
14278	:DO=\E[%dB:F1=\E[29~:F2=\E[31~:IC=\E[%d@:LE=\E[%dD:\
14279	:RI=\E[%dC:UP=\E[%dA:ae=\017:as=\016:bt=\E[Z:cb=\E[1K:\
14280	:cd=\E[J:ce=\E[0K:ch=\E[%+^AG:cl=\E[H\E[2J:\
14281	:cm=\E[%i%d;%dH:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:eA=\E(B\E)0:\
14282	:ec=\E[%dX:ei=:ff=^L:im=:ip=:is=\E[1;24r\E[24;1H:k1=\E[17~:\
14283	:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:k6=\E[23~:\
14284	:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:\
14285	:kN=\E[S:kP=\E[T:kh=\E[H:mp=\E&:r2=\E[\041p:st=\E[0W:\
14286	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:\
14287	:tc=vt220:
14288#
14289# Texas Instruments 916 VDT 8 bit control mode
14290#
14291ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL:\
14292	:%9=^X:@4=\23329~:@8=^J:F1=\23329~:F2=\23331~:k1=\23317~:\
14293	:k2=\23318~:k3=\23319~:k4=\23320~:k5=\23321~:k6=\23323~:\
14294	:k7=\23324~:k8=\23325~:k9=\23326~:k;=\23328~:kD=\233P:\
14295	:kI=\233@:kN=\233S:kP=\233T:kd=\233B:kh=\233H:kl=\233D:\
14296	:kr=\233C:ku=\233A:\
14297	:tc=ti916:
14298#
14299# Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
14300#
14301ti916-132|Texas Instruments 916 VDT vt220 132 column:\
14302	:co#132:tc=ti916:
14303#
14304# Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
14305#
14306ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column:\
14307	:co#132:tc=ti916-8:
14308ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL:\
14309	:am:bs:xo:\
14310	:co#80:it#8:li#24:\
14311	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
14312	:cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
14313	:do=\E[B:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[16~:\
14314	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[P:kI=\E[@:\
14315	:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
14316	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:\
14317	:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
14318	:us=\E[4m:ve=\E[?25h:vi=\E[?25l:vs=\E[?31h:
14319ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL:\
14320	:am:xo:\
14321	:co#80:it#8:li#24:\
14322	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
14323	:cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
14324	:do=\E[B:ho=\E[H:k1=P\217>:k2=Q\217>:k3=R\217>:k4=S\217>:\
14325	:k5=~\23316>:k6=~\23317>:k7=~\23318>:k8=~\23319>:\
14326	:k9=~\23320>:kD=P\233>:kI=@\233>:kb=^H:kd=\E[B:kl=\E[D:\
14327	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
14328	:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
14329	:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
14330	:vi=\E[?25l:vs=\E[?31h:
14331ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode:\
14332	:co#132:tc=ti924:
14333ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode:\
14334	:co#132:tc=ti924-8:
14335ti931|Texas Instruments 931 VDT:\
14336	:am:bs:xo:\
14337	:co#80:li#24:\
14338	:al=\EN:bl=^G:cd=\EJ:ce=\EI:cl=\EL:cm=\EY%+ %+ :cr=^M:\
14339	:dc=\EQ:dl=\EO:do=\EB:ei=:ho=\EH:ic=\ER\EP\EM:im=:\
14340	:is=\EGB\E(@B@@\E):k1=\Ei1:k2=\Ei2:k3=\Ei3:k4=\Ei4:\
14341	:k5=\Ei5:k6=\Ei6:k7=\Ei7:k8=\Ei8:k9=\Ei9:kA=\EN:kD=\EQ:\
14342	:kI=\EP:kL=\EO:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:mb=\E4P:\
14343	:me=\E4@:mk=\E4H:mr=\E4B:nd=\EC:se=\E4@:sf=\Ea:so=\E4A:\
14344	:sr=\Eb:ue=\E4@:up=\EA:us=\E4D:ve=\E4@:
14345ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL:\
14346	:cs@:sf=\E[1S:sr=\E[1T:tc=ti924:
14347# (ti926-8: I corrected this from the broken SCO entry -- esr)
14348ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL:\
14349	:cs@:sf=\2331S:sr=\2331T:\
14350	:tc=ti924-8:
14351ti_ansi|basic entry for ti928:\
14352	:am:eo:ut:xn:xo:\
14353	:Co#8:co#80:it#8:li#25:pa#64:\
14354	:@7=\E[F:AB=\E[4%p1%dm:AF=\E[3%p1%dm:al=\E[L:bl=^G:\
14355	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:\
14356	:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
14357	:ic=\E[@:im=:k0=\E[V:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
14358	:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:kN=\E[G:kP=\E[I:\
14359	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
14360	:mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:op=\E[37;40m:se=\E[m:\
14361	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
14362#
14363#       928 VDT 7 bit control mode
14364#
14365ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL:\
14366	:%9=\E[35~:@7=\E_1\E\:@8=\E[8~:F1=\E[29~:F2=\E[31~:\
14367	:F3=\E[32~:F5=\E[34~:k1=\E[17~:k2=\E[18~:k3=\E[19~:\
14368	:k4=\E[20~:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:\
14369	:k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:kN=\E[S:kP=\E[T:\
14370	:tc=ti_ansi:
14371#
14372#       928 VDT 8 bit control mode
14373#
14374ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL:\
14375	:%9=\23335~:@7=\2371\234:@8=\2338~:F1=\23329~:F2=\23331~:\
14376	:F3=\23332~:F5=\23334~:k1=\23317~:k2=\23318~:k3=\23319~:\
14377	:k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
14378	:k9=\23326~:k;=\23328~:kD=\233P:kI=\233@:kN=\233S:\
14379	:kP=\233T:kh=\233H:\
14380	:tc=ti_ansi:
14381
14382#### Zentec (zen)
14383#
14384
14385# (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
14386# had just :so:=\EG6 which I think means standout was supposed to be
14387# dim-reverse using ADM12-style attributes. ADM12 :us:/:ue: and
14388# <invis> might work-- esr)
14389zen30|z30|zentec 30:\
14390	:am:bs:mi:ul:\
14391	:co#80:li#24:\
14392	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
14393	:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:le=^H:mh=\EG2:nd=^L:\
14394	:sf=^J:so=\EG6:ue@:up=^K:us@:\
14395	:tc=adm+sgr:
14396# (zen50: this had extension capabilities
14397#	:BS=^U:CL=^V:CR=^B:
14398# UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
14399# which were also in the original entry -- esr)
14400# (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
14401zen50|z50|zentec zephyr:\
14402	:am:bs:\
14403	:co#80:li#24:sg#1:\
14404	:al=\EE:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:ei=:\
14405	:ic=\EQ:im=:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:ue@:up=^K:\
14406	:us@:\
14407	:tc=adm+sgr:
14408
14409# CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
14410cci|cci1|z8001|zen8001|CCI Custom Zentec 8001:\
14411	:am:bs:bw:\
14412	:co#80:li#24:\
14413	:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cs=\ER%+ %+ :do=^J:\
14414	:ho=\EH:is=\EM \EF\ET\EP\ER 7:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
14415	:kr=\EC:ku=\EA:le=^H:mb=\EM":me=\EM :mh=\EM\041:mk=\EM(:\
14416	:mr=\EM$:nd=\EC:pf=^T:po=^R:se=\EM :so=\EM$:sr=\EI:ue=\EM :\
14417	:up=\EA:us=\EM0:ve=\EP:vs=\EF\EQ\EM \ER 7:
14418
14419######## OBSOLETE UNIX CONSOLES
14420#
14421
14422#### Altos
14423#
14424# Altos made a moderately successful line of UNIX boxes.  In 1990 they were
14425# bought out by Acer, a major Taiwanese manufacturer of PC-clones.
14426# Acer has a web site at http://www.acer.com.
14427#
14428# Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
14429# His comments suggest they were shipped with the system.
14430#
14431
14432# (altos2: had extension capabilities
14433#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
14434#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
14435#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
14436#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
14437#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
14438#	:YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
14439#	:HL=^AP\r:SP=\E[i:\
14440#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
14441#	:LO=\E[0q:LC=\E[5q:LL=\E[6q:\
14442# Comparison with the k* capabilities makes it obvious that the c* things are
14443# shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
14444# :sr: was given as a boolean-- esr)
14445altos2|alt2|altos-2|altos II:\
14446	:co#80:it#8:li#24:sg#0:\
14447	:*5=^Am\r:*8=^An\r:DL=\E[M:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
14448	:FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:\
14449	:FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:RA=\E[?7l:SA=\E[?7h:al=\E[L:\
14450	:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
14451	:dc=\E[P:do=\E[1B:ei=:ho=\E[H:ic=\E[@:\
14452	:if=/usr/share/tabset/vt100:im=:\
14453	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=^AI\r:\
14454	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
14455	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:kC=^AL\r:\
14456	:kD=^AM\r:kE=^AN\r:kF=^AO\r:kb=^H:kd=\E[B:kh=\E[f:kl=\E[D:\
14457	:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[1C:nw=^M^J:se=\E[m:\
14458	:sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[1A:us=\E[4m:
14459# (altos3: had extension capabilities
14460#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
14461#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
14462#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
14463#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
14464#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
14465#	:HL=^AP\r:SP=\E[i:\
14466#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
14467altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V:\
14468	:mb=\E[5p:me=\E[p:sr=\EM:\
14469	:tc=altos2:
14470altos4|alt4|altos-4|altos IV:\
14471	:tc=wy50:
14472# (altos7: had extension capabilities:
14473#	:GG#0:GI=\EH8:GF=\EH7:\
14474#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
14475#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
14476#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
14477#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
14478# Comparison with the k* capabilities makes it obvious that the c* things are
14479# shift keys.  I have renamed them to keys 32 and up accordingly.  I have
14480# also made this entry relative to adm12 in order to give it an :sa:. The
14481# <invis> imported by use=adm+sgr may work, let me know. -- esr)
14482altos7|alt7|altos VII:\
14483	:am:mi:\
14484	:co#80:li#24:sg#0:\
14485	:*5=^Am\r:*8=^An\r:DL=\ER:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
14486	:FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:\
14487	:FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:\
14488	:ac=j5k3l2m1n8q\072t4u9v=w0x6:al=\EE:cd=\EY:ce=\ET:\
14489	:cl=\E+^^:cm=\E=%+ %+ :cr=^M:dc=\EW:do=^J:ei=\Er:ho=^^:\
14490	:im=\Eq:is=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2:\
14491	:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
14492	:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:\
14493	:kC=^AL\r:kD=^AM\r:kE=^AN\r:kF=^AO\r:kN=\EK:kP=\EJ:kb=^H:\
14494	:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:md=\EGt:mh=\EGp:\
14495	:mk=\EG1:nd=^L:nw=^M^J:pf=\EJ:po=\Ed#:sf=^J:sr=\Ej:ta=^I:\
14496	:up=^K:\
14497	:tc=adm+sgr:
14498altos7pc|alt7pc|altos PC VII:\
14499	:@7=\ET:tc=altos7:
14500
14501#### Apollo consoles
14502#
14503# Apollo got bought by Hewlett-Packard.  The Apollo workstations are
14504# labeled HP700s now.
14505#
14506
14507# From: Gary Darland <goodmanc@garnet.berkeley.edu>
14508apollo|apollo console:\
14509	:am:bs:mi:\
14510	:co#88:li#53:\
14511	:al=\EI:cd=\EJ:ce=\EK:ch=\EN%d:cl=^L:cm=\EM%+ %d):cv=\EO+ :\
14512	:dc=\EP:dl=\EL:do=\EB:ei=\ER:im=\EQ:le=^H:nd=\EC:se=\ET:\
14513	:sf=\EE:so=\ES:sr=\ED:te=\EX:ti=\EW:ue=\EV:up=\EA:us=\EU:
14514
14515# We don't know whether or not the apollo guys replicated DEC's firmware bug
14516# in the VT132 that reversed :ei:/:im:.  To be on the safe side, disable
14517# both these capabilities.
14518apollo_15P|apollo 15 inch display:\
14519	:ei@:im@:tc=vt132:
14520apollo_19L|apollo 19 inch display:\
14521	:ei@:im@:tc=vt132:
14522apollo_color|apollo color display:\
14523	:ei@:im@:tc=vt132:
14524
14525#### Convergent Technology
14526#
14527# Burroughs bought Convergent shortly before it merged with Univac.
14528# CTOS is (I believe) dead.  Probably the aws is too (this entry dates
14529# from 1991 or earlier).
14530#
14531
14532# Convergent AWS workstation from Gould/SEL UTX/32 via BRL
14533# (aws: removed unknown :dn=^K: -- esr)
14534aws|Convergent Technologies AWS workstation under UTX and Xenix:\
14535	:am:\
14536	:co#80:li#28:sg#0:\
14537	:ac=:ae=\EAAF:al=\EIL:as=\EAAN:bc=^H:cd=\EEF:ce=\EEL:\
14538	:ch=\EH%.:cl=^L:cm=\EC%r%.%.:cv=\EV%.:dc=\EDC:dl=\EDL:\
14539	:do=^K:ei=:ic=\EIC:im=:kb=^H:kd=^K:kl=^N:kr=^R:ku=^A:\
14540	:ma=\016h\013j\001k\022l\002m:nd=^R:nl=^J:se=\EARF:\
14541	:sf=\ESU:so=\EARN:sr=\ESD:ue=\EAUF:up=^A:us=\EAUN:
14542awsc|Convergent Technologies AWS workstation under CTOS:\
14543	:am:\
14544	:co#80:li#24:sg#0:\
14545	:ac=:ae=\EAAF:as=\EAAN:bc=^N:cd=\EEF:ce=\EEL:cl=^L:\
14546	:cm=\EC%r%.%.:do=^K:kb=^H:kd=^K:kl=^N:kr=^R:ku=^A:\
14547	:ma=\016h\013j\001k\022l\002m:nd=^R:se=\EAA:so=\EAE:\
14548	:ue=\EAA:up=^A:us=\EAC:
14549
14550#### DEC consoles
14551#
14552
14553# The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
14554# The digital uVax II's had a graphic display called a qdss.  It was
14555# supposed to be a high performance graphic accelerator, but it was
14556# late to market and barely appeared before faster dumb frame buffers
14557# appeared.  I have only used this display while running X11.  However,
14558# during bootup, it was in text mode, and probably had a terminal emulator
14559# within it.  And that is what your termcap entry is for.  In graphics
14560# mode the screen size is 1024x864 pixels.
14561qdss|qdcons|qdss glass tty:\
14562	:am:bs:\
14563	:co#128:li#57:\
14564	:cl=1\032:cm=\E=%.%.:do=^J:le=^H:nd=^L:up=^K:
14565
14566#### Fortune Systems consoles
14567#
14568# Fortune made a line of 68K-based UNIX boxes that were pretty nifty
14569# in their day; I (esr) used one myself for a year or so around 1984.
14570# They had no graphics, though, and couldn't compete against Suns and
14571# the like.  R.I.P.
14572#
14573
14574# From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
14575# (This had extension capabilities
14576#	:rv=\EH:re=\EI:rg=0:GG=0:\
14577#	:CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
14578#	:RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
14579#	:PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
14580# It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
14581# ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
14582# to force both magic cookie glitches off.  Once upon a time, I
14583# used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
14584# function keys; thus the "Al" value for HM was certainly an error.  I renamed
14585# EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
14586# I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
14587# "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
14588# names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
14589fos|fortune|Fortune system:\
14590	:am:bs:bw:\
14591	:co#80:li#25:\
14592	:@7=^Ak\r:@8=^Aq:ac=j*k(l m"q&v%w#x-:ae=^O:al=\034E:\
14593	:as=\Eo:bl=^G:cd=\034Y:ce=^\Z:cl=\014:cm=\034C%+ %+ :cr=^M:\
14594	:dc=\034W:dl=\034R:do=\n:ei=:ho=\036:ic=\034Q:im=:is=^_..:\
14595	:k1=^Aa\r:k2=^Ab\r:k3=^Ac\r:k4=^Ad\r:k5=^Ae\r:k6=^Af\r:\
14596	:k7=^Ag\r:k8=^Ah\r:kN=^Ao\r:kP=^An\r:kb=^H:kd=^Ay\r:\
14597	:kh=^A?\r:kl=^Aw\r:kr=^Az\r:ku=^Ax\r:le=^H:mb=\EN:me=\EI:\
14598	:mr=\EH:nw=^M^J:se=^\I`:sf=^J:so=^\H`:ta=^Z:ue=^\IP:up=\013:\
14599	:us=^\HP:ve=\E\:vi=\E]:vs=\E\072:
14600
14601#### IBM Unix consoles
14602#
14603
14604# The following is a version of the ibm-pc entry distributed with PC/IX,
14605# (Interactive Systems' System 3 for the Big Blue), modified by Richard
14606# McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
14607# (the former is untrue, and the latter failed under UCB/man); standout and
14608# underline modes have been added.  Note: this entry describes the "native"
14609# capabilities of the PC monochrome display, without ANY emulation; most
14610# communications packages (but NOT PC/IX connect) do some kind of emulation.
14611pcix|PC/IX console:\
14612	:am:bw:eo:\
14613	:co#80:li#24:\
14614	:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
14615	:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:\
14616	:us=\E[4m:
14617
14618# (ibmpcx: this entry used to be known as ibmx.
14619# It formerly included the following extension capabilities:
14620#	:GC=b:GL=v:GR=t:RT=^J:\
14621#	:GH=\E[196g:GV=\E[179g:\
14622#	:GU=\E[193g:GD=\E[194g:\
14623#	:G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
14624#	:CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
14625#	:WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
14626# I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
14627# ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
14628# what was there before. -- esr)
14629ibmpcx|xenix|ibmx|IBM PC xenix console display:\
14630	:am:bs:ms:\
14631	:co#80:li#25:\
14632	:@7=\E[d:al=\E[L:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%d;%dH:\
14633	:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[K:\
14634	:k2=\E[L:k3=\E[M:k4=\E[N:kN=\E[e:kP=\E[Z:kb=^H:kd=\E[B:\
14635	:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:up=\E[A:\
14636	:tc=klone+acs:tc=klone+sgr:
14637
14638
14639#### Masscomp consoles
14640#
14641# Masscomp has gone out of business.  Their product line was purchased by
14642# comany in Georgia (US) called "XS International", parts and service may
14643# still be available through them.
14644#
14645
14646# (masscomp: ":MT:" changed to ":km:";  -- esr)
14647masscomp|masscomp workstation console:\
14648	:bs:km:mi:\
14649	:co#80:it#8:li#24:\
14650	:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:dc=\E[P:\
14651	:dl=\E[M:do=\E[B:ei=\E[4l:im=\E[4h:is=\EGc\EGb\EGw:kb=^H:\
14652	:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:nd=\E[C:se=\E[m:\
14653	:so=\E[7m:ta=^I:ue=\EGau:up=\E[A:us=\EGu:
14654masscomp1|masscomp large screen version 1:\
14655	:co#104:li#36:tc=masscomp:
14656masscomp2|masscomp large screen version 2:\
14657	:co#64:li#21:tc=masscomp:
14658
14659#### Sony NEWS workstations
14660#
14661
14662# (news-unk: this had :KB=news: -- esr)
14663news-unk|SONY NEWS vt100 emulator old common entry:\
14664	:am:bs:pt:xn:\
14665	:co#80:\
14666	:AL=\E[%dL:DL=\E[%dM:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
14667	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
14668	:dl=\E[M:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
14669	:is=\E[?7h\E[?1l\E[?3l\E7\E8:k0=\EOY:k1=\EOP:k2=\EOQ:\
14670	:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
14671	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
14672	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
14673	:nl=^J:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r:\
14674	:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
14675	:us=\E[4m:
14676#
14677# (news-29: this had :TY=ascii: --esr)
14678news-29:\
14679	:li#29:tc=news-unk:
14680# (news-29-euc: this had :TY=euc: --esr)
14681news-29-euc:\
14682	:tc=news-29:
14683# (news-29-sjis: this had :TY=sjis: --esr)
14684news-29-sjis:\
14685	:tc=news-29:
14686#
14687# (news-33: this had :TY=ascii: --esr)
14688news-33:\
14689	:li#33:tc=news-unk:
14690# (news-33-euc: this had :TY=euc: --esr)
14691news-33-euc:\
14692	:tc=news-33:
14693# (news-33-sjis: this had :TY=sjis: --esr)
14694news-33-sjis:\
14695	:tc=news-33:
14696#
14697# (news-42: this had :TY=ascii: --esr)
14698news-42:\
14699	:li#42:tc=news-unk:
14700# (news-42-euc: this had :TY=euc: --esr)
14701news-42-euc:\
14702	:tc=news-42:
14703# (news-42-sjis: this had :TY=sjis: --esr)
14704news-42-sjis:\
14705	:tc=news-42:
14706#
14707#	NEWS-OS old termcap entry
14708#
14709# (news-old-unk: this had :KB=news:TY=sjis: --esr)
14710news-old-unk|SONY NEWS vt100 emulator common entry:\
14711	:am:bs:pt:xn:\
14712	:co#80:vt#3:\
14713	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
14714	:cs=\E[%i%d;%dr:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
14715	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
14716	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
14717	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
14718	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
14719	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
14720#
14721# (nwp512: this had :DE=^H:, which I think means :bs: --esr)
14722nwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines:\
14723	:bs:\
14724	:li#40:\
14725	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8:tc=news-old-unk:
14726#
14727# (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
14728nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line:\
14729	:li#42:\
14730	:is=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8:tc=news-old-unk:
14731#
14732# (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as :bs:. --esr)
14733nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines:\
14734	:bs:\
14735	:li#40:\
14736	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8:tc=news-old-unk:
14737#
14738# (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
14739nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines:\
14740	:bs:\
14741	:li#31:\
14742	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8:tc=news-old-unk:
14743#
14744# (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as :bs:; --esr)
14745# also the alias vt100-bm.
14746nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|old sony vt100 emulator 33 lines:\
14747	:bs:\
14748	:li#33:\
14749	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8:tc=news-old-unk:
14750#
14751# (nwp513-o: had :DE=^H:, I think that's :bs:; also the alias vt100-bm --esr)
14752nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|old sony vt100 emulator 33 lines:\
14753	:bs:\
14754	:li#31:\
14755	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8:tc=news-old-unk:
14756#
14757# (news28: this had :DE=^H:, I think that's :bs:, and :KB=nws1200: --esr)
14758news28|sony vt100 emulator 28 lines:\
14759	:bs:\
14760	:li#28:\
14761	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8:tc=news-old-unk:
14762#
14763# (news29: this had :TY=ascii:KB=nws1200:\ --esr)
14764news29|news28-a|sony vt100 emulator 29 lines:\
14765	:li#29:\
14766	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8:tc=news-old-unk:
14767#
14768# (news511: this had :TY=sjis: --esr)
14769nwp511|nwp-511|nwp-511 vt100:\
14770	:am:bs:pt:xn:\
14771	:co#80:li#24:\
14772	:al=\E[L:cd=30\E[J:ce=3\E[K:cl=20\E[;H\E[2J:\
14773	:cm=\E[%i%d;%dH:dl=\E[M:is=\E[?5l\E[?1l\E>\E[?7h\E[?8h:\
14774	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\E#W:kd=\E[B:\
14775	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:nd=\E[C:\
14776	:rs=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h:se=2\E[m:\
14777	:so=2\E[7m:sr=5\EM:ue=2\E[m:up=2\E[A:us=2\E[4m:\
14778	:vb=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l:
14779# (news517: this had :TY=sjis:. --esr)
14780nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows:\
14781	:es:hs:\
14782	:co#80:li#30:\
14783	:ds=\E[1$~:fs=\E[0$}:i2=\E[2$~\n:\
14784	:is=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
14785	:ts=\E[1$}\E[;%df:\
14786	:tc=vt200:
14787# (news517-w: this had :TY=sjis:. --esr)
14788nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows:\
14789	:es:hs:\
14790	:co#132:li#50:\
14791	:ds=\E[1$~:fs=\E[0$}:i2=\E[2$~\n:\
14792	:is=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
14793	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
14794	:ts=\E[1$}\E[;%df:tc=vt200:
14795
14796#### Obsolete virtual-terminal types.
14797#
14798
14799# Columbus UNIX virtual terminal. This terminal also appears in
14800# UNIX 4.0 and successors as line discipline 1 (?), but is
14801# undocumented and does not really work quite right.
14802cbunix|cb unix virtual terminal:\
14803	:am:bs:da:db:\
14804	:co#80:li#24:lm#0:\
14805	:al=\EP:bl=^G:cd=\EL:ce=\EK:cl=\EL:cm=\EG%r%.%.:cr=^M:\
14806	:dc=\EM:dl=\EN:do=^J:ei=:ic=\EO:im=:kd=\EB:kh=\EE:kl=\ED:\
14807	:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eb^D:sf=^J:so=\Ea^D:\
14808	:ue=\Eb^A:up=\EA:us=\Ea^A:
14809# (vremote: removed obsolete ":nl@:" -- esr)
14810vremote|virtual remote terminal:\
14811	:am@:\
14812	:co#79:tc=cbunix:
14813
14814pty|4bsd pseudo teletype:\
14815	:cm=\EG%+ %+ :se=\Eb$:so=\Ea$:ue=\Eb\041:us=\Ea\041:tc=cbunix:
14816
14817######## OTHER OBSOLETE TYPES
14818#
14819# These terminals are *long* dead -- these entries are retained for
14820# historical interest only.
14821#
14822
14823#### Obsolete non-ANSI software emulations
14824#
14825
14826#### Avatar
14827#
14828# These entries attempt to describe Avatar, a terminal emulation used with
14829# MS-DOS bulletin-board systems.  It was designed to give ANSI-like
14830# capabilities, but with cheaper (shorter) control sequences.  Messy design,
14831# excessively dependent on PC idiosyncracies, but apparently rather popular
14832# in the BBS world.
14833#
14834# No color support.  Avatar doesn't fit either of the Tektronix or HP color
14835# models that terminfo knows about.  An Avatar color attribute is the
14836# low 7 bits of the IBM-PC display-memory attribute.  Bletch.
14837#
14838# I wrote these entries while looking at the Avatar spec.  I don't have
14839# the facilities to test them.  Let me know if they work, or don't.
14840#
14841# Avatar escapes not used by these entries (because maybe you're smarter
14842# and more motivated than I am and can figure out how to wrap terminfo
14843# around some of them, and because they are weird enough to be funny):
14844#				level 0:
14845# ^L		-- clear window/reset current attribute to default
14846# ^V^A%p1%c	-- set current color attribute, parameter decodes as follows:
14847#
14848#      bit:         6   5   4   3   2   1   0
14849#                   |       |   |   |       |
14850#                   +---+---+   |   +---+---+
14851#                       |       |       |
14852#                       |       |  foreground color
14853#                       |  foreground intensity
14854#                  background color
14855#				level 0+:
14856# ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) up by p1 lines
14857# ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) down by p1 lines
14858# ^V^L%p1%c%p2%c%p3%c		-- clear p2 lines and p3 cols w/attr %p1
14859# ^V^M%p1%c%p2%c%p3%c%p4%c	-- fill p3 lines & p4 cols w/char p2+attr %p1
14860# (^V^L and ^V^M set the current attribute as a side-effect.)
14861# ^V ^Y <a> [...] <c>	-- repeat pattern. <a> specifies the number of bytes
14862#			   in the pattern, <c> the number of times the pattern
14863#		  	   should be repeated. If either value is 0, no-op.
14864#			   The pattern can contain Avatar console codes,
14865#			   including other ^V ^Y patterns.
14866#				level 1:
14867# ^V^O		-- clockwise mode on; turn print direction right each time you
14868#		   hit a window edge (yes, really).  Turned off by CR
14869# ^V^P		-- no-op
14870# ^V^Q%c	-- query the driver
14871# ^V^R		-- driver reset
14872# ^V^S		-- Sound tone (PC-specific)
14873# ^V^T			-- change highlight at current cursor poition to %c
14874# ^V^U%p1%c%p2%c	-- highlight window <a> with attribute <b>
14875# ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
14876#			-- define window
14877#
14878# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
14879# (The :mb:/:md:/:mr:/:as:/:us:/:so: capabilities exist only to
14880# tell ncurses that the corresponding highlights exist; it should use :sa:,
14881# which is the only method that will actually work for multiple highlights.)
14882avatar0|avatar terminal emulator level 0:\
14883	:am:ms:ut:\
14884	:co#80:it#8:li#25:\
14885	:as=:ce=^V^G:cm=\026\010%.%.:cr=^M:do=^V^D:le=^V^E:\
14886	:mb=^A^V\177:md=^V^A^P:me=^V^A^G:mk=^V^A\0:mr=^A^Vp:\
14887	:nd=^V^F:r2=^L:rp=\031%.%d:\
14888	:..sa=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;:\
14889	:sf=^J:so=^A^Vp:up=^V^C:us=^V^A:\
14890	:tc=klone+acs:
14891# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
14892avatar0+|avatar terminal emulator level 0+:\
14893	:dc=^V^N:ei=\026\n\0\0\0\0:im=^V^I:tc=avatar0:
14894# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
14895avatar|avatar1|avatar terminal emulator level 1:\
14896	:RA=^V":SA=^V$:al=^V+:dl=^V-:ei=^V^P:ve=^V'^A:vi=^V'^B:\
14897	:vs=^V^C:\
14898	:tc=avatar0+:
14899
14900#### RBcomm
14901#
14902# RBComm is a lean and mean terminal emulator written by the Interrupt List
14903# maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
14904# '90s), especially in the BBS world, and still has some loyal users due to
14905# its very small memory footprint and to a cute macro language.
14906rbcomm|IBM PC with RBcomm and EMACS keybindings:\
14907	:am:bw:mi:ms:xn:\
14908	:co#80:it#8:li#25:\
14909	:AL=\E[%dL:DL=\E[%dM:al=^K:bl=^G:bt=\E[Z:cd=^F5:ce=^P^P:\
14910	:cl=^L:cm=\037%r%+ %+ :cr=^M:cs=\E[%i%d;%dr:dc=^W:dl=^Z:\
14911	:dm=:do=^C:ec=\E[%dX:ed=:ei=^]:im=^\:\
14912	:is=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g:kb=^H:kd=^N:\
14913	:ke=\E>:kh=^A:kl=^B:kr=^F:ks=\E=:ku=^P:le=^H:mb=\E[5m:\
14914	:md=\E[1m:me=\E[m:mk=\E[8m:mr=^R:nd=^B:nw=^M\ED:\
14915	:r1=\017\E(B\E)0\025\E[?3l\E[>8g:rc=\E8:rp=\030%.%.:\
14916	:sc=\E7:se=^U:sf=\ED:so=^R:sr=\EM:ta=^I:te=:ti=:ue=^U:up=^^:\
14917	:us=^T:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
14918rbcomm-nam|IBM PC with RBcomm without autowrap:\
14919	:am@:\
14920	:bl=^G:cr=^M:do=^J:\
14921	:is=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g:kb=^H:kd=^J:\
14922	:kl=^H:nw=^M^J:sf=^J:ta=^I:\
14923	:tc=rbcomm:
14924rbcomm-w|IBM PC with RBcomm in 132 column mode:\
14925	:co#132:\
14926	:bl=^G:cr=^M:do=^J:\
14927	:is=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g:kb=^H:kd=^J:\
14928	:kl=^H:nw=^M^J:sf=^J:ta=^I:\
14929	:tc=rbcomm:
14930
14931# CTRM terminal emulator
14932# 1. underlining is not allowed with colors: first, is is simulated by
14933# black on white, second, it disables background color manipulations.
14934# 2. BLINKING, REVERSE and BOLD are allowed with colors,
14935# so we have to save their status in the static registers A, B and H
14936# respectively, to be able to restore them when color changes
14937# (because any color change turns off ALL attributes)
14938# 3. :md: and :mr: sequences alternate modes,
14939# rather then simply  entering them.  Thus we have to check the
14940# static register B and H to determine the status, before sending the
14941# escape sequence.
14942# 4. :me: now must set the status of all 3 register (A,B,H) to zero
14943# and then reset colors
14944# 5. implementation of the protect mode would badly penalize the performance.
14945# we would have to use \E&bn sequence to turn off colors (as well as all
14946# other attributes), and keep the status of protect mode in yet another
14947# static variable.  If someone really needs this mode, they would have to
14948# create another terminfo entry.
14949# 6. original color-pair is white on black.
14950# store the information about colors into static registers
14951# 7. set foreground color.  it performs the following steps.
14952#   1) turn off all attributes
14953#   2) turn on the background and video attributes that have been turned
14954#      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
14955#   3) turn on foreground attributes
14956#   4) store information about foreground into U,V,W static registers
14957# 8. turn on background: similar to turn on foreground above
14958# (untranslatable capabilities removed to fit entry within 1023 bytes)
14959ctrm|C terminal emulator:\
14960	:am:ut:xo:\
14961	:Co#8:NC#2:Nl#0:co#80:lh#0:li#24:lm#0:lw#0:pa#63:pb#19200:vt#6:\
14962	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
14963	:cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
14964	:do=^J:ei=\ER:im=\EQ:ip=:is=\E&jA\r:k1=\Ep\r:k2=\Eq\r:\
14965	:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\
14966	:kb=^H:kd=\Ew\r:ke=\E&jA:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:\
14967	:ks=\E&jB:ku=\Et\r:le=^H:mb=\E&dA%{1}%PA:\
14968	:md=%?%gH%{0}%=%t\E&dH%{1}%PH%;:\
14969	:me=\E&d@%{0}%PA%{0}%PB%{0}%PH:\
14970	:mr=%?%gB%{0}%=%t\E&dB%{1}%PB%;:nd=\EC:\
14971	:op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU:\
14972	:sf=^J:so=\E&dD:st=\E1:ta=\011:up=\EA:us=\E&dD:
14973
14974# gs6300 - can't use blue foreground, it clashes with underline;
14975# it's simulated with cyan
14976# Bug: The <op> capability probably resets attributes.
14977# (gs6300: commented out <rmln> (no <smln>) --esr)
14978gs6300|emots|AT&T PC6300 with EMOTS terminal emulator:\
14979	:am:ms:ut:xo:\
14980	:Co#8:co#80:it#8:li#24:pa#63:\
14981	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
14982	:LE=\E[%dD:RI=\E[%dC:Sb=\E[?;%dm:\
14983	:..Sf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m:\
14984	:UP=\E[%dA:\
14985	:ac=++\054\054--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
14986	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
14987	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:\
14988	:ei=:ho=\E[H:ic=\E[@:im=:is=\E[m:k1=\E[0s:k2=\E[24s:\
14989	:k3=\E[1s:k4=\E[23s:k5=\E[2s:k6=\E[22s:k7=\E[3s:k8=\E[21s:\
14990	:kB=^R^I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
14991	:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\E[10m:mr=\E[7m:nd=\E[C:\
14992	:op=\E[?;m:pf=\E[4i:po=\E[5i:r1=\Ec:sf=^J:so=\E[1m:sr=\E[L:\
14993	:ta=^I:up=\E[A:us=\E[4m:
14994
14995# From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
14996# MS-Kermit with Heath-19 emulation mode enabled
14997# (h19k: changed ":pt@:" to ":it@"
14998h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\
14999	:am@:da:db:xt:\
15000	:it@:\
15001	:ta@:tc=h19-u:
15002
15003# Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
15004# Software (formerly Peripherals Computers & Supplies, Inc) of
15005# 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
15006# also be reached at support@synergy.com.
15007versaterm|versaterm vt100 emulator for the macintosh:\
15008	:am:xn:\
15009	:co#80:it#8:li#24:\
15010	:al=9\E[1L:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
15011	:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=7\E[1P:\
15012	:dl=9\E[1M:do=^J:ei=:ho=\E[H:ic=7\E[1@:im=:\
15013	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
15014	:kb=^H:kd=\EOB:ke=\E>\E[?1l:kl=\EOD:kr=\EOC:ks=\E=\E[?1h:\
15015	:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
15016	:nd=2\E[C:nw=^M^J:r1=\E>:rc=\E8:\
15017	:rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:so=2\E[7m:\
15018	:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
15019
15020# From: Rick Thomas <ihnp4!btlunix!rbt>
15021# (xtalk: I added <rmam>/<smam> based on the init string.
15022xtalk|IBM PC with xtalk communication program (versions up to 3.4):\
15023	:am:mi:ms:xo:\
15024	:co#80:it#8:li#24:sg#1:vt#3:\
15025	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
15026	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
15027	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
15028	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
15029	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:\
15030	:eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
15031	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
15032	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
15033	:ku=\EOA:le=^H:me=\E[m:nd=\E[C:\
15034	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:se=\E[m :sf=^J:\
15035	:so=\E[7m :sr=\EM:st=\EH:ta=^I:up=\E[A:
15036
15037# The official PC terminal emulator program of the AT&T Product Centers.
15038# Note - insert mode commented out - doesn't seem to work on AT&T PC.
15039simterm|attpc running simterm:\
15040	:am:\
15041	:co#80:li#24:\
15042	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E=%+ %+ :cr=^M:\
15043	:dc=\ER:dl=\EM:do=\EB:ho=\EH:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
15044	:sf=^J:so=\E&dB:te=\EVE:ti=\EVS:up=\EA:
15045
15046#### Miscellaneous obsolete terminals, manufacturers unknown
15047#
15048# If you have any information about these (like, a manufacturer's name,
15049# and a date on the serial-number plate) please send it!
15050
15051cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars:\
15052	:am:bs:\
15053	:co#73:li#36:\
15054	:cl=^Z:ho=^^:le=^H:nd=^L:up=^K:
15055cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars:\
15056	:am:bs:\
15057	:co#85:li#39:\
15058	:cl=^Z:ho=^^:k1=\E5:k2=\E6:k3=\E7:k4=\E8:kd=\E2:kl=\E3:\
15059	:kr=\E4:ku=\E1:le=^H:nd=^L:se=\Em^C:so=\Em^L:up=^K:
15060cops10|cops|cops-10|cops 10:\
15061	:am:bw:\
15062	:co#80:li#24:\
15063	:bl=^G:cd=^W:ce=^V:cl=30\030:cm=\020%+ %+ :cr=^M:do=^J:\
15064	:kb=^H:kd=^J:kh=^Y:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
15065# (d132: removed duplicate :ic=\E5:,
15066# merged in capabilities from a BRL entry -- esr)
15067d132|datagraphix|datagraphix 132a:\
15068	:da:db:in:\
15069	:co#80:li#30:\
15070	:al=\E3:bl=^G:cl=^L:cm=\E8%i%3%3:cr=^M:dc=\E6:do=^J:ei=:\
15071	:ho=\ET:ic=\E5:im=:kb=^H:kd=^J:kl=^H:le=^H:nd=\EL:nw=^M^J:\
15072	:sf=^J:sr=\Ew:ta=^I:up=\EK:ve=\Em\En:vs=\Ex:
15073# The d800 was an early portable terminal from c.1984-85 that looked a lot
15074# like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
15075# mode (which is what this entry looks like) and several other lesser-known
15076# emulations.
15077d800|Direct 800/A:\
15078	:am:bs:da:db:ms:xs:\
15079	:co#80:it#8:li#24:\
15080	:ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
15081	:ae=\E[m:as=\E[1m:bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[2J:\
15082	:cm=\E[%i%d;%dH:cr=^M:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:\
15083	:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:kd=\E[B:kl=\E[D:\
15084	:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\ED:\
15085	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[>12h:\
15086	:vs=\E[>12l:
15087digilog|digilog 333:\
15088	:bs:\
15089	:co#80:li#16:\
15090	:bl=^G:ce=^X:cr=^M:do=^J:ho=^N:le=^H:nd=^I:sf=^J:up=^O:
15091# The DWK was a terminal manufactured in the Soviet Union c.1986
15092dwk|dwk-vt|dwk terminal:\
15093	:am:\
15094	:co#80:it#8:li#24:\
15095	:ac=+\136\054Q-S.M0\177`+a\072f'g#h#i#jXkClJmFnNo~qUs_tEuPv\wKxW~_:\
15096	:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
15097	:cr=^M:dc=\EP:do=^J:ei=:ho=\EH:ic=\EQ:im=:k1=\Ef1:k2=\Ef2:\
15098	:k3=\Ef3:k4=\Ef4:k5=\Ef5:k6=\Ef6:k7=\Ef7:k8=\Ef8:k9=\Ef9:\
15099	:k;=\Ef0:kD=\Ee:kI=\Ed:kN=\Eh:kP=\Eg:kb=\177:kd=\EB:kl=\ED:\
15100	:kr=\EC:ku=\EA:le=^H:me=\EX:mr=\ET:nd=\EC:nw=^M^J:se=\EX:\
15101	:sf=^J:so=\ET:sr=\ES:ta=^I:up=\EA:
15102env230|envision230|envision 230 graphics terminal:\
15103	:xn@:\
15104	:pf=\E[4i:po=\E[5i:ps=\E[0i:\
15105	:..sa=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:tc=vt100:
15106# These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
15107# coupler attached, the whole rig fitting in a suitcase and more or less
15108# portable.  Hot stuff for c.1977 :-) -- esr
15109ep48|ep4080|execuport 4080:\
15110	:am:bs:os:\
15111	:co#80:\
15112	:bl=^G:cr=^M:do=^J:hd=^\:hu=^^:le=^H:sf=^J:
15113ep40|ep4000|execuport 4000:\
15114	:co#136:tc=ep4080:
15115# Adam Thompson <athompso@pangea.ca> tells us:
15116# Informer series - these are all portable units, resembling older
15117# automatic bread-baking machines.  The terminal looks like a `clamshell'
15118# design, but isn't.  The structure is similar to the Direct terminals,
15119# but only half the width.  The entire unit is only about 10" wide.
15120# It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
15121# keyboard.  All the keys are crammed together, much like some laptop
15122# PCs today, but perhaps less well organized...all these units have a
15123# bewildering array of plugs on the back, including a built-in modem.
15124# The 305 was a color version of the 304; the 306 and 307 were mono and
15125# color terminals built for IBM bisync protocols.
15126# From: Paul Leondis <unllab@amber.berkeley.edu>
15127ifmr|Informer D304:\
15128	:am:bs:\
15129	:co#80:li#24:\
15130	:cd=\E/:ce=\EQ:cl=\EZ:cm=\EY%r%+ %+ :dc=\E\:do=^J:ei=:\
15131	:ho=\EH:ic=\E[:im=:le=^H:me=\EK:nd=\EC:se=\EK:so=\EJ:sr=\En:\
15132	:up=\EA:
15133# Entry largely based on wy60 and has the features of wy60ak.
15134# (untranslatable capabilities removed to fit entry within 1023 bytes)
15135# (sgr removed to fit entry within 1023 bytes)
15136# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
15137opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys:\
15138	:am:bw:hs:km:mi:ms:ul:xo:\
15139	:co#80:li#24:ws#80:\
15140	:ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:\
15141	:cm=\Ea%i%dR%dC:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\Ez(\r:\
15142	:ei=\Er:fs=^M:ho=\036:if=/usr/share/tabset/std:im=\Eq:ip=:\
15143	: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:\
15144	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
15145	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
15146	:kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\EG2:\
15147	:me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=^J:sr=\Ej:\
15148	:st=\E1:ta=\011:te=:\
15149	:ti=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177:\
15150	:ts=\Ez(:uc=\EG8%p1%c\EG0:up=^K:ve=\E`1:vi=\E`0:\
15151	:tc=adm+sgr:
15152teletec|Teletec Datascreen:\
15153	:am:bs:\
15154	:co#80:li#24:\
15155	:bl=^G:cl=^L:cr=^M:do=^J:ho=^^:le=^H:nd=^_:sf=^J:up=^K:
15156# From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
15157# This description is for the LANPAR Technologies VISION 3220
15158# terminal from 1984/85.  The function key definitions k0-k5 represent the
15159# edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
15160# NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
15161#
15162# Kenneth Randell <kenr@datametrics.com> writes on 31 Dec 1998:
15163# I had a couple of scopes (3221) like this once where I used to work, around
15164# the 1987 time frame if memory serves me correctly.  These scopes were made
15165# by an outfit called LANPAR Technologies, and were meant to me DEC VT 220
15166# compatible.  The 3220 was a plain text terminal like the VT-220, the 3221
15167# was a like the VT-240 (monochrome with Regis + Sixel graphics), and the 3222
15168# was like the VT-241 (color with Regis + Sixel Graphics).  These terminals
15169# (3221) cost about $1500 each, and one was always broken -- had to be sent
15170# back to the shop for repairs.
15171# The only real advantage these scopes had over the VT-240's were:
15172# 1) They were faster in the Regis display, or at least the ones I did
15173# 2) They had a handy debugging feature where you could split-screen the
15174# scope, the graphics would appear on the top, and the REGIS commands would
15175# appear on the bottom.  I don't remember the VT-240s being able to do that.
15176# I would swear that LANPAR Technologies was in MA someplace, but since I
15177# don't work at the same place anymore, and those terminals and manuals were
15178# long since junked, I cannot be any more sure than that.
15179#
15180# (v3220: removed obsolete ":kn#10:",
15181# I added <rmam>/<smam> based on the init string -- esr)
15182v3220|LANPAR Vision II model 3220/3221/3222:\
15183	:am:bs:mi:xn:\
15184	:co#80:it#8:li#24:\
15185	:RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
15186	:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:\
15187	:is=\E>\E[?3l\E[?7h\E[?8h\E[p:k0=\E[1~:k1=\E[2~:\
15188	:k2=\E[3~:k3=\E[4~:k4=\E[5~:k5=\E[6~:k6=\E[OP:k7=\E[OQ:\
15189	:k8=\E[OR:k9=\E[OS:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:kr=\E[C:\
15190	:ks=\E=:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:\
15191	:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
15192######## ICH/ICH1 VERSUS RMIR/SMIR
15193#
15194# Some non-curses applications get confused if both ich/ich1 and rmir/smir
15195# are present; the symptom is doubled characters in an update using insert.
15196# These applications are technically correct; in both 4.3BSD termcap and
15197# terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
15198# unless the terminal needs both.  To my knowledge, no terminal still in this
15199# file requires both other than the very obsolete dm2500.
15200#
15201# For ncurses-based applications this is not a problem, as ncurses uses
15202# one or the other as appropriate but never mixes the two.  Therefore we
15203# have not corrected entries like `linux' and `xterm' that specify both.
15204# If you see doubled characters from these, use the linux-nic and xterm-nic
15205# entries that suppress ich/ich1.  And upgrade to ncurses!
15206#
15207
15208######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
15209#
15210# ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
15211# ECMA-48 standards are said to be almost identical, but are not the same
15212# as X3.64 (though for practical purposes they are close supersets of it).
15213#
15214# You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
15215# requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
15216# Coded Character Sets"), include your snail-mail address, and you should
15217# receive the document in due course.  Don't expect an email acknowledgement.
15218#
15219# Related standards include "X3.4-1977: American National Standard Code for
15220# Information Interchange" (the ASCII standard) and "X3.41.1974:
15221# Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
15222# American National Standard for Information Interchange."  I believe (but
15223# am not certain) that these are effectively identical to ECMA-6 and ECMA-35
15224# respectively.
15225#
15226
15227#### VT100/ANSI/ECMA-48
15228#
15229# ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
15230# and ECMA-48 Control Functions for Coded Character Sets.
15231#
15232# Much of the content of this comment is adapted from a table prepared by
15233# Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
15234# discussion of some terminfo-related issues, and updates to capture ECMA-48
15235# have been added.  Control functions described in ECMA-48 only are tagged
15236# with * after their names.
15237#
15238# The table is a complete list of the defined ANSI X3.64/ECMA-48 control
15239# sequences.  In the main table, \E stands for an escape (\033) character,
15240# SPC for space.  Pn stands for a single numeric parameter to be inserted
15241# in decimal ASCII.  Ps stands for a list of such parameters separated by
15242# semicolons.  Parameter meanings for most parametrized sequences are
15243# decribed in the notes.
15244#
15245# Sequence     Sequence                             Parameter   or
15246# Mnemonic     Name              Sequence           Value      Mode   terminfo
15247# -----------------------------------------------------------------------------
15248# APC  Applicatn Program Command \E _                -         Delim  -
15249# BEL  Bell *                    ^G                  -         -      bel
15250# BPH  Break Permitted Here *    \E B                -         *      -
15251# BS   Backpace *                ^H                  -         EF     -
15252# CAN  Cancel *                  ^X                  -         -      -   (A)
15253# CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
15254# CCH  Cancel Previous Character \E T                -         -      -
15255# CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
15256# CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
15257# CMD  Coding Method Delimiter * \E
15258# CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
15259# CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
15260# CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
15261# CSI  Control Sequence Intro    \E [                -         Intro  -
15262# CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
15263# CUB  Cursor Backward           \E [ Pn D           1         eF     cub
15264# CUD  Cursor Down               \E [ Pn B           1         eF     cud
15265# CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
15266# CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
15267# CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
15268# CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
15269# DA   Device Attributes         \E [ Pn c           0         -      -
15270# DAQ  Define Area Qualification \E [ Ps o           0         -      -
15271# DCH  Delete Character          \E [ Pn P           1         eF     dch
15272# DCS  Device Control String     \E P                -         Delim  -
15273# DL   Delete Line               \E [ Pn M           1         eF     dl
15274# DLE  Data Link Escape *        ^P                  -         -      -
15275# DMI  Disable Manual Input      \E \                -         Fs     -
15276# DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
15277# DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
15278# EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
15279# ECH  Erase Character           \E [ Pn X           1         eF     ech
15280# ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
15281# EF   Erase in Field            \E [ Ps N           0         eF     -
15282# EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
15283# EM   End of Medium *           ^Y                  -         -      -
15284# EMI  Enable Manual Input       \E b                          Fs     -
15285# ENQ  Enquire                   ^E                  -         -      -
15286# EOT  End Of Transmission       ^D                  -         *      -
15287# EPA  End of Protected Area     \E W                -         -      -   (K)
15288# ESA  End of Selected Area      \E G                -         -      -
15289# ESC  Escape                    ^[                  -         -      -
15290# ETB  End Transmission Block    ^W                  -         -      -
15291# ETX  End of Text               ^C                  -         -      -
15292# FF   Form Feed                 ^L                  -         -      -
15293# FNK  Function Key *            \E [ Pn SPC W       -         -      -
15294# GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
15295# FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
15296# GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
15297# GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
15298# HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
15299# HPB  Char Position Backward    \E [ j              1         FE     -
15300# HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
15301# HT   Horizontal Tab *          ^I                  -         FE     -   (N)
15302# HTJ  Horz Tab w/Justification  \E I                -         FE     -
15303# HTS  Horizontal Tab Set        \E H                -         FE     hts
15304# HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
15305# ICH  Insert Character          \E [ Pn @           1         eF     ich
15306# IDCS ID Device Control String  \E [ SPC O          -         *      -
15307# IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
15308# IL   Insert Line               \E [ Pn L           1         eF     il
15309# IND  Index                     \E D                -         FE     -
15310# INT  Interrupt                 \E a                -         Fs     -
15311# JFY  Justify                   \E [ Ps SPC F       0         FE     -
15312# IS1  Info Separator #1 *       ^_                  -         *      -
15313# IS2  Info Separator #1 *       ^^                  -         *      -
15314# IS3  Info Separator #1 *       ^]                  -         *      -
15315# IS4  Info Separator #1 *       ^\                  -         *      -
15316# LF   Line Feed                 ^J                  -         -      -
15317# LS1R Locking Shift Right 1 *   \E ~                -         -      -
15318# LS2  Locking Shift 2 *         \E n                -         -      -
15319# LS2R Locking Shift Right 2 *   \E }                -         -      -
15320# LS3  Locking Shift 3 *         \E o                -         -      -
15321# LS3R Locking Shift Right 3 *   \E |                -         -      -
15322# MC   Media Copy                \E [ Ps i           0         -      -   (S)
15323# MW   Message Waiting           \E U                -         -      -
15324# NAK  Negative Acknowledge *    ^U                  -         *      -
15325# NBH  No Break Here *           \E C                -         -      -
15326# NEL  Next Line                 \E E                -         FE     nel (D)
15327# NP   Next Page                 \E [ Pn U           1         eF     -
15328# NUL  Null *                    ^@                  -         -      -
15329# OSC  Operating System Command  \E ]                -         Delim  -
15330# PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
15331# PFS  Page Format Selection *   \E Pn SPC J         0         -      -
15332# PLD  Partial Line Down         \E K                -         FE     -   (T)
15333# PLU  Partial Line Up           \E L                -         FE     -   (U)
15334# PM   Privacy Message           \E ^                -         Delim  -
15335# PP   Preceding Page            \E [ Pn V           1         eF     -
15336# PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
15337# PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
15338# PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
15339# PTX  Parallel Texts *          \E [ \              -         -      -
15340# PU1  Private Use 1             \E Q                -         -      -
15341# PU2  Private Use 2             \E R                -         -      -
15342# QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
15343# REP  Repeat Char or Control    \E [ Pn b           1         -      rep
15344# RI   Reverse Index             \E M                -         FE     -   (V)
15345# RIS  Reset to Initial State    \E c                -         Fs     -
15346# RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
15347# SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
15348# SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
15349# SCI  Single-Char Introducer    \E Z                -         -      -
15350# SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
15351# SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
15352# SD   Scroll Down               \E [ Pn T           1         eF     rin
15353# SDS  Start Directed String *   \E [ Pn ]           1         -      -
15354# SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
15355# SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
15356# SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
15357# SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
15358# SI   Shift In                  ^O                  -         -      -   (P)
15359# SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
15360# SL   Scroll Left               \E [ Pn SPC @       1         eF     -
15361# SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
15362# SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
15363# SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
15364# SM   Select Mode               \E [ Ps h           none      -      -   (W)
15365# SO   Shift Out                 ^N                  -         -      -   (Q)
15366# SOH  Start Of Heading *        ^A                  -         -      -
15367# SOS  Start of String *         \E X                -         -      -
15368# SPA  Start of Protected Area   \E V                -         -      -   (Z)
15369# SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
15370# SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
15371# SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
15372# SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
15373# SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
15374# SR   Scroll Right              \E [ Pn SPC A       1         eF     -
15375# SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
15376# SRS  Start Reversed String *   \E [ Ps [           0         -      -
15377# SSA  Start of Selected Area    \E F                -         -      -
15378# SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
15379# SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
15380# SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
15381# SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
15382# ST   String Terminator         \E \                -         Delim  -
15383# STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
15384# STS  Set Transmit State        \E S                -         -      -
15385# STX  Start pf Text *           ^B                  -         -      -
15386# SU   Scroll Up                 \E [ Pn S           1         eF     indn
15387# SUB  Substitute *              ^Z                  -         -      -
15388# SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
15389# SYN  Synchronous Idle *        ^F                  -         -      -
15390# TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
15391# TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
15392# TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
15393# TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
15394# TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
15395# TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
15396# TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
15397# VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
15398# VPB  Line Position Backward *  \E [ Pn k           1         FE     -
15399# VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
15400# VT   Vertical Tabulation *     ^K                  -         FE     -
15401# VTS  Vertical Tabulation Set   \E J                -         FE     -
15402#
15403# ---------------------------------------------------------------------------
15404#
15405# Notes:
15406#
15407# Some control characters are listed in the ECMA-48 standard without
15408# being assigned functions relevant to terminal control there (they
15409# referred to other standards such as ISO 1745 or ECMA-35).  They are listed
15410# here anyway for completeness.
15411#
15412# (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
15413#
15414# (B) There seems to be some confusion abroad between CHA and HPA.  Most
15415# `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
15416# the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
15417# preserved the CHA abbreviation.
15418#
15419# (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
15420# Occasionally (as on, for example, certain HP terminals) this has the HTJ
15421# value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
15422# CHT abbreviation.
15423#
15424# (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
15425#
15426# (E) ECMA-48 calls this "Active Position Report" but preserves the CPR
15427# abbreviation.
15428#
15429# (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
15430# char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
15431# 5 = clear all char tabs, 6 = clear all line tabs.
15432#
15433# (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
15434# HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
15435# Position Absolute" but retains the HVP abbreviation.
15436#
15437# (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
15438# abbreviation.
15439#
15440# (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
15441# later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
15442# DSR, 6 = request CPR response.
15443#
15444# (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
15445# 1 = clear from beginning, 2 = clear.
15446#
15447# (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
15448#
15449# (L) The GSM parameters are vertical and horizontal parameters to scale by.
15450#
15451# (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
15452# use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
15453# Position Relative" but retains the HPR abbreviation.
15454#
15455# (N) ECMA-48 calls this "Character Tabulation" but retains the HT
15456# abbreviation.
15457#
15458# (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
15459# 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
15460# 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
15461# 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
15462# 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
15463# 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
15464# 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
15465# fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
15466# fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
15467# 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
15468# 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
15469# default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
15470# overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
15471# 61-65 = variable highlights for ideograms.
15472#
15473# (P) SI is also called LSO, Locking Shift Zero.
15474#
15475# (Q) SI is also called LS1, Locking Shift One.
15476#
15477# (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
15478# use CUD for this function and ignore VPR.  ECMA calls it `Line Position
15479# Absolute' but retains the VPA abbreviation.
15480#
15481# (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
15482# primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
15483# from secondary aux device, 4 = stop relay to primary aux device, 5 =
15484# start relay to primary aux device, 6 = stop relay to secondary aux device,
15485# 7 = start relay to secondary aux device.
15486#
15487# (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
15488# abbreviation.
15489#
15490# (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
15491# abbreviation.
15492#
15493# (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
15494#
15495# (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM),
15496# 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
15497# 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
15498# 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
15499# Support Mode (BDSM), 9 = Device Component Select Mode (DCSM),
15500# 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
15501# 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM),
15502# 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
15503# Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
15504# Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
15505# New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
15506# Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
15507# from ECMA-48's 5th edition but are listed here for reference.
15508#
15509# (X) Select Alternate Presentation Variants is used only for non-Latin
15510# alphabets.
15511#
15512# (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
15513#
15514# (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
15515# abbreviation.
15516#
15517# ---------------------------------------------------------------------------
15518#
15519# Abbreviations:
15520#
15521# Intro  an Introducer of some kind of defined sequence; the normal 7-bit
15522#        X3.64 Control Sequence Introducer is the two characters "Escape ["
15523#
15524# Delim  a Delimiter
15525#
15526# x/y    identifies a character by position in the ASCII table (column/row)
15527#
15528# eF     editor function (see explanation)
15529#
15530# FE     format effector (see explanation)
15531#
15532# F      is a Final character in
15533#             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
15534#             a control sequence (F from 4/0 to 7/14)
15535#
15536# Gs     is a graphic character appearing in strings (Gs ranges from
15537#        2/0 to 7/14) in the ASCII table
15538#
15539# Ce     is a control represented as a single bit combination in the C1 set
15540#        of controls in an 8-bit character set
15541#
15542# C0     the familiar set of 7-bit ASCII control characters
15543#
15544# C1     roughly, the set of control chars available only in 8-bit systems.
15545#        This is too complicated to explain fully here, so read Jim Fleming's
15546#        article in the February 1983 BYTE, especially pages 214 through 224.
15547#
15548# Fe     is a Final character of a 2-character Escape sequence that has an
15549#        equivalent representation in an 8-bit environment as a Ce-type
15550#        (Fe ranges from 4/0 to 5/15)
15551#
15552# Fs     is a Final character of a 2-character Escape sequence that is
15553#        standardized internationally with identical representation in 7-bit
15554#        and 8-bit environments and is independent of the currently
15555#        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
15556#
15557# I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
15558#        ASCII table
15559#
15560# P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
15561#        table
15562#
15563# Pn     is a numeric parameter in a control sequence, a string of zero or
15564#        more characters ranging from 3/0 to 3/9 in the ASCII table
15565#
15566# Ps     is a variable number of selective parameters in a control sequence
15567#        with each selective parameter separated from the other by the code
15568#        3/11 (which usually represents a semicolon); Ps ranges from
15569#        3/0 to 3/9 and includes 3/11
15570#
15571# *      Not relevant to terminal control, listed for completeness only.
15572#
15573# Format Effectors versus Editor Functions
15574#
15575# A format effector specifies how following output is to be displayed.
15576# An editor function allows you to modify the display.  Informally
15577# format effectors may be destructive; format effectors should not be.
15578#
15579# For instance, a format effector that moves the "active position" (the
15580# cursor or equivalent) one space to the left would be useful when you want to
15581# create an overstrike, a compound character made of two standard characters
15582# overlaid. Control-H, the Backspace character, is actually supposed to be a
15583# format effector, so you can do this. But many systems use it in a
15584# nonstandard fashion, as an editor function, deleting the character to the
15585# left of the cursor and moving the cursor left. When Control-H is assumed to
15586# be an editor function, you cannot predict whether its use will create an
15587# overstrike unless you also know whether the output device is in an "insert
15588# mode" or an "overwrite mode". When Control-H is used as a format effector,
15589# its effect can always be predicted. The familiar characters carriage
15590# return, linefeed, formfeed, etc., are defined as format effectors.
15591#
15592# NOTES ON THE DEC VT100 IMPLEMENTATION
15593#
15594# Control sequences implemented in the VT100 are as follows:
15595#
15596#      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
15597#      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
15598#
15599# plus several private DEC commands.
15600#
15601# Erasing parts of the display (EL and ED) in the VT100 is performed thus:
15602#
15603#      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
15604#      Erase from beginning of line to cursor     Esc [ 1 K
15605#      Erase line containing cursor               Esc [ 2 K
15606#      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
15607#      Erase from beginning of screen to cursor   Esc [ 1 J
15608#      Erase entire screen                        Esc [ 2 J
15609#
15610# Some brain-damaged terminal/emulators respond to Esc [ J as if it were
15611# Esc [ 2 J, but this is wrong; the default is 0.
15612#
15613# The VT100 responds to receiving the DA (Device Attributes) control
15614#
15615#      Esc [ c    (or Esc [ 0 c)
15616#
15617# by transmitting the sequence
15618#
15619#      Esc [ ? l ; Ps c
15620#
15621# where Ps is a character that describes installed options.
15622#
15623# The VT100's cursor location can be read with the DSR (Device Status
15624# Report) control
15625#
15626#      Esc [ 6 n
15627#
15628# The VT100 reports by transmitting the CPR sequence
15629#
15630#      Esc [ Pl ; Pc R
15631#
15632# where Pl is the line number and Pc is the column number (in decimal).
15633#
15634# The specification for the DEC VT100 is document EK-VT100-UG-003.
15635
15636#### ANSI.SYS
15637#
15638# Here is a description of the color and attribute controls supported in the
15639# the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
15640# terminal emulators for Intel boxes obey these.  They are a proper subset
15641# of the ECMA-48 escapes.
15642#
15643# 0	all attributes off
15644# 1	foreground bright
15645# 4	underscore on
15646# 5	blink on/background bright (not reliable with brown)
15647# 7	reverse-video
15648# 8	set blank (non-display)
15649# 10	set primary font
15650# 11	set first alternate font (on PCs, display ROM characters 1-31)
15651# 12	set second alternate font (on PCs, display IBM high-half chars)
15652#
15653#			Color attribute sets
15654# 3n	set foreground color       / 0=black, 1=red,     2=green, 3=brown,
15655# 4n	set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
15656# Bright black becomes gray.  Bright brown becomes yellow,
15657# These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
15658#
15659# * If the 5 attribute is on and you set a background color (40-47) it is
15660#   supposed to enable bright background.
15661#
15662# * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
15663#   when you try to set a "bright brown" (yellow) background with attribute
15664#   5 (you get a blinking yellow foreground instead).  A few displays
15665#   (including the System V console) support an attribute 6 that undoes this
15666#   braindamage (this is required by iBCS2).
15667#
15668# * Some older versions of ANSI.SYS have a bug that causes thems to require
15669#   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
15670#   compatible.)
15671
15672#### Intel Binary Compatibility Standard
15673#
15674# For comparison, here are the capabilities implied by the Intel Binary
15675# Compatibility Standard for UNIX systems (Intel order number 468366-001).
15676# These recommendations are optional.  IBCS2 allows the leading escape to
15677# be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
15678# the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
15679# (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
15680# terminfo entry are followed with the corresponding capability in parens:
15681#
15682#	CSI <n>k		disable (n=0) or enable (n=1) keyclick
15683#	CSI 2h   		lock keyboard
15684#	CSI 2i  		send screen as input
15685#	CSI 2l  		unlock keyboard
15686#	CSI 6m  		enable background color intensity
15687#	CSI <0-2>c		reserved
15688#	CSI <0-59>m		select graphic rendition
15689#	CSI <n>;<m>H	(cup)	cursor to line n and column m
15690#	CSI <n>;<m>f		cursor to line n and column m
15691#	CSI <n>@	(ich)	insert characters
15692#	CSI <n>A	(cuu)	cursor up n lines
15693#	CSI <n>B	(cud)	cursor down n lines
15694#	CSI <n>C	(cuu)	cursor right n characters
15695#	CSI <n>D	(cud)	cursor left n characters
15696#	CSI <n>E		cursor down n lines and in first column
15697#	CSI <n>F		cursor up n lines and in first column
15698#	CSI <n>G	(hpa)	position cursor at column n-1
15699#	CSI <n>J	(ed)	erase in display
15700#	CSI <n>K	(el)	erase in line
15701#	CSI <n>L	(il)	insert line(s)
15702#	CSI <n>P	(dch)	delete characters
15703#	CSI <n>S	(indn)	scroll up n lines
15704#	CSI <n>T	(rin)	scroll down n lines
15705#	CSI <n>X	(ech)	erase characters
15706#	CSI <n>Z	(cbt)	back up n tab stops
15707#	CSI <n>`		cursor to column n on line
15708#	CSI <n>a	(cuu)	cursor right n characters
15709#	CSI <n>d	(vpa)	cursor to line n
15710#	CSI <n>e		cursor down n lines and in first column
15711#	CSI <n>g	(cbt)	clear all tabs
15712#	CSI <n>z		make virtual terminal n active
15713#	CSI ?7h 	(smam)	turn automargin on
15714#	CSI ?7l 	(rmam)	turn automargin off
15715#	CSI s     		save cursor position
15716#	CSI u   		restore cursor position to saved value
15717#	CSI =<c>A		set overscan color
15718#	CSI =<c>F		set normal foreground color
15719#	CSI =<c>G		set normal background color
15720#	CSI =<c>H		set reverse foreground color
15721#	CSI =<c>I		set reverse foreground color
15722#	CSI =<c>J		set graphic foreground color
15723#	CSI =<c>K		set graphic foreground color
15724#	CSI =<n>g	(dispc) display n from alternate graphics character set
15725#	CSI =<p>;<d>B		set bell parameters
15726#	CSI =<s>;<e>C		set cursor parameters
15727#	CSI =<x>D		enable/disable intensity of background color
15728#	CSI =<x>E		set/clear blink vs. bold background
15729#	CSI 7     	(sc)	(sc) save cursor position
15730#	CSI 8   	(rc)	(rc) restore cursor position to saved value
15731#	CSI H		(hts)	(hts) set tab stop
15732#	CSI Q<n><string>	define function key string
15733#				(string must begin and end with delimiter char)
15734#	CSI c   	(clear) clear screen
15735#
15736# The lack of any specification for attributes in SGR (among other things)
15737# makes this a wretchedly weak standard. The table above is literally
15738# everything iBSC2 has to say about terminal escape sequences; there is
15739# no further discussion of their meaning or how to set the parameters
15740# in these sequences at all.
15741#
15742
15743######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
15744#
15745# The historical termcap file entries were written primarily in 4.4BSD termcap.
15746# The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
15747# with the extension names chosen for compatibility with the termcap names
15748# assigned in System V terminfo.  There are some variant extension sets out
15749# there.  We try to describe them here.
15750#
15751# XENIX extensions:
15752#
15753# The XENIX extensions include a set of function-key capabilities as follows:
15754#
15755#       code	XENIX variable name	terminfo name	name clashes?
15756#	----	-------------------	-------------	-----------------------
15757#	CL	key_char_left
15758#	CR	key_char_right
15759#	CW	key_change_window			create_window
15760#	EN	key_end          	kend
15761#	HM	key_home		khome
15762#	HP	??
15763#	LD	key_delete_line  	kdl1
15764#	LF	key_linefeed     			label_off
15765#	NU	key_next_unlocked_cell
15766#	PD	key_page_down   	knp
15767#	PL	??
15768#	PN	start_print		mc5
15769#	PR	??
15770#	PS	stop_print		mc4
15771#	PU	key_page_up     	kpp		pulse
15772#	RC	key_recalc				remove_clock
15773#	RF	key_toggle_ref				req_for_input
15774#	RT	key_return      	kent
15775#	UP	key_up_arrow           	kcuu1   	parm_up_cursor
15776#	WL	key_word_left
15777#	WR	key_word_right
15778#
15779# The XENIX extensions also include the following character-set and highlight
15780# capabilities:
15781#
15782#	XENIX	terminfo	function
15783#	-----	--------	------------------------------
15784#	GS	smacs		start alternate character set
15785#	GE	rmacs		end alternate character set
15786#	GG			:as:/:ae: glitch (analogous to :sg:/:ug:)
15787#	bo	blink		begin blink (not used in /etc/termcap)
15788#	be			end blink (not used in /etc/termcap)
15789#	bb			blink glitch  (not used in /etc/termcap)
15790#	it	dim		begin dim (not used in /etc/termcap)
15791#	ie			end dim (not used in /etc/termcap)
15792#	ig			dim glitch  (not used in /etc/termcap)
15793#
15794# Finally, XENIX also used the following forms-drawing capabilities:
15795#
15796#	single	double  type             ASCII approximation
15797#	------	------	-------------    -------------------
15798#	GV	Gv	vertical line             |
15799#	GH	Gv	horizontal line       -   _
15800#	G1	G5	top right corner       _   |
15801#	G2	G6	top left corner       |
15802#	G3	G7	bottom left corner         |_
15803#	G4	G8	bottom right corner   _|
15804#	GD	Gd	down-tick character        T
15805#	GL	Gl	left-tick character   -|
15806#	GR	Gr	right-tick character       |-
15807#	GC	Gc	middle intersection   -|-
15808#	GU	Gu	up-tick character          _|_
15809#
15810# These were invented to take advantage of the IBM PC ROM character set.  One
15811# can compose an acsc string from the single-width characters as follows
15812#	"j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
15813# When translating a termcap file, ncurses tic will do this automatically.
15814# The double forms characters don't fit the SVr4 terminfo model.
15815#
15816# AT&T Extensions:
15817#
15818# The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
15819# nonstandard capabilities.  Its signature is the KM capability, used to name
15820# some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
15821# set.  Comments in the original, and a little cross-checking with other AT&T
15822# documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
15823# (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
15824# FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
15825# cursor invisible), and CV=:ve: (make cursor normal).
15826#
15827# HP Extensions
15828#
15829# The HP library (as of mid-1995, their term.h file version 70.1) appears to
15830# have the System V capabilities up to SVr1 level.  After that, it supports
15831# two nonstandard caps meml and memu corresponding to the old termcap :ml:,
15832# :mu: capabilities.  After that, it supports caps plab_norm, label_on,
15833# label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
15834# HP binary format incompatible with SVr4's.
15835#
15836# IBM Extensions
15837#
15838# There is a set of nonstandard terminfos used by IBM's AIX operating system.
15839# The AIX terminfo library diverged from SVr1 terminfo, and replaces all
15840# capabilities following prtr_non with the following special capabilties:
15841# box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
15842# kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
15843# ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
15844# rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
15845# kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
15846# renamed (to kcbt and kslt).  The places in the box[12] capabilities
15847# correspond to acsc chars, here is the mapping:
15848#
15849#	box1[0]  = ACS_ULCORNER
15850#	box1[1]  = ACS_HLINE
15851#	box1[2]  = ACS_URCORNER
15852#	box1[3]  = ACS_VLINE
15853#	box1[4]  = ACS_LRCORNER
15854#	box1[5]  = ACS_LLCORNER
15855#	box1[6]  = ACS_TTEE
15856#	box1[7]  = ACS_RTEE
15857#	box1[8]  = ACS_BTEE
15858#	box1[9]  = ACS_LTEE
15859#	box1[10] = ACS_PLUS
15860#
15861# The box2 characters are the double-line versions of these forms graphics.
15862# The AIX binary terminfo format is incompatible with SVr4's.
15863#
15864# Iris console extensions:
15865#
15866# HS is half-intensity start; HE is half-intensity end
15867# CT is color terminal type (for Curses & rogue)
15868# CP is color change escape sequence
15869# CZ are color names (for Curses & rogue)
15870#
15871# The ncurses tic utility recognizes HS as an alias for mh <dim>.
15872#
15873# TC Extensions:
15874#
15875# There is a set of extended termcaps associated with something
15876# called the "Terminal Control" or TC package created by MainStream Systems,
15877# Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
15878# CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
15879# that flags color terminals.
15880#
15881######## CHANGE HISTORY
15882#
15883# The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
15884# Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
15885# project.
15886#
15887# This file contains all the capability information present in John Kunze's
15888# last version of the termcap master file, except as noted in the change
15889# comments at end of file.  Some information about very ancient obsolete
15890# capabilities has been moved to comments.  Some all-numeric names of older
15891# terminals have been retired.
15892#
15893# I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
15894# capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
15895# used by BSD curses.
15896#
15897# The 9.1.0 version of this file was translated from my lightly-edited copy of
15898# 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
15899# the purpose.  Unless the ncurses tic implementation and the Lisp code were
15900# making perfectly synchronized mistakes which I then failed to catch by
15901# eyeball, the translation was correct and perfectly information-preserving.
15902#
15903# Major version number bumps correspond to major version changes in ncurses.
15904#
15905# Here is a log of the changes since then:
15906#
15907# 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
15908#	* First terminfo master translated from 8.3.
15909# 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
15910#	* Replaced Wyse entries with updated entries supplied by vendor.
15911#
15912# 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
15913#	* Added contact & status info from G. Clark Brown <clark@sssi.com>.
15914# 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
15915#	* Better XENIX keycap translation.  Describe TC termcaps.
15916#	* Contact and history info supplied by Qume.
15917# 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
15918#	* Raided the Shuford FTP site for recent termcaps/terminfos.
15919#	* Added information on X3.64 and VT100 standard escape sequences.
15920# 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
15921#	* Added a correct X11R6 xterm entry.
15922#	* Fixed terminfo translations of padding.
15923# 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
15924#	* Added correct acsc/smacs/rmacs strings for vt100 and xterm.
15925#	* Added u6/u7/u8/u9 capabilities.
15926#	* Added PCVT entry.
15927# 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
15928#	* Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
15929#	  to use reverse-video standout so Emacs will look right.
15930#	* Added el1 capability to ansi.
15931#	* Added smacs/rmacs to ansi.sys.
15932#
15933# 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
15934#	* New mt70 entry.
15935#	* Added COPYRIGHTS AND OTHER DELUSIONS.
15936#	* Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
15937#	  smartvid & smarterm, ampex 175 & 219 & 232,
15938#	  env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
15939#	  ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
15940#	  screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
15941#	  adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
15942#	* Replaced the Perkin-Elmer entries with vendor's official ones.
15943#	* Restored the old minimal-ansi entry, luna needs it.
15944#	* Fixed some incorrect ip and proportional-padding translations.
15945# 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
15946#	* Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
15947#	* Make the xterm entry 65 lines again; create xterm25 and xterm24
15948#	  to force a particular height.
15949#	* Added beehive4 and reorganized other Harris entries.
15950# 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
15951#	* Merged in DEC's official entries for its terminals.  The only old
15952#	  entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
15953#	* Replaced the translated BBN Bitgraph entries with purpose-built
15954#	  ones from AT&T's SVr3.
15955#	* Replaced the AT&T entries with AT&T's official terminfos.
15956#	* Added teleray 16, vc415, cops10.
15957#	* Merged in many individual capabilities from SCO terminfo files.
15958# 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
15959#	* Typo fixes.
15960#	* Change linux entry so A_PROTECT enables IBM-PC ROM characters.
15961# 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
15962#	* Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
15963#	  pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
15964#	  simterm, citoh and variants.
15965#	* Replaced sol entry with sol1 and sol2.
15966#	* Replaced Qume QVT and Freedom-series entries with purpose-built
15967#	  terminfo entries.
15968#	* Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
15969#	  and dg200 entries using caps from from SCO.
15970#	* Added the usual set of function-key mappings to ANSI entry.
15971#	* Corrected xterm's function-key capabilities.
15972# 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
15973#	* Fix in xterm entry, cub and cud are not reliable under X11R6.
15974# 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
15975#	* Fix in xterm entry, get the arrow keys right.
15976#	* Change some \0 escapes to \200.
15977# 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
15978#	* Added apple (Videx card), adm1a, oadm31.
15979#	* Fixed malformed ampex csr.
15980#	* Fixed act4, cyb110; they had old-style prefix padding left in.
15981#	* Changed mandatory to advisory padding in many entries.
15982#	* Replaced HP entries up to hpsub with purpose-built ones.
15983#	* Blank rmir/smir/rmdc/smdc capabilities removed.
15984#	* Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
15985# 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
15986#	* Replaced the Ann Arbor entries with SCO's, the init strings are
15987#	  more efficient (but the entries otherwise identical).
15988#	* Added dg211 from Shuford archive.
15989#	* Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
15990#	  adm42-nl, pc52, gs6300, xerox820, uts30.
15991#	* Pull SCO's padding into vi200 entry.
15992#	* Improved capabilities for tvi4107 and other Televideo and Viewpoint
15993#	  entries merged in from SCO's descriptions.
15994#	* Fixed old-style prefix padding on zen50, h1500.
15995#	* Moved old superbee entry to superbee-xsb, pulled in new superbee
15996#	  entry from SCO's description.
15997#	* Reorganized the special entries.
15998#	* Added lm#0 to cbunix and virtual entries.
15999#
16000# 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
16001#	* Restored cdc456tst.
16002#	* Fixed sb1 entry, SCO erroneously left out the xsb glitch.
16003#	* Added megatek, beacon, microkit.
16004#	* Freeze for ncurses-1.9 release.
16005# 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
16006#	* Added historical data for TAB.
16007#	* Comment fixes from David MacKenzie.
16008#	* Added the new BSDI pc3 entry.
16009# 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
16010#	* A change in the tic -C logic now ensures that all entries in
16011#	  the termcap translation will fit in < 1024 bytes.
16012#	* Added `bobcat' and `gator' HP consoles and the Nu machine entries
16013#	  from GNU termcap file.  This merges in all their local information.
16014# 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
16015#	* Changed tic -C logic to dump all capabilities used by GNU termcap.
16016#	* Added warnings about entries with long translations (restoring
16017#	  all the GNU termcaps pushes a few over the edge).
16018# 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
16019#	* Yet another tic change, and a couple of entry tweaks, to reduce the
16020#	  number of long (> 1024) termcap translations back to 0.
16021#
16022# 9.6.0 (Mon May  1 10:35:54 EDT 1995)
16023#	* Added kf13-kf20 to Linux entry.
16024#	* Regularize Prime terminal names.
16025#	* Historical data on Synertek.
16026#	* Freeze for ncurses-1.9.1.
16027# 9.6.1 (Sat May  6 02:00:52 EDT 1995):
16028#	* Added true xterm-color entry, renamed djm's pseudo-color entry.
16029#	* Eliminate whitespace in short name fields, this tanks some scripts.
16030#	* Name field changes to shorten some long entries.
16031#	* Termcap translation now automatically generates empty rmir/smir
16032#	  when ich1/ich is present (copes with an ancient vi bug).
16033#	* Added `screen' entries from FSF's screen-3.6.2.
16034#	* Added linux-nic and xterm-nic entries.
16035# 9.6.2 (Sat May  6 17:00:55 EDT 1995):
16036#	* Change linux entry to use smacs=\E[11m and have an explicit acsc,
16037#	  eliminating some special-case code in ncurses.
16038#
16039# 9.7.0 (Tue May  9 18:03:12 EDT 1995):
16040#	* Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
16041#	  that captures everything unique from it.
16042#	* Added reorder script generator.
16043#	* Freeze for ncurses 1.9.2 release.
16044# 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
16045#	* Added Sean Farley's kspd, flash, rs1 capabilities for linux.
16046#	* Added Olaf Siebert's corrections for adm12.
16047#	* ansi-pc-color now includes the colors and pairs caps, so that
16048#	  entries which use it will inherit them automatically.
16049#	* The linux entry can now recognize the center (keypad 5) key.
16050#	* Removed some junk that found its way into Linux acsc.
16051#
16052# 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
16053#	* Add 50% cut mark as a desperate hack to reduce tic's core usage.
16054#	* xterm doesn't try to use application keypad mode any more.
16055#	* Freeze for ncurses-1.9.3 release.
16056# 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
16057#	* Added corrected sun entry from vendor.
16058#	* Added csr capability to linux entry.
16059#	* Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
16060#	* Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
16061#	* Some commented-out caps in long entries come back in, my code
16062#	  for computing string-table lengths had a bug in it.
16063#	* pcansi series modified to fit comm-program reality better.
16064# 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
16065#	* BSD/OS actually ships the ibmpc3 bold entry as its console.
16066#	* Correct some bad aliases in the pcansi series
16067#	* Added entry for QNX console.
16068#	* Clean up duplicate long names for use with 4.4 library.
16069#	* Change vt100 standout to be normal reverse vide, not bright reverse;
16070#	  this makes the Emacs status line look better.
16071# 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
16072#	* Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
16073#	* Minor surgery, mostly on name strings, to shorten termcap version.
16074#
16075# 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
16076#	* Added dec-vt100 for use with the EWAN emulator.
16077#	* Added kmous to xterm for use with xterm's mouse-tracking facility.
16078#	* Freeze for 1.9.5 alpha release.
16079# 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
16080#	* Changed xterm lines to 24, the X11R6 default.
16081# 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
16082#	* Added 7 newly discovered, undocumented acsc characters to linux
16083#	  entry (the pryz{|} characters).
16084#	* ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
16085#	* Correct two typos in the xterm entries introduced in 9.9.1.
16086#	* I finally figured out how to translate ko capabilities.  Done.
16087#	* Added tvi921 entries from Tim Theisen.
16088#	* Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
16089#	* Removed mystery tec entry, it was neither interesting nor useful.
16090#	* shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
16091#	  vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
16092#	  trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
16093#	  by making them relative to use capabilities
16094#	* Added cuf1=^L to tvi925 from deleted variant tvi925a.
16095#	* fixed cup in adm22 entry and parametrized strings in vt320-k3.
16096#	* added it#8 to entries that used to have :pt: -- tvi912, vi200,
16097#	  ampex80,
16098#	* Translate all home=\E[;H capabilities to home=\E[H, they're
16099#	  equivalent.
16100#	* Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
16101#	  vt100 and ANSI-like terminals.
16102# 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
16103#	* Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
16104#	  does this now, too.
16105#	* fviewpoint is gone, it duplicated screwpoint.
16106#	* Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
16107#	  ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
16108#	  versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
16109#	  The UW vi50 replaces the old one, which becomes vi50adm,
16110#	* No more embedded commas in name fields.
16111#
16112# 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
16113#	* XENIX forms characters in fos, trs16, scoansi become acsc strings,
16114#	* Introduced klone+* entries for describing Intel-console behavior.
16115#	* Linux kbs is default-mapped to delete for some brain-dead reason.
16116#	* -nsl -> -ns.  The -pp syntax is obsolete.
16117#	* Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
16118#	* Make xterm entry do application-keypad mode again.  I got complaints
16119#	  that it was messing up someone's 3270 emulator.
16120#	* Added some longname fields in order to avoid warning messages from
16121#	  older tic implementations.
16122#	* According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
16123#	  it! (This gives us pi, greater than, less than, and a few more.)
16124#	* Freeze for ncurses-1.9.6 release.
16125# 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
16126#	* Add xon to a number of console entries, they're memory-mapped and
16127#	  don't need padding.
16128#	* Correct the use dependencies in the ansi series.
16129#	* Hand-translate more XENIX capabilities.
16130#	* Added hpterm entry for HP's X terminal emulator.
16131#	* Added aixterm entries.
16132#	* Shortened four names so everything fits in 14 chars.
16133#
16134# 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
16135#	* Added ibcs2 entry and info on iBCS2 standard.
16136#	* Corrected hpa/vpa in linux entry.  They still fail the worm test.
16137#	* We can handle the HP meml/memu capability now.
16138#	* Added smacs to klone entries, just as documentation.
16139#	* Carrected ansi.sys and cit-500 entries.
16140#	* Added z39, vt320-k311, v220c, and avatar entries.
16141#	* Make pcansi use the ansi.sys invis capability.
16142#	* Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
16143#	  tvi925, tvi950, dt80, ncr7900i, h19.
16144#	* X3.64 has been withdrawn, change some references.
16145#	* Removed function keys from ansi-m entry.
16146#	* Corrected ansi.sys entry.
16147#	* Freeze for ncurses-1.9.7 release.
16148# 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
16149#	* Added rmam/smam capabilities to many entries based on init strings.
16150#	* Added correct hpa/vpa to linux.
16151#	* Reduced several entries relative to vt52.
16152# 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
16153#	* Exiled some utterly unidentifiable custom and homebrew types to the
16154#	  UFO file; also, obsolete small-screen hardware; also, entries which
16155#	  look flat-out incorrect, garbled, or redundant.  These include the
16156#	  following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
16157#	  tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
16158#	  apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
16159#	  fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
16160#	  yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
16161#	  vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
16162#	  trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
16163#	  att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
16164#	  tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
16165#	  c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
16166#	  regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
16167#	  vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
16168#	  vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
16169#	* Corrected pcvt25h as suggested by Brian C. Grayson
16170#	  <bgrayson@pine.ece.utexas.edu>.
16171# 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
16172#	* Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
16173#	* Added kent=\EOM to xterm entry.
16174#
16175# 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
16176#	* Corrected gigi entry.
16177#	* Restored cuf/cud1 to xterm, their apparent bugginess was due to
16178#	  bad hpa/vpa capabilities.
16179#	* Corrected flash strings to have a uniform delay of .2 sec.  No
16180#	  more speed-dependent NUL-padding!
16181#	* terminfo capabilities in comments bracketed with <>.
16182# 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
16183#	* Replaced pcvt with the 3.31 pcvt entries.
16184#	* Freeze for 1.9.7a.
16185# 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
16186#	* Added emu entry from the X11R6 contrib tape sources.
16187#
16188# 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
16189#	* Improved iris-ansi and sun entries.
16190#	* More flash string improvements.
16191#	* Corrected wy160 & wy160 as suggested by Robert Dunn
16192#	* Added dim to at386.
16193#	* Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
16194#	  he's ready to start using the termcap generated from this one.
16195#	* Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
16196#	  ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
16197#	* Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
16198#	  att610, att620, att630,
16199#	* Changed hazeltine name prefix from h to hz.
16200#	* Sent t500 to the UFI file.
16201#	* I think we've sucked all the juice out of BSDI's termcap file now.
16202#	* Freeze for ncurses 1.9.8 release
16203# 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
16204#	* Unfreeze, linux kbs needed to be fixed.
16205#	* Tim Theisen pinned down a bug in the DMD firmware.
16206# 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
16207#	* Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
16208#	  (The broken ones had been shadowed by sgr.)
16209# 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
16210#	* Added documentation on ECMA-48 standard.
16211#	* New Amiga entry.
16212# 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
16213#	* More ECMA-48 stuff
16214#	* Corrected typo in minix entry, added pc-minix.
16215#	* Corrected khome/kend in xterm (thank you again, Aaron Ucko).
16216#	* Added rxvt entry.
16217#	* Added 1.3.x color-change capabilities to linux entry.
16218# 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
16219#	* Corrected rxvt entry khome/kend.
16220#	* Corrected linux color change capabilities.
16221#	* NeXT entries from Dave Wetzel.
16222#	* Cleaned up if and rf file names (all in /usr/share now).
16223#	* Changed linux op capability to avoid screwing up a background color
16224#	  pair set by setterm.
16225# 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
16226#	* Added xterm-sun.
16227# 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
16228#	* Added visa50.
16229#
16230# 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
16231#	* Another sweep through the Shuford archive looking for new info.
16232#	* Added dg100 alias to dg6053 based on a comp.terminals posting.
16233# 	* Added st52 from Per Persson.
16234#	* Added eterm from the GNU Emacs 19.30 distribution.
16235#	* Freeze for 1.9.9.
16236# 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
16237#	* FreeBSD console entries from Andrew Chernov.
16238#	* Removed duplicate Atari st52 name.
16239# 9.13.2 (Tue May  7 16:10:06 EDT 1996)
16240#	* xterm doesn't actually have ACS_BLOCK.
16241#	* Change klone+color setf/setb to simpler forms that can be
16242#	  translated into termcap.
16243#	* Added xterm1.
16244#	* Removed mechanically-generated junk capabilities from cons* entries.
16245#	* Added color support to bsdos.
16246# 9.13.3 (Thu May  9 10:35:51 EDT 1996):
16247#	* Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
16248#	* Created ecma+color, linux can use it.  Also added ech to linux.
16249#	* Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
16250#	* Add descriptions to FreeBSD console entries.  Also shorten
16251#	  some aliases to <= 14 chars for portability.
16252#	* Added x68k console
16253#	* Added OTbs to several VT-series entries.
16254# 9.13.4 (Wed May 22 10:54:09 EDT 1996):
16255#	* screen entry update for 3.7.1 from Michael Alan Dorfman.
16256# 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
16257#	* kterm correction due to Kenji Rikitake.
16258#	* ACS correction in vt320-kll due to Phillippe De Muyter.
16259# 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
16260#	* Sun console entry correction from J.T. Conklin.
16261#	* Changed all DEC VT300 and up terminals to use VT300 tab set
16262# 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
16263#	* Added smul to linux entry (we never noticed it was missing
16264#	  because of sgr!).
16265#	* Added rmln to hp+labels (deduced from other HP entries).
16266#	* Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
16267#	  pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
16268#	* Corrected vt220 acsc.
16269#	* The klone+sgr and klone+sgr-dumb entries now use klone+acs;
16270#	  this corresponds to reality and helps prevent some tic warnings.
16271#	* Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
16272#	  hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
16273#	  adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
16274#	  qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
16275#	  wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
16276#	  adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
16277#	  f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
16278#	  owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
16279#	  lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
16280#	  dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
16281#	  ifmr, v3220, wy100q, tandem653, ibmaed.
16282#	* Added DWK terminal description.
16283# 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
16284#	* Many entries now have highlights inherited from adm+sgr.
16285#	* xterm entry now corresponds to XFree86 3.1.2E, with color.
16286#	* xtitle and xtitle-twm enable access to the X status line.
16287#	* Added linux-1.3.6 color palette caps in conventional format.
16288#	* Added adm1178 terminal.
16289#	* Move fos and apollo terminals to obsolete category.
16290#	* Aha! The BRL terminals file told us what the Iris extensions mean.
16291#	* Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
16292#	  commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
16293#	  cit500, adm11.
16294# 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
16295#	* Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
16296#	  aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
16297#	* Corrected, from BRL termcap file: vi50.
16298#	* Better rxvt entry & corrected xterm entries from Thomas Dickey.
16299# 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
16300#	* Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
16301#	  att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
16302#	  (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
16303#	  tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
16304#	  apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
16305#	* Paired-attribute fixes to various terminals.
16306#	* Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
16307#	* xterm entry corrections from Thomas Dickey.
16308# 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
16309#	* Added t916 entry, translated from a termcap in SCO's support area.
16310#	* New qnx entry from Michael Hunter.
16311# 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
16312#	* Added hpex2 from Ville Sulko.
16313#	* Fixed a bug that ran the qnx and pcvtXX together.
16314# 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
16315#	* Added dtterm entry from Solaris CDE.
16316# 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
16317#	* corrected pairs#8 typo in dtterm entry.
16318#	* added tvi9065.
16319# 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
16320#	* updated xterm entry to cover 3.1.2E's new features.
16321# 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
16322#	* Added new minix entry
16323#	* Removed aliases of the form ^[0-9]* for obsolete terminals.
16324#	* Commented out linux-old, nobody's using pre-1.2 kernels now.
16325# 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
16326#	* Added Prism entries and kt7ix.
16327#	* Caution notes about EWAN and tabset files.
16328#	* Changed /usr/lib/tabset -> /usr/share/tabset.
16329#	* Added acsc/rmacs/smacs to vt52.
16330# 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
16331#	* Merged in Thomas Dickey's reorganization of the xterm entries;
16332#	  added technical corrections to avoid warning messages.
16333# 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
16334#	* Added rmso=\E[27m in Linux entry.
16335#	* Added koi8-r support for Linux console.
16336#	* Replace xterm entries with canonical ones from XFree86 3.2.
16337# 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
16338#	* Added color_xterm from Jacob Mandelson
16339# 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
16340#	* Back off the xterm entry to use r6 as a base.
16341# 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
16342#	* Added dec-vt220 at Adrian Garside's request.
16343# 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
16344#	* Replaced minitel-2 entry.
16345#	* Added MGR, ansi-nt.
16346#	* Minor corrections to xterm entries.
16347#	* Replaced EWAN telnet entry.
16348#	* Dropped the reorder script generator.  It was a fossil.
16349# 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
16350#	* Thorsten Lockert added termcap `bs' to a lot of types, working from
16351#	  the 4.4BSD Lite2 file.
16352# 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
16353#	* Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
16354#	* Updated iris-ansi; corrected vt102-w.
16355#	* Switch base xterm entry to 3.3 level.
16356# 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
16357#	* Added basic4.
16358#	* Removed rmir/smir from tv92B.
16359#
16360# 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
16361#	* add hds200 description (Walter Skorski)
16362#	* add beterm entry (Fred Fish)
16363#	* add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
16364#	  iris-color entries.
16365#	* add emx entries.
16366#	* Replaced unixpc entry with Benjamin Sittler's corrected version.
16367#	* Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
16368#	  versions.
16369#	* remove sgr string from qnx based on report by Xiaodan Tang
16370#	* Added u8/u9, removed rmul/smul from sun-il.
16371#	* 4.2 tic displays \0 rather than \200.
16372#	* add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
16373#	  apparently based on cp-866).
16374#	* Merged in Pavel Roskin's acsc for linux-koi8
16375#	* Corrected some erroneous \\\s to \.
16376#	* 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
16377#	* II -> ii in pcvtXX, screen, xterm.
16378#	* Removed \n chars following ANSI escapes in sgr & friends.
16379#	* Updated Wyse entries.
16380#	* h19 corrections from Tim Pierce.
16381#	* Noted that the dm2500 has both ich and smir.
16382#	* added pccons for the Alpha under OSF/1.
16383#	* Added Sony NEWS workstation entries and cit101e-rv.
16384#	* Reverted `amiga'; to Kent Polk's version, as I'm told
16385#	  the Verkuil entry messes up with Amiga Telnet.
16386# 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
16387#	* Corrected attributions in 10.2.0 release notes.
16388#	* Scanned the Shuford archive for new terminfos and information.
16389#	* Removed sgr from qnx entry (Thomas Dickey).
16390#	* Added entries for ICL and Kokusai Data Systems terminals.
16391#	* Incorporated NCR terminfos from the Boundless Technology FTP site.
16392#	* Incorporated att700 from the Boundless Technology FTP site.
16393#	* Miscellaneous contact-address and Web-page updates.
16394# 10.2.2 (Thu May  7 12:18:04 EDT 1998):
16395#	* Moved Altos to OBSOLETE UNIX CONSOLES
16396#	* Moved Hewlett-Packard terminals to OLDER TERMINAL TYPES, except for
16397#	  the 700s which go to WORKSTATION CONSOLES.
16398#	* Major reorganization of ANSI/console/VT types.  Moved vt52 to the
16399#	  obsolete section.
16400#	* Daisy-wheel printers moved to UFO file.
16401# 10.2.3 (Tue May 12 22:59:11 EDT 1998):
16402#	* Commented out hds200 is2 to avoid overflowing terminfo length limit.
16403#	* Restored OT capabilities to UFO file.
16404#	* add nxterm and xterm-color terminfo description (request by Cristian
16405#	  Gafton <gafton@redhat.com>).
16406#	* Modify rxvt terminfo description to clear alternate screen before
16407#	  switching back to normal screen, for compatibility with applications
16408#	  which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
16409#	* Modify linux terminfo description to reset color palette (reported
16410#	  by Telford Tendys <telford@eng.uts.edu.au>).
16411# 10.2.4 (Thu Jul  2 18:13:26 EDT 1998):
16412#	* Added minitel1 entries from Alexander Montaron.
16413#	* Added qnxt2 from Federico Bianchi.
16414# 10.2.5: (Mon Aug 24 07:32:34 EDT 1998):
16415#	* Resolve NetBSD Problem Report #4583 by adding civis/cnorm to pcvtXX.
16416#	* dtterm enacs correction from Alexander V. Lukyanov.
16417#	* Added ncsa-telnet, resolving Debian bug report 25341.
16418#	* Added Francesco Potorti's tuned Wyse 99 entries.
16419# 10.2.6: (Mon Dec 21 00:49:43 EST 1998):
16420#	* Home site has changed.
16421# 10.2.7: (Wed Mar  3 15:53:04 EST 1999):
16422#	* Documentation fixes, mainly from David J. Mackenzie.
16423#
16424# 11.0.0: (Wed Mar  1 22:02:03 EST 2000)
16425#	* BSD/OS console fixes from Jeffrey Honig at BSDI.
16426#       ** TD's branch changes up to his 1999/10/23 version begin here
16427#	* Added arm100 terminfo entries from Dave Millen.
16428#	* Added Data General entries from Hasufin.
16429#	* NCSA telnet entry from Francesco Potorti as modified by TD.
16430#	* Added teraterm, crt, ms-vt100, mach, mach-bold, linux-lat,
16431#	  ofcons, wsvt25, wsvt25m, rcons, rcons-color, cygwin, amiga-8bit,
16432#	  ibm3161-C, ibm3162.
16433#	* Updated xterm entries, BSD/OS entries, AIX entries.
16434#	* Updated linux, iris-ansi, screen, beterm entries.
16435#	* Added full function keys for scoansi.
16436#	* Typo fixes for icl6404, osborne, eterm. att6386
16437#	* Corrected hp70092 acsc.
16438#	* Added ibmpc from AIX 3.2.5; ibm-pc is no longer a synonym.
16439#	* Added ibm5151 from AIX 3.2.5; ibmmono is no longer a synonym.
16440#	* Added ibm5154 from AIX 3.2.5; ibmega is no longer a synonym.
16441#	* Merged acsc, s0ds, s1ds, sgr0 into ibm5081 from AIX 3.2.5.
16442#	* Merged kend, knp, kpp, mc4, mc5 into ibm3161 in from AIX 3.2.5.
16443#	* Merged acsc into hft-c from AIX 3.2.5.
16444#	* Updated ibm3151 from AIX 3.2.5.
16445#	* Errors in TD's branch not accepted: ibm3101, ibm3151, ibm8514
16446#	* Merged msgr,colors,pairs,setb,setf into ibm3164 from AIX 3.2.5.
16447#	** TD's branch changes end here
16448#	* Address updates from various contributors.
16449#	* Historical info on basis console.
16450#	* Ty Sarna's corrections to the amiga entry.
16451#	* Add Kevin Turner's entry for the Wyse 85 in 8-bit mode.
16452#	* Added 22 Bull-Questar terminal variants from AIX 4.1.5
16453#	* Added OSF/1 console and lft from AIX 4.1.5.
16454#	* Move vt2220 to vt220-old, vt220-8 to vt220, introduce vt220-8bit
16455#	  from AIX 4.1.5.
16456#	* swtp moved to UFO file (only 20 lines).
16457#	* Added pcmw.
16458# 11.0.1: (Thu Mar  2 10:49:21 EST 2000):
16459#	* Disabled hpa, vpa, in rxvt.
16460#	* Incorporated ansi components and generic-ansi.
16461#
16462# The following sets edit modes for GNU EMACS.
16463# Local Variables:
16464# fill-prefix:"\t"
16465# fill-column:75
16466# comment-column:0
16467# comment-start-skip:"^#+"
16468# comment-start:"# "
16469# compile-command:"tic -c termtypes.master"
16470# End:
16471######## SHANTIH!  SHANTIH!  SHANTIH!
16472