terminfo.src revision 56639
183098Smp######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
259243Sobrien#
359243Sobrien# This version of terminfo.src is distributed with ncurses.
459243Sobrien#
559243Sobrien#	Version 10.2.1
659243Sobrien#	$Date: 1999/10/24 00:28:48 $
759243Sobrien#	terminfo syntax
859243Sobrien#
959243Sobrien#	Eric S. Raymond		(current maintainer)
1059243Sobrien#	John Kunze, Berkeley
1159243Sobrien#	Craig Leres, Berkeley
1259243Sobrien#
1359243Sobrien# Please e-mail changes to terminfo@ccil.org; the old termcap@berkeley.edu
1459243Sobrien# address is no longer valid.  The latest version can always be found at
1559243Sobrien# <http://earthspace.net/terminfo>.
1659243Sobrien#
1759243Sobrien# PURPOSE OF THIS FILE:
1859243Sobrien#
1959243Sobrien# This file describes the capabilities of various character-cell terminals,
2059243Sobrien# as needed by software such as screen-oriented editors.
2159243Sobrien#
2259243Sobrien# Other terminfo and termcap files exist, supported by various OS vendors
2359243Sobrien# or as relics of various older versions of UNIX.  This one is the longest
2459243Sobrien# and most comprehensive one in existence.  It subsumes not only the entirety
2559243Sobrien# of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
2659243Sobrien# termcap file, but also large numbers of vendor-maintained termcap and
2759243Sobrien# terminfo entries more complete and carefully tested than those in historical
2859243Sobrien# termcap/terminfo versions.
2959243Sobrien#
3059243Sobrien# Pointers to related resources (including the ncurses distribution) may
3159243Sobrien# be found at <http://earthspace.net/terminfo>.
3259243Sobrien#
3359243Sobrien# INTERNATIONALIZATION:
3459243Sobrien#
3559243Sobrien# This file uses only the US-ASCII character set (no ISO8859 characters).
3659243Sobrien#
3759243Sobrien# This file assumes a US-ASCII character set. If you need to fix this, start
3859243Sobrien# by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
3959243Sobrien# for your character set.  \E(A and \E)A enables the British character set
4059243Sobrien# with the pound sign at position 2/3.  
4159243Sobrien#
4259243Sobrien# In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
4359243Sobrien# C1 characters are considered the first-byte set of the Japanese encodings,
4459243Sobrien# so \E)0 should be avoided in <enacs> and initialization strings.
4559243Sobrien#
4659243Sobrien# FILE FORMAT:
4759243Sobrien#
4859243Sobrien# The version you are looking at may be in any of three formats: master
4959243Sobrien# (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
5059243Sobrien# which by the format given in the header above.
5159243Sobrien#
5259243Sobrien# The master format is accepted and generated by the terminfo tools in the
5359243Sobrien# ncurses suite; it differs from stock (System V-compatible) terminfo only
5459243Sobrien# in that it admits a group of capabilities (prefixed `OT') equivalent to
5559243Sobrien# various obsolete termcap capabilities.  You can, thus, convert from master
5659243Sobrien# to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
5759243Sobrien# you have ncurses `tic -I' is nicer (among other things, it automatically
5859243Sobrien# outputs entries in a canonical form).
5959243Sobrien#
6059243Sobrien# The termcap version is generated automatically from the master version
6159243Sobrien# using tic -C.  This filtering leaves in the OT capabilities under their
6259243Sobrien# original termcap names.  All translated entries fit within the 1023-byte
6359243Sobrien# string-table limit of archaic termcap libraries except where explicitly
6459243Sobrien# noted below.  Note that the termcap translation assumes that your termcap
6559243Sobrien# library can handle multiple tc capabilities in an entry. 4.4BSD has this
6659243Sobrien# capability.  Older versions of GNU termcap, through 1.3, do not. 
6759243Sobrien#
6859243Sobrien# For details on these formats, see terminfo(5) in the ncurses distribution,
6959243Sobrien# and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
7059243Sobrien# curses has been declared obsolete by the caretakers of the 4.4BSD sources
7159243Sobrien# as of June 1995; they are encouraging everyone to migrate to ncurses.
7259243Sobrien#
7359243Sobrien# Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
7459243Sobrien# no entry in this file has embedded comments.  This is so source translation
7559243Sobrien# to termcap only has to carry over leading comments.  Also, no name field
7659243Sobrien# contains embedded whitespace (such whitespace confuses rdist).
7759243Sobrien#
7859243Sobrien# Further note: older versions of this file were often installed with an editor
7959243Sobrien# script (reorder) that moved the most common terminal types to the front of
8059243Sobrien# the file.  This should no longer be necessary, as the file is now ordered
8159243Sobrien# roughly by type frequency with ANSI/VT100 and other common types up front.
8259243Sobrien#
8359243Sobrien# Some information has been merged in from terminfo files distributed by
8459243Sobrien# USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
8559243Sobrien# comes from vendors who maintain official terminfos for their hardware
8659243Sobrien# (notably DEC and Wyse).
8759243Sobrien#
8859243Sobrien# A detailed change history is included at the end of this file.
8959243Sobrien#
9059243Sobrien# FILE ORGANIZATION:
9159243Sobrien#
9259243Sobrien# Comments in this file begin with # - they cannot appear in the middle
9359243Sobrien# of a terminfo/termcap entry (this feature had to be sacrificed in order
9459243Sobrien# to allow standard terminfo and termcap syntax to be generated cleanly from
9559243Sobrien# the master format).  Individual capabilities are commented out by
9659243Sobrien# placing a period between the colon and the capability name.
9759243Sobrien#
9859243Sobrien# The file is divided up into major sections (headed by lines beginning with 
9959243Sobrien# the string "########") and minor sections (beginning with "####"); do
10059243Sobrien#
10159243Sobrien#	grep "^####" <file> | more
10259243Sobrien#
10359243Sobrien# to see a listing of section headings.  The intent of the divisions is
10459243Sobrien# (a) to make it easier to find things, and (b) to order the database so
10559243Sobrien# that important and frequently-encountered terminal types are near the
10659243Sobrien# front (so that you'll get reasonable search efficiency from a linear
10759243Sobrien# search of the termcap form even if you don't use reorder).  Minor sections
10859243Sobrien# usually correspond to manufacturers or standard terminal classes. 
10959243Sobrien# Parenthesized words following manufacturer names are type prefixes or
11059243Sobrien# product line names used by that manufacturers.
11159243Sobrien#
11259243Sobrien# HOW TO READ THE ENTRIES:
11359243Sobrien#
11459243Sobrien# The first name in an entry is the canonical name for the model or
11559243Sobrien# type, last entry is a verbose description.  Others are mnemonic synonyms for
11659243Sobrien# the terminal.
11759243Sobrien#
11883098Smp# Terminal names look like <manufacturer> <model> - <modes/options>
11983098Smp# The part to the left of the dash, if a dash is present, describes the
12083098Smp# particular hardware of the terminal.  The part to the right may be used
12183098Smp# for flags indicating special ROMs, extra memory, particular terminal modes,
12283098Smp# or user preferences.
12383098Smp#
12483098Smp# All names should be in lower case, for consistency in typing.
125#
126# The following are conventionally used suffixes:
127#	-2p	Has two pages of memory.  Likewise 4p, 8p, etc.
128#	-am	Enable auto-margin.
129#	-m	Monochrome.  Suppress color support
130#	-mc	Magic-cookie.  Some terminals (notably older Wyses) can
131#		only support one attribute without magic-cookie lossage.
132#		Their base entry is usually paired with another that
133#		uses magic cookies to support multiple attributes.
134#	-nam	No auto-margin - suppress <am> capability
135#	-nl	No labels - suppress soft labels
136#	-ns	No status line - suppress status line
137#	-rv	Terminal in reverse video mode (black on white)
138#	-s	Enable status line.
139#	-vb	Use visible bell (<flash>) rather than <bel>.
140#	-w	Wide - in 132 column mode.
141# If a name has multiple suffixes and one is a line height, that one should 
142# go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.  
143# 
144# Entries with embedded plus signs are designed to be included through use/tc
145# capabilities, not used as standalone entries. 
146#
147# To avoid search clashes, some older all-numeric names for terminals have
148# been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
149# All primary names of terminals now have alphanumeric prefixes.
150#
151# Comments marked "esr" are mostly results of applying the termcap-compiler
152# code packaged with ncurses and contemplating the resulting error messages. 
153# In many cases, these indicated obvious fixes to syntax garbled by the
154# composers.  In a few cases, I was able to deduce corrected forms for garbled
155# capabilities by looking at context.  All the information in the original
156# entries is preserved in the comments.
157#
158# In the comments, terminfo capability names are bracketed with <> (angle
159# brackets).  Termcap capability names are bracketed with :: (colons).
160#
161# INTERPRETATION OF USER CAPABILITIES
162#
163# The System V Release 4 and XPG4 terminfo format defines ten string
164# capabilities for use by applications, <u0>...<u9>.   In this file, we use
165# certain of these capabilities to describe functions which are not covered
166# by terminfo.  The mapping is as follows:
167#
168#	u9	terminal enquire string (equiv. to ANSI/ECMA-48 DA)
169#	u8	terminal answerback description
170#	u7	cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
171#	u6	cursor position report (equiv. to ANSI/ECMA-48 CPR)
172#
173# The terminal enquire string <u9> should elicit an answerback response
174# from the terminal.  Common values for <u9> will be ^E (on older ASCII
175# terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
176#
177# The cursor position request (<u7>) string should elicit a cursor position
178# report.  A typical value (for VT100 terminals) is \E[6n.
179#
180# The terminal answerback description (u8) must consist of an expected
181# answerback string.  The string may contain the following scanf(3)-like
182# escapes:
183#
184#	%c	Accept any character
185#	%[...]	Accept any number of characters in the given set
186#
187# The cursor position report (<u6>) string must contain two scanf(3)-style 
188# %d format elements.  The first of these must correspond to the Y coordinate
189# and the second to the %d.  If the string contains the sequence %i, it is
190# taken as an instruction to decrement each value after reading it (this is
191# the inverse sense from the cup string).  The typical CPR value is
192# \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
193#
194# These capabilities are used by tac(1m), the terminfo action checker soon
195# to be distributed with ncurses.
196#
197# TABSET FILES
198#
199# All the entries in this file have been edited to assume that the tabset
200# files directory is /usr/share/tabset, in conformance with the File Hierarchy
201# Standard for Linux and open-source BSD systems.  Some vendors (notably Sun)
202# use /usr/lib/tabset or (more recently) /usr/share/lib/tabset.  
203#
204# No curses package we know of actually uses these files.  If their location
205# is an issue, you will have to hand-patch the file locations before compiling
206# this file.
207# 
208# REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
209#
210# As the ANSI/ECMA-48 standard and variants take firmer hold, and as
211# character-cell terminals are increasingly replaced by X displays, much of
212# this file is becoming a historical document (this is part of the reason for
213# the new organization, which puts ANSI types, xterm, free-Unix consoles,
214# and vt100 up front in confidence that this will catch 95% of new hardware).
215#
216# For the terminal types still alive, I'd like to have manufacturer's
217# contact data (Internet address and/or snail-mail + phone).
218#
219# I'm also interested in enriching the comments so that the latter portions of
220# the file do in fact become a potted history of VDT technology as seen by
221# UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
222# include its live/dead/out-of-the-business status, and for as many
223# terminal types as possible to be tagged with information like years
224# of heaviest use, popularity, and interesting features.
225#
226# I'm especially interested in identifying the obscure entries listed under
227# `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
228# wisdom about them gets lost.  If you know a lot about obscure old terminals,
229# please go to the terminfo resource page, grab the UFO file (ufo.ti), and 
230# eyeball it for things you can identify and describe. 
231#
232# If you have been around long enough to contribute, please read the file
233# with this in mind and send me your annotations.
234#
235# COPYRIGHTS AND OTHER DELUSIONS
236#
237# The BSD ancestor of this file had a standard Regents of the University of
238# California copyright with dates from 1980 to 1993.
239#
240# Some information has been merged in from a terminfo file SCO distributes.
241# It has an obnoxious boilerplate copyright which I'm ignoring because they 
242# took so much of the content from the ancestral BSD versions of this file
243# and didn't attribute it, thereby violating the BSD Regents' copyright.
244#
245# Not that anyone should care.  However many valid functions copyrights may
246# serve, putting one on a termcap/terminfo file with hundreds of anonymous
247# contributors makes about as much sense as copyrighting a wall-full of
248# graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
249#
250# This file deliberately has no copyright.  It belongs to no one and everyone.
251# If you claim you own it, you will merely succeed in looking like a fool. 
252# Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
253# There are no guarantees anywhere.  Svaha!
254#
255
256######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
257#
258# This section describes terminal classes and maker brands that are still
259# quite common.
260#
261
262#### Specials
263#
264# Special "terminals".  These are used to label tty lines when you don't
265# know what kind of terminal is on it.  The characteristics of an unknown
266# terminal are the lowest common denominator - they look about like a ti 700.
267#
268
269dumb|80-column dumb tty, 
270	am, 
271	cols#80, 
272	bel=^G, cr=^M, cud1=^J, ind=^J, 
273unknown|unknown terminal type, 
274	gn, use=dumb, 
275lpr|printer|line printer, 
276	hc, os, 
277	cols#132, lines#66, 
278	bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ind=^J, 
279glasstty|classic glass tty interpreting ASCII control characters, 
280	am, 
281	cols#80, 
282	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, 
283	kcub1=^H, kcud1=^J, nel=^M^J, 
284
285#### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
286#
287# See the end-of-file comment for more on these.
288#
289
290# The IBM PC alternate character set.  Plug this into any Intel console entry.
291# We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
292# ROM graphics for control characters such as the diamond, up- and down-arrow.
293# This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
294# will work with any Intel console, they all seem to have inherited \E[11m
295# from the ANSI.SYS de-facto standard.
296klone+acs|alternate character set for ansi.sys displays, 
297	acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
298	rmacs=\E[10m, smacs=\E[11m, 
299
300# Highlight controls corresponding to the ANSI.SYS standard.  Most 
301# console drivers for Intel boxes obey these.  Makes the same assumption
302# about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
303# <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
304klone+sgr|attribute control for ansi.sys displays, 
305	blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, 
306	rmpch=\E[10m, rmso=\E[m, rmul=\E[m, 
307	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
308	sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m, 
309	use=klone+acs, 
310
311# Highlight controls corresponding to the ANSI.SYS standard.  *All*
312# console drivers for Intel boxes obey these.  Does not assume \E[11m will
313# work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
314# diamond and arrow characters under curses.
315klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m), 
316	blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmso=\E[m, 
317	rmul=\E[m, 
318	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m, 
319	sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
320	use=klone+acs, 
321
322# KOI8-R (RFC1489) acs (alternate character set)
323# From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
324klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset, 
325	acsc=+\020\,\021-\036.^_0\215`\004a\237f\234g\232h\222i\220j\205k\203l\202m\204n\212o\213p\216q\0r\217s\214t\206u\207v\210w\211x\201y\230z\231{\267|\274}L~\225, 
326	rmacs=\E[10m, smacs=\E[11m, 
327
328# ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
329# between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
330# but equivalent strings that don't rely on that coincidence:
331# setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
332# setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
333# The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
334# They match a subset of ECMA-48.
335klone+color|color control for ansi.sys and ISO6429-compatible displays, 
336	colors#8, ncv#3, pairs#64, 
337	op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
338
339# This is better than klone+color, it doesn't assume white-on-black as the
340# default color pair,  but many `ANSI' terminals don't grok the <op> cap.
341ecma+color|color control for ECMA-48-compatible terminals, 
342	colors#8, ncv#3, pairs#64, 
343	op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
344
345# Attribute control for ECMA-48-compatible terminals
346ecma+sgr|attribute capabilities for true ECMA-48 terminals, 
347	rmso=\E[27m, rmul=\E[24m, 
348	use=klone+sgr, 
349
350# For comparison, here are all the capabilities implied by the Intel
351# Binary Compatibility Standard (level 2) that fit within terminfo.
352# For more detail on this rather pathetic standard, see the comments
353# near the end of this file.
354ibcs2|Intel Binary Compatibility Standard prescriptions, 
355	cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cud=\E[%p1%dB, 
356	cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
357	dch=\E[%p1%dP, dispc=\E=%p1%dg, ech=\E[%p1%dX, 
358	hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
359	indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7, 
360	smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd, 
361
362#### ANSI/ECMA-48 terminals and terminal emulators
363#
364# See near the end of this file for details on ANSI conformance.
365# Don't mess with these entries!  Lots of other entries depend on them!
366#
367# This section lists entries in a least-capable to most-capable order.
368# if you're in doubt about what `ANSI' matches yours, try them in that
369# order and back off from the first that breaks.
370
371ansi-mini|any ansi terminal with pessimistic assumptions, 
372	am, 
373	cols#80, it#8, lines#24, 
374	clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
375	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
376	ht=^I, 
377
378# ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
379#
380# The following is an entry for the full ANSI 3.64 (1977).  It lacks
381# padding, but most terminals using the standard are "fast" enough
382# not to require any -- even at 9600 bps.  If you encounter problems,
383# try including the padding specifications.
384#
385# Note: the :as: and :ae: specifications are not implemented here, for
386# the available termcap documentation does not make clear WHICH alternate
387# character set to specify.  ANSI 3.64 seems to make allowances for several.
388# Please make the appropriate adjustments to fit your needs -- that is
389# if you will be using alternate character sets.
390#
391# There are very few terminals running the full ANSI 3.64 standard,
392# so I could only test this entry on one verified terminal (Visual 102).
393# I would appreciate the results on other terminals sent to me.
394#
395# Please report comments, changes, and problems to:
396#
397# U.S. MAIL:   Hugh Hansard
398#              Box: 22830
399#              Emory University
400#              Atlanta, GA. 30322.
401#
402# USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
403#
404ansi77|ansi 3.64 standard 1977 version, 
405	am, mir, 
406	cols#80, it#8, lines#24, 
407	bel=^G, clear=\E[;H\E[2J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
408	cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
409	cuu1=\E[A, dch1=\E[P, dl1=\E[M$<5*/>, ed=\E[J, el=\E[K, 
410	home=\E[H, ht=^I, il1=\E[L$<5*/>, ind=\ED, kbs=^H, 
411	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
412	kf2=\EOR, kf4=\EOS, khome=\E[H, nel=^M\ED, ri=\EM, 
413	rmir=\E[4l, rmso=\E[m, rmul=\E[m, smir=\E[4h, smso=\E[7m, 
414	smul=\E[4m, 
415
416# Procomm and some other ANSI emulations don't recognize all of the ANSI-
417# standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and 
418# <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>, 
419# <cuf1>, <cud1> and <cub1>.  Also deleted <ich> and <ich1>, as QModem up to 
420# 5.03 doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem
421# to confuse many emulators.  On the other hand, we can count on these programs
422# doing <rmacs>/<smacs>/<sgr>. Older versions of this entry featured 
423# <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
424# ANSI.SYS influence.
425# From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
426pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode), 
427	am, mir, msgr, 
428	cols#80, it#8, lines#24, 
429	bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D, 
430	cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
431	dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
432	hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
433	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[2g, 
434	use=klone+sgr-dumb, 
435pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode), 
436	lines#25, use=pcansi-m, 
437pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode), 
438	lines#33, use=pcansi-m, 
439pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode), 
440	lines#43, use=pcansi-m, 
441# The color versions.  All PC emulators do color...
442pcansi|ibm-pc terminal programs claiming to be ansi, 
443	use=klone+color, use=pcansi-m, 
444pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines, 
445	lines#25, use=pcansi, 
446pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines, 
447	lines#33, use=pcansi, 
448pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines, 
449	lines#43, use=pcansi, 
450
451# ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
452# If you want pound signs rather than dollars, replace `B' with `A'
453# in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
454# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
455ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes, 
456	mc5i, 
457	cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
458	cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM, 
459	ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I, 
460	ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, kbs=^H, 
461	kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
462	kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S, 
463	rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B, 
464	s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[2g, 
465	vpa=\E[%i%p1%dd, use=pcansi-m, 
466
467# ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
468# standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
469# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
470ansi|ansi/pc-term compatible with color, 
471	u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c, 
472	u9=\E[c, 
473	use=ecma+color, use=klone+sgr, use=ansi-m, 
474
475#### DOS ANSI.SYS variants
476#
477# This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
478# documentation (except for the keyboard key reassignment feature, which
479# doen't fit the <pfkey> model well).  The klone+acs sequences were valid
480# though undocumented.  The <pfkey> capability is untested but should work for
481# keys F1-F10 (%p1 values outside this range will yield unpredictable results).
482# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
483ansi.sys-old|ANSI.SYS under PC-DOS 2.1, 
484	am, mir, msgr, xon, 
485	cols#80, lines#25, 
486	clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
487	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H, 
488	is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
489	khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u, 
490	rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR, 
491	u7=\E[6n, 
492	use=klone+color, use=klone+sgr, 
493ansi.sys|ANSI.SYS 3.1 and later versions, 
494	el=\E[K, use=ansi.sys-old, 
495
496#
497# Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
498# This should only be used when the terminal emulator cannot redefine the keys.
499# Since redefining keys with ansi.sys also affects PC-DOS programs, the key
500# definitions must be restored.  If the terminal emulator is quit while in vi
501# or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
502# The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
503# (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
504# does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
505# Note that <kcub1> is always BS, because PC-dos can tolerate this change.
506# Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
507# Consequently the End keypad key could not be set (it is relatively safe and
508# actually useful because it sends ^@ O, which beeps and opens a line above).
509ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi, 
510	is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
511	rmkx=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p, 
512	smkx=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p, 
513	use=ansi.sys, 
514#
515# Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
516nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS, 
517	dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
518	is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, use=ansi.sys, 
519#
520# See ansi.sysk and nansi.sys above.
521nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi, 
522	dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
523	is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
524	use=ansi.sysk, 
525
526#### ANSI console types
527#
528
529#### BeOS
530#
531# BeOS entry for Terminal program Seems to be almost ANSI
532beterm|BeOS Terminal, 
533	am, eo, mir, msgr, xenl, xon, 
534	colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64, 
535	bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
536	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
537	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
538	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
539	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
540	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, 
541	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
542	kdch1=\E[3~, kend=\E[4~, kf1=\E[11~, kf10=\E[20~, 
543	kf11=\E[21~, kf12=\E[22~, kf2=\E[12~, kf3=\E[13~, 
544	kf4=\E[14~, kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~, 
545	kf9=\E[19~, khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
546	kspd=^Z, nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM, 
547	rmir=\E[4l, rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7, 
548	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
549	setb=\E[%p1%{40}%+%cm, setf=\E[%p1%{30}%+%cm, 
550	sgr0=\E[0;10m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
551	u6=\E[%i%p1%d;%p2%dR, u7=\E[6n, vpa=\E[%i%p1%dd, 
552
553#### Linux consoles
554#
555
556# This entry is good for the 1.2.13 or later version of the Linux console.
557#
558# ***************************************************************************
559# *                                                                         *
560# *                           WARNING:                                      *
561# * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
562# * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
563# * character. Here are the keymap replacement lines that will set this up: *
564# *                                                                         *
565#	keycode  15 = Tab             Tab
566#		alt     keycode  15 = Meta_Tab
567#		shift	keycode  15 = F26
568#	string F26 ="\033[Z"
569# *                                                                         *
570# * This has to use a key slot which is unfortunate (any unused one will    *
571# * do, F26 is the higher-numbered one).  The change ought to be built      *
572# * into the kernel tables.                                                 *
573# *                                                                         *
574# ***************************************************************************
575#
576# The 1.3.x kernels add color-change capabilities; if yours doesn't have this
577# and it matters, turn off <ccc>.  The %02x escape used to implement this is
578# not back-portable to SV curses and not supported in ncurses versions before
579# 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
580# themselves; this entry assumes that capability.
581#
582# The 2.2.x kernels add a private mode that sets the cursor type; use that to
583# get a block cursor for cvvis.
584# reported by Frank Heckenbach <frank@g-n-u.de>.
585linux|linux console, 
586	am, bce, eo, mir, msgr, xenl, xon, 
587	it#8, ncv#2, 
588	acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
589	bel=^G, civis=\E[?25l\E[?1c, clear=\E[H\E[J, 
590	cnorm=\E[?25h\E[?0c, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
591	cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
592	cuu1=\E[A, cvvis=\E[?25h\E[?8c, dch=\E[%p1%dP, dch1=\E[P, 
593	dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, 
594	el=\E[K, el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, home=\E[H, 
595	hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
596	il=\E[%p1%dL, il1=\E[L, ind=^J, kb2=\E[G, kbs=\177, 
597	kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
598	kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~, 
599	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
600	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
601	kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, 
602	kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
603	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z, 
604	nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, 
605	rmul=\E[24m, rs1=\Ec\E]R, sc=\E7, 
606	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
607	smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, 
608	u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd, 
609	use=klone+sgr, use=ecma+color, 
610linux-m|Linux console no color, 
611	colors@, pairs@, 
612	setab@, setaf@, setb@, setf@, use=linux, 
613linux-c-nc|linux console 1.3.x hack for ncurses only, 
614	ccc, 
615	initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x, 
616	oc=\E]R, 
617	use=linux, 
618# From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
619linux-c|linux console 1.3.6+ with private palette for each virtual console, 
620	ccc, 
621	colors#8, pairs#64, 
622	initc=\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%;, 
623	oc=\E]R, 
624	use=linux, 
625
626# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
627linux-nic|linux with ich/ich1 suppressed for non-curses programs, 
628	ich@, ich1@, 
629	use=linux, 
630
631# This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
632# acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
633linux-koi8|linux with koi8 alternate character set, 
634	acsc=+\020\,\021-\030.^Y0\215`\004a\221f\234g\237h\220i\276j\205k\203l\202m\204n\212o~p\0q\0r\0s_t\206u\207v\211w\210x\201y\230z\231{\267|\274~\224, 
635	use=linux, use=klone+koi8acs, 
636
637# Another entry for KOI8-r with Qing Long's acsc.
638# (which one better complies with the standard?)
639linux-koi8r|linux with koi8-r alternate character set, 
640	kbs=^H, kcub1=^H, kcud1=^J, 
641	use=linux, use=klone+koi8acs, 
642
643# From:  Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
644mach|Mach Console, 
645	am, km, 
646	cols#80, it#8, lines#25, 
647	bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, 
648	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
649	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
650	cuu=\E[%p1%dA, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
651	el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, 
652	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
653	kdch1=\E[9, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf2=\EOQ, 
654	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
655	kf9=\EOX, khome=\E[H, kich1=\E[@, kll=\E[F, knp=\E[U, 
656	kpp=\E[V, nel=^M^J, rev=\E[7m, rmso=\E[0m, sgr0=\E[0m, 
657	smso=\E[7m, 
658mach-bold|Mach Console with bold instead of underline, 
659	rmul=\E[0m, smul=\E[1m, 
660	use=mach, 
661
662# Entry for the latin1 and latin2 fonts
663linux-lat|linux with latin1 or latin2 alternate character set, 
664	acsc=+\020\,\021-\030.^Y0\333`\004a\013f\370g\361h\260i\316j\211k\214l\206m\203n\305o~p\304q\212r\304s_t\207u\215v\301w\302x\205y\363z\362{\343|\330}\234~\376, 
665	use=linux, 
666
667# SCO console and SOS-Syscons console for 386bsd
668# (scoansi: had unknown capabilities
669#	:Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
670#	:GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
671#	:G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
672#	:CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
673#	:WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
674# I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
675# on the <smacs>=\E[12m  -- esr)
676#
677# klone+sgr-dumb is an error since the acsc does not match -TD
678#
679# In this description based on SCO's keyboard(HW) manpage list of default function key
680# values:
681#	F13-F24 are shifted F1-F12
682#	F25-F36 are control F1-F12
683#	F37-F48 are shift+control F1-F12
684scoansi|SCO Extended ANSI standard crt, 
685	am, eo, xon, 
686	colors#8, cols#80, it#8, lines#25, pairs#64, 
687	acsc=0[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`ja0fxgqh2jYk?lZm@nEqDtCu4vAwBx3~y, 
688	blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, 
689	cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
690	cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
691	ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, invis=\E[8m, kbeg=\E[E, 
692	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
693	kcuu1=\E[A, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W, 
694	kf12=\E[X, kf13=\E[Y, kf15=\E[a, kf16=\E[b, kf17=\E[c, 
695	kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g, 
696	kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l, 
697	kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p, 
698	kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u, 
699	kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P, 
700	kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[], 
701	kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q, 
702	kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, 
703	kich1=\E[L, knp=\E[G, kpp=\E[I, op=\E[37;40m, rev=\E[7m, 
704	ri=\E[T, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
705	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
706	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m, 
707	sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
708
709# This actually describes the generic SVr4 display driver for Intel boxes.
710# The <dim=\E[2m> isn't documented and therefore may not be reliable.
711# From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
712att6386|at386|386at|AT&T WGS 6386 console, 
713	am, bw, eo, xon, 
714	cols#80, it#8, lines#25, 
715	acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
716	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C, 
717	clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD, 
718	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
719	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
720	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
721	dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
722	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
723	ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S, 
724	indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H, 
725	kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
726	kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ, 
727	kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
728	kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@, 
729	knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m, 
730	ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
731	sc=\E7, 
732	sgr=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p9%t;12%e;10%;%?%p7%t;9%;m, 
733	sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
734	tbc=\E[2g, vpa=\E[%i%p1%dd, 
735	use=klone+color, 
736# (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
737pc6300plus|AT&T 6300 plus, 
738	am, xon, 
739	cols#80, lines#24, 
740	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C, 
741	clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B, 
742	cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
743	dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K, 
744	home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J, 
745	invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
746	kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe, 
747	kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk, 
748	nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
749	smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
750
751# From: Benjamin C. W. Sittler <bsittler@nmt.edu>
752#
753# I have a UNIX PC which I use as a terminal attached to my Linux PC.
754# Unfortunately, the UNIX PC terminfo entry that comes with ncurses
755# is broken. All the special key sequences are broken, making it unusable
756# with Emacs. The problem stems from the following:
757# 
758# The UNIX PC has a plethora of keys (103 of them, and there's no numeric
759# keypad!), loadable fonts, and strange highlighting modes ("dithered"
760# half-intensity, "smeared" bold, and real strike-out, for example.) It also
761# uses resizable terminal windows, but the bundled terminal program always
762# uses an 80x24 window (and doesn't support seem to support a 132-column
763# mode.) 
764# 
765# HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
766# library which was a superset of SVr3.5 curses (called tam, for "terminal
767# access method".) tam includes support for real, overlapping windows,
768# onscreen function key labels, and bitmap graphics. But since the primary
769# user interface on the UNIX PC was a GUI program (ua, for "user
770# assistant",) and remote administration was considered important for the
771# machine, tam also supported VT100-compatible terminals attached to the
772# serial port or used across the StarLan network. To simulate the extra keys
773# not present on a VT100, users could press ESC and a two-letter sequence,
774# such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
775# however, were not the same as those sent by the actual Undo key. The
776# actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
777# (If you're interested in adding some of the tam calls to ncurses, btw, I
778# have the full documentation and several programs which use tam. It also
779# used an extended terminfo format to describe key sequences, special
780# highlighting modes, etc.) 
781# 
782# KEYS: This means that ncurses would quite painful on the UNIX PC, since
783# there are two sequences for every key-modifier combination (local keyboard
784# sequence and remote "VT100" sequence.) But I doubt many people are trying
785# to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
786# GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume) 
787# seem to have been built from the manual describing the VT100 sequences. 
788# This means it doesn't work for a real live UNIX PC. 
789# 
790# FONTS: The UNIX PC also has a strange interpretation of "alternate
791# character set". Rather than the VT100 graphics you might expect, it allows
792# up to 8 custom fonts to be loaded at any given time. This means that
793# programs expecting VT100 graphics will usually be disappointed. For this
794# reason I have disabled the smacs/rmacs sequences, but they could easily be
795# re-enabled. Here are the relevant control sequences (from the ESCAPE(7) 
796# manpage), should you wish to do so: 
797# 
798# SGR10 - Select font 0 - ESC [ 10 m or SO
799# SGR11 - Select font 1 - ESC [ 11 m or SI
800# SGR12 - Select font 2 - ESC [ 12 m
801# ... (etc.)
802# SGR17 - Select font 7 - ESC [ 17 m
803# 
804# Graphics for line drawing are not reliably found at *any* character
805# location because the UNIX PC has dynamically reloadable fonts. I use font
806# 0 for regular text and font 1 for italics, but this is by no means
807# universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
808# 
809# MISC: The cursor visible/cursor invisible sequences were swapped in the
810# distributed terminfo.
811# 
812# To ameliorate these problems (and fix a few highlighting bugs) I rewrote
813# the UNIX PC terminfo entry. The modified version works great with Lynx,
814# Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
815# attached by serial cable. In Emacs, even the Undo key works, and many
816# applications can now use the F1-F8 keys. 
817# 
818# esr's notes:
819#	Terminfo entry for the AT&T Unix PC 7300
820#	from escape(7) in Unix PC 7300 Manual.
821#	Somewhat similar to a vt100-am (but different enough
822#	to redo this from scratch.)
823#
824#	/***************************************************************
825#	*
826#	*           FONT LOADING PROGRAM FOR THE UNIX PC
827#	*
828#	*     This routine loads a font defined in the file ALTFONT
829#	*     into font memory slot #1.  Once the font has been loaded,
830#	*     it can be used as an alternative character set.
831#	*
832#	*     The call to ioctl with the argument WIOCLFONT is the key 
833#	*     to this routine.  For more information, see window(7) in 
834#	*     the PC 7300 documentation.
835#	***************************************************************/
836#	#include <string.h>		/* needed for strcpy call */
837#	#include <sys/window.h>         /* needed for ioctl call */
838#	#define FNSIZE	60		/* font name size */
839#	#define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
840#	/*
841#	*     The file /usr/lib/wfont/special.8.ft comes with the
842#	*     standard PC software.  It defines a graphics character set
843#	*     similar to that of the Teletype 5425 terminal.  To view
844#	*     this or other fonts in /usr/lib/wfont, use the command
845#	*     cfont <filename>.  For further information on fonts see
846#	*     cfont(1) in the PC 7300 documentation.
847#	*/
848#	
849#	struct altfdata 	/* structure for alt font data */
850#	{
851#	short	altf_slot;		/* memory slot number */
852#	char	altf_name[FNSIZE];	/* font name (file name) */
853#	};
854#	ldfont()
855#	{
856#		int wd;		/* window in which altfont will be */
857#		struct altfdata altf;
858#		altf.altf_slot=1;
859#		strcpy(altf.altf_name,ALTFONT);
860#		for (wd =1; wd < 12; wd++) {
861#		     ioctl(wd, WIOCLFONT,&altf);
862#	        }
863#	}
864#
865# (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
866# they're confirmed by the man page for the System V display---esr)
867#
868att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300, 
869	am, xon, 
870	cols#80, it#8, lines#24, 
871	bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C, 
872	clear=\E[2J\E[H, cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, 
873	cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
874	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
875	cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
876	ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL, 
877	il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB, 
878	kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE, 
879	kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM, 
880	kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR, 
881	kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO, 
882	kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z, 
883	kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
884	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf, 
885	ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd, 
886	kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
887	kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B, 
888	kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv, 
889	kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, 
890	kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB, 
891	ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM, 
892	rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m, 
893	smul=\E[4m, 
894
895# Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
896# from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes
897# for the application keypad mode.  We have added iris-ansi-ap rather than
898# change the original to keypad mode.
899#
900# (iris-ansi: added rmam/smam based on init string -- esr)
901#
902# This entry, and those derived from it, is used in xwsh (also known as
903# winterm).  Some capabilities that do not fit into the terminfo model
904# include the shift- and control-functionkeys:
905#
906# F1-F12 generate different codes when shift or control modifiers are used.
907# For example:
908#	F1      	\E[001q
909#	shift F1	\E[013q
910#	control-F1	\E[025q
911#
912# In application keypad mode, F9-F12 generate codes like vt100 PF1-PF4, i.e.,
913# \EOP to \EOS.  The shifted and control modifiers still do the same thing.
914#
915# The cursor keys also have different codes:
916#	control-up	\E[162q
917#	control-down	\E[165q
918#	control-left	\E[159q
919#	control-right	\E[168q
920#
921#	shift-up	\E[161q
922#	shift-down	\E[164q
923#	shift-left	\E[158q
924#	shift-right	\E[167q
925#
926#	control-tab	\[072q
927#
928iris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100), 
929	am, 
930	cols#80, it#8, lines#40, 
931	bel=^G, bold=\E[1m, clear=\E[H\E[2J, 
932	cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD, 
933	cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, 
934	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
935	cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h, 
936	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
937	home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
938	is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P, 
939	kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q, 
940	kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
941	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
942	kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\E[010q, 
943	kf11=\E[011q, kf12=\E[012q, kf2=\E[002q, kf3=\E[003q, 
944	kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
945	kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q, 
946	knp=\E[154q, kpp=\E[150q, kprt=\E[209q, krmir=\E[146q, 
947	kspd=\E[217q, nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\, 
948	rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, 
949	sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m, 
950	tbc=\E[3g, 
951iris-ansi-ap|IRIS ANSI in application-keypad mode, 
952	is2=\E[?1l\E=\E[?7h, kent=\EOM, kf10=\E[010q, 
953	kf11=\E[011q, kf12=\E[012q, kf9=\E[009q, 
954	use=iris-ansi, 
955
956# From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
957# (T.Dickey 98/1/24)
958iris-color|xwsh|IRIX ANSI with color, 
959	ncv#33, 
960	csr=\E[%i%p1%d;%p2%dr, dch=\E[%p1%dP, dim=\E[2m, 
961	ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m, 
962	rmul=\E[24m, rs1=\Ec, 
963	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
964	sitm=\E[3m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
965	use=klone+color, use=iris-ansi-ap, 
966
967# The following is a version of the ibm-pc entry distributed with PC/IX,
968# (Interactive Systems' System 3 for the Big Blue), modified by Richard
969# McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
970# (the former is untrue, and the latter failed under UCB/man); standout and
971# underline modes have been added.  Note: this entry describes the "native"
972# capabilities of the PC monochrome display, without ANY emulation; most
973# communications packages (but NOT PC/IX connect) do some kind of emulation.
974pcix|PC/IX console, 
975	am, bw, eo, 
976	cols#80, lines#24, 
977	clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
978	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
979	home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, 
980	smul=\E[4m, 
981
982# (ibmpcx: this entry used to be known as ibmx.
983# It formerly included the following extension capabilities:
984#	:GC=b:GL=v:GR=t:RT=^J:\
985#	:GH=\E[196g:GV=\E[179g:\
986#	:GU=\E[193g:GD=\E[194g:\
987#	:G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
988#	:CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
989#	:WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
990# I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
991# ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
992# what was there before. -- esr)
993ibmpcx|xenix|ibmx|IBM PC xenix console display, 
994	am, msgr, 
995	cols#80, lines#25, 
996	clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C, 
997	cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
998	ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H, 
999	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d, 
1000	kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e, 
1001	kpp=\E[Z, 
1002	use=klone+acs, use=klone+sgr, 
1003
1004
1005# QNX 4.0 Console
1006# Michael's original version of this entry had <am@>, <smcup=\Ei>,
1007# <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
1008# right corner without triggering a scroll.  The ncurses terminfo library can
1009# handle this case with the <ich1> capability, and prefers <am> for better
1010# optimization.  Bug: The <op> capability resets attributes.
1011# From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
1012# (removed: <sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,>)
1013qnx|qnx4|qnx console, 
1014	daisy, km, mir, msgr, xhpa, xt, 
1015	colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8, 
1016	acsc=O\333a\261j\331k\277l\332m\300n\305o\337q\304s\334t\303u\264v\301w\302x\263, 
1017	bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ, 
1018	cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
1019	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ey2, 
1020	dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee, 
1021	il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263, 
1022	kCMD=\377\267, kCPY=\377\363, kCRT=\377\364, 
1023	kDL=\377\366, kEND=\377\301, kEOL=\377\311, 
1024	kEXT=\377\367, kFND=\377\370, kHLP=\377\371, 
1025	kHOM=\377\260, kIC=\377\340, kLFT=\377\264, 
1026	kMOV=\377\306, kMSG=\377\304, kNXT=\377\272, 
1027	kOPT=\377\372, kPRT=\377\275, kPRV=\377\262, 
1028	kRDO=\377\315, kRES=\377\374, kRIT=\377\266, 
1029	kRPL=\377\373, kSAV=\377\307, kSPD=\377\303, 
1030	kUND=\377\337, kbeg=\377\300, kcan=\377\243, kcbt=\377\0, 
1031	kclo=\377\343, kclr=\377\341, kcmd=\377\245, 
1032	kcpy=\377\265, kcrt=\377\305, kctab=\377\237, 
1033	kcub1=\377\244, kcud1=\377\251, kcuf1=\377\246, 
1034	kcuu1=\377\241, kdch1=\377\254, kdl1=\377\274, 
1035	ked=\377\314, kel=\377\310, kend=\377\250, kent=\377\320, 
1036	kext=\377\270, kf1=\377\201, kf10=\377\212, 
1037	kf11=\377\256, kf12=\377\257, kf13=\377\213, 
1038	kf14=\377\214, kf15=\377\215, kf16=\377\216, 
1039	kf17=\377\217, kf18=\377\220, kf19=\377\221, 
1040	kf2=\377\202, kf20=\377\222, kf21=\377\223, 
1041	kf22=\377\224, kf23=\377\333, kf24=\377\334, 
1042	kf25=\377\225, kf26=\377\226, kf27=\377\227, 
1043	kf28=\377\230, kf29=\377\231, kf3=\377\203, 
1044	kf30=\377\232, kf31=\377\233, kf32=\377\234, 
1045	kf33=\377\235, kf34=\377\236, kf35=\377\276, 
1046	kf36=\377\277, kf37=\377\321, kf38=\377\322, 
1047	kf39=\377\323, kf4=\377\204, kf40=\377\324, 
1048	kf41=\377\325, kf42=\377\326, kf43=\377\327, 
1049	kf44=\377\330, kf45=\377\331, kf46=\377\332, 
1050	kf47=\377\316, kf48=\377\317, kf5=\377\205, kf6=\377\206, 
1051	kf7=\377\207, kf8=\377\210, kf9=\377\211, kfnd=\377\346, 
1052	khlp=\377\350, khome=\377\240, khts=\377\342, 
1053	kich1=\377\253, kil1=\377\273, kind=\377\261, 
1054	kmov=\377\351, kmrk=\377\355, kmsg=\377\345, 
1055	knp=\377\252, knxt=\377\312, kopn=\377\357, 
1056	kopt=\377\353, kpp=\377\242, kprt=\377\255, 
1057	kprv=\377\302, krdo=\377\336, kref=\377\354, 
1058	kres=\377\360, krfr=\377\347, kri=\377\271, 
1059	krmir=\377\313, krpl=\377\362, krst=\377\352, 
1060	ksav=\377\361, kslt=\377\247, kspd=\377\335, 
1061	ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, op=\ER, 
1062	rep=\Eg%p2%{32}%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER, 
1063	rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d, 
1064	setf=\E@%p1%Pf%gb%gf%d%d, sgr0=\E}\E]\E>\E), smcup=\Ei, 
1065	smso=\E(, smul=\E[, 
1066
1067# From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
1068# (esr: commented out <scp> and <rmcup> to avoid warnings.)
1069# (TD: derive from original qnx4 entry)
1070qnxt2|qnx 2.15 serial terminal, 
1071	am, 
1072	civis@, cnorm@, cvvis@, dch1@, ich1@, kRES@, kRPL@, kUND@, kspd@, 
1073	rep@, rmcup@, rmso=\E>, setb@, setf@, smcup@, smso=\E<, 
1074	use=qnx4, 
1075
1076#### NetBSD consoles
1077#
1078# pcvt termcap database entries (corresponding to release 3.31)
1079# Author's last edit-date: [Fri Sep 15 20:29:10 1995]
1080#
1081# (For the terminfo master file, I translated these into terminfo syntax.
1082# Then I dropped all the pseudo-HP entries. we don't want and can't use
1083# the :Xs: flag. Then I split :is: into a size-independent <is1> and a
1084# size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
1085
1086# NOTE: <ich1> has been taken out of this entry. for reference, it should
1087# be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
1088# (esr: added <civis> and <cnorm> to resolve NetBSD Problem Report #4583)
1089pcvtXX|pcvt vt200 emulator (DEC VT220), 
1090	am, km, mir, msgr, xenl, 
1091	it#8, vt#3, 
1092	acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~, 
1093	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
1094	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
1095	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1096	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
1097	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1098	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
1099	el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
1100	il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, 
1101	is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177, 
1102	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1103	kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
1104	kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
1105	khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~, 
1106	nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, 
1107	ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
1108	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
1109	rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1110	sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
1111	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1112
1113#	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
1114#	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1115#	50 lines entries; 80 columns
1116pcvt25|dec vt220 emulation with 25 lines, 
1117	cols#80, lines#25, 
1118	is2=\E[1;25r\E[25;1H, use=pcvtXX, 
1119pcvt28|dec vt220 emulation with 28 lines, 
1120	cols#80, lines#28, 
1121	is2=\E[1;28r\E[28;1H, use=pcvtXX, 
1122pcvt35|dec vt220 emulation with 35 lines, 
1123	cols#80, lines#35, 
1124	is2=\E[1;35r\E[35;1H, use=pcvtXX, 
1125pcvt40|dec vt220 emulation with 40 lines, 
1126	cols#80, lines#40, 
1127	is2=\E[1;40r\E[40;1H, use=pcvtXX, 
1128pcvt43|dec vt220 emulation with 43 lines, 
1129	cols#80, lines#43, 
1130	is2=\E[1;43r\E[43;1H, use=pcvtXX, 
1131pcvt50|dec vt220 emulation with 50 lines, 
1132	cols#80, lines#50, 
1133	is2=\E[1;50r\E[50;1H, use=pcvtXX, 
1134
1135#	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
1136#	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1137#	50 lines entries; 132 columns
1138pcvt25w|dec vt220 emulation with 25 lines and 132 cols, 
1139	cols#132, lines#25, 
1140	is2=\E[1;25r\E[25;1H, use=pcvtXX, 
1141pcvt28w|dec vt220 emulation with 28 lines and 132 cols, 
1142	cols#132, lines#28, 
1143	is2=\E[1;28r\E[28;1H, use=pcvtXX, 
1144pcvt35w|dec vt220 emulation with 35 lines and 132 cols, 
1145	cols#132, lines#35, 
1146	is2=\E[1;35r\E[35;1H, use=pcvtXX, 
1147pcvt40w|dec vt220 emulation with 40 lines and 132 cols, 
1148	cols#132, lines#40, 
1149	is2=\E[1;40r\E[40;1H, use=pcvtXX, 
1150pcvt43w|dec vt220 emulation with 43 lines and 132 cols, 
1151	cols#132, lines#43, 
1152	is2=\E[1;43r\E[43;1H, use=pcvtXX, 
1153pcvt50w|dec vt220 emulation with 50 lines and 132 cols, 
1154	cols#132, lines#50, 
1155	is2=\E[1;50r\E[50;1H, use=pcvtXX, 
1156
1157# Terminfo entries to enable the use of the ncurses library in colour on a
1158# NetBSD-arm32 console (only tested on a RiscPC).
1159# Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
1160# modified codes for setf/setb to setaf/setab, then to klone+color, corrected
1161# typo in invis - TD
1162arm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480), 
1163	am, bce, msgr, xenl, xon, 
1164	cols#80, it#8, lines#30, 
1165	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1166	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1167	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1168	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1169	cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
1170	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
1171	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
1172	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, 
1173	invis=\E[8m$<2>, ka1=\E[q, ka3=\E[s, kb2=\E[r, kbs=^H, 
1174	kc1=\E[p, kc3=\E[n, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
1175	kcuu1=\E[A, kent=\E[M, kf0=\E[y, kf1=\E[P, kf10=\E[x, 
1176	kf2=\E[Q, kf3=\E[R, kf4=\E[S, kf5=\E[t, kf6=\E[u, kf7=\E[v, 
1177	kf8=\E[l, kf9=\E[w, rc=\E8, rev=\E[6m$<2>, ri=\EM$<5>, 
1178	rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>, 
1179	rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
1180	sc=\E7, 
1181	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
1182	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
1183	smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
1184	use=ecma+sgr, use=klone+color, 
1185
1186arm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768), 
1187	cols#132, lines#50, use=arm100, 
1188
1189# NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
1190# manufactured by Sharp for the Japenese market.
1191# From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
1192x68k|x68k-ite|NetBSD/x68k ITE, 
1193	cols#96, lines#32, 
1194	kclr=\E[9~, khlp=\E[28~, use=vt220, 
1195
1196# <tv@pobox.com>:
1197# Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
1198#
1199# (still unfinished, but good enough so far.)
1200ofcons, 
1201	bw, 
1202	cols#80, lines#30, 
1203	bel=^G, blink=\2337;2m, bold=\2331m, clear=^L, cr=^M, 
1204	cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B, 
1205	cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH, 
1206	cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P, 
1207	dim=\2332m, dl=\233%p1%dM, dl1=\233M, ed=\233J, el=\233K, 
1208	flash=^G, ht=^I, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL, 
1209	il1=\233L, ind=^J, invis=\2338m, kbs=^H, kcub1=\233D, 
1210	kcud1=\233B, kcuf1=\233C, kcuu1=\233A, kdch1=\233P, 
1211	kf1=\2330P, kf10=\2330M, kf2=\2330Q, kf3=\2330W, 
1212	kf4=\2330x, kf5=\2330t, kf6=\2330u, kf7=\2330q, kf8=\2330r, 
1213	kf9=\2330p, knp=\233/, kpp=\233?, nel=^M^J, rev=\2337m, 
1214	rmso=\2330m, rmul=\2330m, sgr0=\2330m, 
1215
1216# NetBSD "wscons" emulator in vt220 mode
1217# These are micro-minimal and probably need to be redone for real
1218# after the manner of the pcvt entries.
1219wsvt25|NetBSD wscons in 25 line DEC VT220 mode, 
1220	cols#80, lines#25, use=vt220, 
1221
1222wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta, 
1223	km, 
1224	cols#80, lines#25, use=vt220, 
1225
1226# `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and 
1227# DECstation/pmax.
1228rcons|BSD rasterconsole, 
1229	use=sun-il, 
1230# Color version of above. Color currenly only provided by NetBSD.
1231rcons-color|BSD rasterconsole with ANSI color, 
1232	bce, 
1233	colors#8, pairs#64, 
1234	op=\E[m, setab=\E[4%dm, setaf=\E[3%dm, use=rcons, 
1235
1236#### FreeBSD console entries
1237#
1238# From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
1239# Andrey Chernov maintains the FreeBSD termcap distributions.
1240#
1241# Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
1242# or comment out the :cb: capability in the console entry.
1243#
1244# Alexander Lukyanov reports:
1245# I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
1246# Now el1 clears not only to the line beginning, but also a large chunk
1247# of previous line. But there is another bug - ech does not work at all.
1248#
1249
1250# for syscons
1251# common entry without semigraphics
1252# Bug: The <op> capability resets attributes.
1253# Bug? The ech and el1 attributes appear to move the cursor in some cases; for
1254# instance el1 does if the cursor is moved to the right margin first.  Removed
1255# by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
1256#
1257# Setting colors turns off reverse; we cannot guarantee order, so use ncv.
1258# Note that this disables standout with color.
1259cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode), 
1260	am, bce, bw, eo, msgr, npc, 
1261	colors#8, cols#80, it#8, lines#25, ncv#21, pairs#64, 
1262	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
1263	cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, 
1264	cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
1265	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1266	cvvis=\E[=1C, dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m, 
1267	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
1268	hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
1269	il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS, kb2=\E[E, 
1270	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
1271	kcuu1=\E[A, kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, 
1272	kf11=\E[W, kf12=\E[X, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, 
1273	kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, 
1274	kich1=\E[L, knp=\E[G, kpp=\E[I, nel=\E[E, op=\E[x, rev=\E[7m, 
1275	ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, rs1=\E[x\E[m\Ec, 
1276	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m, 
1277	smso=\E[7m, vpa=\E[%i%p1%dd, 
1278cons25|ansis|ansi80x25|freebsd console (25-line ansi mode), 
1279	acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371, 
1280	use=cons25w, 
1281cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode), 
1282	colors@, pairs@, 
1283	bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25, 
1284cons30|ansi80x30|freebsd console (30-line ansi mode), 
1285	lines#30, use=cons25, 
1286cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode), 
1287	lines#30, use=cons25-m, 
1288cons43|ansi80x43|freebsd console (43-line ansi mode), 
1289	lines#43, use=cons25, 
1290cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode), 
1291	lines#43, use=cons25-m, 
1292cons50|ansil|ansi80x50|freebsd console (50-line ansi mode), 
1293	lines#50, use=cons25, 
1294cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode), 
1295	lines#50, use=cons25-m, 
1296cons60|ansi80x60|freebsd console (60-line ansi mode), 
1297	lines#60, use=cons25, 
1298cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode), 
1299	lines#60, use=cons25-m, 
1300cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic, 
1301	acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225, 
1302	use=cons25w, 
1303cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono), 
1304	colors@, pairs@, 
1305	op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25r, 
1306cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines), 
1307	lines#50, use=cons25r, 
1308cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono), 
1309	lines#50, use=cons25r-m, 
1310cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines), 
1311	lines#60, use=cons25r, 
1312cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono), 
1313	lines#60, use=cons25r-m, 
1314# ISO 8859-1 FreeBSD console
1315cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars, 
1316	acsc=+\253\,\273-\030.\031`\201a\202f\207g\210i\247j\213k\214l\215m\216n\217o\220p\221q\222r\223s\224t\225u\226v\227w\230x\231y\232z\233~\237, 
1317	use=cons25w, 
1318cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono), 
1319	colors@, pairs@, 
1320	bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25l1, 
1321cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines), 
1322	lines#50, use=cons25l1, 
1323cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono), 
1324	lines#50, use=cons25l1-m, 
1325cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines), 
1326	lines#60, use=cons25l1, 
1327cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono), 
1328	lines#60, use=cons25l1-m, 
1329
1330#### 386BSD and BSD/OS Consoles
1331#
1332
1333# This was the original 386BSD console entry (I think).  
1334# Some places it's named oldpc3|oldibmpc3.
1335# From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
1336origpc3|origibmpc3|IBM PC 386BSD Console, 
1337	am, bw, eo, xon, 
1338	cols#80, lines#25, 
1339	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
1340	bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
1341	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
1342	home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
1343	kcuu1=\E[A, khome=\E[Y, ri=\E[T, rmso=\E[1;0x\E[2;7x, 
1344	rmul=\E[1;0x\E[2;7x, sgr0=\E[m\E[1;0x\E[2;7x, 
1345	smso=\E[1;7x\E[2;0x, smul=\E[1;7x\E[2;0x, 
1346
1347# description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
1348oldpc3|oldibmpc3|old IBM PC BSD/386 Console, 
1349	km, 
1350	lines#25, 
1351	bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, dl1=\E[M, 
1352	ht=^I, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
1353	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F, 
1354	knp=\E[G, kpp=\E[I, nel=^M^J, sgr0=\E[=R, 
1355
1356# Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
1357# Note, the emulator supports many of the additional console features
1358# listed in the iBCS2 (e.g. character-set selection) though not all
1359# are described here.  This entry really ought to be upgraded.
1360# Also note, the console will also work with fewer lines after doing
1361# "stty rows NN", e.g. to use 24 lines.
1362# (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996) 
1363# Bug: The <op> capability resets attributes.
1364bsdos-pc-nobold|BSD/OS PC console w/o bold, 
1365	am, eo, km, xon, 
1366	cols#80, it#8, lines#25, 
1367	bel=^G, clear=\Ec, cr=^M, cub=\E[%p1%dD, cub1=^H, 
1368	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1369	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1370	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
1371	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, 
1372	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, 
1373	kll=\E[F, knp=\E[G, kpp=\E[I, nel=^M^J, rc=\E8, sc=\E7, 
1374	sgr=\E[0;10%?%p1%t;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m%?%p5%t\E[=8F%;, 
1375	use=klone+sgr, use=klone+color, 
1376bsdos-pc|IBM PC BSD/OS Console, 
1377	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;1%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, use=bsdos-pc-nobold, 
1378
1379# Old names for BSD/OS PC console used in releases before 4.1. 
1380pc3|BSD/OS on the PC Console, 
1381	use=bsdos-pc-nobold, 
1382ibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline, 
1383	use=bsdos-pc, 
1384 
1385# BSD/OS on the SPARC 
1386bsdos-sparc|Sun SPARC BSD/OS Console, 
1387	use=sun, 
1388	 
1389# BSD/OS on the PowerPC 
1390bsdos-ppc|PowerPC BSD/OS Console, 
1391	use=bsdos-pc, 
1392
1393#### DEC VT100 and compatibles
1394#
1395# DEC terminals from the vt100 forward (and the vt52, way obsolete but still
1396# the basis of some emulations) are collected here. Older DEC terminals and
1397# micro consoles can be found in the `obsolete' section.  More details on
1398# the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
1399# found near the end of this file.
1400#
1401# Except where noted, these entries are DEC's official terminfos.
1402# Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
1403# Engineering for more information.  Updated terminfos and termcaps 
1404# are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
1405#
1406# In October 1995 DEC sold its terminals business, including the VT and Dorio
1407# line and trademark, to SunRiver Data Systems.  SunRiver has since changed
1408# its name to Boundless Technologies; see http://www.boundless.com.
1409#
1410
1411# (<acsc>/<rmacs>/<smacs> capabilities aren't in DEC's official entry -- esr)
1412vt52|dec vt52, 
1413	cols#80, it#8, lines#24, 
1414	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1415	bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
1416	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
1417	el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
1418	kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF, 
1419
1420# NOTE:  Any VT100 emulation, whether in hardware or software, almost
1421# certainly includes what DEC called the `Level 1 editing extension' codes;
1422# only the very oldest VT100s lacked these and there probably aren't any of
1423# those left alive.  To capture these, use one of the VT102 entries.
1424#
1425# Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
1426# since the cursor is left in a different position while in the
1427# weird state (concept at beginning of next line, vt100 at end
1428# of this line) so all versions of vi before 3.7 don't handle
1429# <xenl> right on vt100. The correct way to handle <xenl> is when
1430# you output the char in column 80, immediately output CR LF
1431# and then assume you are in column 1 of the next line. If <xenl>
1432# is on, am should be on too.
1433# 
1434# I assume you have smooth scroll off or are at a slow enough baud
1435# rate that it doesn't matter (1200? or less). Also this assumes
1436# that you set auto-nl to "on", if you set it off use vt100-nam 
1437# below.
1438# 
1439# The padding requirements listed here are guesses. It is strongly
1440# recommended that xon/xoff be enabled, as this is assumed here.
1441# 
1442# The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the 
1443# tab settings are in non-volatile memory and don't need to be 
1444# reset upon login. Also setting the number of columns glitches 
1445# the screen annoyingly. You can type "reset" to get them set.
1446#
1447# Here's a diagram of the VT100 keypad keys with their bindings.
1448# The top line is the name of the key (some DEC keyboards have the keys
1449# labelled somewhat differently, like GOLD instead of PF1, but this is
1450# the most "official" name).  The second line is the escape sequence it
1451# generates in Application Keypad mode (where "$" means the ESC
1452# character).  The third line contains two items, first the mapping of
1453# the key in terminfo, and then in termcap.
1454#   _______________________________________
1455#  |   PF1   |   PF2   |   PF3   |   PF4   |
1456#  |   $OP   |   $OQ   |   $OR   |   $OS   |
1457#  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
1458#  |    7         8         9         -    |
1459#  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
1460#  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
1461#  |    4    |    5    |    6    |    ,    |
1462#  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
1463#  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
1464#  |    1    |    2    |    3    |         |
1465#  |   $Oq   |   $Or   |   $Os   |  enter  |
1466#  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
1467#  |         0         |   .     |         |
1468#  |        $Op        |  $On    |         |
1469#  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
1470#
1471# And here, for those of you with orphaned VT100s lacking documentation, is
1472# a description of the soft switches invoked when you do `Set Up'.
1473# 
1474#  Scroll 0-Jump               Shifted 3   0-#
1475#  |      1-Smooth             |           1-British pound sign
1476#  | Autorepeat 0-Off          | Wrap Around 0-Off
1477#  | |          1-On           | |           1-On
1478#  | | Screen 0-Dark Bkg       | | New Line 0-Off
1479#  | | |      1-Light Bkg      | | |        1-On
1480#  | | | Cursor 0-Underline    | | | Interlace 0-Off
1481#  | | | |      1-Block        | | | |         1-On
1482#  | | | |                     | | | |
1483#  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
1484#                | | | |                     | | | |
1485#                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
1486#                | | |               1-On    | | |       1-50 Hz
1487#                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
1488#                | |           1-ANSI        | |                1-8 Bits
1489#                | Keyclick 0-Off            | Parity 0-Off
1490#                |          1-On             |        1-On
1491#                Margin Bell 0-Off           Parity Sense 0-Odd
1492#                            1-On                         1-Even
1493#
1494# The following SET-UP modes are assumed for normal operation:
1495#	ANSI_MODE	AUTO_XON/XOFF_ON	NEWLINE_OFF	80_COLUMNS
1496#	WRAP_AROUND_ON  JUMP_SCROLL_OFF
1497# Other SET-UP modes may be set for operator convenience or communication
1498# requirements; I recommend
1499#	AUTOREPEAT_ON	BLOCK_CURSOR	MARGIN_BELL_OFF    SHIFTED_3_#
1500# Unless you have a graphics add-on such as Digital Engineering's VT640
1501# (and even then, whenever it can be arranged!) you should set
1502#	INTERLACE_OFF
1503#
1504# (vt100: I added <rmam>/<smam> based on the init string, also <OTbs>. -- esr)
1505vt100|vt100-am|dec vt100 (w/advanced video), 
1506	am, msgr, xenl, xon, 
1507	cols#80, it#8, lines#24, vt#3, 
1508	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1509	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1510	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1511	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1512	cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
1513	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
1514	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
1515	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq, 
1516	ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
1517	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
1518	kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, 
1519	kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
1520	rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
1521	rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
1522	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1523	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
1524	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
1525	smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
1526vt100nam|vt100-nam|vt100 no automargins, 
1527	am@, xenl@, use=vt100-am, 
1528vt100-vb|dec vt100 (w/advanced video) & no beep, 
1529	bel@, flash=\E[?5h\E[?5l, use=vt100, 
1530
1531# Ordinary vt100 in 132 column ("wide") mode.
1532vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video), 
1533	cols#132, lines#24, 
1534	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am, 
1535vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin), 
1536	cols#132, lines#14, vt@, 
1537	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam, 
1538
1539# vt100 with no advanced video.
1540vt100-nav|vt100 without advanced video option, 
1541	xmc#1, 
1542	blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, smso=\E[7m, 
1543	smul@, 
1544	use=vt100, 
1545vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option), 
1546	cols#132, lines#14, use=vt100-nav, 
1547
1548# vt100 with one of the 24 lines used as a status line.
1549# We put the status line on the top.
1550vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline, 
1551	eslok, hs, 
1552	lines#23, 
1553	clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr, 
1554	cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, dsl=\E7\E[1;24r\E8, 
1555	fsl=\E8, home=\E[2;1H, is2=\E7\E[2;24r\E8, 
1556	tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am, 
1557
1558# Status line at bottom. 
1559# Clearing the screen will clobber status line.
1560vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline, 
1561	eslok, hs, 
1562	lines#23, 
1563	dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H, 
1564	tsl=\E7\E[24;%p1%dH\E[1K, 
1565	use=vt100-am, 
1566
1567# Most of the `vt100' emulators out there actually emulate a vt102
1568# This entry (or vt102-nsgr) is probably the right thing to use for
1569# these.  
1570vt102|dec vt102, 
1571	mir, 
1572	dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h, use=vt100, 
1573vt102-w|dec vt102 in wide mode, 
1574	cols#132, 
1575	rs3=\E[?3h, use=vt102, 
1576
1577# Many brain-dead PC comm programs that pretend to be `vt100-compatible'
1578# fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
1579# string in the canonical vt100 entry above leaves the screen littered
1580# with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
1581# after highlight turnoffs.  This entry should fix that, and even leave
1582# ACS support working, at the cost of making multiple-highlight changes 
1583# slightly more expensive.
1584# From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
1585vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes), 
1586	sgr@, sgr0=\E[m, 
1587	use=vt102, 
1588
1589# VT125 Graphics CRT.  Clear screen also erases graphics
1590vt125|vt125 graphics terminal, 
1591	clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100, 
1592
1593# This isn't a DEC entry, it came from University of Wisconsin.
1594# (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
1595vt131|dec vt131, 
1596	am, xenl, 
1597	cols#80, it#8, lines#24, vt#3, 
1598	bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
1599	clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1600	cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
1601	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
1602	ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
1603	is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
1604	kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
1605	kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>, 
1606	rmam=\E[?7h, rmkx=\E[?1l\E>, rmso=\E[m$<2/>, 
1607	rmul=\E[m$<2/>, 
1608	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1609	sgr0=\E[m$<2/>, smam=\E[?7h, smkx=\E[?1h\E=, 
1610	smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
1611
1612# vt132 - like vt100 but slower and has ins/del line and such.
1613# I'm told that <smir>/<rmir> are backwards in the terminal from the
1614# manual and from the ANSI standard, this describes the actual 
1615# terminal. I've never actually used a vt132 myself, so this 
1616# is untested.
1617#
1618vt132|DEC vt132, 
1619	xenl, 
1620	dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>, 
1621	ip=$<7>, rmir=\E[4h, smir=\E[4l, 
1622	use=vt100, 
1623
1624# vt220:
1625# This vt220 description maps F5--F9 to the second block of function keys
1626# at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
1627# with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
1628# PF1--PF4 are used as F1--F4.
1629#
1630vt220|vt200|DEC VT220 in vt100 emulation mode, 
1631	am, mir, xenl, xon, 
1632	cols#80, lines#24, vt#3, 
1633	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1634	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l, 
1635	clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M, 
1636	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
1637	cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
1638	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
1639	if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>, 
1640	is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
1641	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\EOP, 
1642	kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~, 
1643	kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, 
1644	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8, 
1645	rev=\E[7m$<2>, rf=/usr/share/tabset/vt100, 
1646	ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
1647	rmso=\E[27m, rmul=\E[24m, 
1648	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1649	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
1650	sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
1651	smso=\E[7m, smul=\E[4m, 
1652vt220-w|vt200-w|DEC vt220 in wide mode, 
1653	cols#132, 
1654	rs3=\E[?3h, use=vt220, 
1655
1656#
1657# vt220d:
1658# This vt220 description regards F6--F10 as the second block of function keys
1659# at the top of the keyboard.  This mapping follows the description given
1660# in the VT220 Programmer Reference Manual and agrees with the labeling
1661# on some terminals that emulate the vt220.  There is no support for an F5.
1662# See vt220 for an alternate mapping. 
1663#
1664vt220d|DEC VT220 in vt100 mode with DEC function key labeling, 
1665	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
1666	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
1667	kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~, 
1668	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
1669	use=vt220, 
1670
1671vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins, 
1672	am@, 
1673	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
1674
1675# This is misnamed (see xterm-8bit for an example of 8-bit controls)
1676vt220-8|dec vt220 8 bit terminal, 
1677	am, mc5i, mir, msgr, xenl, xon, 
1678	cols#80, it#8, lines#24, 
1679	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1680	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
1681	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1682	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1683	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1684	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
1685	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
1686	flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH, 
1687	ich=\E[%p1%d@, if=/usr/share/tabset/vt100, 
1688	il=\E[%p1%dL, il1=\E[L, ind=\ED, 
1689	is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=^H, kcub1=\E[D, 
1690	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~, 
1691	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
1692	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
1693	kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
1694	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
1695	khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, 
1696	kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i, 
1697	mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
1698	rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m, 
1699	rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
1700	smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1701
1702# vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
1703# (not an official DEC entry!)
1704# The problem with real vt220 terminals is they don't send escapes when in
1705# in vt220 mode.  This can be gotten around two ways.  1> don't send
1706# escapes or 2> put the vt220 into vt100 mode and use all the nifty
1707# features of vt100 advanced video which it then has.
1708#
1709# This entry takes the view of putting a vt220 into vt100 mode so
1710# you can use the escape key in emacs and everything else which needs it.
1711#
1712# You probably don't want to use this on a VMS machine since VMS will think
1713# it has a vt220 and will get fouled up coming out of emacs
1714#
1715# From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
1716vt200-js|vt220-js|dec vt200 series with jump scroll, 
1717	am, 
1718	cols#80, 
1719	bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1720	cub1=^H, cud1=^J, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
1721	dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
1722	il1=\E[L, ind=\ED, 
1723	is2=\E[61"p\E[H\E[?3l\E[?4l\E[?1l\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m, 
1724	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1725	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED, 
1726	rf=/usr/lib/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l, 
1727	rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m, 
1728	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, smdc=, 
1729	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m, 
1730 
1731# This was DEC's vt320.  Use the purpose-built one below instead 
1732#vt320|DEC VT320 in vt100 emulation mode,
1733#	use=vt220,
1734
1735#
1736# Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
1737#
1738vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode, 
1739	am@, 
1740	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
1741
1742# These entries are not DEC's official ones, they were purpose-built for the 
1743# VT320.  Here are the designer's notes:
1744# <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to 
1745# 'Erase to End of Field'... since nothing seems to use 'end' anyways...
1746# khome is Home on a PC kbd.  Actually 'FIND' on a VT.
1747# Things that use <knxt> usually use tab anyways... and things that don't use
1748# tab usually use <knxt> instead...
1749# kprv is same as tab - Backtab is useless...
1750# I left out <sgr> because of its RIDICULOUS complexity,
1751# and the resulting fact that it causes the termcap translation of the entry
1752# to SMASH the 1k-barrier...
1753# From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1754# (vt320: uncommented <fsl> --esr) 
1755vt320|vt300|dec vt320 7 bit terminal, 
1756	am, eslok, hs, mir, msgr, xenl, 
1757	cols#80, lines#24, wsl#80, 
1758	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1759	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
1760	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
1761	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1762	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1763	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1764	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
1765	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$}, 
1766	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
1767	il1=\E[L, ind=\ED, 
1768	is2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1769	ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=\177, kc1=\EOq, kc3=\EOs, 
1770	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1771	kdch1=\E[3~, kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
1772	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
1773	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
1774	kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, 
1775	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
1776	khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I, kpp=\E[5~, 
1777	kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, 
1778	nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt300, 
1779	ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
1780	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
1781	rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1782	sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
1783	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1784	tsl=\E[1$}\E[H\E[K, 
1785vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy, 
1786	am@, 
1787	is2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
1788	rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
1789	use=vt320, 
1790# We have to init 132-col mode, not 80-col mode.
1791vt320-w|vt300-w|dec vt320 wide 7 bit terminal, 
1792	cols#132, wsl#132, 
1793	is2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1794	rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1795	use=vt320, 
1796vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am, 
1797	am@, 
1798	is2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
1799	rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
1800	use=vt320-w, 
1801
1802# VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
1803#   which are pretty much a superset of the VT320.  They have the
1804#   host writable status line, yet another different DRCS matrix size,
1805#   and such, but they add the DEC Technical character set, Multiple text
1806#   pages, selectable length pages, and the like.  The difference between
1807#   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
1808#   monitor, the former has 4 planes and a color monitor.  These terminals
1809#   support VT131 and ANSI block mode, but as with much of these things,
1810#   termcap/terminfo doesn't deal with these features.
1811#
1812# Note that this entry is are set up in what was the standard way for GNU
1813# Emacs v18 terminal modes to deal with the cursor keys in that the arrow
1814# keys were switched into application mode at the same time the numeric pad
1815# is switched into application mode.  This changes the definitions of the
1816# arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
1817# your termcap or terminfo entry,
1818#
1819# From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
1820# (vt340: string capability "sb=\E[M" corrected to "sr";
1821# also, added <rmam>/<smam> based on the init string -- esr)
1822vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page, 
1823	am, eslok, hs, mir, msgr, xenl, xon, 
1824	cols#80, it#8, lines#24, vt#3, 
1825	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1826	blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J, 
1827	cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1828	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1829	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
1830	cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP, 
1831	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
1832	dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
1833	flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, home=\E[H, ht=^I, 
1834	hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
1835	is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1836	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1837	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
1838	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
1839	lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
1840	rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O, 
1841	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
1842	rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
1843	smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
1844	smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH, 
1845
1846# DEC doesn't supply a vt400 description, so we add Daniel Glasser's
1847# (originally written with vt420 as its primary name, and usable for it).
1848# 
1849# VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple 
1850#    text pages and long text pages with selectable length of the vt340, along
1851#    with left and right margins, rectangular area text copy, fill, and erase
1852#    operations, selected region character attribute change operations,
1853#    page memory and rectangle checksums, insert/delete column, reception
1854#    macros, and other features too numerous to remember right now.  TERMCAP
1855#    can only take advantage of a few of these added features.
1856#
1857# Note that this entry is are set up in what was the standard way for GNU
1858# Emacs v18 terminal modes to deal with the cursor keys in that the arrow
1859# keys were switched into application mode at the same time the numeric pad
1860# is switched into application mode.  This changes the definitions of the
1861# arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
1862# your termcap entry,
1863#
1864# From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
1865# (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
1866# also, added <rmam>/<smam> based on the init string -- esr)
1867vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap, 
1868	am, eslok, hs, mir, msgr, xenl, xon, 
1869	cols#80, it#8, lines#24, vt#3, 
1870	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1871	blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
1872	clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M, 
1873	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1874	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1875	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1876	cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
1877	dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>, 
1878	el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, 
1879	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
1880	il=\E[%p1%dL, il1=\E[L, ind=\ED, 
1881	is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1882	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1883	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
1884	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
1885	lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
1886	rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O, 
1887	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
1888	rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7, sgr0=\E[m, 
1889	smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
1890	smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1891	tsl=\E[2$~\E[1$}\E[1;%dH, 
1892
1893# (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
1894# a missing <sc> -- esr)
1895vt420|DEC VT420, 
1896	am, mir, xenl, xon, 
1897	cols#80, lines#24, vt#3, 
1898	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1899	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1900	clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1901	cub1=^H, cud1=\E[B, cuf1=\E[C, 
1902	cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
1903	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
1904	if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
1905	is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
1906	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
1907	kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, 
1908	kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, 
1909	kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
1910	kslt=\E[4~, rc=\E8, rev=\E[7m$<2>, 
1911	rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B$<4>, 
1912	rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, 
1913	rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
1914	rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
1915	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
1916	sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
1917	smkx=\E=, smso=\E[7m, smul=\E[4m, 
1918
1919#
1920# DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
1921# takes two parameters, the key and the string.  Translating the key is
1922# straightforward (keys 1-5 are not defined on real terminals, though some
1923# emulators define these):
1924#
1925#               if (key < 16) then  value = key;
1926#               else if (key < 21) then value = key + 1; 
1927#               else if (key < 25) then value = key + 2;
1928#               else if (key < 27) then value = key + 3;
1929#               else if (key < 30) then value = key + 4;
1930#               else value = key + 5;
1931#
1932# The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT". 
1933# There's no provision in terminfo for emitting a string in this format, so the
1934# application has to know it.
1935#
1936vt420pc|DEC VT420 w/PC keyboard, 
1937	kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~, 
1938	kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~, 
1939	kf15=\E[13;2~, kf16=\E[14;2~, kf17=\E[15;2~, 
1940	kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~, 
1941	kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~, 
1942	kf24=\E[24;2~, kf25=\E[23~, kf26=\E[24~, kf27=\E[25~, 
1943	kf28=\E[26~, kf29=\E[28~, kf3=\E[13~, kf30=\E[29~, 
1944	kf31=\E[31~, kf32=\E[32~, kf33=\E[33~, kf34=\E[34~, 
1945	kf35=\E[35~, kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~, 
1946	kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, kf41=\E[28;2~, 
1947	kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~, 
1948	kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~, 
1949	kf48=\E[36;2~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
1950	kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
1951	pctrm=USR_TERM\:vt420pcdos\:, 
1952	pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, use=vt420, 
1953
1954vt420pcdos|DEC VT420 w/PC for DOS Merge, 
1955	lines#25, 
1956	dispc=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;, 
1957	pctrm@, 
1958	rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr@, 
1959	sgr0=\E[m, smsc=\E[?1;2r\E[34h, 
1960	use=vt420pc, 
1961
1962vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys, 
1963	kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
1964	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
1965	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
1966	kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
1967	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
1968	khome=\E[H, lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS, 
1969	use=vt420, 
1970
1971vt510|DEC VT510, 
1972	use=vt420, 
1973vt510pc|DEC VT510 w/PC keyboard, 
1974	use=vt420pc, 
1975vt510pcdos|DEC VT510 w/PC for DOS Merge, 
1976	use=vt420pcdos, 
1977
1978# VT520/VT525
1979#
1980# The VT520 is a monochrome text terminal capable of managing up to
1981# four independent sessions in the terminal.  It has multiple ANSI
1982# emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
1983# and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
1984# 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
1985#
1986# Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
1987# [Alt]/[Print Screen] depending upon which keyboard and which
1988# terminal mode is being used.  If Set-Up has been disabled or
1989# assigned to an unknown key, Set-Up may be entered by pressing
1990# [F3] as the first key after power up, regardless of keyboard type.
1991# (vt520: I added <rmam>/<smam> based on the init string, also <sc> -- esr)
1992vt520|DEC VT520, 
1993	am, mir, xenl, xon, 
1994	cols#80, lines#24, vt#3, 
1995	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1996	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1997	clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1998	cub1=^H, cud1=\E[B, cuf1=\E[C, 
1999	cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
2000	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
2001	if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
2002	is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
2003	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2004	kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, 
2005	kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, 
2006	kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, 
2007	kpp=\E[5~, kslt=\E[4~, 
2008	pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, 
2009	rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, 
2010	ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
2011	rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
2012	rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
2013	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
2014	sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
2015	smso=\E[7m, smul=\E[4m, 
2016
2017# (vt525: I added <rmam>/<smam> based on the init string;
2018# removed <rmso>=\E[m, <rmul>=\E[m, added <sc> -- esr)
2019vt525|DEC VT525, 
2020	am, mir, xenl, xon, 
2021	cols#80, lines#24, vt#3, 
2022	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2023	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
2024	clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
2025	cub1=^H, cud1=\E[B, cuf1=\E[C, 
2026	cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
2027	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
2028	if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
2029	is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
2030	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2031	kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, 
2032	kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, 
2033	kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, 
2034	kpp=\E[5~, kslt=\E[4~, 
2035	pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, 
2036	rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, 
2037	ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
2038	rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
2039	rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
2040	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
2041	sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
2042	smso=\E[7m, smul=\E[4m, 
2043
2044#### VT100 emulations
2045#
2046
2047# John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
2048# (the best Windows telnet as of September 1995) presents the name `dec-vt100'
2049# to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
2050# that this works best with a stock vt100 entry.
2051dec-vt100|EWAN telnet's vt100 emulation, 
2052	use=vt100, 
2053
2054# From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
2055dec-vt220|DOS tnvt200 terminal emulator, 
2056	am@, use=vt220, 
2057
2058# Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
2059# anyone who needs PC VT340 emulation. (or anything below that level, for
2060# that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
2061# RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
2062# I can send the address if requested.
2063# (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
2064# From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
2065z340|zstem vt340 terminal emulator 132col 42line, 
2066	lines#42, 
2067	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
2068	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
2069	use=vt320-w, 
2070z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins), 
2071	am@, 
2072	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
2073	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
2074	use=z340, 
2075
2076# CRT is shareware.  It implements some xterm features, including mouse.
2077crt|crt-vt220|CRT 2.3 emulating VT220, 
2078	bce, msgr, 
2079	colors#8, pairs#64, 
2080	hts=\EH, op=\E[39;49m, setab=\E[4%p1%dm, 
2081	setaf=\E[3%p1%dm, setb=\E[4%p1%dm, setf=\E[3%p1%dm, 
2082	u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2083	use=vt220, 
2084
2085# This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
2086# T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
2087# (communication program) which supports:
2088#
2089#	- Serial port connections.
2090#	- TCP/IP (telnet) connections.
2091#	- VT100 emulation, and selected VT200/300 emulation.
2092#	- TEK4010 emulation.
2093#	- File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
2094#	  Quick-VAN).
2095#	- Scripts using the "Tera Term Language".
2096#	- Japanese and Russian character sets.
2097#
2098# The program does not come with terminfo or termcap entries.  However, the
2099# emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
2100# vt52 or doublesize character support; blinking is done with color).  Besides
2101# the HPA, VPA extensions it also implements CPL and CNL.
2102#
2103# All of the function keys can be remapped.  This description shows the default
2104# mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
2105# are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
2106# is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
2107#	kfnd	Insert
2108#	kslt	Delete
2109#	kich1	Home
2110#	kdch1	PageUp
2111#	kpp	End
2112#	knp	PageDown
2113#
2114# ANSI colors are implemented, but cannot be combined with video attributes
2115# except for reverse.
2116#
2117# No fonts are supplied with the program, so the acsc string is chosen to
2118# correspond with the default Microsoft terminal font.
2119#
2120# Tera Term recognizes some xterm sequences, including those for setting and
2121# retrieving the window title, and for setting the window size (i.e., using
2122# "resize -s"), though it does not pass SIGWINCH to the application if the
2123# user resizes the window with the mouse.
2124teraterm|Tera Term Pro, 
2125	km, xon@, 
2126	ncv#43, vt@, 
2127	acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
2128	blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J, 
2129	cnorm=\E[?25h, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
2130	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2131	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
2132	flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG, 
2133	il=\E[%p1%dL, il1=\E[L, kdch1=\E[3~, kf1=\E[11~, 
2134	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
2135	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
2136	kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, 
2137	kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
2138	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, 
2139	kpp=\E[5~, kslt=\E[4~, op=\E[100m, rev=\E[7m, ri=\EM, 
2140	rmso=\E[27m, rmul=\E[24m, sgr0=\E[m, smso=\E[7m, 
2141	smul=\E[4m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2142	vpa=\E[%i%p1%dd, 
2143	use=klone+color, use=vt100, 
2144
2145# Tested with WinNT 4.0, the telnet application assumes the screensize is
2146# 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
2147ms-vt100|MS telnet imitating dec vt100, 
2148	lines#25, 
2149	acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
2150	tbc@, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?6c, u9=\E[c, 
2151	use=vt100, 
2152
2153#### X terminal emulators
2154#
2155# You can add the following line to your .Xdefaults to change the terminal type
2156# set by the xterms you start up to my-xterm:
2157#
2158# *termName:  my-xterm
2159#
2160# System administrators can change the default entry for xterm instances
2161# by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
2162# case, xterm will detect and reject an invalid terminal type, falling back
2163# to the default of xterm.
2164#
2165
2166# X10/6.6	11/7/86, minus alternate screen, plus (csr)
2167# (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
2168# removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
2169# as these seem not to work -- esr)
2170x10term|vs100-x10|xterm terminal emulator (X10 window system), 
2171	am, km, mir, msgr, xenl, xon, 
2172	cols#80, it#8, lines#65, 
2173	bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
2174	cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
2175	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2176	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
2177	il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H, 
2178	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
2179	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l, 
2180	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
2181	sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
2182	smso=\E[7m, smul=\E[4m, 
2183# Compatible with the R5 xterm 
2184# (from the XFree86 3.2 distribution, <blink=@> removed)
2185# added khome/kend, rmir/smir, rmul/smul based on the R5 xterm code - TD
2186# corrected typos in rs2 string - TD
2187xterm-r5|xterm R5 version, 
2188	am, km, msgr, xenl, 
2189	cols#80, it#8, lines#24, 
2190	bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2191	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2192	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2193	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2194	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2195	el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
2196	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD, 
2197	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, 
2198	kdl1=\E[31~, kel=\E[8~, kend=\E[4~, kf0=\EOq, kf1=\E[11~, 
2199	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, 
2200	kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
2201	kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~, 
2202	kil1=\E[30~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8, 
2203	rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
2204	rmul=\E[m, 
2205	rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H, 
2206	sc=\E7, 
2207	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
2208	sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
2209	smul=\E[4m, tbc=\E[3g, 
2210# Compatible with the R6 xterm
2211# (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
2212# added khome/kend - TD
2213xterm-r6|xterm-old|xterm X11R6 version, 
2214	am, km, mir, msgr, xenl, 
2215	cols#80, it#8, lines#24, 
2216	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2217	bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2218	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2219	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2220	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2221	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2222	el=\E[K, enacs=\E)0, home=\E[H, ht=^I, il=\E[%p1%dL, 
2223	il1=\E[L, ind=^J, 
2224	is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H, 
2225	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
2226	kdch1=\E[3~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
2227	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
2228	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
2229	kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[15~, 
2230	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
2231	kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, 
2232	meml=\El, memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
2233	rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>, 
2234	rmso=\E[m, rmul=\E[m, 
2235	rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7, 
2236	sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h, 
2237	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
2238	u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2239# This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
2240# The name has been changed and some aliases have been removed.
2241xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System), 
2242	am, bce, km, mir, msgr, xenl, 
2243	colors#8, cols#80, it#8, lines#24, pairs#64, 
2244	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2245	bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
2246	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
2247	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2248	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2249	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2250	cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2251	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
2252	enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H, 
2253	hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
2254	il=\E[%p1%dL, il1=\E[L, ind=^J, 
2255	is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, 
2256	ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq, 
2257	kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
2258	kdch1=\177, kend=\EOF, kent=\EOM, kf1=\E[11~, kf10=\E[21~, 
2259	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
2260	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
2261	kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
2262	kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
2263	kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~, 
2264	kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El, 
2265	memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
2266	rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, 
2267	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=^O, 
2268	rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7, 
2269	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
2270	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2271	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2272	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2273	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h, 
2274	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
2275	tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2276	vpa=\E[%i%p1%dd, 
2277
2278# This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
2279# codes for F1-F4 except while in VT220 mode.
2280xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System), 
2281	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
2282	use=xterm-xf86-v32, 
2283
2284# This version was released in XFree86 3.3.3 (November 1998).
2285# Besides providing printer support, it exploits a new feature that allows
2286# xterm to use terminfo-based descriptions with the titeInhibit resource.
2287xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System), 
2288	mc5i, 
2289	blink=\E[5m, ich1@, invis=\E[8m, 
2290	is2=\E[!p\E[?3;4l\E[4l\E>, kdch1=\E[3~, kend=\E[4~, 
2291	kfnd@, khome=\E[1~, kslt@, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, 
2292	rmcup=\E[?1047l\E[?1048l, rs1=\Ec, 
2293	rs2=\E[!p\E[?3;4l\E[4l\E>, 
2294	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
2295	smcup=\E[?1048h\E[?1047h, 
2296	use=xterm-xf86-v33, 
2297
2298# This beta version will probably be released in XFree86 4.0.
2299xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System), 
2300	ka1=\EOH, ka3=\E[5~, kb2=\EOE, kc1=\EOF, kc3=\E[6~, 
2301	kdch1=\177, kend=\EOF, khome=\EOH, rmcup=\E[?1049l, 
2302	smcup=\E[?1049h, 
2303	use=xterm-xf86-v333, 
2304
2305xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System), 
2306	use=xterm-xf86-v40, 
2307
2308# From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
2309xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1, 
2310	rmso=\E[m, rmul=\E[m, 
2311	use=xterm-xf86-v33, 
2312
2313# This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
2314xterm-16color|xterm with 16 colors like aixterm, 
2315	colors#16, ncv#32, pairs#256, 
2316	setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm, 
2317	setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm, 
2318	setb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m, 
2319	setf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m, 
2320	use=xterm-xf86-v40, 
2321
2322# This is another variant, for XFree86 4.0 xterm (T.Dickey)
2323# This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
2324# To use it, your decTerminalID resource must be set to 200 or above.
2325#
2326#	HTS	\E H	\210
2327#	RI	\E M	\215
2328#	SS3	\E O	\217
2329#	CSI	\E [	\233
2330#
2331xterm-8bit|xterm terminal emulator 8-bit controls (X Window System), 
2332	am, bce, km, mc5i, mir, msgr, xenl, 
2333	colors#8, cols#80, it#8, lines#24, pairs#64, 
2334	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2335	bel=^G, blink=\2335m, bold=\2331m, cbt=\233Z, 
2336	civis=\233?25l, clear=\233H\2332J, cnorm=\233?25h, cr=^M, 
2337	csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H, 
2338	cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C, 
2339	cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A, 
2340	cvvis=\233?25h, dch=\233%p1%dP, dch1=\233P, 
2341	dl=\233%p1%dM, dl1=\233M, ech=\233%p1%dX, ed=\233J, 
2342	el=\233K, el1=\2331K, enacs=\E(B\E)0, 
2343	flash=\233?5h\233?5l, home=\233H, hpa=\233%i%p1%dG, 
2344	ht=^I, hts=\210, ich=\233%p1%d@, il=\233%p1%dL, il1=\233L, 
2345	ind=^J, invis=\2338m, 
2346	is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
2347	ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H, 
2348	kc1=\217q, kc3=\217s, kcub1=\217D, kcud1=\217B, 
2349	kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\2334~, 
2350	kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~, 
2351	kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~, 
2352	kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~, 
2353	kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~, 
2354	kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~, 
2355	kf9=\23320~, khome=\2331~, kich1=\2332~, kmous=\233M, 
2356	knp=\2336~, kpp=\2335~, mc0=\233i, mc4=\2334i, mc5=\2335i, 
2357	meml=\El, memu=\Em, op=\23339;49m, rc=\E8, rev=\2337m, 
2358	ri=\215, rmacs=^O, rmam=\233?7l, rmcup=\233?1049l, 
2359	rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m, 
2360	rs1=\Ec, 
2361	rs2=\E7\E[62"p\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
2362	sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm, 
2363	setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2364	setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2365	sgr=\2330%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
2366	sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\233?1049h, 
2367	smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m, 
2368	tbc=\2333g, u6=\233[%i%d;%dR, u7=\E[6n, u8=\233[?1;2c, 
2369	u9=\E[c, vpa=\233%i%p1%dd, 
2370
2371xterm-24|vs100|xterms|xterm terminal emulator (X Window System), 
2372	lines#24, use=xterm, 
2373
2374# This is xterm for ncurses.
2375xterm|xterm terminal emulator (X Window System), 
2376	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2377	kmous=\E[M, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2378	use=xterm-r6, 
2379
2380# These entries allow access to the X titlebar and icon name as a status line. 
2381# Note that twm (and possibly window managers descended from it such as tvtwm, 
2382# ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
2383# with it.
2384xterm+sl|access X title line and icon name, 
2385	hs, 
2386	wsl#40, 
2387	dsl=\E]0;\007, fsl=^G, tsl=\E]0;, use=xterm, 
2388xterm+sl-twm|access X title line (pacify twm-descended window managers), 
2389	hs, 
2390	wsl#40, 
2391	dsl=\E]2;\007, fsl=^G, tsl=\E]2;, use=xterm, 
2392
2393#
2394# The following xterm variants don't depend on your base version
2395#
2396# xterm with bold instead of underline
2397xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold, 
2398	smso=\E[7m, smul=\E[1m, 
2399	use=xterm, 
2400# (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
2401# (kterm should not invoke DEC Graphics as the alternate character set
2402#  -- Kenji Rikitake)
2403kterm|kterm kanji terminal emulator (X window system), 
2404	eslok, hs, 
2405	acsc@, csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs@, fsl=\E[?F, 
2406	kmous=\E[M, op=\E[39;49m, rc=\E8, rmacs@, sc=\E7, smacs@, 
2407	tsl=\E[?E\E[?%i%dT, 
2408	use=xterm-r6, use=klone+color, 
2409# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
2410xterm-nic|xterm with ich/ich1 suppressed for non-curses programs, 
2411	ich@, ich1@, 
2412	use=xterm, 
2413# From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996 
2414xterm1|xterm terminal emulator ignoring the alternate screen buffer, 
2415	rmcup@, smcup@, 
2416	use=xterm, 
2417
2418# This describes the capabilities of color_xterm, an xterm variant from
2419# before ECMA-64 color support was folded into the main-line xterm release.
2420# This entry is straight from color_xterm's maintainer.
2421# From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
2422# The README's with the distribution also say that it supports SGR 21, 24, 25
2423# and 27, but they are not present in the terminfo or termcap.
2424color_xterm|cx|cx100|color_xterm color terminal emulator for X, 
2425	am, km, mir, msgr, xenl, 
2426	colors#8, cols#80, it#8, lines#65, pairs#64, 
2427	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2428	bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2429	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2430	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2431	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2432	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2433	el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I, 
2434	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
2435	is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, ka1=\EOw, ka3=\EOy, 
2436	kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\EOD, kcud1=\EOB, 
2437	kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kent=\EOM, kf1=\E[11~, 
2438	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, 
2439	kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
2440	kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~, 
2441	kmous=\E[M, knp=\E[6~, kpp=\E[5~, op=\E[39;49m, rc=\E8, 
2442	rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, 
2443	rmcup=\E>\E[?41;1r, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
2444	rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<, 
2445	sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
2446	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2447	sgr0=\E[m, smacs=^N, smam=\E[?7h, 
2448	smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m, 
2449	smul=\E[4m, 
2450
2451# The 'nxterm' distributed with Redhat Linux is a slight rehack of
2452# xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
2453# SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
2454# description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
2455# that each of those implements the home, end, delete keys differently.
2456nxterm|xterm-color|generic color xterm, 
2457	ncv@, 
2458	op=\E[m, use=xterm-r6, use=klone+color, 
2459
2460# From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
2461# Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
2462# Notes:
2463# rxvt 2.21b uses
2464#	smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
2465# but some applications don't work with that.
2466# It also has an AIX extension
2467#	box2=lqkxjmwuvtn,
2468# and
2469#	ech=\E[%p1%dX,
2470# but the latter does not work correctly.
2471#
2472# The distributed terminfo says it implements hpa and vpa, but they are not
2473# implemented correctly, using relative rather than absolute positioning.
2474#
2475# rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
2476# Since rxvt is not really compatible with xterm, it should be configured as
2477# "rxvt" (monochrome) and "rxvt-color". 
2478rxvt-basic|rxvt terminal base (X Window System), 
2479	am, bce, eo, km, mir, msgr, xenl, xon, 
2480	cols#80, it#8, lines#24, 
2481	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2482	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
2483	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
2484	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2485	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2486	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2487	cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2488	dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
2489	flash=\E[?5h\E[?5l, home=\E[H, ht=^I, hts=\EH, 
2490	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
2491	is1=\E[?47l\E=\E[?1l, 
2492	is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, 
2493	kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$, 
2494	kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, 
2495	kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
2496	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^, 
2497	kend=\E[8~, kent=\EOM, kf0=\E[21~, kf1=\E[11~, kf10=\E[21~, 
2498	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
2499	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
2500	kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
2501	kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
2502	kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~, 
2503	kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8, 
2504	rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[2J\E[?47l\E8, 
2505	rmir=\E[4l, rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
2506	rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
2507	rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>, 
2508	s0ds=\E(B, s1ds=\E(0, sc=\E7, sgr0=\E[0m\017, smacs=^N, 
2509	smcup=\E7\E[?47h, smir=\E[4h, smkx=\E=, smso=\E[7m, 
2510	smul=\E[4m, tbc=\E[3g, 
2511rxvt|rxvt terminal emulator (X Window System), 
2512	colors#8, pairs#64, 
2513	op=\E[39;49m, setab=\E[%p1%{40}%+%dm, 
2514	setaf=\E[%p1%{30}%+%dm, sgr0=\E[m\017, use=rxvt-basic, 
2515
2516# These (xtermc and xtermm) are distributed with Solaris.  They refer to a
2517# variant of xterm which is apparently no longer supported, but are interesting
2518# because they illustrate SVr4 curses mouse controls - T.Dickey
2519xtermm|xterm terminal emulator (monocrome), 
2520	am, km, mir, msgr, xenl, 
2521	btns#3, cols#80, it#8, lines#24, 
2522	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2523	bel=^G, blink=@, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2524	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[1D, 
2525	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2526	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2527	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2528	el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0, getm=\E[%p1%dY, 
2529	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
2530	il=\E[%p1%dL, il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, 
2531	kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, 
2532	kcuf1=\EOC, kcuu1=\EOA, kend=\E[Y, kent=\EOM, kf0=\EOy, 
2533	kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf2=\EOQ, 
2534	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
2535	kf9=\EOX, khome=\E[H, kmous=\E[^_, knp=\E[U, kpp=\E[V, 
2536	rc=\E8, reqmp=\E[492Z, rev=\E[7m, ri=\EM, rmacs=^O, 
2537	rmcup=\E@0\E[?4r, rmso=\E[m, 
2538	rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
2539	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
2540	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2541	sgr0=\E[m\017, smacs=^N, smcup=\E@0\E[?4s\E[?4h\E@1, 
2542	smso=\E[7m, tbc=\E[3g, 
2543
2544xtermc|xterm terminal emulator (color), 
2545	colors#8, ncv#7, pairs#64, 
2546	op=\E[100m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
2547	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2548	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2549	use=xtermm, 
2550
2551# From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
2552# Here's a termcap entry I've been using for xterm_color, which comes
2553# with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
2554# color stuff, I also have a status line defined as the window manager
2555# title bar. [I have translated it to terminfo -- ESR]
2556xterm-pcolor|xterm with color used for highlights and status line, 
2557	bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m, 
2558	smul=\E[4m\E[42m, 
2559	use=xterm+sl, use=xterm-r6, 
2560
2561# HP ships this, except for the pb#9600 which was merged in from BSD termcap.
2562# (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
2563hpterm|X-hpterm|hp X11 terminal emulator, 
2564	am, da, db, mir, xhp, 
2565	cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0, 
2566	acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, 
2567	cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, 
2568	cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK, 
2569	hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H, 
2570	kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
2571	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
2572	kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
2573	khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
2574	knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El, 
2575	memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
2576	pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
2577	pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
2578	pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET, 
2579	rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, 
2580	rmul=\E&d@, 
2581	sgr=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
2582	sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB, 
2583	smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
2584
2585# This entry describes an xterm with Sun-style function keys enabled
2586# via the X resource setting "xterm*sunFunctionKeys:true"
2587# To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
2588# The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
2589# because we want it to be seen as <kcpy>. 
2590# The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
2591# with their Sun keyboard labels instead.
2592# From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
2593xterm-sun|xterm with sunFunctionKeys true, 
2594	kb2=\E[218z, kcpy=\E[197z, kend=\E[220z, kf1=\E[224z, 
2595	kf10=\E[233z, kf11=\E[192z, kf12=\E[193z, kf13=\E[194z, 
2596	kf14=\E[195z, kf15=\E[196z, kf17=\E[198z, kf18=\E[199z, 
2597	kf19=\E[200z, kf2=\E[225z, kf20=\E[201z, kf3=\E[226z, 
2598	kf31=\E[208z, kf32=\E[209z, kf33=\E[210z, kf34=\E[211z, 
2599	kf35=\E[212z, kf36=\E[213z, kf38=\E[215z, kf4=\E[227z, 
2600	kf40=\E[217z, kf42=\E[219z, kf44=\E[221z, kf5=\E[228z, 
2601	kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, 
2602	kfnd=\E[200z, khlp=\E[196z, khome=\E[214z, kich1=\E[2z, 
2603	knp=\E[222z, kpp=\E[216z, kund=\E[195z, 
2604	use=xterm, 
2605xterms-sun|small (80x24) xterm with sunFunctionKeys true, 
2606	cols#80, lines#24, use=xterm-sun, 
2607
2608# This is for the extensible terminal emulator on the X11R6 contrib tape.
2609emu|emu native mode, 
2610	mir, msgr, xon, 
2611	colors#15, cols#80, it#8, lines#24, pairs#64, vt#200, 
2612	acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244, 
2613	bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ, 
2614	clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;, 
2615	cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB, 
2616	cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;, 
2617	cuu=\Ep-%p1%d;, cuu1=\EA, cvvis=\Ea, dch=\EI%p1%d;, 
2618	dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN, 
2619	el=\EK, el1=\EL, enacs=\0, home=\EE0;0;, ht=^I, hts=\Eh, 
2620	il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;, 
2621	kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA, 
2622	kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10, 
2623	kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14, kf15=\EF15, 
2624	kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19, kf2=\EF02, 
2625	kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06, 
2626	kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins, 
2627	knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;, 
2628	rev=\ES\ET, ri=\EF, rmacs=\0, rmir=\EX, rmso=\ES, rmul=\ES, 
2629	rs2=\ES\Es0;\Er0;, setab=\Es%i%p1%d;, 
2630	setaf=\Er%i%p1%d;, sgr0=\ES, smacs=\0, smir=\EY, 
2631	smso=\ES\ET, smul=\ES\EV, tbc=\Ej, 
2632
2633#### MGR
2634#
2635# MGR is a Bell Labs window system lighter-weight than X.
2636# These entries describe MGR's xterm-equivalent. 
2637# They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997 
2638#
2639
2640mgr|Bellcore MGR (non X) window system terminal emulation, 
2641	am, km, 
2642	bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M, 
2643	csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er, 
2644	cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h, 
2645	dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>, 
2646	dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u, 
2647	ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>, 
2648	il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
2649	kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S, 
2650	rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n, 
2651	smul=\E4n, 
2652mgr-sun|Mgr window with Sun keyboard, 
2653	ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z, 
2654	kc3=\E[222z, kcpy=\E197z, kend=\E[220z, kent=\E[250z, 
2655	kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, 
2656	kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, 
2657	kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, 
2658	kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z, 
2659	kopn=\E[198z, kpp=\E[216z, kund=\E[195z, 
2660	use=mgr, 
2661mgr-linux|Mgr window with Linux keyboard, 
2662	ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~, 
2663	kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~, 
2664	kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, 
2665	kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
2666	khome=\E[1~, knp=\E[6~, kpp=\E[5~, 
2667	use=mgr, 
2668
2669######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
2670#
2671
2672# Columbus UNIX virtual terminal. This terminal also appears in 
2673# UNIX 4.0 and successors as line discipline 1 (?), but is 
2674# undocumented and does not really work quite right.
2675cbunix|cb unix virtual terminal, 
2676	am, da, db, 
2677	cols#80, lines#24, lm#0, 
2678	bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
2679	cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL, 
2680	el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB, 
2681	kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A, 
2682	smso=\Ea^D, smul=\Ea^A, 
2683# (vremote: removed obsolete ":nl@:" -- esr)
2684vremote|virtual remote terminal, 
2685	am@, 
2686	cols#79, use=cbunix, 
2687
2688pty|4bsd pseudo teletype, 
2689	cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!, 
2690	smso=\Ea$, smul=\Ea!, 
2691	use=cbunix, 
2692
2693# The codes supported by the term.el terminal emulation in GNU Emacs 19.30 
2694eterm|gnu emacs term.el terminal emulation, 
2695	am, mir, xenl, 
2696	cols#80, lines#24, 
2697	bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
2698	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2699	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2700	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2701	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2702	el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
2703	il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m, 
2704	rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
2705	sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m, 
2706	smul=\E[4m, 
2707
2708# Entries for use by the FSF's `screen' program.  The screen and
2709# screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
2710# come from University of Wisconsin and may be older.
2711# (screen: added <cnorm> on ANSI model -- esr)
2712
2713screen|VT 100/ANSI X3.64 virtual terminal, 
2714	am, km, mir, msgr, xenl, 
2715	colors#8, cols#80, it#8, lines#24, pairs#64, 
2716	acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2717	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
2718	clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M, 
2719	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2720	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2721	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
2722	cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2723	dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
2724	flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
2725	il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, 
2726	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP, 
2727	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, 
2728	kf4=\EOS, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
2729	kf9=\E[20~, khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, 
2730	kpp=\E[5~, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
2731	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, 
2732	rs2=\Ec, sc=\E7, sgr0=\E[m, smacs=^N, smir=\E[4h, 
2733	smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
2734	use=ecma+color, 
2735
2736screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols, 
2737	cols#132, use=screen, 
2738
2739screen2|old VT 100/ANSI X3.64 virtual terminal, 
2740	cols#80, it#8, lines#24, 
2741	cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H, 
2742	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
2743	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2744	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2745	el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL, 
2746	il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
2747	kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
2748	kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, 
2749	nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m, 
2750	rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h, 
2751	smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
2752# (screen3: removed unknown ":xv:LP:G0:" -- esr)
2753screen3|older VT 100/ANSI X3.64 virtual terminal, 
2754	km, mir, msgr, 
2755	cols#80, it#8, lines#24, 
2756	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
2757	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2758	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2759	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
2760	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2761	el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
2762	il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, 
2763	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, 
2764	kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
2765	rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec, 
2766	sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m, 
2767	smul=\E[4m, tbc=\E[3g, 
2768
2769# Francesco Potorti <F.Potorti@cnuce.cnr.it>:
2770# NCSA telnet is one of the most used telnet clients for the Macintosh.  It has
2771# been maintained until recently by the National Center for Supercomputer
2772# Applications, and it is feature rich, stable and free.  It can be downloaded
2773# from www.ncsa.edu.  This terminfo description file is based on xterm-vt220,
2774# xterm+sl, and the docs at NCSA.  It works well.
2775#
2776# NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
2777# The terminal options should be set as follows:
2778#         Xterm sequences ON
2779#         use VT wrap mode ON
2780#         use Emacs arrow keys OFF
2781#         CTRL-COMND is Emacs meta ON
2782#         8 bit mode ON
2783#         answerback string: "ncsa-vt220-8"
2784#         setup keys: all disabled
2785#
2786# Application mode is not used.
2787#
2788# Other special mappings:
2789#	Apple		VT220
2790#	HELP 		Find
2791#	HOME		Insert here
2792#	PAGEUP		Remove
2793#	DEL		Select
2794#	END		Prev Screen
2795#	PAGEDOWN	Next Screen
2796#
2797# Though it supports ANSI color, NCSA Telnet uses color to represent blinking
2798# text.
2799#
2800# The status-line manipulation is a mapping of the xterm-compatible control
2801# sequences for setting the window-title.  So you must use tsl and fsl in
2802# pairs, since the latter ends the string that is loaded to the window-title.
2803ncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode, 
2804	am, hs, km, mir, msgr, xenl, 
2805	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2806	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
2807	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
2808	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2809	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2810	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2811	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
2812	dsl=\E]0;\007, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
2813	flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, ht=^I, hts=\EH, 
2814	ich=\E[%p1%d@, if=/usr/share/tabset/vt100, 
2815	il=\E[%p1%dL, il1=\E[L, ind=\n$<150*>, 
2816	is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, kbs=^H, 
2817	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2818	kdch1=\E[4~, kend=\E[5~, kf1=\E[17~, kf10=\E[28~, 
2819	kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, kf14=\E[33~, 
2820	kf15=\E[34~, kf2=\E[18, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, 
2821	kf6=\E23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khlp=\E[1~, 
2822	khome=\E[2~, knp=\E[6~, kpp=\E[3~, mc4=\E[4i, mc5=\E[5i, 
2823	rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EM, 
2824	rmacs=^O, rmam=\E[?7l, rmcup=\E[2J\E8, rmir=\E[4l, 
2825	rmso=\E[27m, rmul=\E[24m, 
2826	rs2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, sc=\E7, 
2827	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
2828	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7, 
2829	smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]0;, 
2830	u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?62;1;6c, u9=\E[c, 
2831ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode, 
2832	use=ncsa-m, use=klone+color, 
2833ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode, 
2834	hs@, 
2835	dsl@, fsl@, tsl@, use=ncsa, 
2836ncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode, 
2837	hs@, 
2838	dsl@, fsl@, tsl@, use=ncsa-m, 
2839# alternate -TD:
2840# The documented function-key mapping refers to the Apple Extended Keyboard
2841# (e.g., NCSA Telnet's F1 corresponds to a VT220 F6).  We use the VT220-style
2842# codes, however, since the numeric keypad (VT100) PF1-PF4 are available on
2843# some keyboards and many applications require these as F1-F4.
2844#
2845ncsa-vt220|NCSA Telnet using vt220-compatible function keys, 
2846	kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
2847	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
2848	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
2849	kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
2850	kf8=\E[19~, kf9=\E[20~, 
2851	use=ncsa, 
2852
2853#### Pilot Pro Palm-Top
2854#
2855# From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
2856pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional, 
2857	am, xenl, 
2858	cols#39, lines#16, 
2859	bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J, 
2860	cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I, 
2861	ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s, 
2862	rmso=\EB, smso=\Eb, 
2863
2864######## COMMERCIAL WORKSTATION CONSOLES
2865#
2866
2867#### Alpha consoles
2868#
2869
2870# This is from the OSF/1 Release 1.0 termcap file
2871pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation, 
2872	am, xon, 
2873	cols#80, lines#25, 
2874	bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
2875	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
2876	el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, kbs=^H, 
2877	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
2878	nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
2879
2880#### Sun consoles
2881#
2882
2883# :is1: resets scrolling region in case a previous user had used "tset vt100"
2884oldsun|Sun Microsystems Workstation console, 
2885	am, km, mir, msgr, 
2886	cols#80, it#8, lines#34, 
2887	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, 
2888	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
2889	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, 
2890	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
2891	is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2892	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
2893	rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
2894# From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
2895# <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
2896# SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
2897sun-il|Sun Microsystems console with working insert-line, 
2898	am, km, msgr, 
2899	cols#80, lines#34, 
2900	bel=^G, bold@, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
2901	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
2902	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, 
2903	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
2904	kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
2905	kcuu1=\E[A, kdch1=\177, kend=\E[220z, kf1=\E[224z, 
2906	kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z, 
2907	kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z, 
2908	kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z, 
2909	knp=\E[222z, kopt=\E[194z, kpp=\E[216z, kres=\E[193z, 
2910	kund=\E[195z, rev=\E[7m, rmso=\E[m, rmul@, rs2=\E[s, 
2911	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, 
2912	sgr0=\E[m, smso=\E[7m, smul@, u8=\E[1t, u9=\E[11t, 
2913# On a SparcStation 5, <il1>/<il> flake out on the last line.
2914# Unfortunately, without them the terminal has no way to scroll.
2915sun-ss5|Sun SparcStation 5 console, 
2916	il@, il1@, use=sun-il, 
2917# If you are using an SS5, change the sun definition to use sun-ss5.
2918sun|sun1|sun2|Sun Microsystems Inc. workstation console, 
2919	use=sun-il, 
2920
2921# From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
2922sun-s|Sun Microsystems Workstation window with status line, 
2923	hs, 
2924	dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun, 
2925sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs, 
2926	hs, 
2927	dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e, 
2928sun-48|Sun 48-line window, 
2929	cols#80, lines#48, use=sun, 
2930sun-34|Sun 34-line window, 
2931	cols#80, lines#34, use=sun, 
2932sun-24|Sun 24-line window, 
2933	cols#80, lines#24, use=sun, 
2934sun-17|Sun 17-line window, 
2935	cols#80, lines#17, use=sun, 
2936sun-12|Sun 12-line window, 
2937	cols#80, lines#12, use=sun, 
2938sun-1|Sun 1-line window for sysline, 
2939	eslok, hs, 
2940	cols#80, lines#1, 
2941	dsl=^L, fsl=\E[K, tsl=^M, use=sun, 
2942sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character, 
2943	ich1@, rmir@, smir@, 
2944	use=sun, 
2945sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history, 
2946	lines#35, 
2947	rmcup=\E[>4h, smcup=\E[>4l, use=sun, 
2948
2949#### Iris consoles
2950#
2951
2952# (wsiris: this had extension capabilities
2953#	:HS=\E7F2:HE=\E7F7:\
2954#	:CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
2955# See the note on Iris extensions near the end of this file.  
2956# Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> & 
2957# <flash> from BRL -- esr)
2958wsiris|iris40|iris emulating a 40 line visual 50 (approximately), 
2959	am, 
2960	cols#80, it#8, lines#40, 
2961	bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB, cuf1=\EC, 
2962	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E;, 
2963	dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK, 
2964	flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL, 
2965	ind=^J, is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB, 
2966	kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, 
2967	kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI, 
2968	rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P, 
2969	smul=\E7R2\E9P, 
2970
2971#### NeWS consoles
2972#
2973# Console terminal windows under the NeWS (Sun's Display Postscript windowing
2974# environment).   Note: these have nothing to do with Sony's News workstation
2975# line.
2976#
2977
2978# Entry for NeWS's psterm from Eric Messick & Hugh Daniel
2979# (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
2980psterm|psterm-basic|NeWS psterm-80x34, 
2981	am, hs, km, ul, 
2982	cols#80, it#8, lines#34, 
2983	blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;, 
2984	cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY, 
2985	dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl, 
2986	home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D, 
2987	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr, 
2988	ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^], 
2989	sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu, 
2990	tsl=\EOl, 
2991psterm-96x48|NeWS psterm 96x48, 
2992	cols#96, lines#48, use=psterm, 
2993psterm-90x28|NeWS psterm 90x28, 
2994	cols#90, lines#28, use=psterm, 
2995psterm-80x24|NeWS psterm 80x24, 
2996	cols#80, lines#24, use=psterm, 
2997# This is a faster termcap for psterm.  Warning:  if you use this termcap,
2998# some control characters you type will do strange things to the screen.
2999# (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
3000psterm-fast|NeWS psterm fast version (flaky ctrl chars), 
3001	am, hs, km, ul, 
3002	cols#80, it#8, lines#34, 
3003	blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;, 
3004	cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y, 
3005	dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I, 
3006	il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
3007	kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni, 
3008	rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi, 
3009	smso=^Oo, smul=^Ou, tsl=^Ol, 
3010
3011#### NeXT consoles
3012#
3013# Use `glasstty' for the Workspace application
3014#
3015
3016# From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
3017next|NeXT console, 
3018	am, xt, 
3019	cols#80, it#8, lines#24, 
3020	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
3021	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
3022	ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
3023	rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m, 
3024nextshell|NeXT Shell application, 
3025	am, 
3026	cols#80, 
3027	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H, 
3028	kcud1=^J, nel=^M^J, 
3029
3030#### Sony NEWS workstations
3031#
3032
3033# (news-unk: this had :KB=news: -- esr)
3034news-unk|SONY NEWS vt100 emulator common entry, 
3035	am, xenl, 
3036	cols#80, 
3037	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
3038	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
3039	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, 
3040	ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
3041	if=/usr/lib/tabset/vt100, il=\E[%p1%dL, il1=\E[L, 
3042	is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD, 
3043	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP, 
3044	kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, 
3045	kf8=\EOW, kf9=\EOX, rc=\E8, rev=\E[7m, ri=\EM, 
3046	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
3047	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
3048#
3049# (news-29: this had :TY=ascii: --esr)
3050news-29, 
3051	lines#29, use=news-unk, 
3052# (news-29-euc: this had :TY=euc: --esr)
3053news-29-euc, 
3054	use=news-29, 
3055# (news-29-sjis: this had :TY=sjis: --esr)
3056news-29-sjis, 
3057	use=news-29, 
3058#
3059# (news-33: this had :TY=ascii: --esr)
3060news-33, 
3061	lines#33, use=news-unk, 
3062# (news-33-euc: this had :TY=euc: --esr)
3063news-33-euc, 
3064	use=news-33, 
3065# (news-33-sjis: this had :TY=sjis: --esr)
3066news-33-sjis, 
3067	use=news-33, 
3068#
3069# (news-42: this had :TY=ascii: --esr)
3070news-42, 
3071	lines#42, use=news-unk, 
3072# (news-42-euc: this had :TY=euc: --esr)
3073news-42-euc, 
3074	use=news-42, 
3075# (news-42-sjis: this had :TY=sjis: --esr)
3076news-42-sjis, 
3077	use=news-42, 
3078#
3079#	NEWS-OS old termcap entry 
3080#
3081# (news-old-unk: this had :KB=news:TY=sjis: --esr)
3082news-old-unk|SONY NEWS vt100 emulator common entry, 
3083	am, xenl, 
3084	cols#80, vt#3, 
3085	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, cr=^M, 
3086	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
3087	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
3088	home=\E[H, ht=^I, if=/usr/lib/tabset/vt100, kbs=^H, 
3089	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
3090	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM, 
3091	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
3092	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
3093#
3094# (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
3095nwp512|news|nwp514|news40|vt100-bm|sony vt100 emulator 40 lines, 
3096	lines#40, 
3097	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk, 
3098#
3099# (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
3100nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line, 
3101	lines#42, 
3102	is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8, use=news-old-unk, 
3103#
3104# (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as <OTbs>. --esr)
3105nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines, 
3106	lines#40, 
3107	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk, 
3108#
3109# (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
3110nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines, 
3111	lines#31, 
3112	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk, 
3113#
3114# (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
3115# also the alias vt100-bm.
3116nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|sony vt100 emulator 33 lines, 
3117	lines#33, 
3118	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8, use=news-old-unk, 
3119#
3120# (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
3121nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|sony vt100 emulator 33 lines, 
3122	lines#31, 
3123	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk, 
3124#
3125# (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
3126news28|sony vt100 emulator 28 lines, 
3127	lines#28, 
3128	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8, use=news-old-unk, 
3129#
3130# (news29: this had :TY=ascii:KB=nws1200:\ --esr)
3131news29|news28-a|sony vt100 emulator 29 lines, 
3132	lines#29, 
3133	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8, use=news-old-unk, 
3134#
3135# (news511: this had :TY=sjis: --esr)
3136nwp511|nwp-511|nwp-511 vt100, 
3137	am, xenl, 
3138	cols#80, lines#24, 
3139	clear=\E[;H\E[2J$<20/>, cuf1=\E[C, 
3140	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M, 
3141	ed=\E[J$<30/>, el=\E[K$<3/>, 
3142	flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, 
3143	il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h, kcub1=\E[D, 
3144	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
3145	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\E#W, khome=\E[H, 
3146	ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
3147	smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
3148# (news517: this had :TY=sjis:. --esr)
3149nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows, 
3150	eslok, hs, 
3151	cols#80, lines#30, 
3152	dsl=\E[1$~, fsl=\E[0$}, 
3153	is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
3154	tsl=\E[1$}\E[;%df, 
3155	use=vt200, 
3156# (news517-w: this had :TY=sjis:. --esr)
3157nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows, 
3158	eslok, hs, 
3159	cols#132, lines#50, 
3160	dsl=\E[1$~, fsl=\E[0$}, 
3161	is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, 
3162	tsl=\E[1$}\E[;%df, 
3163	use=vt200, 
3164
3165#### Common Desktop Environment
3166#
3167
3168# This ships with Sun's CDE in Solaris 2.5
3169# Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
3170dtterm|CDE desktop terminal, 
3171	am, mir, msgr, xenl, xon, 
3172	colors#8, cols#80, it#8, lines#24, lm#0, pairs#64, 
3173	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
3174	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3175	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
3176	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
3177	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
3178	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
3179	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
3180	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
3181	enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, home=\E[H, 
3182	ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
3183	ind=\ED, invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l, 
3184	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
3185	kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
3186	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
3187	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
3188	kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
3189	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
3190	kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
3191	kslt=\E[4~, nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, 
3192	rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m, 
3193	rmul=\E[24m, sc=\E7, setab=\E[%p1%{40}%+%dm, 
3194	setaf=\E[%p1%{30}%+%dm, 
3195	sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
3196	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
3197	smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, 
3198
3199#### Non-Unix Consoles
3200#
3201
3202# Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
3203# a Unix-style environment used on OS/2.  (Note that the suffix makes some
3204# names longer than 14 characters, the nominal maximum).
3205#
3206# Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
3207ansi-emx|ANSI.SYS color, 
3208	am, bce, eo, mir, msgr, xenl, xon, 
3209	colors#16, cols#80, it#8, lines#25, pairs#64, 
3210	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3211	clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
3212	cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
3213	dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
3214	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
3215	kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
3216	kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
3217	kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
3218	knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[5;37;41m, 
3219	rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;44m\E[1;33m, 
3220	rmul=\E[0;44m\E[1;33m, rs1=\Ec, setab=\E[4%p1%dm, 
3221	setaf=\E[3%p1%dm, sgr0=\E[0m\E[1;33;44m, smir=\E[4h, 
3222	smpch=\E[11m, smso=\E[0;31;47m, smul=\E[1;31;44m, 
3223	tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
3224ansi-color-2-emx|ANSI.SYS color 2, 
3225	am, bce, eo, mir, msgr, xenl, xon, 
3226	colors#16, cols#80, it#8, lines#25, pairs#64, 
3227	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3228	clear=\E[0;37;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
3229	cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
3230	dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
3231	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
3232	kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
3233	kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
3234	kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
3235	knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m, 
3236	rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;44m, 
3237	rmul=\E[0;37;44m, rs1=\Ec, setab=\E[4%p1%dm, 
3238	setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smir=\E[4h, 
3239	smpch=\E[11m, smso=\E[1;37;46m, smul=\E[1;36;44m, 
3240	tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
3241ansi-color-3-emx|ANSI.SYS color 3, 
3242	am, bce, eo, mir, msgr, xenl, xon, 
3243	colors#16, cols#80, it#8, lines#25, pairs#64, 
3244	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3245	clear=\E[0;37;40m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
3246	cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
3247	dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
3248	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
3249	kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
3250	kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
3251	kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
3252	knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m, 
3253	rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;40m, 
3254	rmul=\E[0;37;40m, rs1=\Ec, setab=\E[4%p1%dm, 
3255	setaf=\E[3%p1%dm, sgr0=\E[0;10m, smir=\E[4h, 
3256	smpch=\E[11m, smso=\E[1;37;46m, smul=\E[0;36;40m, 
3257	tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
3258mono-emx|stupid monochrome ansi terminal with only one kind of emphasis, 
3259	am, 
3260	cols#80, it#8, lines#24, 
3261	clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
3262	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
3263	ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, 
3264	kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, 
3265	kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, 
3266	kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m, 
3267	sgr0=\E[0m, 
3268
3269# Use this for cygwin32 (tested with beta 19.1)
3270# underline is colored bright magenta
3271# shifted kf1-kf12 are kf11-kf22
3272cygwin|ansi emulation for cygwin32, 
3273	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
3274	kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~, 
3275	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
3276	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
3277	kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, 
3278	kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
3279	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rmam@, smam@, 
3280	use=ansi.sys, 
3281
3282# This entry fits the Windows NT console when the _POSIX_TERM environment
3283# variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
3284# the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
3285# stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
3286# systems is not, and (surprise!) they match very well.
3287#
3288# See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
3289# VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
3290# are the installation instructions a pile of mind-numbing bureaucratese,
3291# but the termcap entry is actually broken and unusable as given; the :do:
3292# capability is misspelled "d".
3293#
3294# To use this, you need to a bunch of environment variables: 
3295#
3296# SET _POSIX_TERM=on
3297# SET TERM=ansi
3298# SET TERMCAP=location of termcap file in POSIX file format
3299# which is case-sensitive.
3300# e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
3301# SET TMP=//C/TEMP
3302#
3303# Important note: setting the TMP environment variable in POSIX style renders
3304# it incompatible with a lot of other applications, including Visual C++. So
3305# you should have a separate command window just for vi. All the other
3306# variables may be permanently set in the Control Panel\System applet. 
3307#
3308# You can find out more about the restrictions of this facility at
3309# <http://www.nentug.org/unix-to-nt/ntposix.htm>.
3310#
3311# From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
3312ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode, 
3313	am, bw, msgr, 
3314	cols#80, it#8, lines#25, 
3315	bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
3316	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
3317	home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V, 
3318	kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m, 
3319	ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m, 
3320
3321######## COMMON TERMINAL TYPES
3322#
3323# This section describes terminal classes and maker brands that are still
3324# quite common, but have proprietary command sets not blessed by ANSI.
3325#
3326
3327#### Altos
3328#
3329# Altos made a moderately successful line of UNIX boxes.  In 1990 they were
3330# bought out by Acer, a major Taiwanese manufacturer of PC-clones.
3331# Acer has a web site at http://www.acer.com.
3332#
3333# Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
3334# His comments suggest they were shipped with the system.
3335#
3336
3337# (altos2: had extension capabilities
3338#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
3339#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
3340#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
3341#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
3342#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
3343#	:YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
3344#	:HL=^AP\r:SP=\E[i:\
3345#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
3346#	:LO=\E[0q:LC=\E[5q:LL=\E[6q:\
3347# Comparison with the k* capabilities makes it obvious that the c* things are
3348# shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
3349# :sr: was given as a boolean-- esr)
3350altos2|alt2|altos-2|altos II, 
3351	cols#80, it#8, lines#24, xmc#0, 
3352	clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C, 
3353	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl=\E[M, 
3354	ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
3355	if=/usr/share/tabset/vt100, il1=\E[L, ind=^J, 
3356	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r, 
3357	kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D, 
3358	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r, 
3359	kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, 
3360	kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
3361	kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r, 
3362	kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
3363	kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r, 
3364	nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
3365	smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
3366# (altos3: had extension capabilities
3367#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
3368#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
3369#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
3370#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
3371#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
3372#	:HL=^AP\r:SP=\E[i:\
3373#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
3374altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V, 
3375	blink=\E[5p, ri=\EM, sgr0=\E[p, 
3376	use=altos2, 
3377altos4|alt4|altos-4|altos IV, 
3378	use=wy50, 
3379# (altos7: had extension capabilities:
3380#	:GG#0:GI=\EH8:GF=\EH7:\
3381#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
3382#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
3383#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
3384#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
3385# Comparison with the k* capabilities makes it obvious that the c* things are
3386# shift keys.  I have renamed them to keys 32 and up accordingly.  I have
3387# also made this entry relative to adm12 in order to give it an <sgr>. The
3388# <invis> imported by use=adm+sgr may work, let me know. -- esr)
3389altos7|alt7|altos VII, 
3390	am, mir, 
3391	cols#80, lines#24, xmc#0, 
3392	acsc=j5k3l2m1n8q\:t4u9v=w0x6, blink=\EG2, bold=\EGt, 
3393	clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3394	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
3395	dim=\EGp, dl=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE, 
3396	ind=^J, invis=\EG1, 
3397	is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r, 
3398	kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H, 
3399	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r, 
3400	kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, 
3401	kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
3402	kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r, 
3403	kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
3404	kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r, 
3405	knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej, 
3406	rmir=\Er, smir=\Eq, 
3407	use=adm+sgr, 
3408altos7pc|alt7pc|altos PC VII, 
3409	kend=\ET, use=altos7, 
3410
3411#### Hewlett-Packard (hp)
3412#
3413#	Hewlett-Packard
3414#	8000 Foothills Blvd 
3415#	Roseville, CA 95747
3416#	Vox: 1-(916)-785-4363	(Technical response line for VDTs)
3417#	     1-(800)-633-3600	(General customer support)
3418#
3419
3420# Generic HP terminal - this should (hopefully) work on any HP terminal.
3421hpgeneric|hp|hewlett-packard generic terminal, 
3422	am, da, db, mir, xhp, 
3423	cols#80, lines#24, lm#0, vt#6, 
3424	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
3425	cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM, 
3426	ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, 
3427	ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@, 
3428	sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3, 
3429	vpa=\E&a%p1%dY, 
3430
3431hp110|hewlett-packard model 110 portable, 
3432	lines#16, use=hpgeneric, 
3433
3434hp+pfk+cr|hp function keys with CR, 
3435	kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, 
3436	kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, 
3437
3438hp+pfk-cr|hp function keys w/o CR, 
3439	kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, 
3440	kf8=\Ew, 
3441
3442# The hp2621s use the same keys for the arrows and function keys, 
3443# but not separate escape sequences. These definitions allow the 
3444# user to use those keys as arrow keys rather than as function 
3445# keys.
3446hp+pfk+arrows|hp alternate arrow definitions, 
3447	kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@, 
3448	kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r, 
3449	kll=\Eq\r, kri=\Es\r, 
3450
3451hp+arrows|hp arrow definitions, 
3452	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
3453	kind=\ES, kll=\EF, kri=\ET, 
3454
3455# Generic stuff from the HP 262x series
3456#
3457hp262x|HP 262x terminals, 
3458	xhp, 
3459	blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES, 
3460	invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
3461	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
3462	kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET, 
3463	krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
3464	sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c, 
3465	sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, 
3466
3467# Note: no <home> on HPs since that homes to top of memory, not screen.
3468# Due to severe 2621 braindamage, the only way to get the arrow keys to
3469# transmit anything at all is to turn on the function key labels
3470# with <smkx>, and even then the user has to hold down shift!
3471# The default 2621 turns off the labels except when it has to to 
3472# enable the function keys. If your installation prefers labels 
3473# on all the time, or off all the time (at the "expense" of the 
3474# function keys), use 2621-nl or 2621-wl.
3475# 
3476# Note: there are newer ROMs for 2621's that allow you to set 
3477# strap A so the regular arrow keys xmit \EA, etc, as with the 
3478# 2645. However, even with this strap set, the terminal stops 
3479# xmitting if you reset it, until you unset and reset the strap!
3480# Since there is no way to set/unset the strap with an escape 
3481# sequence, we don't use it in the default.
3482# If you like, you can use 2621-ba (brain-damaged arrow keys).
3483hp2621-ba|2621 w/new rom and strap A set, 
3484	rmkx@, smkx@, use=hp+arrows, 
3485	use=hp2621, 
3486
3487# hp2621 with function labels. Most of the time they are off,
3488# but inside vi, the function key labels appear. You have to
3489# hold down shift to get them to xmit.
3490hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels, 
3491	is2=\E&jA\r, rmkx=\E&jA, 
3492	use=hp2621-fl, 
3493hp2621-fl|hp 2621, 
3494	xhp@, xon, 
3495	pb#19200, 
3496	cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>, 
3497	ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@, 
3498	sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD, 
3499	use=hp+pfk+cr, use=hpgeneric, 
3500
3501# To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
3502hp2621p|hp 2621 with printer, 
3503	mc4=\E&p13C, mc5=\E&p11C, use=hp2621, 
3504
3505hp2621p-a|hp2621p with fn as arrows, 
3506	use=hp+pfk+arrows, use=hp2621p, 
3507
3508# hp2621 with k45 keyboard
3509hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard, 
3510	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
3511	khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A, 
3512	use=hp2621, 
3513
3514# 2621 using all 48 lines of memory, only 24 visible at any time.  
3515hp2621-48|48 line 2621, 
3516	lines#48, 
3517	cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR, use=hp2621, 
3518
3519# 2621 with no labels ever. Also prevents vi delays on escape.
3520hp2621-nl|hp 2621 with no labels, 
3521	kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@, use=hp2621-fl, 
3522
3523# Needed for UCB ARPAVAX console, since lsi-11 expands tabs 
3524# (wrong).
3525#
3526hp2621-nt|hp 2621 w/no tabs, 
3527	ht@, use=hp2621, 
3528
3529# Hp 2624 B with 4 or 10 pages of memory.
3530# 
3531# Some assumptions are made with this entry. These settings are 
3532# NOT set up by the initialization strings.
3533# 
3534# Port Configuration
3535# 	RecvPace=Xon/Xoff
3536# 	XmitPace=Xon/Xoff
3537# 	StripNulDel=Yes
3538# 
3539# Terminal Configuration
3540# 	InhHndShk=Yes
3541# 	InhDC2=Yes
3542# 	XmitFnctn(A)=No
3543# 	InhEolWrp=No
3544# 
3545# Note: the 2624 DOES have a true <home>, believe it or not!
3546# 
3547# The 2624 has an "error line" to which messages can be sent. 
3548# This is CLOSE to what is expected for a "status line". However,
3549# after a message is sent to the "error line", the next carriage 
3550# return is EATEN and the "error line" is turned back off again! 
3551# So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
3552# 
3553# This entry supports emacs (and any other program that uses raw 
3554# mode) at 4800 baud and less. I couldn't get the padding right 
3555# for 9600.
3556#
3557# (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
3558hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B, 
3559	da, db, 
3560	lm#96, 
3561	flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F, use=hp+labels, use=scrhp, 
3562
3563# This hp2626 entry does not use any of the fancy windowing stuff 
3564# of the 2626.
3565# 
3566# Indeed, terminfo does not yet handle such stuff. Since changing 
3567# any window clears memory, it is probably not possible to use 
3568# this for screen opt.
3569# 
3570# ed is incredibly slow most of the time - I am guessing at the 
3571# exact padding. Since the terminal uses xoff/xon this is intended 
3572# only for cost computation, so that the terminal will prefer el 
3573# or even dl1 which is probably faster!
3574# 
3575# \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only 
3576# extra slow on the last line of the window. 
3577# 
3578# The padding probably should be changed.
3579#
3580hp2626|hp2626a|hp2626p|hp 2626, 
3581	da, db, 
3582	lm#0, pb#19200, 
3583	ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>, 
3584	is2=\E&j@\r, rin=\E&r%p1%dU, 
3585	use=hp+pfk+cr, use=hp+labels, use=scrhp, 
3586
3587# This entry is for sysline. It allocates a 23 line window with 
3588# a 115 line workspace for regular use, and a 1 line window for 
3589# the status line.
3590# 
3591# This assumes port 2 is being used.
3592# Turn off horizontal line, Create ws #1 with 115 lines,
3593# Create ws #2 with 1 line, Create window #1 lines 1-23,
3594# Create window #2 lines 24-24, Attach cursor to workspace #1.
3595# Note that this clears the tabs so it must be done by tset before
3596# it sets the tabs.
3597#
3598hp2626-s|hp 2626 using only 23 lines, 
3599	eslok, hs, 
3600	lines#23, 
3601	fsl=\E&d@\E&w7f2p1I\E&w4f1I, 
3602	is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r, 
3603	tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC, 
3604	use=hp2626, 
3605# Force terminal back to 24 lines after being 23.
3606hp2626-ns|hp 2626 using all 24 lines, 
3607	is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r, use=hp2626, 
3608# Various entries useful for small windows on 2626.
3609hp2626-12|hewlett-packard 2626 12 lines, 
3610	lines#12, use=hp2626, 
3611hp2626-12x40|hewlett-packard 2626 12 lines 40 columns, 
3612	cols#40, lines#12, use=hp2626, 
3613hp2626-x40|hewlett-packard 2626 40 columns, 
3614	cols#40, use=hp2626, 
3615hp2626-12-s|hewlett-packard 2626 11 lines plus status, 
3616	lines#11, use=hp2626-s, 
3617
3618#
3619# hp2627 color tubes from University of Wisconsin
3620#
3621hp2627a-rev|hp 2627 with reverse video colors, 
3622	cr=^M, cud1=^J, ht=^I, ind=^J, 
3623	is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r, 
3624	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@, 
3625	smul=\E&dD\E&v1S, 
3626	use=hp2621-nl, 
3627hp2627a|hp 2627 color terminal with no labels, 
3628	cr=^M, cud1=^J, ht=^I, ind=^J, 
3629	is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r, 
3630	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S, 
3631	rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S, 
3632	use=hp2621-nl, 
3633hp2627c|hp 2627 color (cyan) terminal with no labels, 
3634	cr=^M, cud1=^J, ht=^I, ind=^J, 
3635	is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r, 
3636	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
3637	use=hp2627a, 
3638
3639# hp2640a doesn't have the Y cursor addressing feature, and C is 
3640# memory relative instead of screen relative, as we need.
3641#
3642hp2640a|hp 2640a, 
3643	cup@, rmkx@, smkx@, use=hp2645, 
3644
3645hp2640b|hp2644a|hp 264x series, 
3646	rmkx@, smkx@, use=hp2645, 
3647
3648# (hp2641a: removed unknown :gu: -- esr)
3649hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry, 
3650	am, da, db, mir, xhp, 
3651	cols#80, lines#24, 
3652	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
3653	cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM, 
3654	ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I, 
3655	if=/usr/share/tabset/std, il1=\EL, ind=^J, 
3656	is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
3657	rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB, 
3658	vpa=\E&a%p1%2dY, 
3659
3660# This terminal should be used at 4800 baud or less. It needs padding for
3661# plain characters at 9600, I guessed at an appropriate cr delay.  It really
3662# wants ^E/^F handshaking, but that doesn't work well even if you write
3663# software to support it.
3664hp2645|hp45|HP 2645 series, 
3665	pb#9600, 
3666	blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED, 
3667	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
3668	ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, 
3669	kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB, 
3670	rmkx=\E&s0A, 
3671	sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c, 
3672	sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD, 
3673	use=hpgeneric, 
3674# You should use this terminal at 4800 baud or less.
3675hp2648|hp2648a|HP 2648a graphics terminal, 
3676	clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>, 
3677	dch1=\EP$<7>, ip=$<5>, 
3678	use=hp2645, 
3679
3680# The HP 150 terminal is a fairly vanilla HP terminal, with the 
3681# clreol standout problem. It also has graphics capabilities and 
3682# a touch screen, which we don't describe here.
3683hp150|hewlett packard Model 150, 
3684	use=hp2622, 
3685
3686# HP 2382a terminals, "the little ones." They don't have any 
3687# alternate character set support and sending out ^N/^O will 
3688# leave the screen blank.
3689hp2382a|hp2382|hewlett packard 2382a, 
3690	da, db, 
3691	lh#1, lm#48, 
3692	acsc@, 
3693	pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
3694	rmacs@, 
3695	sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c, 
3696	sgr0=\E&d@, smacs@, 
3697	use=hp+labels, use=scrhp, 
3698
3699hp2621-a|hp2621a-a|hp2621 with fn as arrows, 
3700	use=hp+pfk+arrows, use=hp2621-fl, 
3701
3702# newer hewlett packard terminals
3703
3704newhpkeyboard|generic entry for HP extended keyboard, 
3705	kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
3706	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
3707	kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV, 
3708	kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A, 
3709	use=hp+pfk-cr, 
3710
3711newhp|generic entry for new hewlett packard terminals, 
3712	am, bw, mir, xhp, xon, 
3713	cols#80, lines#24, pb#4800, 
3714	acsc=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q\,t5u6v8w7x., 
3715	bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H, 
3716	cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH, 
3717	dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J, 
3718	invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J, 
3719	pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s, 
3720	pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s, 
3721	pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET, 
3722	rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg, 
3723	sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c%?%p9%t\016%e\017%;, 
3724	sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD, 
3725	tbc=\E3, 
3726	use=newhpkeyboard, 
3727
3728memhp|memory relative addressing for new HP ttys, 
3729	vt#6, 
3730	clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR, 
3731	cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR, 
3732	home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r, 
3733	mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp, 
3734
3735scrhp|screen relative addressing for new HP ttys, 
3736	clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC, 
3737	cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC, 
3738	cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR, 
3739	home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA, 
3740	mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp, 
3741
3742# (hp+labels: added label values from a BRL termcap -- esr)
3743hp+labels|"standard" label info for new HP ttys, 
3744	lh#2, lw#8, nlab#8, 
3745	lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, 
3746	pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
3747	rmln=\E&j@, smln=\E&jB, 
3748
3749hp+printer|"standard" printer info for HP ttys, 
3750	ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C, 
3751
3752
3753# The new hp2621b is kind of a cross between the old 2621 and the
3754# new 262x series of machines. It has dip-switched options. 
3755# The firmware has a bug in it such that if you give it a null 
3756# length label, the following character is eaten!
3757hp2621b|hp 2621b with old style keyboard, 
3758	lh#1, lm#48, lw#8, nlab#8, 
3759	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
3760	kind=\ET, kll=\EF, kri=\ES, 
3761	pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%{111}%p1%+%c\r, 
3762	smln=\E&jB, 
3763	use=hp2621, 
3764
3765hp2621b-p|hp 2621b with printer, 
3766	use=hp+printer, use=hp2621b, 
3767
3768# hp2621b - new 2621b with new extended keyboard
3769# these are closer to the new 26xx series than the other 2621b
3770hp2621b-kx|hp 2621b with extended keyboard, 
3771	use=newhpkeyboard, use=hp2621b, 
3772
3773hp2621b-kx-p|hp 2621b with new keyboard & printer, 
3774	use=hp+printer, use=hp2621b-kx, 
3775
3776# Some assumptions are made in the following entries.
3777# These settings are NOT set up by the initialization strings.
3778# 
3779#    Port Configuration
3780# RecvPace=Xon/Xoff	XmitPace=Xon/Xoff	StripNulDel=Yes
3781# 
3782#    Terminal Configuration
3783# InhHndShk(G)=Yes	InhDC2(H)=Yes
3784# XmitFnctn(A)=No		InhEolWrp=No
3785#
3786# 
3787# Hp 2622a & hp2623a display and graphics terminals
3788#
3789hp2622|hp2622a|hp 2622, 
3790	da, db, 
3791	lm#0, pb#19200, 
3792	is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp, 
3793
3794# The 2623 is a 2622 with extra graphics hardware.
3795hp2623|hp2623a|hp 2623, 
3796	use=hp2622, 
3797
3798hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer, 
3799	use=hp+printer, use=hp2624, 
3800
3801# The hewlett packard B can have an optional extra 6 pages of memory.
3802hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory, 
3803	lm#240, use=hp2624, 
3804
3805hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer, 
3806	lm#240, use=hp2624b-p, 
3807
3808# Color manipulations for HP terminals
3809hp+color|hp with colors, 
3810	ccc, 
3811	colors#16, ncv#17, pairs#7, 
3812	initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a%?%p3%{1000}%=%t1%e.%p3%d%;b%?%p4%{1000}%=%t1%e.%p4%d%;c%?%p5%{1000}%=%t1%e.%p5%d%;x%?%p6%{1000}%=%t1%e.%p6%d%;y%?%p7%{1000}%=%t1%e.%p7%d%;z%p1%dI, 
3813	oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I, 
3814	op=\E&v0S, scp=\E&v%p1%dS, 
3815
3816# <is2> sets the screen to be 80 columns wide
3817hp2397a|hp2397|hewlett packard 2397A color terminal, 
3818	is2=\E&w6f80X, 
3819	use=memhp, use=hp+labels, use=hp+color, 
3820
3821#  HP 700/44 Setup parameters:  
3822# Terminal Mode		HP-PCterm
3823# Inhibit Auto Wrap	NO
3824# Status Line		Host Writable
3825# PC Character Set	YES
3826# Twenty-Five Line Mode	YES
3827# XON/XOFF		@128 or 64 (sc)
3828# Keycode Mode 		NO   or YES (sc)
3829# Backspace Key		BS or BS/DEL
3830#
3831# <is2> 	sets pcterm; autowrap; 25 lines; pc char set; prog DEL key; 
3832# \E\\? does not turn off keycode mode
3833# <smsc>	sets alternate start/stop; keycode on
3834hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode, 
3835	am, eo, xenl, xon, 
3836	cols#80, lines#25, 
3837	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
3838	bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H, 
3839	cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
3840	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
3841	ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
3842	ind=^J, 
3843	is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\, 
3844	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
3845	kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~, 
3846	kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, 
3847	kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~, 
3848	kpp=\E[5~, rmam=\E[?7l, 
3849	rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m, 
3850	rmul=\E[m, sgr0=\E[m, smam=\E[?7h, 
3851	smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m, 
3852	smul=\E[4m, xoffc=g, xonc=e, 
3853#
3854# (hp2392: copied <rmir> here from hpex -- esr)
3855hp2392|239x series, 
3856	cols#80, 
3857	cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r, 
3858	kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, 
3859	kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV, 
3860	rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY, 
3861	use=hpsub, 
3862
3863hpsub|hp terminals -- capability subset, 
3864	am, da, db, mir, xhp, xon, 
3865	lines#24, 
3866	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
3867	cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, 
3868	ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, 
3869	is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB, 
3870	kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@, 
3871	sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, 
3872
3873# hpex:
3874#	May be used for most 24 x 80 hp terminals,
3875# but has no padding added, so may allow runover in some terminals at high 
3876# baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and 
3877# hp98x5 terminal emulators or hp98x6 consoles.  
3878# 	Adds xy-cursor addressing, vertical cursor addressing, home, 
3879# last line, and underline capabilities.
3880#
3881# (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
3882# moved <rmir> here from hpsub -- esr)
3883hpex|hp extended capabilites, 
3884	cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H, 
3885	kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ, 
3886	smul=\E&dD, vpa=\E&a%p1%dY, 
3887	use=hpsub, 
3888
3889# From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
3890hp2|hpex2|hewlett-packard extended capabilities newer version, 
3891	am, da, db, mir, xhp, 
3892	cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0, 
3893	bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
3894	cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
3895	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
3896	il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, 
3897	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
3898	ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
3899	kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ, 
3900	kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET, 
3901	krmir=\ER, ktbc=\E3, meml=\El, memu=\Em, 
3902	pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
3903	pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
3904	pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
3905	pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A, 
3906	rmln=\E&j@, rmso=\E&d@, rmul=\E&d@, 
3907	sgr=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
3908	sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB, 
3909	smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
3910
3911# HP 236 console
3912# From: <ddavis@ic.berkeley.edu>
3913hp236|hp236 internal terminal emulator, 
3914	am, 
3915	cols#80, lines#24, 
3916	clear=\EF, cnorm=\EDE, cub1=^H, 
3917	cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB, 
3918	dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI, 
3919	sgr0=\ECI, smso=\EBI, 
3920
3921# This works on a hp300 console running Utah 4.3 BSD
3922# From: Craig Leres <leres@okeeffe.berkeley.edu>
3923hp300h|HP Catseye console, 
3924	am, da, db, mir, xhp, 
3925	cols#128, lines#51, lm#0, xmc#0, 
3926	bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
3927	cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
3928	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, 
3929	if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H, 
3930	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
3931	rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, 
3932	smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3, 
3933	vpa=\E&a%p1%dY, 
3934# From: Greg Couch <gregc@ernie.berkeley.edu>
3935hp9837|hp98720|hp98721|HP 9000/300 workstations, 
3936	am, da, db, mir, xhp, 
3937	cols#128, it#8, lines#46, lm#0, 
3938	bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB, 
3939	cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
3940	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
3941	il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED, 
3942	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
3943	ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU, 
3944	kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@, 
3945	sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD, 
3946	tbc=\E3, vpa=\E&a%p1%dY, 
3947# HP 9845 desktop computer from BRL
3948# (hp9845: removed unknown capability :gu: -- esr)
3949hp9845|HP 9845, 
3950	am, da, db, eo, mir, xhp, 
3951	cols#80, lines#21, 
3952	clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, 
3953	dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, 
3954	if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@, 
3955	smir=\EQ, smso=\E&dB, 
3956# From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
3957# (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
3958# added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
3959hp98550|hp98550a|HP 9000 Series 300 color console, 
3960	am, da, db, mir, xhp, 
3961	cols#128, it#8, lines#49, lm#0, 
3962	acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR, 
3963	clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
3964	cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH, 
3965	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
3966	if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds, 
3967	kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
3968	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
3969	kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
3970	khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
3971	knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ, 
3972	rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
3973	sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ, 
3974	smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
3975# From: Victor Duchovni <vic@fine.princeton.edu>
3976# (hp700-wy: removed obsolete ":nl=^J:";
3977# replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
3978hp700-wy|HP700/41 emulating wyse30, 
3979	am, bw, mir, msgr, 
3980	cols#80, it#8, lines#24, xmc#1, 
3981	cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
3982	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
3983	dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1, 
3984	if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>, 
3985	is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI, 
3986	kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY, 
3987	kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K, 
3988	ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>, 
3989	sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>, 
3990	smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c, 
3991# (hp70092: added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
3992hp70092|hp70092a|hp70092A|70092|HP 700/92, 
3993	am, da, db, xhp, 
3994	cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, 
3995	acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA, 
3996	bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, 
3997	cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, 
3998	dch1=\EP, dim=\E&dH, dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I, 
3999	hts=\E1, il1=\EL, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, 
4000	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
4001	ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
4002	kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ, 
4003	kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET, 
4004	krmir=\ER, ktbc=\E3, rev=\E&dB, ri=\ET, rmacs=^O, rmir=\ER, 
4005	rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, rmul=\E&d@, 
4006	sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB, 
4007	smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
4008
4009bobcat|sbobcat|HP 9000 model 300 console, 
4010	am, da, db, mir, xhp, 
4011	cols#128, it#8, lines#47, xmc#0, 
4012	cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
4013	cup=\E&a%dy%dC$<6/>, cuu1=\EA, dch1=\EP, dl1=\EM$<10*/>, 
4014	ed=\EJ, el=\EK, hpa=\E&a%dC$<6/>, ht=^I, il1=\EL$<10*/>, 
4015	ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
4016	khome=\Eh, nel=^M^J, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, 
4017	rmul=\E&d@, sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&dB, 
4018	smul=\E&dD, vpa=\E&a%dY$<6/>, 
4019gator-t|HP 9000 model 237 emulating extra-tall AAA, 
4020	lines#94, use=gator, 
4021gator|HP 9000 model 237 emulating AAA, 
4022	bw, km, mir, ul, 
4023	cols#128, it#8, lines#47, 
4024	bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, 
4025	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, 
4026	dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>, 
4027	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`, 
4028	ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>, 
4029	il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
4030	rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m, 
4031	rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
4032gator-52|HP 9000 model 237 emulating VT52, 
4033	cols#128, lines#47, use=vt52, 
4034gator-52t|HP 9000 model 237 emulating extra-tall VT52, 
4035	lines#94, use=gator-52, 
4036
4037#### Honeywell-Bull
4038#
4039# From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
4040#
4041
4042# Honeywell Bull terminal.  Its cursor and function keys send single
4043# control characters and it has standout/underline glitch.  Most programs
4044# do not like these features/bugs.  Visual bell is realized by flashing the
4045# "keyboard locked" LED.
4046dku7003-dumb|Honeywell Bull DKU 7003 dumb mode, 
4047	cols#80, lines#25, 
4048	clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X, 
4049	cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K, 
4050	flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y, 
4051	kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J, 
4052dku7003|Honeywell Bull DKU 7003 all features described, 
4053	msgr, 
4054	xmc#1, 
4055	blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m, 
4056	rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
4057	use=dku7003-dumb, 
4058
4059#### Lear-Siegler (adm)
4060#
4061# These guys are long since out of the terminals business, but
4062# in 1995 many current terminals still have an adm type as one of their
4063# emulations (usually their stupidest, and usually labeled adm3, though
4064# these `adm3' emulations normally have adm3a+ capabilities).
4065#
4066# WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a 
4067# `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
4068# was being held to ground would trigger a send of the top line on the screen.
4069# A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
4070# hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
4071# for clearing up this point.)
4072
4073adm1a|adm1|lsi adm1a, 
4074	am, 
4075	cols#80, lines#24, 
4076	bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4077	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^, 
4078	ind=^J, 
4079adm2|lsi adm2, 
4080	am, 
4081	cols#80, lines#24, 
4082	bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4083	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4084	dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ, il1=\EE, ind=^J, 
4085	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
4086# (adm3: removed obsolete ":ma=^K^P:" -- esr)
4087adm3|lsi adm3, 
4088	am, 
4089	cols#80, lines#24, 
4090	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J, 
4091# The following ADM-3A switch settings are assumed for normal operation:
4092#	SPACE		U/L_DISP	CLR_SCRN	24_LINE
4093#	CUR_CTL		LC_EN		AUTO_NL		FDX
4094# Other switches may be set for operator convenience or communication
4095# requirements.  I recommend
4096#	DISABLE_KB_LOCK	LOCAL_OFF	103		202_OFF
4097#	ETX_OFF		EOT_OFF
4098# Most of these terminals required an option ROM to support lower case display.
4099# Open the case and look at the motherboard; if you see an open 24-pin DIP
4100# socket, you may be out of luck.
4101#
4102# (adm3a: some capabilities merged in from BRl entry -- esr)
4103adm3a|lsi adm3a, 
4104	am, 
4105	cols#80, lines#24, 
4106	bel=^G, clear=\032$<1/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4107	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^, 
4108	ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rs1=^N, 
4109adm3a+|adm3a plus, 
4110	kbs=^H, use=adm3a, 
4111# (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
4112adm5|lsi adm5, 
4113	xmc#1, 
4114	bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^, 
4115	rmso=\EG, smso=\EG, 
4116	use=adm3a+, 
4117# A lot of terminals other than adm11s use these.  Wherever you see
4118# use=adm+sgr with some of its capabilities disabled, try the
4119# disabled ones.  They may well work but not have been documented or
4120# expressed in the using entry.  We'd like to cook up an <sgr> but the
4121# <rmacs>/<smacs> sequences of the using entries vary too much.
4122adm+sgr|adm style highlight capabilities, 
4123	invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0, 
4124	smso=\EG4, smul=\EG8, 
4125# LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
4126# Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
4127# <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
4128# be ^Z, according to his entry.
4129# (adm11: <smul>=\EG4 was obviously erroneous because it also said
4130# <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
4131adm11|LSI ADM-11, 
4132	am, hs, 
4133	cols#80, lines#24, 
4134	bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H, cud1=^J, 
4135	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
4136	dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I, kbs=^H, 
4137	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf2=^AA\r, 
4138	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
4139	kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E), 
4140	use=adm+sgr, 
4141# From: Andrew Scott Beals <bandy@lll-crg.ARPA>
4142# Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
4143# Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
4144# (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
4145# <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
4146# via BRL.  That entry asserted <xmc#1>, but I've left that out because 
4147# neither earlier nor later ADMSs have it -- esr)
4148#
4149# You will need to get into the supervisor setup before you can set
4150# baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
4151# see a lot more setup options.
4152# 
4153# While in supervisor setup you can also use following codes:
4154# 
4155# Ctrl-P Personality character selections (configure for example what
4156#        arrow keys send, if I recall correctly)
4157# Ctrl-T tabs 1-80   use left&right to move and up to set and
4158# Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
4159# Ctrl-B Binary setup (probably not needed. I think that everything can
4160#        be set using normal setup)
4161# Ctrl-A Answerback mode (enter answerback message)
4162# Ctrl-U User friendly mode (normal setup)
4163# Ctrl-D Defaults entire setup and function keys from EPROM tables
4164# Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
4165# Ctrl-R Reads both setup and functions keys from NVM.
4166# Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
4167# 
4168# ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
4169# RTS/CTS used nowadays with virtually every modem and computer. 19200
4170# bps works fine with hardware flow control.
4171# 
4172# The following null-modem cable should fix this and enable you to use
4173# RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
4174# set ADM-12+ for DTR handshaking from supervisor setup.
4175# 
4176# PC Serial   ADM-12+
4177#  --------   -------
4178#         2 - 3
4179#         3 - 2
4180#         4 - 5
4181#         5 - 20
4182#       6,8 - 4
4183#         7 - 7
4184#        20 - 6,8
4185#
4186adm12|lsi adm12, 
4187	am, mir, 
4188	cols#80, it#8, lines#24, 
4189	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4190	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4191	dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE, 
4192	is2=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1, 
4193	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
4194	kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
4195	kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, smir=\Eq, tbc=\E0, 
4196	use=adm+sgr, 
4197# (adm20: removed obsolete ":kn#7:" -- esr)
4198adm20|lear siegler adm20, 
4199	am, 
4200	cols#80, it#8, lines#24, 
4201	bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L, 
4202	cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, dch1=\EW, 
4203	dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, ich1=\EQ, il1=\EE, 
4204	kf1=^A, kf2=^B, kf3=^W, kf4=^D, kf5=^E, kf6=^X, kf7=^Z, rmso=\E(, 
4205	sgr0=\E(, smso=\E), 
4206adm21|lear siegler adm21, 
4207	xmc#1, 
4208	bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, ed=\EY, el=\ET, 
4209	ich1=\EQ, il1=30*\EE, ind=^J, invis@, kbs=^H, kcub1=^H, 
4210	kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
4211	use=adm+sgr, use=adm3a, 
4212# (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
4213# removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
4214# removed bogus-looking \200 from before <cup>. -- esr)
4215adm22|lsi adm22, 
4216	am, 
4217	cols#80, lines#24, 
4218	bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4219	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4220	dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE, 
4221	is2=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0, 
4222	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, 
4223	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
4224	kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
4225	lf6=F6, lf7=F7, rmso=\E(, sgr0=\E(, smso=\E), 
4226# ADM 31 DIP Switches
4227#
4228# This information comes from two versions of the manual for the
4229# Lear-Siegler ADM 31.
4230#
4231# Main board:
4232#                  rear of case
4233#   +-||||-------------------------------------+
4234#   + S1S2                              ||S    +
4235#   +                                   ||3    +
4236#   +                                          +
4237#   +                                ||S       +
4238#   +                                ||4       +
4239#   +                                          +
4240#   +                                          +
4241#   +                                          +
4242#   +                                          +
4243#   +                                          +
4244# +-+                                          +-+
4245# +                                              +
4246# +                               S5 S6 S7       +   
4247# +                               == == ==       +
4248# +----------------------------------------------+
4249#            front of case (keyboard)
4250#
4251#  S1 - Data Rate - Modem
4252#  S2 - Data Rate - Printer
4253# ------------------------
4254# Data Rate   Setting
4255# -------------------
4256# 50          0 0 0 0
4257# 75          1 0 0 0
4258# 110         0 1 0 0
4259# 134.5       1 1 0 0
4260# 150         0 0 1 0
4261# 300         1 0 1 0
4262# 600         0 1 1 0
4263# 1200        1 1 1 0
4264# 1800        0 0 0 1
4265# 2000        1 0 0 1
4266# 2400        0 1 0 1
4267# 3600        1 1 0 1
4268# 4800        0 0 1 1
4269# 7200        1 0 1 1
4270# 9600        0 1 1 1
4271# x           1 1 1 1
4272#
4273# S3 - Interface/Printer/Attributes
4274# ---------------------------------
4275# Printer Busy Control
4276# sw1   sw2   sw3
4277# ---------------
4278# off   off   off   Busy not active, CD disabled
4279# off   off   on    Busy not active, CD enabled
4280# off   on    off   Busy active on J5-20, CD disabled
4281# on    off   off   Busy active on J5-19, CD disabled - Factory Set.
4282# on    off   on    Busy active on J5-19, CD enabled
4283#
4284# sw4   Used in conjuction with S4 for comm interface control - Fact 0
4285#
4286# sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
4287#
4288# sw6   ON enables printer BUSY active LOW - Factory Setting
4289#       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
4290#
4291# sw7   ON - steady cursor - Factory Setting
4292#       OFF - blinking cursor
4293#
4294# sw8   ON causes selected attribute character to be displayed
4295#       OFF causes SPACE to be displayed instead - Factory Setting
4296#
4297# S4 - Interface
4298# --------------
4299# Modem Interface
4300# S3    S4    S4    S4    S4
4301# sw4   sw1   sw2   sw3   sw4
4302# ---------------------------
4303# OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
4304#                               Current Loop disabled - Factory Setting
4305# ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
4306#                               disabled
4307# OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
4308#                               Current Loop Disabled
4309#
4310# sw5   ON disables dot stretching mode - Factory Setting
4311#       OFF enables dot stretching mode
4312# sw6   ON enables blanking function
4313#       OFF enables underline function - Factory Setting
4314# sw7   ON causes NULLS to be displayed as NULLS
4315#       OFF causes NULLS to be displayed as SPACES - Factory Setting
4316#
4317# S5 - Word Structure
4318# -------------------
4319# sw1   ON enables BREAK key - Factory Setting
4320#       OFF disables BREAK key
4321# sw2   ON selects 50Hz monitor refresh rate
4322#       OFF selects 60Hz monitor refresh rate - Factory Setting
4323#
4324# Modem Port Selection
4325# sw3   sw4   sw5
4326# ---------------
4327# ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
4328# OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
4329# ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
4330# OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
4331# ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
4332# OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
4333# ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
4334# OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
4335#
4336# sw6   ON  sends bit 8 a 1 (mark)
4337#       OFF sends bit 8 as 0 (space) - Factory Setting
4338# sw7   ON  selects Block Mode
4339#       OFF selects Conversation Mode - Factory Setting
4340# sw8   ON  selects Full Duplex operation
4341#       OFF selects Half Duplex operation - Factory Setting
4342#
4343# S6 - Printer
4344# ------------
4345# sw1, sw2, sw6, sw7   Reserved - Factory 0
4346#
4347# Printer Port Selection
4348# same as Modem above, bit 8 (when 8 DATA bits) is always = 0
4349#
4350# sw8   ON   enables Printer Port
4351#       OFF disables Printer Port - Factory Setting
4352#
4353# S7 - Polling Address
4354# --------------------
4355# sw1-7 Establish ASCII character which designates terminal polling address
4356#       ON  = logic 0
4357#       OFF = logic 1 - Factory Setting
4358# sw8   ON   enables Polling Option
4359#       OFF disables Polling Option - Factory Setting
4360#
4361#
4362# On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
4363#
4364# This adm31 entry uses underline as the standout mode.
4365# If the adm31 gives you trouble with standout mode, check the DIP switch in
4366# position 6, bank @c11, 25% from back end of the circuit board.  Should be
4367# OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
4368# (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
4369adm31|lsi adm31 with sw6 set for underline mode, 
4370	am, mir, 
4371	cols#80, lines#24, 
4372	bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4373	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4374	dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J, is2=\Eu\E0, 
4375	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
4376	kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
4377	kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0, 
4378	rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1, 
4379adm31-old|o31|old adm31, 
4380	rmul@, smso=\EG4, smul@, use=adm31, 
4381# LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
4382adm36|LSI ADM36, 
4383	if=/usr/lib/tabset/vt100, 
4384	is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l, use=vt100, 
4385# (adm42: removed obsolete ":ma=^K^P:" -- esr)
4386adm42|lsi adm42, 
4387	am, 
4388	cols#80, lines#24, 
4389	bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4390	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
4391	cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ht=^I, 
4392	il1=\EE$<270>, ind=^J, invis@, ip=$<6*>, kcub1=^H, kcud1=^J, 
4393	kcuf1=^L, kcuu1=^K, khome=^^, pad=\177, rmir=\Er, rmul@, 
4394	smir=\Eq, smul@, 
4395	use=adm+sgr, 
4396# The following termcap for the Lear Siegler ADM-42 leaves the 
4397# "system line" at the bottom of the screen blank (for those who 
4398# find it distracting otherwise)
4399adm42-ns|lsi adm-42 with no system line, 
4400	cbt=\EI\EF \011, clear=\E;\EF \011, 
4401	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011, 
4402	dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011, 
4403	el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011, 
4404	smir=\Eq\EF \011, 
4405	use=adm42, 
4406# ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
4407# The insert mode of this terminal is commented out because it's broken for our
4408# purposes in that it will shift the position of every character on the page,
4409# not just the cursor line!
4410# From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
4411adm1178|1178|lsi adm1178, 
4412	am, 
4413	cols#80, lines#24, xmc#1, 
4414	bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, 
4415	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
4416	cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, 
4417	home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H, 
4418	kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0, 
4419	sgr0=\E), smso=\EG4, smul=\EG1, 
4420
4421#### Prime
4422#
4423# Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
4424# <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
4425# Prime merged with ComputerVision in the late 1980s; you can reach them at:
4426#
4427#	ComputerVision Services
4428#	500 Old Connecticut Path
4429#	Framingham, Mass.
4430#
4431
4432# Standout mode is dim reverse-video.
4433pt100|pt200|wren|fenix|prime pt100/pt200, 
4434	am, bw, mir, msgr, 
4435	cols#80, it#8, lines#24, 
4436	cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H, 
4437	cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C, 
4438	cup=\E0%p1%{33}%+%c%p2%{33}%+%c, cuu=\E[%p1%dA, 
4439	cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[M, 
4440	ed=\E[J\E[r, el=\E[K\E[t, flash=\E$$<200/>\E$P, 
4441	home=\E$B, ht=^I, il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D, 
4442	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J, 
4443	rmcup=, rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m, 
4444	sgr0=\E[m, 
4445	smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q, 
4446	smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m, 
4447pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode, 
4448	cols#132, 
4449	cup=\E[%i%p1%d;%p2%dH, use=pt100, 
4450pt250|Prime PT250, 
4451	rmso@, smso@, use=pt100, 
4452pt250w|Prime PT250 in 132-column mode, 
4453	rmso@, smso@, use=pt100w, 
4454
4455#### Qume (qvt)
4456#
4457#	Qume, Inc.
4458#	3475-A North 1st Street
4459#	San Jose CA 95134
4460#	Vox: (800)-457-4447
4461#	Fax: (408)-473-1510
4462#	Net: josed@techsupp.wyse.com (Jose D'Oliveira)
4463#
4464# Qume was bought by Wyse, but still (as of early 1995) has its own support
4465# group and production division.
4466#
4467# Discontinued Qume models:
4468#
4469# The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
4470# built to replace them, and a qvt119+ which was a 101+ with available wide
4471# mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
4472# and an ANSI-compatible qvt203 that replaced it.  Qume started producing
4473# ANSI-compatible terminals with the qvt323 and qvt61.
4474#
4475# Current Qume models (as of February 1995):
4476#
4477# All current Qume terminals have ANSI-compatible operation modes.
4478# Qume is still producing the qvt62, which features emulations for other
4479# popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
4480# designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
4481# with many emulations including Wyse370, Wyse 325, etc.  Their newest
4482# model is the qvt520, which is vt420-compatible.
4483#
4484# There are some ancient printing Qume terminals under `Daisy Wheel Printers'
4485#
4486# If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
4487# setup mode.  Shift-s should be a configuration save to NVRAM.
4488
4489qvt101|qvt108|qume qvt 101 and QVT 108, 
4490	xmc#1, use=qvt101+, 
4491
4492# This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
4493# file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked 
4494# both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
4495# What seems to be going on here is that this entry was designed so that
4496# the normal highlight is bold and standout is dim plus something else
4497# (reverse-video maybe?  But then, are there two <rev> sequences?)  
4498qvt101+|qvt101p|qume qvt 101 PLUS product, 
4499	am, bw, hs, ul, 
4500	cols#80, lines#24, xmc#0, 
4501	bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^J, 
4502	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
4503	dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
4504	flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
4505	ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H, 
4506	kcud1=^J, kcuf1=^L, kcuu1=^K, kdl1=\ER, ked=\EY, kel=\ET, 
4507	kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
4508	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
4509	khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, rmso=\E(, 
4510	smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef, 
4511	use=adm+sgr, 
4512qvt102|qume qvt 102, 
4513	cnorm=\E., use=qvt101, 
4514# (qvt103: added <rmam>/<smam> based on init string -- esr)
4515qvt103|qume qvt 103, 
4516	am, xenl, xon, 
4517	cols#80, it#8, lines#24, vt#3, 
4518	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
4519	clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
4520	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
4521	cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
4522	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
4523	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
4524	hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
4525	kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, 
4526	rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>, 
4527	rmso=\E[m$<2>, rmul=\E[m$<2>, 
4528	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
4529	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
4530	sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=, 
4531	smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
4532qvt103-w|qume qvt103 132 cols, 
4533	cols#132, lines#24, 
4534	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103, 
4535qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals, 
4536	am, hs, mir, msgr, 
4537	cols#80, lines#24, xmc#0, 
4538	bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, cub1=^H, 
4539	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
4540	cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, 
4541	el=\Et, flash=\En0$<200>\En1, fsl=^M, home=^^, ht=^I, 
4542	hts=\E1, il1=\EE, ind=^J, is2=\EDF\EC\EG0\Er\E(\E%EX, 
4543	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, 
4544	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
4545	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
4546	mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, smir=\Eq, smul=\EG8, 
4547	tbc=\E3, tsl=\Eg\Ef, 
4548	use=adm+sgr, 
4549qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines, 
4550	lines#25, use=qvt119+, 
4551qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode, 
4552	cols#132, 
4553	is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+, 
4554qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25, 
4555	lines#25, use=qvt119+, 
4556qvt203|qvt203+|qume qvt 203 Plus, 
4557	dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>, 
4558	ip=$<7>, kf0=\E[29~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
4559	kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
4560	kf9=\E[28~, rmir=\E[4l, smir=\E[4h, 
4561	use=qvt103, 
4562qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video), 
4563	cols#132, lines#24, 
4564	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203, 
4565#
4566#	Since a command is present for enabling 25 data lines,
4567#	a specific terminfo entry may be generated for the 203.
4568#	If one is desired for the QVT 119 PLUS then 25 lines must
4569#	be selected in the status line (setup line 9).
4570#
4571qvt203-25|QVT 203 PLUS with 25 by 80 column mode, 
4572	cols#80, lines#25, 
4573	is2=\E[=40h\E[?3l, use=qvt203, 
4574qvt203-25-w|QVT 203 PLUS with 25 by 132 columns, 
4575	cols#132, lines#25, 
4576	rs2=\E[?3h\E[=40h, use=qvt203, 
4577
4578#### Televideo (tvi)
4579#
4580#	TeleVideo
4581#	550 East Brokaw Road
4582#	PO Box 49048    95161
4583#	San Jose CA 95112
4584#	Vox: (408)-954-8333
4585#	Fax: (408)-954-0623
4586#
4587#
4588# There are some tvi terminals that require incredible amounts of padding and
4589# some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
4590# tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.
4591#
4592# All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
4593# Televideo terminals are ANSI and PC-ANSI compatible.
4594
4595tvi803|televideo 803, 
4596	clear=\E*$<10>, use=tvi950, 
4597
4598# Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
4599# Switch settings are:
4600# 
4601# S1  1 2 3 4
4602#     D D D D  9600
4603#     D D D U    50
4604#     D D U D    75
4605#     D D U U   110
4606#     D U D D   135
4607#     D U D U   150
4608#     D U U D   300
4609#     D U U U   600
4610#     U D D D  1200
4611#     U D D U  1800
4612#     U D U D  2400
4613#     U D U U  3600
4614#     U U D D  4800
4615#     U U D U  7200
4616#     U U U D  9600
4617#     U U U U 19200
4618# 
4619# S1  5 6 7 8
4620#     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
4621#     U D X U  7N2
4622#     U U D D  7O1
4623#     U U D U  7O2
4624#     U U U D  7E1
4625#     U U U U  7E2
4626#     D D X D  8N1
4627#     D D X U  8N2
4628#     D U D D  8O1
4629#     D U U U  8E2
4630# 
4631# S1  9  Autowrap
4632#     U  on
4633#     D  off
4634# 
4635# S1 10  CR/LF
4636#     U  do CR/LF when CR received
4637#     D  do CR when CR received
4638# 
4639# S2  1  Mode
4640#     U  block
4641#     D  conversational
4642# 
4643# S2  2  Duplex
4644#     U  half
4645#     D  full
4646# 
4647# S2  3  Hertz
4648#     U  50
4649#     D  60
4650# 
4651# S2  4  Edit mode
4652#     U  local
4653#     D  duplex
4654# 
4655# S2  5  Cursor type
4656#     U  underline
4657#     D  block
4658# 
4659# S2  6  Cursor down key
4660#     U  send ^J
4661#     D  send ^V
4662# 
4663# S2  7  Screen colour
4664#     U  green on black
4665#     D  black on green
4666# 
4667# S2  8  DSR status (pin 6)
4668#     U  disconnected
4669#     D  connected
4670# 
4671# S2  9  DCD status (pin 8)
4672#     U  disconnected
4673#     D  duplex
4674# 
4675# S2 10  DTR status (pin 20)
4676#     U  disconnected
4677#     D  duplex
4678# (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
4679# <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
4680tvi910|televideo model 910, 
4681	am, msgr, 
4682	cols#80, it#8, lines#24, xmc#1, 
4683	bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4684	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET, 
4685	home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=^I, 
4686	if=/usr/share/tabset/stdcrt, ind=^J, invis@, kbs=^H, 
4687	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r, 
4688	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
4689	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
4690	vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
4691# From: Alan R. Rogers <rogers%albany@csnet-relay>
4692# as subsequently hacked over by someone at SCO
4693# (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
4694#
4695# Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
4696#
4697# S1  1 2 3 4:
4698#     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
4699#     D U D D   135     D U D U   150     D U U D   300     D U U U   600
4700#     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
4701#     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
4702#
4703# S1  5 6 7 8:
4704#     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
4705#     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
4706#     D U D D  8O1     D U U U  8E2
4707# 
4708# S1  9  Autowrap            (U = on, D = off)
4709# S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
4710# S2  1  Mode                (U = block, D = conversational)
4711# S2  2  Duplex              (U =  half, D = full)
4712# S2  3  Hertz               (U = 50, D = 60)
4713# S2  4  Edit mode           (U = local, D = duplex)
4714# S2  5  Cursor type         (U = underline, D = block)
4715# S2  6  Cursor down key     (U = send ^J, D = send ^V)
4716# S2  7  Screen colour       (U = green on black, D = black on green)
4717# S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
4718# S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
4719# S2 10  DTR status (pin 20) (U = disconnected, D = connected)
4720#
4721tvi910+|televideo 910+, 
4722	dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, il1=\EE$<33*>, 
4723	kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, 
4724	kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, 
4725	ll=\E=7\s, 
4726	use=tvi910, 
4727
4728# (tvi912: removed obsolete ":ma=^K^P^L :", added  <flash> and
4729# <khome> from BRL entry -- esr)
4730tvi912|tvi914|tvi920|old televideo 912/914/920, 
4731	am, msgr, 
4732	cols#80, it#8, lines#24, xmc#1, 
4733	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4734	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4735	dl1=\ER$<33*>, ed=\Ey, el=\ET, flash=\Eb$<50/>\Ed, home=^^, 
4736	ht=^I, hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt, 
4737	il1=\EE$<33*>, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
4738	kcuu1=^K, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
4739	kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
4740	kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El, 
4741	tbc=\E3, 
4742# the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
4743# The 920 has this plus real function keys that xmit different things.
4744# Terminfo makes you use the funct key on the 912 but the real keys on the 920.
4745tvi912c|tvi912b|new televideo 912, 
4746	dl1=\ER$<5*>, il1=\EE$<5*>, use=tvi912, 
4747# set to page 1 when entering curses application (\E-17 )
4748# reset to page 0 when exiting curses application (\E-07 )
4749tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages, 
4750	rmcup=\E-07\s, smcup=\E-17\s, use=tvi912, 
4751# We got some new tvi912c terminals that act really weird on the regular 
4752# termcap, so one of our gurus worked this up. Seems that cursor 
4753# addressing is broken.
4754tvi912cc|tvi912 at cowell college, 
4755	cup@, use=tvi912c, 
4756
4757# Here are the switch settings for the tvi920c:
4758#
4759# S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
4760# 2: 9600	3: 4800		4: 2400		5: 1200
4761# 6:  600	7:  300		8:  150		9:   75
4762# 10: 110
4763#
4764# S2 UART/Terminal options:
4765# 		Up			Down
4766# 1:		Not used		Not allowed
4767# 2:	Alternate character set	  Standard character set
4768# 3:	    Full duplex		    Half duplex
4769# 4:	    50 Hz refresh	    60 Hz refresh
4770# 5:	      No parity		     Send parity
4771# 6:	     2 stop bits	     1 stop bit
4772# 7:	     8 data bits	     7 data bits
4773# 8:		Not used		Not allowed on Rev E or lower
4774# 9:	     Even parity	     Odd parity
4775# 10:	    Steady cursor	    Blinking cursor
4776# 	(On Rev E or lower, use W25 instead of switch 10.)
4777# 
4778# S5 UART/Terminal options:
4779# 		Open			Closed
4780# 1:	P3-6 Not connected	DSR received on P3-6
4781# 2:	P3-8 Not connected	DCD received on P3-8
4782#
4783# 3 Open, 4 Open:		P3-20 Not connected
4784# 3 Open, 4 Closed:	DTR on when terminal is on
4785# 3 Closed, 4 Open:	DTR is connected to RTS
4786# 3 Closed, 4 Closed:	Not allowed
4787#
4788# 5 Closed:	HDX printer (hardware control) Rev. K with extension port off,
4789# 		all data transmitted out of the modem port (P3) will also be
4790# 		transmitted out of the printer port (P4).
4791#
4792# 6 Open, 7 Open:		Not allowed
4793# 6 Open, 7 Closed:	20ma current loop input
4794# 6 Closed, 7 Open:	RS232 input
4795# 6 Closed, 7 Closed:	Not allowed
4796#
4797# Jumper options:
4798# If the jumper is installed, the effect will occur (the next time the terminal
4799# is switched on).
4800#
4801# S4/W31:	Enables automatic LF upon receipt of CR from
4802# 		remote or keyboard.
4803# S4/W32:	Enables transmission of EOT at the end of Send.  If not 
4804# 		installed, a carriage return is sent.
4805# S4/W33:	Disables automatic carriage return in column 80.
4806# S4/W34:	Selects Page Print Mode as initial condition.  If not 
4807# 		installed, Extension Mode is selected.
4808#
4809tvi920b|tvi920c|new televideo 920, 
4810	dl1=\ER$<5*>, il1=\EE$<5*>, kf0=^AI\r, kf1=^A@\r, 
4811	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
4812	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
4813	use=tvi912, 
4814
4815# Televideo 921 and variants
4816# From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
4817# (tvi921: removed :ko=bt: before translation, I see no backtab cap;
4818# also added empty <acsc> to suppress tic warning -- esr)
4819tvi921|televideo model 921 with sysline same as page & real vi function, 
4820	am, hs, xenl, xhp, 
4821	cols#80, lines#24, xmc#0, 
4822	acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
4823	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K, 
4824	cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY, 
4825	el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
4826	if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, invis@, 
4827	is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, kcub1=^H, 
4828	kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>, 
4829	ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%, 
4830	rmir=, smacs=\E$, smir=, tsl=\Ef\EG0, 
4831	use=adm+sgr, 
4832# without the beeper
4833# (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
4834# also added empty <acsc> to suppress tic warning -- esr)
4835tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper, 
4836	am, hs, xenl, xhp, 
4837	cols#80, lines#24, xmc#0, 
4838	acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
4839	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K, 
4840	cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY, 
4841	el=\ET, flash=\Eb$<200/>\Ed, fsl=\Eg, home=^^, ht=^I, 
4842	ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
4843	invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, 
4844	kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
4845	kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, 
4846	nel=^M^J, rmacs=\E%, smacs=\E$, tsl=\Ef\EG0, 
4847	use=adm+sgr, 
4848# (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
4849tvi92D|tvi92B with DTR instead of XON/XOFF & better padding, 
4850	dl1=\ER$<2*/>, il1=\EE$<2*/>, 
4851	is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>, 
4852	kil1=\EE$<2*/>, 
4853	use=tvi92B, 
4854
4855# (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
4856# in from a BSD termcap file because it looks like they do something the
4857# old ones skip -- esr)
4858tvi924|televideo tvi924, 
4859	am, bw, hs, in, mir, msgr, xenl, xon, 
4860	cols#80, it#8, lines#24, wsl#80, xmc#0, 
4861	bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, clear=\E*0, 
4862	cnorm=\E.3, cr=^M, csr=\E_%p1%{32}%+%c%p2%{32}%+%c, 
4863	cub1=^H, cud1=^V, cuf1=^L, 
4864	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\E.1, 
4865	dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey, el=\Et, 
4866	flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I, hts=\E1, 
4867	ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
4868	invis@, is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0, 
4869	kbs=^H, kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
4870	kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, kf1=^AA\r, 
4871	kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, kf13=^AM\r, kf14=^AN\r, 
4872	kf15=^AO\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r, 
4873	kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^, 
4874	kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4, 
4875	lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, 
4876	pfkey=\E|%p1%{49}%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef, use=adm+sgr, 
4877
4878# TVI925 DIP switches.  In each of these, D = Down and U = Up,
4879#
4880# Here are the settings for the external (baud) switches (S1):
4881#
4882#             Position		Baud
4883# 7	8	9	10		[Printer]
4884# 1	2	3	4		[Main RS232]
4885# -----------------------------------------------------
4886# D	D	D	D	9600
4887# D	D	D	U	  50
4888# D	D	U	D	  75
4889# D	D	U	U	 110
4890# D	U	D	D	 135
4891# D	U	D	U	 150
4892# D	U	U	D	 300
4893# D	U	U	U	 600
4894# U	D	D	D	1200
4895# U	D	D	U	1800
4896# U	D	U	D	2400
4897# U	D	U	U	3600
4898# U	U	D	D	4800
4899# U	U	D	U	7200
4900# U	U	U	D	9600
4901# U	U	U	U	19200
4902# 
4903# 
4904# Settings for word length and stop-bits (S1)
4905#
4906#  Position	Description
4907# 5	6	
4908# ---------------------------
4909# U	-	7-bit word
4910# D	-	8-bit word
4911# -	U	2 stop bits
4912# -	D	1 stop bit
4913# 
4914# 
4915# S2 (external) settings
4916#
4917# Position	Up	Dn	Description
4918# --------------------------------------------
4919# 1		X		Local edit
4920# 			X	Duplex edit (transmit editing keys)
4921# --------------------------------------------
4922# 2		X		912/920 emulation
4923# 			X	925
4924# --------------------------------------------
4925# 3			X
4926# 4			X	No parity
4927# 5			X	
4928# --------------------------------------------
4929# 3			X
4930# 4			X	Odd parity
4931# 5		X	
4932# --------------------------------------------
4933# 3			X
4934# 4		X		Even parity
4935# 5		X	
4936# --------------------------------------------
4937# 3		X	
4938# 4			X	Mark parity
4939# 5		X		
4940# --------------------------------------------
4941# 3		X
4942# 4		X		Space parity
4943# 5		X
4944# --------------------------------------------
4945# 6		X		White on black display
4946# 			X	Black on white display
4947# --------------------------------------------
4948# 7			X	Half Duplex
4949# 8			X
4950# --------------------------------------------
4951# 7		X		Full Duplex
4952# 8			X	
4953# --------------------------------------------
4954# 7			X	Block mode
4955# 8		X	
4956# --------------------------------------------
4957# 9			X	50 Hz
4958# 		X		60 Hz
4959# --------------------------------------------
4960# 10		X		CR/LF (Auto LF)
4961# 			X	CR only
4962# 
4963# S3 (internal switch) settings:
4964# 
4965# Position	Up	Dn	Description
4966# --------------------------------------------
4967# 1		X		Keyclick off 
4968# 			X	Keyclick on
4969# --------------------------------------------
4970# 2			X	English
4971# 3			X	
4972# --------------------------------------------
4973# 2			X	German
4974# 3		X		
4975# --------------------------------------------
4976# 2		X		French
4977# 3			X	
4978# --------------------------------------------
4979# 2		X		Spanish
4980# 3		X	
4981# --------------------------------------------
4982# 4			X	Blinking block cursor
4983# 5			X	
4984# --------------------------------------------
4985# 4			X	Blinking underline cursor
4986# 5		X		
4987# --------------------------------------------
4988# 4		X		Steady block cursor
4989# 5			X	
4990# --------------------------------------------
4991# 4		X		Steady underline cursor
4992# 5		X	
4993# --------------------------------------------
4994# 6		X		Screen blanking timer (ON)
4995# 			X	Screen blanking timer (OFF)
4996# --------------------------------------------
4997# 7		X		Page attributes
4998# 			X	Line attributes
4999# --------------------------------------------
5000# 8		X		DCD disconnected
5001# 			X	DCD connected
5002# --------------------------------------------
5003# 9		X		DSR disconnected
5004# 			X	DSR connected
5005# --------------------------------------------
5006# 10		X		DTR Disconnected
5007# 			X	DTR connected
5008# --------------------------------------------
5009#
5010# (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
5011tvi925|televideo 925, 
5012	am, bw, hs, ul, 
5013	cols#80, lines#24, xmc#1, 
5014	bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^V, 
5015	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
5016	cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET, 
5017	flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, ht=^I, hts=\E1, 
5018	ich1=\EQ, il1=\EE, ind=^J, invis@, is2=\El\E", kbs=^H, kclr=^Z, 
5019	kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
5020	ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
5021	kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
5022	kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, ri=\Ej, tbc=\E3, 
5023	tsl=\Eh\Ef, 
5024	use=adm+sgr, 
5025# TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
5026# to avoid "magic cookie" standout glitch:
5027tvi925-hi|TeleVideo Model 925 with half intensity standout mode, 
5028	xmc@, 
5029	kbs=^H, kcub1=^H, kcud1=^J, rmso=\E(, smso=\E), use=tvi925, 
5030
5031# From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
5032# Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
5033# for additional capabilities, 
5034# The following tvi descriptions from B:pjphar and virus!mike
5035# is for all 950s.  It sets the following attributes:
5036# full duplex (\EDF)		write protect off (\E()
5037# conversation mode (\EC)	graphics mode off (\E%)
5038# white on black (\Ed)		auto page flip off (\Ew)
5039# turn off status line (\Eg)	clear status line (\Ef\r)
5040# normal video (\E0)		monitor mode off (\EX or \Eu)
5041# edit mode (\Er)		load blank char to space (\Ee\040)
5042# line edit mode (\EO)		enable buffer control (^O)
5043# protect mode off (\E\047)	duplex edit keys (\El)
5044# program unshifted send key to send line all (\E016)
5045# program shifted send key to send line unprotected (\E004)
5046# set the following to nulls:
5047#	field delimiter (\Ex0\200\200)
5048#	line delimiter (\Ex1\200\200)
5049#	start-protected field delimiter (\Ex2\200\200)
5050#	end-protected field delimiter (\Ex3\200\200)
5051# set end of text delimiter to carriage return/null (\Ex4\r\200)
5052# 
5053#                     TVI 950 Switch Setting Reference Charts
5054# 
5055#                                     TABLE 1:
5056# 
5057#      S1     1     2     3     4     5     6     7     8     9    10
5058#          +-----------------------+-----+-----+-----------------------+
5059#          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
5060#          |                       |Bits |Bits |                       |
5061#   +------+-----------------------+-----+-----+-----------------------+
5062#   |  Up  |        See            |  7  |  2  |        See            |
5063#   +------+-----------------------+-----+-----+-----------------------+
5064#   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
5065#   +------+-----------------------+-----+-----+-----------------------+
5066# 
5067# 
5068#      S2     1     2     3     4     5     6     7     8     9    10
5069#          +-----+-----+-----------------+-----+-----------+-----+-----+
5070#          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
5071#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
5072#   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
5073#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
5074#   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
5075#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
5076#  
5077#                                    TABLE 2:
5078# 
5079#             +-----------+-----+-----+-----+-----+-----------+
5080#             | Display   |  1  |  2  |  3  |  4  |   Baud    |
5081#             +-----------+-----+-----+-----+-----+           |
5082#             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
5083#             +-----------+-----+-----+-----+-----+-----------+
5084#                         |  D  |  D  |  D  |  D  |   9600    |
5085#                         |  U  |  D  |  D  |  D  |     50    |
5086#                         |  D  |  U  |  D  |  D  |     75    |
5087#                         |  U  |  U  |  D  |  D  |    110    |
5088#                         |  D  |  D  |  U  |  D  |    135    |
5089#                         |  U  |  D  |  U  |  D  |    150    |
5090#                         |  D  |  U  |  U  |  D  |    300    |
5091#                         |  U  |  U  |  U  |  D  |    600    |
5092#                         |  D  |  D  |  D  |  U  |   1200    |
5093#                         |  U  |  D  |  D  |  U  |   1800    |
5094#                         |  D  |  U  |  D  |  U  |   2400    |
5095#                         |  U  |  U  |  D  |  U  |   3600    |
5096#                         |  D  |  D  |  U  |  U  |   4800    |
5097#                         |  U  |  D  |  U  |  U  |   7200    |
5098#                         |  D  |  U  |  U  |  U  |   9600    |
5099#                         |  U  |  U  |  U  |  U  |  19200    |
5100#                         +-----+-----+-----+-----+-----------+
5101# 
5102#                                    TABLE 3:
5103#                         +-----+-----+-----+-----------+
5104#                         |  3  |  4  |  5  |   Parity  |
5105#                         +-----+-----+-----+-----------+
5106#                         |  X  |  X  |  D  |    None   |
5107#                         |  D  |  D  |  U  |     Odd   |
5108#                         |  D  |  U  |  U  |    Even   |
5109#                         |  U  |  D  |  U  |    Mark   |
5110#                         |  U  |  U  |  U  |   Space   |
5111#                         +-----+-----+-----+-----------+
5112#                                 X = don't care
5113# 
5114#                                     CHART:
5115#                         +-----+-----+-----------------+
5116#                         |  7  |  8  | Communication   |
5117#                         +-----+-----+-----------------+
5118#                         |  D  |  D  |  Half Duplex    |
5119#                         |  D  |  U  |  Full Duplex    |
5120#                         |  U  |  D  |     Block       |
5121#                         |  U  |  U  |     Local       |
5122#                         +-----+-----+-----------------+
5123# 
5124# (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:". 
5125# I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich> 
5126# should be present and all tvi native modes use the same string for this.
5127# Finally, note that BSD has cud1=^V. -- esr) 
5128tvi950|televideo 950, 
5129	am, hs, mir, msgr, xenl, xon, 
5130	cols#80, it#8, lines#24, xmc#1, 
5131	acsc=b\011c\014d\re\ni\013, bel=^G, cbt=\EI, clear=\E*, 
5132	cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5133	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
5134	dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed, 
5135	fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J, 
5136	invis@, 
5137	is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\Ef\r, 
5138	kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L, 
5139	kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r, 
5140	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
5141	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
5142	kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=^X, 
5143	rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef, 
5144	use=adm+sgr, 
5145#
5146# is for 950 with two pages adds the following:
5147#	set 48 line page (\E\\2)
5148#	place cursor at page 0, line 24, column 1 (\E-07 )
5149#	set local (no send) edit keys (\Ek)
5150#
5151# two page 950 adds the following:
5152#	when entering ex, set 24 line page (\E\\1)
5153#	when exiting ex, reset 48 line page (\E\\2)
5154#			 place cursor at 0,24,1 (\E-07 )
5155#	set duplex (send) edit keys (\El) when entering vi
5156#	set local (no send) edit keys (\Ek) when exiting vi
5157#
5158tvi950-2p|televideo950 w/2 pages, 
5159	is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07 \011, 
5160	rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
5161	smkx=\El, 
5162	use=tvi950, 
5163#
5164# is for 950 with four pages adds the following:
5165#	set 96 line page (\E\\3)
5166#	place cursor at page 0, line 24, column 1 (\E-07 )
5167#
5168# four page 950 adds the following:
5169#	when entering ex, set 24 line page (\E\\1)
5170#	when exiting ex, reset 96 line page (\E\\3)
5171#			 place cursor at 0,24,1 (\E-07 )
5172#
5173tvi950-4p|televideo950 w/4 pages, 
5174	is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07 \011, 
5175	rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
5176	smkx=\El, 
5177	use=tvi950, 
5178#
5179# <is2> for reverse video 950 changes the following:
5180#	set reverse video (\Ed)
5181#
5182# set vb accordingly (\Ed ...delay... \Eb)
5183#
5184tvi950-rv|televideo950 rev video, 
5185	flash=\Ed$<200/>\Eb, 
5186	is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0, use=tvi950, 
5187
5188# tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
5189tvi950-rv-2p|televideo950 rev video w/2 pages, 
5190	flash=\Ed$<200/>\Eb, 
5191	is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07\s, 
5192	rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
5193	smkx=\El, 
5194	use=tvi950, 
5195
5196# tvi950-rv uses the appropriate entries from 950-4p and 950-rv
5197tvi950-rv-4p|televideo950 rev video w/4 pages, 
5198	flash=\Ed$<200/>\Eb, 
5199	is2=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07\s, 
5200	rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
5201	smkx=\El, 
5202	use=tvi950, 
5203# From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
5204# (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
5205# removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
5206# the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
5207# the :ko: string had :cl: in it, which means that one of the original
5208# <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
5209# the 950 has.   Finally, corrected the <kel> string to match the 950 and what
5210# ko implies -- esr)
5211# If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
5212# also work.
5213tvi955|televideo 955, 
5214	mc5i, msgr@, 
5215	it#8, xmc@, 
5216	acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2, 
5217	civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH, 
5218	cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1, 
5219	is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1, 
5220	knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%, 
5221	rmam=\E[=7l, rmxon=^N, 
5222	rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r, 
5223	sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O, 
5224	use=tvi950, 
5225tvi955-w|955-w|televideo955 w/132 cols, 
5226	cols#132, 
5227	is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955, 
5228# use half-intensity as normal mode, full intensity as <bold>
5229tvi955-hb|955-hb|televideo955 half-bright, 
5230	bold=\E[=5l, dim@, is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El, 
5231	sgr0=\EG0\E[=5h, 
5232	use=tvi955, 
5233# From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
5234# (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
5235# added <am>/<csr>/<home>/<hpa>/<vpa>/<smcup>/<rmcup> from BRL.
5236# According to BRL we could have <rmkx>=\E>, <smkx>=\E= but I'm not sure what
5237# it does to the function keys.  I deduced <rmam>/<smam>.
5238# also added empty <acsc> to suppress tic warning,  -- esr)
5239tvi970|televideo 970, 
5240	am, da, db, mir, msgr, 
5241	cols#80, it#8, lines#24, 
5242	acsc=, cbt=\E[Z, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
5243	cub1=^H, cud1=\ED, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df, 
5244	cuu1=\EM, cvvis=\E[1Q, dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r, 
5245	ed=\E[J, el=\E[K, flash=\E[5m$<200/>\E[m, home=\E[H, 
5246	hpa=\E[%i%p1%dG, ht=^I, il1=\E[L, 
5247	is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J, 
5248	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
5249	kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f, 
5250	kf7=\E?g, kf8=\E?h, kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B, 
5251	rmam=\E[?7h, rmcup=, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
5252	sgr0=\E[m, smacs=\E(B, smam=\E[?7l, 
5253	smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m, 
5254	smul=\E[4m, vpa=\E[%i%p1%dd, 
5255tvi970-vb|televideo 970 with visual bell, 
5256	flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, use=tvi970, 
5257tvi970-2p|televideo 970 with using 2 pages of memory, 
5258	rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q, 
5259	use=tvi970, 
5260# Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
5261# per line (rather than 40), Esc K chooses the normal character set.  Not sure
5262# padding is needed, but adapted from the tvi920c termcap.  The <smso> and 
5263# <smul> strings are klutzy, but at least use no screen space.
5264# (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
5265# its absence means <smam>=\Ev isn't safe to use. -- esr)
5266# From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84. 
5267# The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
5268# F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
5269tvipt|televideo personal terminal, 
5270	am, 
5271	cols#80, lines#24, 
5272	cbt=\EI, clear=^Z, cub1=^H, cuf1=^L, 
5273	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER$<5*>, 
5274	ed=\EY, el=\ET, home=^^, if=/usr/share/tabset/stdcrt, 
5275	il1=\EE$<5*>, is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J, 
5276	kcuf1=^L, kcuu1=^K, kf0=^A, kf1=^B, khome=^^, mc4=^T, mc5=^R, 
5277	rmso=\EF, rmul=\EF, smso=\EG1@A\EH, smul=\EG1B@\EH, 
5278# From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
5279tvi9065|televideo 9065, 
5280	am, bw, chts, hs, mc5i, mir, msgr, xenl, xon, 
5281	cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0, 
5282	wnum#0, wsl#30, 
5283	acsc='r0_jhkglfmeniopqksqtmulvownxj, bel=^G, 
5284	blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z, 
5285	cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, 
5286	cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L, 
5287	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu=\E[%p1%dA, 
5288	cuu1=^K, cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp, 
5289	dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r, ech=\E[%p1%d@, ed=\EY, 
5290	el=\ET, flash=\Eb$<15>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
5291	ich=\E[%p1%d@, if=/usr/share/tabset/stdcrt, 
5292	il=\E[%p1%dL, il1=\EE, ind=^J, indn=\E[%p1%dS, invis=\EG1, 
5293	ip=$<3>, 
5294	is1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er, 
5295	is2=\EF2\EG0\E\\L, is3=\E<\E[=4l\E[=8h, kHOM=\E\s\s\s, 
5296	kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
5297	kdch1=\EW, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, 
5298	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5299	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=\E[25;1H, 
5300	mc0=\E[0;0i, mc4=\Ea, mc5=\E`, nel=^M^J, 
5301	pfkey=\E|%p1%{48}%+%c3%p2%s\031, 
5302	pfloc=\E|%p1%{48}%+%c2%p2%s\031, 
5303	pfx=\E|%p1%{48}%+%c1%p2%s\031, 
5304	pln=\E_%p1%{63}%+%c%p2%s\r, prot=\E&, 
5305	rep=\E[%p2%db%p1%c, rev=\EG4, 
5306	rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT, 
5307	rmacs=\E%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H, 
5308	rmdc=\0, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0, 
5309	rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l, 
5310	rs2=\E.b\E[10;20v\E[14;1v\E[3;0v\E[7;0v\E[=11.h\E[=12.h\E[=13.h\E[=14.h\E[=15l\E[=20h\E[=60l\E[=61h\E[=9l\E[=10l\E[=21l\E[=23l\E[=3l\E_40\E_50\En\Ew\Ee \Ex0\0\0\Ex1\0\0\Ex2\0\0\Ex3\0\0\Ex4\0\0\E1, 
5311	rs3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0, 
5312	sgr=\EG0%?%p1%t\EGt%;%?%p2%t\EG8%;%?%p3%t\EG4%;%?%p4%t\EG2%;%?%p5%t\EGp%;%?%p6%t\EG\,%;%?%p7%t\EG1%;%?%p9%t\E$%e\E%%%;, 
5313	sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er, 
5314	smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O, 
5315	tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0, 
5316
5317#### Visual (vi)
5318#
5319# In September 1993, Visual Technology of Westboro, Massachusetts,
5320# merged with White Pine Software of Nashua, New Hampshire.
5321#
5322# White Pine Software may be contacted at +1 603/886-9050.
5323# Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
5324#
5325
5326# Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
5327# Recently I hacked together the following termcap for Visual
5328# Technology's Visual 50 terminal. It's a slight modification of
5329# the vt52 termcap. 
5330# It's intended to run when the Visual 50 is in vt52 emulation mode
5331# (I know what you're thinking; if it's emulating a vt52, then why
5332# another termcap? Well, it turns out that the Visual 50 can handle
5333# <dl1> and db(?) among other things, which the vt52 can't)
5334# The termcap works OK for the most part. The only problem is on
5335# character inserts. The whole line gets painfully redrawn for each
5336# character typed. Any suggestions?
5337# Beau's entry is combined with the vi50 entry from University of Wisconsin.
5338# Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
5339# disguise; <kf7>-<kf9> are really l1-l3.
5340vi50|visual 50, 
5341	am, da, db, msgr, 
5342	cols#80, it#8, lines#24, 
5343	bel=^G, cbt=\Ez$<4/>, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, 
5344	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
5345	dl1=\EM$<3*/>, ed=\EJ, el=\EK$<16/>, home=\EH, ht=^I, 
5346	il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
5347	kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV, kf5=\EE, 
5348	kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH, nel=^M^J, 
5349	ri=\EI, rmso=\ET, rmul=\EW, smso=\EU, smul=\ES, 
5350# this one was BSD & SCO's vi50
5351vi50adm|visual 50 in adm3a mode, 
5352	am, msgr, 
5353	cols#80, it#8, lines#24, 
5354	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5355	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM, 
5356	ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H, 
5357	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, 
5358	rmso=\ET, smso=\EU, 
5359# From: Jeff Siegal <jbs@athena.mit.edu>
5360vi55|Visual 55, 
5361	am, mir, msgr, 
5362	cols#80, it#8, lines#24, 
5363	clear=\Ev, csr=\E_%p1%{65}%+%c%p2%{65}%+%c, cub1=^H, 
5364	cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
5365	cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, 
5366	il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED, 
5367	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, rmso=\ET, 
5368	smir=\Ea, smso=\EU, 
5369
5370# Visual 200 from BRL
5371# The following switch settings are assumed for normal operation:
5372#	FULL_DUPLEX		SCROLL			CR
5373#	AUTO_NEW_LINE_ON	VISUAL_200_EMULATION_MODE
5374# Other switches may be set for operator convenience or communication
5375# requirements.
5376# Character insertion is kludged in order to get around the "beep" misfeature.
5377# (This cap is commented out because <smir>/<rmir> is more efficient -- esr)
5378# Supposedly "4*" delays should be used for <il1>, <ed>, <clear>, <dch1>,
5379# and <dl1> strings, but we seem to get along fine without them.
5380vi200|visual 200, 
5381	am, mir, msgr, 
5382	cols#80, it#8, lines#24, 
5383	acsc=, bel=^G, cbt=\Ez, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H, 
5384	cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
5385	cuu1=\EA, cvvis=\Ed, dch1=\EO, dim=\E4, dl1=\EM, ed=\Ey, 
5386	el=\Ex, home=\EH, ht=^I, hts=\E1, il1=\EL, ind=^J, invis=\Ea, 
5387	kbs=^H, kclr=\Ev, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
5388	kcuu1=\EA, kdch1=\EO, kdl1=\EM, ked=\EJ, kel=\Et, kf0=\E?p, 
5389	kf1=\E?q, kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, 
5390	kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei, 
5391	kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI, 
5392	rmacs=\EG, rmkx=\E>, rmso=\E3, 
5393	rs1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX, sgr0=\E3\Eb, smacs=\EF, 
5394	smkx=\E=, smso=\E4, tbc=\Eg, 
5395# The older Visuals didn't come with function keys. This entry uses
5396# <smkx> and <rmkx> so that the keypad keys can be used as function keys.
5397# If your version of vi doesn't support function keys you may want
5398# to use vi200-f.
5399vi200-f|visual 200 no function keys, 
5400	is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q, 
5401	kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w, 
5402	kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, smkx=\E=, smso@, 
5403	use=vi200, 
5404vi200-rv|visual 200 reverse video, 
5405	cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200, 
5406
5407# the function keys are programmable but we don't reprogram them to their
5408# default values with <is2> because programming them is very verbose. maybe
5409# an initialization file should be made for the 300 and they could be stuck
5410# in it.
5411# (vi300: added <rmam>/<smam> based on init string -- esr)
5412vi300|visual 300 ansi x3.64, 
5413	am, bw, mir, xenl, 
5414	cols#80, lines#24, 
5415	bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
5416	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
5417	dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
5418	il1=\E[L, ind=^J, 
5419	is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s, 
5420	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
5421	kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\, 
5422	kf5=\E_E\E\\, kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\, 
5423	kf9=\E_I\E\\, khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l, 
5424	rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
5425	smso=\E[1m, smul=\E[4m, 
5426# some of the vi300s have older firmware that has the command
5427# sequence for setting editing extent reversed.
5428vi300-old|visual 300 with old firmware (set edit extent reversed), 
5429	is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s, 
5430	use=vi300, 
5431
5432# Visual 500 prototype entry from University of Wisconsin.
5433# The best place to look for the escape sequences is page A1-1 of the
5434# Visual 500 manual.  The initialization sequence given here may be
5435# overkill, but it does leave out some of the initializations which can
5436# be done with the menus in set-up mode.
5437# The :xp: line below is so that emacs can understand the padding requirements
5438# of this slow terminal.  :xp: is 10 time the padding factor.
5439# (vi500: removed unknown :xp#4: termcap;
5440# also added empty <acsc> to suppress tic warning -- esr)
5441vi500|visual 500, 
5442	am, mir, msgr, 
5443	cols#80, it#8, lines#33, 
5444	acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M, 
5445	csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB, 
5446	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
5447	dch1=\EO$<3*/>, dl1=\EM$<3*/>, ed=\Ey$<3*/>, 
5448	el=\Ex$<16/>, home=\EH, ht=\011$<8/>, il1=\EL\Ex$<3*/>, 
5449	ind=^J, 
5450	is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\, 
5451	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
5452	khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G, 
5453	rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, smul=\E^D, 
5454
5455# The visual 550 is a visual 300 with tektronix graphics,
5456# and with 33 lines. clear screen is modified here to
5457# also clear the graphics.
5458vi550|visual 550 ansi x3.64, 
5459	lines#33, 
5460	clear=\030\E[H\E[2J, use=vi300, 
5461
5462vi603|visual603|visual 603, 
5463	hs, mir, 
5464	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
5465	csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C, 
5466	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
5467	dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, fsl=\E\\, il1=\E[L, 
5468	ind=\ED, is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r, 
5469	rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
5470	sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=\EP2~, 
5471	use=vt100, 
5472
5473#### Wyse (wy)
5474#
5475#	Wyse Technology
5476#	3471 North First Street
5477#	San Jose, CA 95134
5478#	Vox: (408)-473-1200
5479#	Fax: (408) 473-1222
5480#	Web: http://www.wyse.com
5481#
5482# Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
5483# (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
5484# obvious address, <http://www.wyse.com>.  They keep terminfo entries at
5485# <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
5486#
5487# Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
5488# They now own the Qume and Amdek brands, too.  So these are the people to
5489# talk with about all Link, Qume, and Amdek terminals.
5490#
5491# These entries include a few small fixes.
5492# I canceled the bel capacities in the vb entries.
5493# I made two trivial syntax fixes in the wyse30 entry.
5494# I made some entries relative to adm+sgr.
5495#
5496#
5497# Note: The wyse75, wyse85, and wyse99 have been discontinued.
5498
5499#	   Although the Wyse 30 can support more than one attribute
5500#	it requires magic cookies to do so.  Many applications do not
5501#	function well with magic cookies.  The following terminfo uses
5502#	the protect mode to support one attribute (dim) without cookies.
5503#	If more than one attribute is needed then the wy30-mc terminfo
5504#	should be used.
5505#
5506wy30|wyse30|Wyse 30, 
5507	am, bw, hs, mc5i, mir, msgr, xon, 
5508	cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45, 
5509	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
5510	civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H, 
5511	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
5512	cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>, 
5513	dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9, 
5514	fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>, 
5515	ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024, 
5516	kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
5517	kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, 
5518	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
5519	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ, 
5520	kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T, 
5521	mc5=^X, nel=^M^J, pfx=\Ez%p1%{63}%+%c%p2%s\177, 
5522	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>, 
5523	rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
5524	sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
5525	sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
5526	smso=\E`7\E), tbc=\E0, tsl=\EF, 
5527#
5528#	This terminal description uses the non-hidden attribute mode
5529#	(with magic cookie).
5530#
5531# (wy30-mc: added <smcup> to suppress tic warning --esr)
5532wy30-mc|wyse30-mc|wyse 30 with magic cookies, 
5533	msgr@, 
5534	ma@, xmc#1, 
5535	blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003, 
5536	rmcup=\EG0, rmso=\EG0, 
5537	sgr=\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
5538	sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
5539	smso=\EG4, use=wy30, 
5540	use=adm+sgr, 
5541#	The mandatory pause used by <flash> does not work with
5542#	older versions of terminfo.  If you see this effect then
5543#	unset xon and delete the / from the delay.
5544#	i.e. change $<100/> to $<100>
5545wy30-vb|wyse30-vb|wyse 30 visible bell, 
5546	bel@, use=wy30, 
5547#
5548#	   The Wyse 50 can support one attribute (e.g. Dim, Inverse,
5549#	Normal) without magic cookies by using the protect mode.
5550#	The following description uses this feature, but when more
5551#	than one attribute is put on the screen at once, all attributes
5552#	will be changed to be the same as the last attribute given.
5553#	   The Wyse 50 can support more attributes when used with magic
5554#	cookies.  The wy50-mc terminal description uses magic cookies
5555#	to correctly handle multiple attributes on a screen.
5556#
5557wy50|wyse50|Wyse 50, 
5558	am, bw, hs, mc5i, mir, msgr, xon, 
5559	cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45, 
5560	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
5561	civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H, 
5562	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
5563	cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r, 
5564	ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
5565	home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>, 
5566	is1=\E`\:\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{, kbs=^H, 
5567	kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
5568	kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
5569	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
5570	kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
5571	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
5572	kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
5573	ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, 
5574	pfx=\Ez%p1%{63}%+%c%p2%s\177, 
5575	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E), 
5576	ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
5577	sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
5578	sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
5579	smso=\E`6\E), tbc=\E0, tsl=\EF, 
5580#
5581#	This terminal description uses the non-hidden attribute mode
5582#	(with magic cookie).
5583#
5584#	The mandatory pause used by flash does not work with some
5585#	older versions of terminfo.  If you see this effect then
5586#	unset <xon> and delete the / from the delay.
5587#	i.e. change $<100/> to $<100>
5588# (wy50-mc: added <smcup> to suppress tic warning --esr)
5589wy50-mc|wyse50-mc|wyse 50 with magic cookies, 
5590	msgr@, 
5591	ma@, xmc#1, 
5592	blink=\EG2, dim=\EGp, prot=\EG0\E), rev=\EG4, 
5593	rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0, 
5594	sgr=\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
5595	sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
5596	smso=\EGt, use=wy50, 
5597	use=adm+sgr, 
5598wy50-vb|wyse50-vb|wyse 50 visible bell, 
5599	bel@, use=wy50, 
5600wy50-w|wyse50-w|wyse 50 132-column, 
5601	cols#132, lw#7, nlab#16, wsl#97, 
5602	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy50, 
5603wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell, 
5604	bel@, 
5605	use=wy50-w, 
5606
5607#
5608#	The Wyse 350 is a Wyse 50 with color.
5609#	Unfortunately this means that it has magic cookies.
5610#	The color attributes are designed to overlap the reverse, dim and
5611#	underline attributes.  This is nice for monochrome applications
5612#	because you can make underline stuff green (or any other color)
5613#	but for true color applications it's not so hot because you cannot
5614#	mix color with reverse, dim or underline.
5615#	    To further complicate things one of the attributes must be
5616#	black (either the foreground or the background).  In reverse video
5617#	the background changes color with black letters.  In normal video
5618#	the foreground changes colors on a black background.  
5619#	    This terminfo uses some of the more advanced features of curses
5620#	to display both color and blink.  In the final analysis I am not
5621#	sure that the wy350 runs better with this terminfo than it does
5622#	with the wy50 terminfo (with user adjusted colors).
5623#
5624#	The mandatory pause used by flash does not work with
5625#	older versions of terminfo.  If you see this effect then
5626#	unset xon and delete the / from the delay.
5627#	i.e. change $<100/> to $<100>
5628#
5629# Bug: The <op> capability resets attributes.
5630wy350|wyse350|Wyse 350, 
5631	am, bw, hs, mc5i, mir, xon, 
5632	colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8, 
5633	wsl#45, xmc#1, 
5634	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
5635	cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
5636	cub1=^H, cud1=^J, cuf1=^L, 
5637	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>, 
5638	dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET, 
5639	flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1, 
5640	il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\:\E`9$<30>, 
5641	is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI, 
5642	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
5643	ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
5644	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
5645	kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
5646	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
5647	kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
5648	ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0, 
5649	pfx=\Ez%p1%{63}%+%c%p2%s\177, 
5650	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\EG0\E), ri=\Ej, 
5651	rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=, 
5652	setf=%?%p1%{0}%=%t%{76}%e%p1%{1}%=%t%{64}%e%p1%{2}%=%t%{8}%e%p1%{3}%=%t%{72}%e%p1%{4}%=%t%{4}%e%p1%{5}%=%t%{68}%e%p1%{6}%=%t%{12}%e%p1%{7}%=%t%{0}%;%PC\EG%gC%gA%+%{48}%+%c, 
5653	sgr=%{0}%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;%PA\EG%?%gC%t%gC%e%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p5%t%{64}%|%;%;%gA%+%{48}%+%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
5654	sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002, 
5655	smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF, 
5656	use=adm+sgr, 
5657wy350-vb|wyse350-vb|wyse 350 visible bell, 
5658	bel@, use=wy350, 
5659wy350-w|wyse350-w|wyse 350 132-column, 
5660	cols#132, lw#7, nlab#16, wsl#97, 
5661	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy350, 
5662wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell, 
5663	bel@, 
5664	use=wy350-w, 
5665#
5666#	This terminfo description is untested.
5667#	The wyse100 emulates an adm31, so the adm31 entry should work.
5668#
5669wy100|wyse 100, 
5670	hs, mir, 
5671	cols#80, lines#24, xmc#1, 
5672	bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5673	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
5674	dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J, 
5675	invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
5676	kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
5677	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{, 
5678	rmir=\Er, smir=\Eq, tsl=\EF, 
5679	use=adm+sgr, 
5680#
5681#	The Wyse 120/150 has most of the features of the Wyse 60.
5682#	This terminal does not need padding up to 9600 baud!
5683#	<msgr> should be set but the clear screen fails when in
5684#	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
5685#	then set <msgr>.
5686#
5687wy120|wyse120|wy150|wyse150|Wyse 120/150, 
5688	am, bw, hs, km, mc5i, mir, msgr, xon, 
5689	cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
5690	acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
5691	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
5692	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5693	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
5694	dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
5695	flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>, 
5696	hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1, 
5697	is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
5698	is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
5699	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
5700	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
5701	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
5702	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5703	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
5704	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
5705	mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
5706	pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
5707	pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
5708	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
5709	rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11, 
5710	rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
5711	rs3=\EwG\Ee($<100>, 
5712	sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
5713	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
5714	smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
5715	tbc=\E0, tsl=\EF, 
5716	use=adm+sgr, 
5717#
5718wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column, 
5719	cols#132, lw#7, nlab#16, wsl#97, 
5720	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
5721	rs2=\E`;$<70>, use=wy120, 
5722#
5723wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines, 
5724	lh@, lines#25, lw@, nlab@, 
5725	pln@, rs3=\EwG\Ee)$<100>, use=wy120, 
5726#
5727wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines, 
5728	lh@, lines#25, lw@, nlab@, 
5729	pln@, rs3=\EwG\Ee)$<100>, use=wy120-w, 
5730#
5731wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell, 
5732	bel@, 
5733	use=wy120, 
5734#
5735wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell, 
5736	bel@, 
5737	use=wy120-w, 
5738#
5739#	The Wyse 60 is like the Wyse 50 but with more padding.
5740#	The reset strings are slow and the pad times very depending
5741#	on other parameters such as font loading.  I have tried
5742#	to follow the following outline:
5743#
5744#		<rs1> -> set personality
5745#		<rs2> -> set number of columns
5746#		<rs3> -> set number of lines
5747#		<is1> -> select the proper font
5748#		<is2> -> do the initialization
5749#		<is3> -> set up display memory (2 pages)
5750#
5751#	The Wyse 60's that have vt100 emulation are slower than the
5752#	older Wyse 60's.  This change happened mid-1987.
5753#	The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
5754#
5755#	The meta key is only half right.  This terminal will return the
5756#	high order bit set when you hit CTRL-function_key
5757#
5758#	It may be useful to assign two function keys with the
5759#	values  \E=(\s  look at old data in page 1
5760#	        \E=W,   look at bottom of page 1
5761#	where \s is a space ( ).
5762#
5763#	Note:
5764#	   The Wyse 60 runs faster when the XON/XOFF
5765#	   handshake is turned off.
5766#
5767# (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
5768# a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
5769wy60|wyse60|Wyse 60, 
5770	am, bw, hs, km, mc5i, mir, msgr, 
5771	cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45, 
5772	acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
5773	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>, 
5774	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5775	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
5776	dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r, 
5777	ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
5778	home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>, 
5779	ip=$<3>, is1=\EcB0\EcC1, 
5780	is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
5781	is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
5782	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
5783	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
5784	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
5785	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5786	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
5787	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
5788	mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
5789	pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
5790	pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
5791	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
5792	rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er, 
5793	rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>, 
5794	rs2=\EeG$<150>, rs3=\EwG\Ee($<200>, 
5795	sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
5796	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
5797	smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
5798	tbc=\E0, tsl=\EF, 
5799	use=adm+sgr, 
5800#
5801wy60-w|wyse60-w|wyse 60 132-column, 
5802	cols#132, lw#7, nlab#16, wsl#97, 
5803	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>, 
5804	rs2=\EeF$<150>\E`;$<150>, use=wy60, 
5805#
5806wy60-25|wyse60-25|wyse 60 80-column 25-lines, 
5807	lh@, lines#25, lw@, nlab@, 
5808	pln@, rs3=\EwG\Ee)$<200>, use=wy60, 
5809wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines, 
5810	lh@, lines#25, lw@, nlab@, 
5811	pln@, rs3=\EwG\Ee)$<200>, use=wy60-w, 
5812#
5813wy60-42|wyse60-42|wyse 60 80-column 42-lines, 
5814	lines#42, 
5815	clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>, 
5816	dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>, 
5817	ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>, 
5818	ri=\Ej$<10>, rs3=\Ee*$<150>, 
5819	use=wy60, 
5820wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines, 
5821	cols#132, lw#7, nlab#16, wsl#97, 
5822	clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
5823	dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>, 
5824	nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>, 
5825	use=wy60-42, 
5826#
5827wy60-43|wyse60-43|wyse 60 80-column 43-lines, 
5828	lh@, lines#43, lw@, nlab@, 
5829	pln@, rs3=\Ee+$<150>, use=wy60-42, 
5830wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines, 
5831	lh@, lines#43, lw@, nlab@, 
5832	pln@, rs3=\Ee+$<150>, use=wy60-42-w, 
5833#
5834wy60-vb|wyse60-vb|Wyse 60 visible bell, 
5835	bel@, use=wy60, 
5836wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell, 
5837	bel@, 
5838	use=wy60-w, 
5839
5840#	The Wyse-99GT looks at lot like the Wyse 60 except that it
5841#	does not have the 42/43 line mode.  In the Wyse-60 the "lines"
5842#	setup parameter controls the number of lines on the screen.
5843#	For the Wyse 99GT the "lines" setup parameter controls the
5844#	number of lines in a page.  The screen can display 25 lines max.
5845#	    The Wyse-99GT also has personalities for the VT220 and
5846#	Tektronix 4014.  But this has no bearing on the native mode.
5847#
5848#	(msgr) should be set but the clear screen fails when in
5849#	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
5850#	then set msgr, else use msgr@.
5851#
5852#	u0 -> enter Tektronix mode
5853#	u1 -> exit Tektronix mode
5854#
5855wy99gt|wyse99gt|Wyse 99gt, 
5856	msgr@, 
5857	clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>, 
5858	el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>, 
5859	il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@, 
5860	ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\:$<150>, smcup=\Ew1, 
5861	u0=\E~>\E8, u1=\E[42h, 
5862	use=wy60, 
5863#
5864wy99gt-w|wyse99gt-w|wyse 99gt 132-column, 
5865	cols#132, lw#7, nlab#16, wsl#97, 
5866	clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
5867	dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>, use=wy99gt, 
5868#
5869wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines, 
5870	lh@, lines#25, lw@, nlab@, 
5871	pln@, rs2=\E`\:$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt, 
5872#
5873wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines, 
5874	lh@, lines#25, lw@, nlab@, 
5875	pln@, rs2=\E`;$<150>, use=wy99gt-w, 
5876#
5877wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell, 
5878	bel@, use=wy99gt, 
5879#
5880wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell, 
5881	bel@, 
5882	use=wy99gt-w, 
5883
5884# Can't set tabs! Other bugs (ANSI mode only):
5885# - can't redefine function keys (anyway, key redefinition in ANSI mode
5886#   is too much complex to be described);
5887# - meta key can't be described (the terminal forgets it when reset);
5888# The xon-xoff handshaking can't be disabled while in ansi personality, so
5889# emacs can't work at speed greater than 9600 baud.  No padding is needed at
5890# this speed.
5891#   dch1 has been commented out because it causes annoying glittering when
5892# vi deletes one character at the beginning of a line with tabs in it.
5893#   dch makes sysgen(1M) have a horrible behaviour when deleting
5894# a screen and makes screen(1) behave badly, so it is disabled too. The nice
5895# thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
5896# not, so smir and rmir are commented out as well.
5897# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
5898wy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard), 
5899	am, km, mc5i, mir, msgr, xenl, 
5900	cols#80, it#8, lines#25, vt#3, 
5901	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx{{||}}~~, 
5902	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
5903	clear=\E[H\E[J$<200>, cnorm=\E[34h\E[?25h, cr=^M, 
5904	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<1>, 
5905	cub1=\010$<1>, cud=\E[%p1%dB, cud1=\ED, 
5906	cuf=\E[%p1%dC$<1>, cuf1=\E[C$<1>, 
5907	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
5908	cvvis=\E[34l\E[?25h, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
5909	ech=\E[%p1%dX, ed=\E[J$<8*>, el=\E[K$<1>, el1=\E[1K$<1>, 
5910	enacs=\E)0, flash=\E[?5h$<30/>\E[?5l, home=\E[H, 
5911	hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, 
5912	il1=\E[L, ind=\n$<1>, invis=\E[8m, 
5913	is2=\E7\E[1r\E8\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[4i, 
5914	kbs=^H, kcbt=\E[z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
5915	kcuu1=\EOA, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
5916	kf12=\E[24~, kf17=\E[K, kf18=\E[31~, kf19=\E[32~, kf2=\EOQ, 
5917	kf20=\E[33~, kf21=\E[34~, kf22=\E[35~, kf23=\E[1~, 
5918	kf24=\E[2~, kf3=\EOR, kf4=\EOS, kf5=\E[M, kf6=\E[17~, 
5919	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, ll=\E[24E, mc0=\E[?19h, 
5920	mc4=\E[4i, mc5=\E[5i, nel=\EE, prot=\E[1"q, rc=\E8, 
5921	rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
5922	rmkx=\E[?1l, rmso=\E[27m, rmul=\E[24m, 
5923	rs2=\E[61"p\E[40h\E[?6l\E[1r\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[24E\E[4i, 
5924	sc=\E7, 
5925	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%O%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m\E[%?%p8%t1%;"q%?%p9%t\016%e\017%;, 
5926	sgr0=\E[m\017\E["q, smacs=^N, smam=\E[?7h, smir=\E[4h, 
5927	smkx=\E[?1h, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd, 
5928
5929#   This is the american terminal. Here tabs work fine.
5930# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
5931wy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard), 
5932	hts=\EH, is3=\E[?5l, rs3=\E[?5l, tbc=\E[3g, 
5933	use=wy99-ansi, 
5934
5935# This terminal (firmware version 02) has a lot of bugs:
5936# - can't set tabs;
5937# - other bugs in ANSI modes (see above).
5938# This description disables handshaking when using cup. This is because
5939# GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
5940# cannot be used at speeds greater than 9600 baud, because at greater
5941# speeds handshaking is needed even for character sending. If you use
5942# DTR handshaking, you can use even greater speeds.
5943# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
5944wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard), 
5945	am, bw, hs, km, mc5i, mir, msgr, xon, 
5946	cols#80, it#8, lines#25, wsl#46, 
5947	acsc='x+y.wI~_vj(k'l&m%n)o9q*s8t-u.v\,w+x=, bel=^G, 
5948	blink=\EG2, cbt=\EI, civis=\E`0, clear=\E'\E(\032, 
5949	cnorm=\E`4\E`1, cr=^M, cub1=^H, cud1=\Ej, cuf1=^L, 
5950	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
5951	cvvis=\E`2\E`1, dch1=\EW, dim=\EGp, dl1=\ER, dsl=\EF\r, 
5952	ed=\EY$<8*>, el=\ET$<8>, enacs=\Ec@1J$<2000>, 
5953	flash=\E\^1$<30/>\E\^0, fsl=^M, home=^^, ht=^I, il1=\EE, 
5954	ind=^J, invis=\EG3, 
5955	is2=\Eu\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\^0\E`1\E`4\Ee.\E`\:\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\EcD\024, 
5956	ka1=^^, ka3=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, 
5957	kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, 
5958	kf11=^AJ\r, kf12=^AK\r, kf13=^A`\r, kf14=^Aa\r, kf15=^Ab\r, 
5959	kf16=^Ac\r, kf17=^Ad\r, kf18=^Ae\r, kf19=^Af\r, kf2=^AA\r, 
5960	kf20=^Ag\r, kf21=^Ah\r, kf22=^Ai\r, kf23=^Aj\r, kf24=^Ak\r, 
5961	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
5962	kf8=^AG\r, kf9=^AH\r, kprt=\EP, mc0=\EP, mc4=^T, mc5=\Ed#, 
5963	nel=^_, prot=\E), rev=\EG4, ri=\Ej, rmacs=\EcD, rmam=\Ed., 
5964	rmcup=\Ec21\Ec31, rmir=\Er, rmso=\EG0, rmxon=\Ec20\Ec30, 
5965	rs2=\Eu\E~4\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\^0\E`1\E`4\Ee.\E`\:\Ee)\Ew\EwG\Ew0\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\Ec@0B\EcD\024, 
5966	sgr=\E(\EG%{48}%?%p1%p3%O%t%{4}%+%;%?%p2%t%{8}%+%;%?%p4%t%{2}%+%;%?%p5%t%{64}%+%;%?%p7%t%{1}%+%;%c%?%p8%t\E)%;%?%p9%t\EcE%e\EcD%;, 
5967	sgr0=\E(\EG0, smacs=\EcE, smam=\Ed/, smcup=\Ec20\Ec30, 
5968	smir=\Eq, smso=\EG4, smxon=\Ec21\Ec31, tsl=\EF, 
5969
5970# This is the american terminal. Here tabs work.
5971# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
5972wy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard), 
5973	hts=\E1, tbc=\E0, 
5974	use=wy99f, 
5975
5976#
5977#	The Wyse 160 is combination of the WY-60 and the WY-99gt.
5978#	The reset strings are slow and the pad times very depending
5979#	on other parameters such as font loading.  I have tried
5980#	to follow the following outline:
5981#
5982#		<rs1> -> set personality
5983#		<rs2> -> set number of columns
5984#		<rs3> -> set number of lines
5985#		<is1> -> select the proper font
5986#		<is2> -> do the initialization
5987#		<is3> -> set up display memory (2 pages)
5988#
5989#	The display memory may be used for either text or graphics.
5990#	When "Display Memory = Shared" the terminal will have more pages
5991#	but garbage may be left on the screen when you switch from
5992#	graphics to text.  If "Display Memory = Unshared" then the
5993#	text area will be only one page long.
5994#
5995# (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
5996# a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
5997wy160|wyse160|Wyse 160, 
5998	am, bw, hs, km, mc5i, mir, msgr, 
5999	cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38, 
6000	acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
6001	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>, 
6002	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
6003	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>, 
6004	dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>, 
6005	el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I, 
6006	hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1, 
6007	is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
6008	is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
6009	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
6010	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
6011	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
6012	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
6013	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
6014	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
6015	mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>, 
6016	pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
6017	pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
6018	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<1>, 
6019	rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er, 
6020	rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>, 
6021	rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>, 
6022	sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
6023	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
6024	smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
6025	tbc=\E0, tsl=\EF, 
6026	use=adm+sgr, 
6027#
6028wy160-w|wyse160-w|wyse 160 132-column, 
6029	cols#132, lw#7, nlab#16, wsl#90, 
6030	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>, 
6031	rs2=\EeF$<150>\E`;$<150>, use=wy160, 
6032#
6033wy160-25|wyse160-25|wyse 160 80-column 25-lines, 
6034	lh@, lines#25, lw@, nlab@, 
6035	pln@, rs3=\EwG\Ee)$<200>, use=wy160, 
6036wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines, 
6037	lh@, lines#25, lw@, nlab@, 
6038	pln@, rs3=\EwG\Ee)$<200>, use=wy160-w, 
6039#
6040wy160-42|wyse160-42|wyse 160 80-column 42-lines, 
6041	lines#42, 
6042	clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>, 
6043	ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>, 
6044	rs3=\Ee*$<150>, 
6045	use=wy160, 
6046wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines, 
6047	cols#132, lw#7, nlab#16, wsl#90, 
6048	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>, 
6049	rs2=\EeF$<150>\E`;$<150>, 
6050	use=wy160-42, 
6051#
6052wy160-43|wyse160-43|wyse 160 80-column 43-lines, 
6053	lh@, lines#43, lw@, nlab@, 
6054	pln@, rs3=\Ee+$<150>, use=wy160-42, 
6055wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines, 
6056	lh@, lines#43, lw@, nlab@, 
6057	pln@, rs3=\Ee+$<150>, use=wy160-42-w, 
6058#
6059wy160-vb|wyse160-vb|Wyse 160 visible bell, 
6060	bel@, use=wy160, 
6061wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell, 
6062	bel@, 
6063	use=wy160-w, 
6064#
6065#	The Wyse 75 is a vt100 lookalike without advanced video.
6066#
6067#	   The Wyse 75 can support one attribute (e.g. Dim, Inverse,
6068#	Underline) without magic cookies.  The following description
6069#	uses this capability, but when more than one attribute is
6070#	put on the screen at once, all attributes will be changed
6071#	to be the same as the last attribute given.
6072#	   The Wyse 75 can support more attributes when used with magic
6073#	cookies.  The wy75-mc terminal description uses magic cookies
6074#	to correctly handle multiple attributes on a screen.
6075#
6076wy75|wyse75|wyse 75, 
6077	am, hs, mc5i, mir, msgr, xenl, xon, 
6078	cols#80, lines#24, ma#1, pb#1201, wsl#78, 
6079	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6080	bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>, 
6081	cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>, 
6082	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
6083	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
6084	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>, 
6085	dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>, 
6086	dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001, 
6087	ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>, 
6088	enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A, 
6089	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
6090	ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
6091	ind=\n$<2>, ip=$<1>, 
6092	is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h, 
6093	is2=\E>\E(B\E)0\017, is3=\E[m, ka1=\EOw, ka3=\EOy, 
6094	kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
6095	kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K, kent=\EOM, 
6096	kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
6097	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
6098	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i, 
6099	kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M, 
6100	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
6101	khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~, 
6102	kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i, 
6103	mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O, 
6104	rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, 
6105	rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l, 
6106	sc=\E7, 
6107	sgr=%?%p5%t\E[0t%;%?%p3%p1%|%t\E[1t%;%?%p2%t\E[2t%;%?%p4%t\E[3t%;%?%p1%p2%p3%p4%p5%|%|%|%|%t\E[7m%e\E[m%;%?%p9%t\016%e\017%;, 
6108	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
6109	smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m, 
6110	tbc=\E[3g, tsl=\E[>\,\001, 
6111#
6112#	This terminal description uses the non-hidden attribute mode
6113#	(with magic cookie).
6114#
6115wy75-mc|wyse75-mc|wyse 75 with magic cookies, 
6116	msgr@, 
6117	ma@, xmc#1, 
6118	blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p, 
6119	rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p, 
6120	sgr=\E[%{0}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{16}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{1}%|%;%?%p7%t%{4}%|%;%dp%?%p9%t\016%e\017%;, 
6121	sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p, 
6122	use=wy75, 
6123wy75-vb|wyse75-vb|wyse 75 with visible bell, 
6124	pb@, 
6125	bel@, use=wy75, 
6126wy75-w|wyse75-w|wyse 75 in 132 column mode, 
6127	cols#132, wsl#130, 
6128	rs2=\E[35h\E[?3h$<80>, use=wy75, 
6129wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns, 
6130	pb@, 
6131	bel@, use=wy75-w, 
6132#
6133#	Wyse 85 emulating a vt220 7 bit mode.
6134#		24 line screen with status line.
6135#
6136#	The vt220 mode permits more function keys but it wipes out
6137#	the escape key.  I strongly recommend that <f11> be set to
6138#	escape (esc).
6139#	The terminal may have to be set for 8 data bits and 2 stop
6140#	bits for the arrow keys to work.
6141#	The Wyse 85 runs faster with XON/XOFF enabled.  Also the
6142#	<dch> and <ich> work best when XON/XOFF is set.  <ich> and
6143#	<dch> leave trash on the screen when used without XON/XOFF.
6144#
6145wy85|wyse85|wyse 85, 
6146	am, hs, mc5i, mir, msgr, xenl, xon, 
6147	cols#80, it#8, lines#24, wsl#80, 
6148	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6149	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6150	clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M, 
6151	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6152	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6153	cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
6154	dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m, 
6155	dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l, 
6156	ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K, 
6157	enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>, 
6158	fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH, 
6159	ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>, 
6160	ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W, 
6161	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>, 
6162	is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
6163	kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
6164	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf1=\EOP, 
6165	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
6166	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
6167	kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, 
6168	kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
6169	kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~, 
6170	knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, 
6171	lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
6172	ri=\EM$<3>, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, 
6173	rmso=\E[m, rmul=\E[m, rs1=\E[13l\E[3l\E!p, 
6174	rs2=\E[35h\E[?3l$<70>, rs3=\E[?5l, sc=\E7, 
6175	sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6176	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
6177	smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
6178	tsl=\E[40h\E7\E[25;%i%p1%dH, 
6179#
6180#	Wyse 85 with visual bell.
6181wy85-vb|wyse85-vb|wyse 85 with visible bell, 
6182	bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85, 
6183#
6184#	Wyse 85 in 132-column mode.
6185wy85-w|wyse85-w|wyse 85 in 132-column mode, 
6186	cols#132, wsl#132, 
6187	rs2=\E[35h\E[?3h$<70>, use=wy85, 
6188#
6189#	Wyse 85 in 132-column mode with visual bell.
6190wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns, 
6191	bel@, 
6192	use=wy85-w, 
6193#
6194#	Wyse 185 emulating a vt320 7 bit mode.
6195#
6196#	This terminal always displays 25 lines.  These lines may be used
6197#	as 24 data lines and a terminal status line (top or bottom) or
6198#	25 data lines.  The 48 and 50 line modes change the page size
6199#	and not the number of lines on the screen.
6200#
6201#	The Compose Character key can be used as a meta key if changed
6202#	by set-up.
6203#
6204wy185|wyse185|wyse 185, 
6205	am, hs, km, mc5i, mir, msgr, xenl, xon, 
6206	cols#80, it#8, lines#24, wsl#80, 
6207	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6208	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6209	clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
6210	csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
6211	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6212	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6213	cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>, 
6214	dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
6215	dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>, 
6216	el=\E[K, el1=\E[1K, enacs=\E)0, 
6217	flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8, 
6218	home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH, 
6219	ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>, 
6220	ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
6221	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h, 
6222	is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
6223	kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, 
6224	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, 
6225	kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
6226	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
6227	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
6228	kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
6229	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
6230	khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
6231	kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, 
6232	mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<2>, 
6233	rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, rmkx=\E>, 
6234	rmso=\E[27m, rmul=\E[24m, 
6235	rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l, 
6236	rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7, 
6237	sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6238	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
6239	smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
6240	tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd, 
6241#
6242#	Wyse 185 with 24 data lines and top status (terminal status)
6243wy185-24|wyse185-24|wyse 185 with 24 data lines, 
6244	hs@, 
6245	dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy185, 
6246#
6247#	Wyse 185 with visual bell.
6248wy185-vb|wyse185-vb|wyse 185+flash, 
6249	bel@, use=wy185, 
6250#
6251#	Wyse 185 in 132-column mode.
6252wy185-w|wyse185-w|wyse 185 in 132-column mode, 
6253	cols#132, wsl#132, 
6254	dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
6255	ip=$<7>, rs2=\E[35h\E[?3h, 
6256	use=wy185, 
6257#
6258#	Wyse 185 in 132-column mode with visual bell.
6259wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols, 
6260	bel@, use=wy185-w, 
6261
6262# wy325 terminfo entries
6263# Done by Joe H. Davis        3-9-92
6264
6265# lines 25  columns 80
6266#
6267wy325|wyse325|Wyse epc, 
6268	am, bw, hs, mc5i, mir, 
6269	cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
6270	acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
6271	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
6272	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
6273	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
6274	dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
6275	flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1, 
6276	il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1, 
6277	is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
6278	is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
6279	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
6280	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
6281	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
6282	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
6283	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, 
6284	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
6285	mc0=\EP, mc4=^T, mc5=\Ed#, 
6286	pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
6287	pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
6288	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
6289	rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11, 
6290	rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
6291	rs3=\EwG\Ee($<100>, 
6292	sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
6293	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
6294	smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0, 
6295	tsl=\EF, 
6296	use=adm+sgr, 
6297
6298#
6299# lines 24  columns 80  vb 
6300#
6301wy325-vb|wyse325-vb|wyse-325 with visual bell, 
6302	bel@, use=wy325, 
6303
6304#
6305# lines 24  columns 132
6306#
6307wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode, 
6308	cols#132, lw#7, nlab#16, wsl#97, 
6309	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
6310	rs2=\E`;$<70>, use=wy325, 
6311#
6312# lines 25  columns 80
6313#
6314wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines, 
6315	lh@, lines#25, lw@, nlab@, 
6316	pln@, rs3=\EwG\Ee)$<100>, use=wy325, 
6317#
6318# lines 25  columns 132
6319#
6320wy325-25w|wyse325-25w|wy325 132 columns, 
6321	lh@, lines#25, lw@, nlab@, 
6322	pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
6323#
6324# lines 25  columns 132  vb 
6325#
6326wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video, 
6327	bel@, 
6328	use=wy325-w, 
6329
6330#
6331# lines 42  columns 80
6332#
6333wy325-42|wyse325-42|wyse-325 42 lines, 
6334	lh@, lines#42, lw@, nlab@, 
6335	pln@, rs3=\EwG\Ee)$<100>, use=wy325, 
6336#
6337# lines 42  columns 132
6338#
6339wy325-42w|wyse325-42w|wyse-325 42 lines wide mode, 
6340	lh@, lines#42, lw@, nlab@, 
6341	pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
6342#
6343# lines 42  columns 132  vb 
6344#
6345wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell, 
6346	bel@, 
6347	use=wy325-w, 
6348#
6349# lines 43  columns 80
6350#
6351wy325-43|wyse325-43|wyse-325 43 lines, 
6352	lh@, lines#43, lw@, nlab@, 
6353	pln@, use=wy325, 
6354#
6355# lines 43  columns 132
6356#
6357wy325-43w|wyse325-43w|wyse-325 43 lines wide mode, 
6358	lh@, lines#43, lw@, nlab@, 
6359	pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
6360#
6361# lines 43  columns 132  vb 
6362#
6363wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell, 
6364	bel@, 
6365	use=wy325-w, 
6366
6367#	Wyse 370 -- 24 line screen with status line.
6368#
6369#	The terminal may have to be set for 8 data bits and 2 stop
6370#	bits for the arrow keys to work.
6371#
6372#	If you change keyboards the terminal will send different
6373#	escape sequences.
6374#	The following definition is for the basic terminal without
6375#	function keys.
6376#
6377#	<u0> -> enter Tektronix 4010/4014 mode
6378#	<u1> -> exit  Tektronix 4010/4014 mode
6379#	<u2> -> enter ASCII mode (from any ANSI mode)
6380#	<u3> -> exit  ASCII mode (goto native ANSI mode)
6381#	<u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
6382#	<u5> -> exit  Tek 4207 mode (goto native ANSI mode)
6383#
6384# Bug: The <op> capability resets attributes.
6385wy370-nk|wyse 370 without function keys, 
6386	am, ccc, hs, mc5i, mir, msgr, xenl, xon, 
6387	colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80, 
6388	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6389	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6390	clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
6391	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6392	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6393	cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
6394	cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>, 
6395	dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
6396	dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>, 
6397	el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0, 
6398	flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8, 
6399	home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH, 
6400	ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
6401	ind=\n$<2>, 
6402	initc=\E[66;%p1%d;%?%p2%{250}%<%t%{0}%e%p2%{500}%<%t%{16}%e%p2%{750}%<%t%{32}%e%{48}%;%?%p3%{250}%<%t%{0}%e%p3%{500}%<%t%{4}%e%p3%{750}%<%t%{8}%e%{12}%;%?%p4%{250}%<%t%{0}%e%p4%{500}%<%t%{1}%e%p4%{750}%<%t%{2}%e%{3}%;%{1}%+%+%+%dw, 
6403	invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>, 
6404	is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h, 
6405	is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i, 
6406	mc5=\E[5i, 
6407	oc=\E[60w\E[63;0w\E[66;1;4w\E[66;2;13w\E[66;3;16w\E[66;4;49w\E[66;5;51w\E[66;6;61w\E[66;7;64w, 
6408	op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O, 
6409	rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l, 
6410	rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
6411	rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>, 
6412	rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw, 
6413	sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6414	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
6415	smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
6416	tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH, 
6417	u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B, 
6418	u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd, 
6419#
6420#	Function key set for the ASCII (wy-50 compatible) keyboard
6421#	This is the default 370.
6422#
6423wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard, 
6424	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
6425	kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i, 
6426	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
6427	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i, 
6428	kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
6429	kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP, 
6430	knp=\E[U, kpp=\E[V, 
6431	use=wy370-nk, 
6432#
6433#	Function key set for the VT-320 (and wy85) compatible keyboard
6434#
6435wy370-105k|Wyse 370 with 105 key keyboard, 
6436	ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, 
6437	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
6438	kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
6439	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
6440	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
6441	kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
6442	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
6443	khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~, 
6444	kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, 
6445	use=wy370-nk, 
6446#
6447#	Function key set for the PC compatible keyboard
6448#
6449wy370-EPC|Wyse 370 with 102 key keyboard, 
6450	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
6451	kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
6452	kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
6453	kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
6454	khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V, 
6455	use=wy370-nk, 
6456#
6457#	Wyse 370 with visual bell.
6458wy370-vb|Wyse 370 with visible bell, 
6459	bel@, use=wy370, 
6460#
6461#	Wyse 370 in 132-column mode.
6462wy370-w|Wyse 370 in 132-column mode, 
6463	cols#132, wsl#132, 
6464	rs2=\E[35h\E[?3h$<70>, use=wy370, 
6465#
6466#	Wyse 370 in 132-column mode with visual bell.
6467wy370-wvb|Wyse 370 with visible bell 132-columns, 
6468	flash=\E[30h\E\,\E[30l$<300>, 
6469	use=wy370-w, 
6470wy370-rv|Wyse 370 reverse video, 
6471	rs3=\E[32h\E[?5h, use=wy370, 
6472#
6473#	Wyse 99gt Tektronix 4010/4014 emulator,
6474#
6475wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator, 
6476	am, os, 
6477	cols#74, lines#35, 
6478	bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
6479	cup=\035%{3040}%{89}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037, 
6480	cuu1=^K, ff=^L, 
6481	hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
6482	home=^]7`x @\037, 
6483	hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
6484	is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h, 
6485#
6486#	Wyse 160 Tektronix 4010/4014 emulator,
6487#
6488wy160-tek|Wyse 160 Tektronix 4010/4014 emulator, 
6489	cup=\035%{3103}%{91}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037, 
6490	home=^]8`g @\037, 
6491	use=wy99gt-tek, 
6492#
6493#	Wyse 370 Tektronix 4010/4014 emulator,
6494#
6495wy370-tek|Wyse 370 Tektronix 4010/4014 emulator, 
6496	am, os, 
6497	cols#80, lines#36, 
6498	bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
6499	cup=\035%{775}%{108}%p1%*%{5}%/%-%Py%p2%{64}%*%{4}%+%{5}%/%Px%gy%{32}%/%{31}%&%{32}%+%c%gy%{31}%&%{96}%+%c%gx%{32}%/%{31}%&%{32}%+%c%gx%{31}%&%{64}%+%c\037, 
6500	cuu1=^K, ff=^L, 
6501	hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
6502	home=^]8g @\037, 
6503	hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
6504	is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K, 
6505	nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0, 
6506
6507# Vendor-supplied Wyse entries end here.
6508
6509#
6510#TITLE:  TERMINFO ENTRY WY520
6511#DATE:   8/5/93
6512# The WY520 terminfo is based on the WY285 entry published on the WYSE 
6513# BBS with the addition of more function keys and special keys.
6514#
6515#               rs1 -> set personality
6516#               rs2 -> set number of columns
6517#               rs3 -> set number of lines
6518#               is1 -> select the proper font
6519#               is2 -> do the initialization
6520#               is3 -> If this string is empty then rs3 gets sent.
6521#
6522#       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
6523#       - The BS key is programmed to generate BS in smcup since
6524#         is2 doesn't seem to work.
6525#       - Remove and shift/Remove: delete a character
6526#       - Insert : enter insert mode
6527#       - Find   : delete to end of file
6528#       - Select : clear a line
6529#       - F11, F12, F13: send default sequences (not ESC, BS, LF)
6530#       - F14 : Home key
6531#       - Bottom status line (host writable line) is used.
6532#       - smkx,rmkx are removed because this would put the numeric
6533#         keypad in Dec application mode which doesn't seem to work
6534#         with SCO applications.
6535#
6536wy520|wyse520|wyse 520, 
6537	am, hs, km, mc5i, mir, xenl, xon, 
6538	cols#80, it#8, lines#24, wsl#80, 
6539	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6540	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6541	clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
6542	csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
6543	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6544	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6545	cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>, 
6546	dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~, 
6547	ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K, 
6548	enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I, 
6549	hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, 
6550	il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
6551	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h, 
6552	is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOu, kb2=\EOy, 
6553	kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, 
6554	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~, 
6555	kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
6556	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
6557	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
6558	kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
6559	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
6560	khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~, 
6561	kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, 
6562	mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
6563	ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, 
6564	rmso=\E[m, rmul=\E[24m, 
6565	rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l, 
6566	rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7, 
6567	sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6568	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, 
6569	smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
6570	tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`, 
6571	vpa=\E[%i%p1%dd, 
6572#
6573#       Wyse 520 with 24 data lines and status (terminal status)
6574wy520-24|wyse520-24|wyse 520 with 24 data lines, 
6575	hs@, 
6576	dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520, 
6577#
6578#       Wyse 520 with visual bell.
6579wy520-vb|wyse520-vb|wyse 520 with visible bell, 
6580	flash=\E[30h\E\,\E[30l$<100>, use=wy520, 
6581#
6582#       Wyse 520 in 132-column mode.
6583wy520-w|wyse520-w|wyse 520 in 132-column mode, 
6584	cols#132, wsl#132, 
6585	dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
6586	ip=$<7>, rs2=\E[35h\E[?3h, 
6587	use=wy520, 
6588#
6589#       Wyse 520 in 132-column mode with visual bell.
6590wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns, 
6591	flash=\E[30h\E\,\E[30l$<100>, 
6592	use=wy520-w, 
6593#
6594#
6595#       Wyse 520 emulating a vt420 7 bit mode.
6596#       The DEL key is programmed to generate BS in is2.
6597#       With EPC keyboard.
6598#       - 'End' key will clear till end of line on EPC keyboard
6599#       - Shift/End : ignored.
6600#       - Insert : enter insert mode.
6601#       - Delete : delete a character (have to change interrupt character
6602#                  to CTRL-C: stty intr '^c') for it to work since the
6603#                  Delete key sends 7FH.
6604wy520-epc|wyse520-epc|wyse 520 with EPC keyboard, 
6605	kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~, 
6606	kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H, 
6607	use=wy520, 
6608#
6609#       Wyse 520 with 24 data lines and status (terminal status)
6610#       with EPC keyboard.
6611wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines, 
6612	hs@, 
6613	dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520-epc, 
6614#
6615#       Wyse 520 with visual bell.
6616wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell, 
6617	flash=\E[30h\E\,\E[30l$<100>, 
6618	use=wy520-epc, 
6619#
6620#       Wyse 520 in 132-column mode.
6621wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard, 
6622	cols#132, wsl#132, 
6623	dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
6624	ip=$<7>, rs2=\E[35h\E[?3h, 
6625	use=wy520-epc, 
6626#
6627#       Wyse 520 in 132-column mode with visual bell.
6628wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns, 
6629	flash=\E[30h\E\,\E[30l$<100>, 
6630	use=wy520-epc-w, 
6631#
6632#       Wyse 520 in 80-column, 36 lines
6633wy520-36|wyse520-36|wyse 520 with 36 data lines, 
6634	hs@, 
6635	lines#36, 
6636	dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520, 
6637#
6638#       Wyse 520 in 80-column, 48 lines
6639wy520-48|wyse520-48|wyse 520 with 48 data lines, 
6640	hs@, 
6641	lines#48, 
6642	dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520, 
6643#
6644#       Wyse 520 in 132-column, 36 lines
6645wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines, 
6646	cols#132, wsl#132, 
6647	rs2=\E[?3h, 
6648	rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36, 
6649#
6650#       Wyse 520 in 132-column, 48 lines
6651wy520-48w|wyse520-48w|wyse 520 with 48 data lines, 
6652	cols#132, wsl#132, 
6653	rs2=\E[?3h, 
6654	rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48, 
6655#
6656#
6657#       Wyse 520 in 80-column, 36 lines with EPC keyboard
6658wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard, 
6659	hs@, 
6660	lines#36, 
6661	dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520-epc, 
6662#
6663#       Wyse 520 in 80-column, 48 lines with EPC keyboard
6664wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard, 
6665	hs@, 
6666	lines#48, 
6667	dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520-epc, 
6668#
6669#       Wyse 520 in 132-column, 36 lines with EPC keyboard
6670wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard, 
6671	cols#132, wsl#132, 
6672	rs2=\E[?3h, 
6673	rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36pc, 
6674#
6675#       Wyse 520 in 132-column, 48 lines with EPC keyboard
6676wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines, 
6677	cols#132, wsl#132, 
6678	rs2=\E[?3h, 
6679	rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48pc, 
6680
6681# From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
6682# (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
6683# file and we don't know what <hts> is -- esr)
6684wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on, 
6685	am, 
6686	cols#80, it#8, lines#24, 
6687	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
6688	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW, 
6689	dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J, 
6690	is2=\E`\:\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J, kcuf1=^F, 
6691	kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J, rmir=\Er, rmso=^O, 
6692	rmul=^O, rs1=\E`\:\E`9\017\Er, sgr0=^O, smir=\Eq, smso=^N, 
6693	smul=^N, 
6694
6695wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad, 
6696	is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=, 
6697	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
6698	khome=\EOH, rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>, 
6699	use=wy75, 
6700
6701# From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
6702wy100q|Wyse 100 for Quotron, 
6703	cols#80, lines#24, xmc#1, 
6704	cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L, 
6705	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
6706	dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@, 
6707	is2=\E`\:\0\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J, 
6708	kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq, 
6709	use=adm+sgr, 
6710
6711#### Kermit terminal emulations
6712#
6713# Obsolete Kermit versions may be listed in the section describing obsolete
6714# non-ANSI terminal emulators later in the file.
6715#
6716
6717# KERMIT standard all versions.
6718# Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
6719# (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
6720# From: greg small <gts@populi.berkeley.edu> 9-25-84
6721kermit|standard kermit, 
6722	cols#80, lines#24, 
6723	clear=\EE, cub1=^H, cuf1=\EC, 
6724	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
6725	el=\EK, home=\EH, is2=K0 Standard Kermit  9-25-84\n, 
6726	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
6727kermit-am|standard kermit plus auto-margin, 
6728	am, 
6729	is2=K1 Standard Kermit plus Automatic Margins\n, use=kermit, 
6730# IBMPC Kermit 1.2.
6731# Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
6732# not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
6733# line).
6734# From: greg small <gts@populi.berkeley.edu> 8-30-84
6735pckermit|pckermit12|UCB IBMPC Kermit 1.2, 
6736	am, 
6737	lines#25, 
6738	clear=\EH\EJ, ed@, el@, 
6739	is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit, 
6740# IBMPC Kermit 1.20
6741# Cannot use line 25, now acts funny like ansi special scrolling region.
6742# Initialization must escape from that region by cursor position to line 24.
6743# Cannot use character insert because 1.20 goes crazy if insert at col 80.
6744# Does not use :am: because autowrap is lost when kermit dropped and restarted.
6745# From: greg small <gts@populi.berkeley.edu> 12-19-84
6746pckermit120|UCB IBMPC Kermit 1.20, 
6747	it#8, lines#24, 
6748	cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, ht=^I, 
6749	il1=\EL, 
6750	is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n, 
6751	rmir@, rmso=\Eq, smir@, smso=\Ep, 
6752	use=kermit, 
6753# MS-DOS Kermit 2.27 for the IBMPC
6754# Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
6755# Cannot use line 25, now acts funny like ansi special scrolling region.
6756# Initialization must escape from that region by cursor position to line 24.
6757# Does not use am: because autowrap is lost when kermit dropped and restarted.
6758# Reverse video for standout like H19.
6759# (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
6760# From: greg small <gts@populi.berkeley.edu> 3-17-85
6761msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC, 
6762	am@, 
6763	cols#80, it#8, lines#24, 
6764	clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
6765	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
6766	cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, el=\EK, 
6767	home=\EH, ht=^I, il1=\EL, 
6768	is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n, 
6769	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rc=\Ek, 
6770	rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, smso=\Ep, 
6771# MS-DOS Kermit 2.27 with automatic margins
6772# From:	greg small <gts@populi.berkeley.edu> 3-17-85
6773msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins, 
6774	am, 
6775	cvvis=\EO\Eq\EG\EvK5, 
6776	is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n, use=msk227, 
6777# MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
6778# Automatic margins now default.  Use ansi <sgr> for highlights.
6779# Define function keys.
6780# (msk22714: removed obsolete ":kn#10:" -- esr)
6781# From: greg small <gts@populi.berkeley.edu> 3-17-85
6782msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC, 
6783	am, 
6784	bold=\E[1m, cvvis=\EO\Eq\EG\EvK6, 
6785	is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n, 
6786	kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, 
6787	kf7=\E7, kf8=\E8, kf9=\E9, rev=\E[7m, rmso=\E[m, rmul=\E[m, 
6788	sgr0=\E[m, smso=\E[1m, smul=\E[4m, 
6789	use=mskermit227, 
6790# This was designed for a VT320 emulator, but it is probably a good start
6791# at support for the VT320 itself.
6792# Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
6793# (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
6794vt320-k3|MS-Kermit 3.00's vt320 emulation, 
6795	am, eslok, hs, km, mir, msgr, xenl, 
6796	cols#80, it#8, lines#49, pb#9600, vt#3, 
6797	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6798	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
6799	clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M, 
6800	csr=\E[%i%p1%d;%p1%dr, cub=\E[%p1%dD, cub1=^H, 
6801	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6802	cup=\E[%i%p1%d;%p1%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6803	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
6804	dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
6805	flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l, 
6806	fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
6807	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
6808	is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD, 
6809	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdl1=\E[3~, kf0=\E[21~, 
6810	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
6811	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~, 
6812	kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, rc=\E8, 
6813	rev=\E[7m, ri=\EM, rin=\E[%p1%dL, rmacs=\E(B, rmam=\E[?7l, 
6814	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
6815	rs1=\E(B\E)B\E>\E F\E[4;20l\E[12h\E[?1;5;6;38;42l\E[?7;25h\E4i\E?4i\E[m\E[r\E[2$~, 
6816	sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
6817	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
6818	tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd, 
6819# From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
6820# ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
6821# (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
6822vt320-k311|dec vt320 series as defined by kermit 3.11, 
6823	am, eslok, hs, mir, msgr, xenl, xon, 
6824	cols#80, it#8, lines#24, vt#3, 
6825	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6826	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
6827	clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M, 
6828	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6829	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6830	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6831	cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
6832	dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
6833	flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH, 
6834	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED, 
6835	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
6836	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
6837	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
6838	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
6839	lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
6840	rf=/usr/share/tabset/vt100, ri=\EM, rmacs=^O, 
6841	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
6842	rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
6843	smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
6844	smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH, 
6845
6846######## NON-ANSI TERMINAL EMULATIONS
6847#
6848
6849#### Avatar
6850#
6851# These entries attempt to describe Avatar, a terminal emulation used with
6852# MS-DOS bulletin-board systems.  It was designed to give ANSI-like
6853# capabilities, but with cheaper (shorter) control sequences.  Messy design,
6854# excessively dependent on PC idiosyncracies, but apparently rather popular
6855# in the BBS world.
6856#
6857# No color support.  Avatar doesn't fit either of the Tektronix or HP color
6858# models that terminfo knows about.  An Avatar color attribute is the
6859# low 7 bits of the IBM-PC display-memory attribute.  Bletch.
6860#
6861# I wrote these entries while looking at the Avatar spec.  I don't have
6862# the facilities to test them.  Let me know if they work, or don't.
6863#
6864# Avatar escapes not used by these entries (because maybe you're smarter
6865# and more motivated than I am and can figure out how to wrap terminfo
6866# around some of them, and because they are weird enough to be funny):
6867#				level 0:
6868# ^L		-- clear window/reset current attribute to default
6869# ^V^A%p1%c	-- set current color attribute, parameter decodes as follows:
6870# 
6871#      bit:         6   5   4   3   2   1   0
6872#                   |       |   |   |       |
6873#                   +---+---+   |   +---+---+
6874#                       |       |       |
6875#                       |       |  foreground color
6876#                       |  foreground intensity
6877#                  background color
6878#				level 0+:
6879# ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) up by p1 lines
6880# ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) down by p1 lines
6881# ^V^L%p1%c%p2%c%p3%c		-- clear p2 lines and p3 cols w/attr %p1 
6882# ^V^M%p1%c%p2%c%p3%c%p4%c	-- fill p3 lines & p4 cols w/char p2+attr %p1 
6883# (^V^L and ^V^M set the current attribute as a side-effect.)
6884# ^V ^Y <a> [...] <c>	-- repeat pattern. <a> specifies the number of bytes
6885#			   in the pattern, <c> the number of times the pattern
6886#		  	   should be repeated. If either value is 0, no-op.
6887#			   The pattern can contain Avatar console codes,
6888#			   including other ^V ^Y patterns.
6889#				level 1:
6890# ^V^O		-- clockwise mode on; turn print direction right each time you
6891#		   hit a window edge (yes, really).  Turned off by CR
6892# ^V^P		-- no-op
6893# ^V^Q%c	-- query the driver
6894# ^V^R		-- driver reset
6895# ^V^S		-- Sound tone (PC-specific)
6896# ^V^T			-- change highlight at current cursor poition to %c
6897# ^V^U%p1%c%p2%c	-- highlight window <a> with attribute <b>
6898# ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
6899#			-- define window 
6900#
6901# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
6902# (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
6903# tell ncurses that the corresponding highlights exist; it should use <sgr>,
6904# which is the only method that will actually work for multiple highlights.)
6905avatar0|avatar terminal emulator level 0, 
6906	am, bce, msgr, 
6907	cols#80, it#8, lines#25, 
6908	blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D, 
6909	cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G, 
6910	ind=^J, invis=^V^A\0, rep=\031%p1%c%p2%d, rev=^A^Vp, 
6911	rs2=^L, 
6912	sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;, 
6913	sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A, 
6914	use=klone+acs, 
6915# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
6916avatar0+|avatar terminal emulator level 0+, 
6917	dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0, 
6918# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
6919avatar|avatar1|avatar terminal emulator level 1, 
6920	civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+, 
6921	rmam=^V", rmir=^V^P, smam=^V$, 
6922	use=avatar0+, 
6923
6924#### RBcomm
6925#
6926# RBComm is a lean and mean terminal emulator written by the Interrupt List
6927# maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
6928# '90s), especially in the BBS world, and still has some loyal users due to
6929# its very small memory footprint and to a cute macro language.
6930rbcomm|IBM PC with RBcomm and EMACS keybindings, 
6931	am, bw, mir, msgr, xenl, 
6932	cols#80, it#8, lines#25, 
6933	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6934	clear=^L, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
6935	cub1=^H, cud1=^C, cuf1=^B, 
6936	cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^, 
6937	cvvis=\E[?25h, dch1=^W, dl=\E[%p1%dM, dl1=^Z, 
6938	ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I, il=\E[%p1%dL, il1=^K, 
6939	ind=\ED, invis=\E[8m, 
6940	is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H, 
6941	kcub1=^B, kcud1=^N, kcuf1=^F, kcuu1=^P, khome=^A, nel=^M\ED, 
6942	rc=\E8, rep=\030%p1%c%p2%c, rev=^R, ri=\EM, rmcup=, rmdc=, 
6943	rmir=^], rmkx=\E>, rmso=^U, rmul=^U, 
6944	rs1=\017\E(B\E)0\025\E[?3l\E[>8g, sc=\E7, sgr0=\E[m, 
6945	smcup=, smdc=, smir=^\, smkx=\E=, smso=^R, smul=^T, 
6946rbcomm-nam|IBM PC with RBcomm without autowrap, 
6947	am@, 
6948	bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, 
6949	is2=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g, kbs=^H, 
6950	kcub1=^H, kcud1=^J, nel=^M^J, 
6951	use=rbcomm, 
6952rbcomm-w|IBM PC with RBcomm in 132 column mode, 
6953	cols#132, 
6954	bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, 
6955	is2=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g, kbs=^H, 
6956	kcub1=^H, kcud1=^J, nel=^M^J, 
6957	use=rbcomm, 
6958
6959######## OLDER TERMINAL TYPES
6960#
6961# This section is devoted to older commercial terminal brands that are now
6962# discontinued, but known to be still in use or represented by emulations.
6963#
6964
6965#### AT&T (att, tty)
6966#
6967# This section also includes Teletype-branded VDTs.
6968#
6969# The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
6970# Boundless Technologies); for details, see the header comment on the ADDS
6971# section.
6972#
6973# These are AT&T's official terminfo entries.  All-caps aliases have been
6974# removed.
6975#
6976att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode, 
6977	am, eo, mir, msgr, xon, 
6978	cols#80, it#8, lines#24, 
6979	bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
6980	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6981	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6982	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
6983	el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
6984	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
6985	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
6986	kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r, 
6987	kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r, 
6988	kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, kf5=\E[5r, 
6989	kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, kf9=\E[9r, khome=\E[H, 
6990	kich1=\E[@, kil1=\E[L, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
6991	rev=\E[7m, rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h, 
6992	smso=\E[7m, 
6993att2350|AT&T 2350 Video Information Terminal 80 column mode, 
6994	mc0@, mc4@, mc5@, 
6995	use=att2300, 
6996
6997# Must setup RETURN KEY - CR, REC'VD LF - INDEX.
6998# Seems upward compatible with vt100, plus ins/del line/char.
6999# On sgr, the protection parameter is ignored.
7000# No check is made to make sure that only 3 parameters are output.
7001# 	standout= reverse + half-intensity = 3 | 5.
7002# 	bold= reverse + underline = 2 | 3.
7003# note that half-bright blinking doesn't look different from normal blinking.
7004# NOTE:you must program the function keys first, label second!
7005# (att4410: a BSD entry has been seen with the following capabilities: 
7006# <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
7007# <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
7008att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1, 
7009	am, hs, mir, msgr, xon, 
7010	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
7011	acsc=++\,\,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7012	bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M, 
7013	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
7014	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m, 
7015	dl1=\E[M, ed=\E[J, el=\E[K, fsl=\E8, home=\E[H, ht=^I, 
7016	ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, is1=\E[?3l\E)0, 
7017	is3=\E[1;03q   f1           \EOP\E[2;03q   f2           \EOQ\E[3;03q   f3           \EOR\E[4;03q   f4           \EOS\E[5;03q   f5           \EOT\E[6;03q   f6           \EOU\E[7;03q   f7           \EOV\E[8;03q   f8           \EOW, 
7018	kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
7019	kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, 
7020	kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, 
7021	ll=\E[24H, nel=^M^J, 
7022	pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s, 
7023	pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 
7024	rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, 
7025	sc=\E7, 
7026	sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
7027	sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
7028	tsl=\E7\E[25;%p1%{1}%+%dH, 
7029
7030att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1, 
7031	cols#132, wsl#132, 
7032	is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1, 
7033
7034att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2, 
7035	pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s, 
7036	use=att5410v1, 
7037
7038att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode, 
7039	cols#132, wsl#132, 
7040	is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410, 
7041
7042# 5410 in terms of a vt100
7043# (v5410: added <rmam>/<smam> based on init string -- esr)
7044v5410|att5410 in terms of a vt100, 
7045	am, mir, msgr, xon, 
7046	cols#80, it#8, lines#24, vt#3, 
7047	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7048	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
7049	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
7050	cub1=^H, cud1=^J, cuf1=\E[C$<2>, 
7051	cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P, 
7052	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
7053	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@, 
7054	il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, 
7055	kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
7056	kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, 
7057	kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, 
7058	kf8=\EOl, kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, 
7059	rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>, 
7060	rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
7061	sc=\E7, 
7062	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
7063	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
7064	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
7065
7066# 
7067# Teletype Model 5420 -- A souped up 5410, with multiple windows,
7068# even! the 5420 has three modes: scroll, window or page mode
7069# this terminfo should work in scroll or window mode, but doesn't
7070# take advantage of any of the differences between them.
7071#
7072# Has memory below (2 lines!)
7073# 3 pages of memory (plus some spare)
7074# The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
7075# <hpa>, <hts> would work for these, but these work in both scroll and window
7076# mode... Unset insert character so insert mode works
7077# <is1> sets 80 column mode,
7078# <is2> escape sequence:
7079# 1) turn off all fonts
7080# 2) function keys off, keyboard lock off, control display off,
7081#    insert mode off, erasure mode off,
7082# 3) full duplex, monitor mode off, send graphics off, nl on lf off
7083# 4) reset origin mode
7084# 5) set line wraparound
7085# 6) exit erasure mode, positional attribute mode, and erasure extent mode
7086# 7) clear margins
7087# 8) program ENTER to transmit ^J,
7088# We use \212 to program the ^J because a bare ^J will get translated by
7089# UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
7090#     1      2            3              4     5     6    7  8
7091# <is3> set screen color to black,
7092# No representation in terminfo for the delete word key: kdw1=\Ed
7093# Key capabilities assume the power-up send sequence...
7094# This <rmcup> is not strictly necessary, but it helps maximize 
7095# memory usefulness: <rmcup=\Ez>,
7096# Alternate sgr0:	<sgr0=\E[m\EW^O>,
7097# Alternate sgr:	<sgr=\E[%?%p1%t2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p8%t\EV%;%?%p9%t^N%e^O%;>,
7098# smkx programs the SYS PF keys to send a set sequence.
7099# It also sets up labels f1, f2, ..., f8, and sends edit keys.
7100# This string causes them to send the strings <kf1>-<kf8>
7101# when pressed in SYS PF mode.
7102# (att4415: I added <rmam>/<smam> based on the init string -- esr)
7103att4415|tty5420|att5420|AT&T 4415/5420 80 cols, 
7104	db, mir, xon, 
7105	lh#2, lm#78, lw#8, nlab#8, wsl#55, 
7106	cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, cub=\E[%p1%dD, 
7107	cud=\E[%p1%dB, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dx, 
7108	cuu=\E[%p1%dA, cvvis=\E[11;1j, dch=\E[%p1%dP, 
7109	dl=\E[%p1%dM, ech=\E[%p1%ds\E[%p1%dD, 
7110	flash=\E[?5h$<200>\E[?5l, home=\E[x, 
7111	hpa=\E[%p1%{1}%+%dG, hts=\EH, ich=\E[%p1%d@, ich1@, 
7112	il=\E[%p1%dL, indn=\E[%p1%dE, is1=\E[?3l$<100>, 
7113	is2=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[21;1j\212, 
7114	is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M, 
7115	kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, kf2=\EOd, 
7116	kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
7117	kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, 
7118	kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
7119	lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, mc4=\E[?9i, 
7120	mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt, 
7121	pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s, 
7122	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, 
7123	rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l, 
7124	rmkx=\E[19;0j\E[21;1j\212, rmln=\E|, 
7125	sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
7126	sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h, 
7127	smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g, 
7128	tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
7129	use=att4410, 
7130
7131att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols, 
7132	cols#132, lm#54, wsl#97, 
7133	is1=\E[?3h$<100>, use=att4415, 
7134
7135att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv, 
7136	flash=\E[?5l$<200>\E[?5h, is3=\E[?5h, 
7137	use=att4415, 
7138
7139att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv, 
7140	cols#132, lm#54, wsl#97, 
7141	flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, is3=\E[?5h, use=att4415, 
7142
7143# Note that this mode permits programming USER PF KEYS and labels
7144# However, when you program user pf labels you have to reselect
7145# user pf keys to make them appear! 
7146att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels, 
7147	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
7148	pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s, 
7149	pln=\E[%p1%d;0;0;1q%p2%:-16.16s, 
7150
7151att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels, 
7152	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
7153	use=att4415+nl, use=att4415, 
7154
7155att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels, 
7156	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
7157	use=att4415+nl, use=att4415-rv, 
7158
7159att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels, 
7160	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
7161	use=att4415+nl, use=att4415-w, 
7162
7163att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels, 
7164	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
7165	use=att4415+nl, use=att4415-w-rv, 
7166
7167att5420_2|AT&T 5420 model 2 80 cols, 
7168	am, db, hs, mir, msgr, xon, 
7169	cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55, 
7170	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7171	blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j, 
7172	cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7173	cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C, 
7174	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cvvis=\E[11;1j, 
7175	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
7176	dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K, 
7177	el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
7178	hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
7179	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
7180	invis=\E[8m, 
7181	is1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;0j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[29;0j\E[1;24r, 
7182	kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, 
7183	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
7184	kel=\E[2K, kend=\Ez, kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe, 
7185	kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H, 
7186	kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, 
7187	kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
7188	lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i, mc4=\E[4i, 
7189	mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J, 
7190	pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~, 
7191	pln=\E[%p1%d;0;0;0q%p2%:-16.16s\E~, prot=\EV, rc=\E8, 
7192	rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmkx=\E[19;0j, 
7193	rmln=\E|, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, 
7194	sc=\E7, 
7195	sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
7196	sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~, 
7197	smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
7198	tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
7199att5420_2-w|AT&T 5420 model 2 in 132 column mode, 
7200	cols#132, 
7201	is1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;1j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[29;0j\E[1;24r, use=att5420_2, 
7202
7203att4418|att5418|AT&T 5418 80 cols, 
7204	am, xon, 
7205	cols#80, lines#24, 
7206	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7207	bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, 
7208	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
7209	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
7210	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, 
7211	dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, 
7212	ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J, 
7213	is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%, kcub1=\E@, 
7214	kcud1=\EU, kcuf1=\EA, kcuu1=\ES, kent=\E[, kf1=\E[h, 
7215	kf10=\E[m, kf11=\E[n, kf12=\E[o, kf13=\E[H, kf14=\E[I, 
7216	kf15=\E[J, kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E, 
7217	kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, kf3=\E[j, 
7218	kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, khome=\Ec, rc=\E8, 
7219	rev=\E[7m, rmacs=^O, rmso=\E[m, rmul=\E[m, sc=\E7, 
7220	sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
7221att4418-w|att5418-w|AT&T 5418 132 cols, 
7222	cols#132, 
7223	is1=\E[?3h, use=att5418, 
7224
7225att4420|tty4420|teletype 4420, 
7226	da, db, eo, msgr, ul, xon, 
7227	cols#80, lines#24, lm#72, 
7228	bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, cuf1=\EC, 
7229	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
7230	dl1=\EM, ed=\EJ, el=\Ez, home=\EH, il1=\EL, ind=\EH\EM\EY7\s, 
7231	kcbt=\EO, kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC, 
7232	kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, khome=\EH, 
7233	kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET, 
7234	lf0=segment advance, lf3=cursor tab, rmdc@, rmso=\E~, 
7235	rmul=\EZ, smdc@, smso=\E}, smul=\E\\, 
7236
7237#  The following is a terminfo entry for the Teletype 4424
7238#  asynchronous keyboard-display terminal.  It supports
7239#  the vi editor.  The terminal must be set up as follows,
7240# 	
7241# 	HIGHLIGHT DEFINITION	3-TONE
7242# 	DISPLAY FUNCTION	GROUP III
7243# 	
7244#  The second entry below provides limited (a la adm3a)
7245#  operation under GROUP II.
7246# 	
7247#  This must be used with DISPLAY FUNCTION GROUP I or III
7248# 	and HIGHLIGHT DEFINITION 3-TONE
7249# The terminal has either bold or blink, depending on options
7250#
7251# (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
7252att4424|tty4424|teletype 4424, 
7253	am, xon, 
7254	cols#80, lines#24, 
7255	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7256	bel=^G, blink=\E3, bold=\E3, cbt=\EO, clear=\E[H\E[2J, cr=^M, 
7257	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7258	cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC, 
7259	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EA, 
7260	dch=\E[%p1%dP, dch1=\EP, dim=\EW, dl=\E[%p1%dM, dl1=\EM, 
7261	ed=\EJ, el=\Ez, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
7262	ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, is2=\E[20l\E[?7h, 
7263	kbs=^H, kclr=\EJ, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
7264	kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
7265	khome=\E[H, nel=\EE, rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~, 
7266	rmul=\EZ, 
7267	sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m, 
7268	sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smso=\E}, smul=\E\\, 
7269	tbc=\EF, 
7270
7271att4424-1|tty4424-1|teletype 4424 in display function group I, 
7272	kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome@, 
7273	use=att4424, 
7274
7275# This entry is not one of AT&T's official ones, it was translated from the
7276# 4.4BSD termcap file.  The highlight strings are different from att4424.
7277# I have no idea why this is -- older firmware version, maybe?
7278# The following two lines are the comment originally attached to the entry:
7279# This entry appears to avoid the top line - I have no idea why.
7280# From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
7281att4424m|tty4424m|teletype 4424M, 
7282	am, da, db, mir, 
7283	cols#80, it#8, lines#23, 
7284	bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
7285	cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, dch1=\EP, 
7286	dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, il1=\EL, ind=^J, ip=$<2/>, 
7287	is2=\E[m\E[2;24r, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
7288	kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
7289	kf4=\EOS, khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m, rmul=\E[m, 
7290	sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
7291
7292# The Teletype 5425 is really version 2 of the Teletype 5420. It 
7293# is quite similar, except for some minor differences. No page 
7294# mode, for example, so all of the <cup> sequences used above have 
7295# to change back to what's being used for the 5410. Many of the 
7296# option settings have changed their numbering as well.
7297# 
7298# This has been tested on a preliminary model.
7299#
7300# (att5425: added <rmam>/<smam> based on the init string -- esr)
7301att5425|tty5425|att4425|AT&T 4425/5425, 
7302	am, da, db, hs, mir, msgr, xenl, xon, 
7303	cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55, 
7304	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7305	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
7306	clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M, 
7307	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7308	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
7309	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7310	cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
7311	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[J, 
7312	el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
7313	flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
7314	hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
7315	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
7316	invis=\E[8m, is1=\E<\E[?3l$<100>, 
7317	is2=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[25;1j\212, 
7318	is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
7319	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
7320	kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, 
7321	kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, 
7322	kf8=\EOj, khome=\E[H, kich1=\E[4h, kil1=\E[L, kind=\E[T, 
7323	kri=\E[S, ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i, 
7324	nel=^M^J, 
7325	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
7326	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, rc=\E8, 
7327	rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l, 
7328	rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|, 
7329	rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7, 
7330	sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
7331	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
7332	smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m, 
7333	smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH, 
7334	vpa=\E[%p1%{1}%+%dd, 
7335
7336att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels, 
7337	smkx=\E[21;1j\E[25;4j\Eent, 
7338	use=att4425, 
7339
7340att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode, 
7341	cols#132, lm#54, wsl#97, 
7342	is1=\E[?3h$<100>, use=tty5425, 
7343
7344# (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:. 
7345# I also added <rmam>/<smam> -- esr)
7346att4426|tty4426|teletype 4426S, 
7347	am, da, db, xon, 
7348	cols#80, lines#24, lm#48, 
7349	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7350	bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V, 
7351	cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
7352	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
7353	cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP, 
7354	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, home=\E[H, 
7355	hpa=\E[%p1%dG, ht=^I, hts=\E1, ich=\E[%p1%d@, ich1=\E\^, 
7356	il=\E[%p1%dL, il1=\EL, ind=^J, indn=\E[%p1%dS, 
7357	is1=\Ec\E[?7h, is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO, 
7358	kclr=\E[2J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
7359	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
7360	kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H, 
7361	nel=^M^J, rc=\E8, rev=\E[7m, ri=\ET, rin=\E[%p1%dT, 
7362	rmacs=\E(B, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, 
7363	rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, smacs=\E(0, 
7364	smam=\E[?7h, smso=\E[5m, smul=\E[4m, tbc=\E[3g, 
7365	vpa=\E[%p1%dd, 
7366
7367# Terminfo entry for the AT&T 510 A Personal Terminal
7368# Function keys 9 - 16 are available only after the 
7369# screen labeled (soft keys/action blocks) are labeled.  Function key
7370# 9 corresponds to the leftmost touch target on the screen,
7371# function key 16 corresponds to the rightmost.
7372#
7373# This entry is based on one done by Ernie Rice at Summit, NJ and
7374# changed by Anne Gallup, Skokie, IL, ttrdc!anne
7375att510a|bct510a|AT&T 510A Personal Terminal, 
7376	am, mir, msgr, xenl, xon, 
7377	cols#80, lh#2, lines#24, lw#7, nlab#8, 
7378	acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
7379	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
7380	civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, 
7381	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, 
7382	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
7383	cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, 
7384	dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, 
7385	el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, ht=^I, 
7386	hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E(B\E)1\E[2l, 
7387	is3=\E[21;1|\212, kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, 
7388	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, 
7389	kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, 
7390	kf15=\EOi, kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, 
7391	kf6=\ENf, kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, 
7392	mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE, 
7393	pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 
7394	rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, rmul=\E[m, sc=\E7, 
7395	sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;, 
7396	sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m, 
7397	smul=\E[4m, tbc=\E[3g, 
7398
7399# Terminfo entry for the AT&T 510 D Personal Terminal
7400# Function keys 9 through 16 are accessed by bringing up the
7401# system blocks.
7402# Function key 9 corresponds to the leftmost touch target on the screen,
7403# function key 16 corresponds to the rightmost.
7404#
7405# There are problems with soft key labeling.  These are due to 
7406# strangenesses in the native terminal that are impossible to
7407# describe in a terminfo.  
7408att510d|bct510d|AT&T 510D Personal Terminal, 
7409	am, da, db, mir, msgr, xenl, xon, 
7410	cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8, 
7411	acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
7412	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
7413	clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD, 
7414	cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC, 
7415	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
7416	cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P, 
7417	dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, 
7418	el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, 
7419	hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
7420	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
7421	invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212, 
7422	kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
7423	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, kf10=\EOd, 
7424	kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi, 
7425	kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf, 
7426	kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2, 
7427	mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E\:, nel=\EE, 
7428	pln=\E[%p1%dp%p2%:-16s, rc=\E8, 
7429	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
7430	rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|, 
7431	rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|, 
7432	rs2=\E[5;0|, sc=\E7, 
7433	sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
7434	sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h, 
7435	smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m, 
7436	smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
7437
7438# (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
7439att500|att513|AT&T 513 using page mode, 
7440	am, chts, mir, msgr, xenl, xon, 
7441	cols#80, lh#2, lines#24, lw#8, nlab#8, 
7442	acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
7443	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
7444	clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M, 
7445	csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7446	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
7447	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7448	cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, dim=\E[2m, 
7449	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
7450	enacs=\E(B\E)1, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
7451	hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
7452	indn=\E[%p1%dE, invis=\E[8m, 
7453	is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l, 
7454	kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
7455	kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
7456	kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK, 
7457	kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ, 
7458	kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY, 
7459	kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=^H, kcan=\EOw, 
7460	kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, 
7461	kcrt=\EOn, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
7462	kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=\Eent, 
7463	kext=\EOk, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
7464	kf6=\EOh, kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm, 
7465	khome=\E[H, kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi, 
7466	kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, 
7467	kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
7468	kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB, 
7469	ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2, 
7470	mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, mc5=\E[?98l\E[?4i, 
7471	nel=\EE, 
7472	pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s, 
7473	pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s, 
7474	pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s, 
7475	pln=\E[%p1%dp%p2%:-16s, rc=\E8, 
7476	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
7477	rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l, 
7478	rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m, 
7479	rmul=\E[m, 
7480	rs1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l\E[2;0|\E[6;1|\E[8;0|\E[19;0|\E[1{\E[?99l, 
7481	rs2=\E[5;0|, sc=\E7, 
7482	sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
7483	sgr0=\E[m\017, smacs=^N, smir=\E[4h, 
7484	smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m, 
7485	smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
7486
7487# 01-07-88
7488# printer must be set to EMUL ANSI to accept ESC codes
7489# <cuu1> stops at top margin
7490# <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
7491#	and alt font ascii,wrap on,tabs cleared
7492# <is2> disables newline on LF,Emphasized off
7493# The <u0> capability sets form length
7494att5310|att5320|AT&T Model 53210 or 5320 matrix printer, 
7495	xhpa, xvpa, 
7496	bufsz#8192, cols#132, cps#120, it#8, lines#66, orc#10, 
7497	orhi#100, orl#12, orvi#72, 
7498	cpi=%?%p1%{10}%=%t\E[w%e%p1%{12}%=%t\E[2w%e%p1%{5}%=%t\E[5w%e%p1%{13}%=%p1%{14}%=%O%t\E[3w%e%p1%{16}%=%p1%{17}%=%O%t\E[4w%e%p1%{6}%=%t\E[6w%e%p1%{7}%=%t\E[7w%e%p1%{8}%=%t\E[8w%;, 
7499	cr=^M, 
7500	csnm=%?%p1%{0}%=%tusascii%e%p1%{1}%=%tenglish%e%p1%{2}%=%tfinnish%e%p1%{3}%=%tjapanese%e%p1%{4}%=%tnorwegian%e%p1%{5}%=%tswedish%e%p1%{6}%=%tgermanic%e%p1%{7}%=%tfrench%e%p1%{8}%=%tcanadian_french%e%p1%{9}%=%titalian%e%p1%{10}%=%tspanish%e%p1%{11}%=%tline%e%p1%{12}%=%tsecurity%e%p1%{13}%=%tebcdic%e%p1%{14}%=%tapl%e%p1%{15}%=%tmosaic%;, 
7501	cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1=\s, cuu1=\EM, 
7502	ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r, 
7503	lpi=%?%p1%{2}%=%t\E[4z%e%p1%{3}%=%t\E[5z%e%p1%{4}%=%t\E[6z%e%p1%{6}%=%t\E[z%e%p1%{8}%=%t\E[2z%e%p1%{12}%=%t\E[3z%;, 
7504	rshm=\E[m, 
7505	scs=%?%p1%{0}%=%t\E(B%e%p1%{1}%=%t\E(A%e%p1%{2}%=%t\E(C%e%p1%{3}%=%t\E(D%e%p1%{4}%=%t\E(E%e%p1%{5}%=%t\E(H%e%p1%{6}%=%t\E(K%e%p1%{7}%=%t\E(R%e%p1%{8}%=%t\E(Q%e%p1%{9}%=%t\E(Y%e%p1%{10}%=%t\E(Z%e%p1%{11}%=%t\E(0%e%p1%{12}%=%t\E(1%e%p1%{13}%=%t\E(3%e%p1%{14}%=%t\E(8%e%p1%{15}%=%t\E(}%;, 
7506	smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds, 
7507	smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, sshm=\E[5m, 
7508	u0=\E[%p1%dt, vpa=\E[%p1%dd, 
7509
7510# Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
7511# The following SET-UP modes are assumed for normal operation:
7512#	CR_DEF=CR	NL_DEF=INDEX	DUPLEX=FULL
7513# Other SET-UP modes may be set for operator convenience or communication
7514# requirements.  This termcap description is for the Resident Terminal Mode.
7515# No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
7516# The BRL entry also said: UNSAFE :ll=\E[70H:
7517att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs, 
7518	am, xon, 
7519	cols#88, it#8, lines#70, vt#3, 
7520	bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
7521	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
7522	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
7523	home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
7524	il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, 
7525	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
7526	kll=\E[70;1H, nel=^M^J, rc=\E8, ri=\E[T, rin=\E[%p1%dT, 
7527	rs1=\Ec, sc=\E7, 
7528
7529# 5620 terminfo  (2.0 or later ROMS with char attributes)
7530# The following SET-UP modes are assumed for normal operation:
7531#	DUPLEX=FULL	GEN_FLOW=ON	NEWLINE=INDEX	RETURN=CR
7532# Other SET-UP modes may be set for operator convenience or communication
7533# requirements.  This termcap description is for Resident Terminal Mode.  No
7534# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
7535# assumptions: <ind> (scroll forward one line) is only done at screen bottom
7536# Be aware that older versions of the dmd have a firmware bug that affects
7537# parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
7538# <msgr> is from an otherwise inferior BRL for this terminal.  That entry
7539# also has <ll>=\E[70H commented out and marked unsafe.
7540# For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
7541att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns, 
7542	am, msgr, npc, xon, 
7543	cols#88, it#8, lines#70, 
7544	bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H, 
7545	cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
7546	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
7547	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
7548	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
7549	indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
7550	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, nel=^J, 
7551	pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, ri=\E[T, 
7552	rin=\E[%p1%dT, rmso=\E[0m, rmul=\E[0m, rs1=\Ec, sc=\E7, 
7553	sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
7554att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer, 
7555	lines#24, use=att5620, 
7556att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer, 
7557	lines#34, use=att5620, 
7558# 5620 layer running the "S" system's downloaded graphics handler:
7559att5620-s|tty5620-s|layer|vitty|5620 S layer, 
7560	am, 
7561	cols#80, it#8, lines#72, 
7562	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
7563	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=^K, dl1=\ED, 
7564	el=\EK, flash=\E^G, ht=^I, il1=\EI, ind=^J, kbs=^H, kclr=\E[2J, 
7565	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
7566	kll=\E[70;1H, 
7567
7568# Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
7569#
7570# Entries for <kf29> thru <kf46> refer to the alternate keypad mode
7571# keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
7572att605|AT&T 605 80 column 102key keyboard, 
7573	am, eo, xon, 
7574	cols#80, lines#24, lw#8, nlab#8, wsl#80, 
7575	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7576	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
7577	cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, 
7578	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
7579	dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
7580	el=\E[K, el1=\E[1K, fsl=\E8, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
7581	il1=\E[L, ind=^J, invis=\E[8m, 
7582	is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m\017, 
7583	kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, kclr=\E[2J, 
7584	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
7585	kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq, 
7586	kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, 
7587	kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, 
7588	kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, 
7589	kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, 
7590	kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, 
7591	kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, 
7592	kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, 
7593	kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, 
7594	kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@, 
7595	kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H, 
7596	mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
7597	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
7598	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
7599	rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, 
7600	rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m\017, smacs=\E)0\016, 
7601	smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
7602	tsl=\E7\E[25;%i%p1%dx, 
7603att605-pc|ATT 605 in pc term mode, 
7604	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
7605	cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A, 
7606	dch1=\E[P, dl1=\E[M, ich1=\E[@, il=\E[L, il1=\E[L, kcbt=\E[Z, 
7607	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
7608	kdl1=\E[M, kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N, 
7609	kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
7610	kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, kpp=\E[I, 
7611	rmsc=400\E[50;0|, smsc=250\E[?11l\E[50;1|, xoffc=g, 
7612	xonc=e, 
7613	use=att605, 
7614att605-w|AT&T 605-w 132 column 102 key keyboard, 
7615	cols#132, wsl#132, 
7616	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0, use=att605, 
7617# (att610: I added <rmam>/<smam> based on the init string.  I also
7618# added <indn> and <rin> because the BSD file says the att615s have them,
7619# and the 615 is like a 610 with a big keyboard, and most of their other
7620# smart terminals support the same sequence -- esr)
7621att610|AT&T 610; 80 column; 98key keyboard, 
7622	am, eslok, hs, mir, msgr, xenl, xon, 
7623	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
7624	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7625	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7626	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
7627	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7628	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
7629	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7630	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
7631	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
7632	flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I, 
7633	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
7634	indn=\E[%p1%dS, invis=\E[8m, 
7635	is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0, 
7636	is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H, 
7637	kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
7638	kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
7639	kf13=\ENs, kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
7640	kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
7641	kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i, 
7642	nel=\EE, 
7643	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
7644	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
7645	ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
7646	rmln=\E[2p, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7, 
7647	sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
7648	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
7649	smln=\E[p, smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx, 
7650att610-w|AT&T 610; 132 column; 98key keyboard, 
7651	cols#132, wsl#132, 
7652	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610, 
7653
7654att610-103k|AT&T 610; 80 column; 103key keyboard, 
7655	kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
7656	kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
7657	kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, 
7658	kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
7659	kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, 
7660	kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
7661	kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M, 
7662	kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx, 
7663	khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, kmsg=\EOl, 
7664	knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V, 
7665	kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, kres=\EOq, 
7666	krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo, 
7667	kslt=\ENI, kspd=\EOp, kund=\EOs, 
7668	use=att610, 
7669att610-103k-w|AT&T 610; 132 column; 103key keyboard, 
7670	cols#132, wsl#132, 
7671	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610-103k, 
7672att615|AT&T 615; 80 column; 98key keyboard, 
7673	kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
7674	kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
7675	kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, 
7676	kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
7677	kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
7678	kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
7679	kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, 
7680	use=att610, 
7681att615-w|AT&T 615; 132 column; 98key keyboard, 
7682	kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
7683	kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
7684	kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, 
7685	kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
7686	kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
7687	kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
7688	kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, 
7689	use=att610-w, 
7690att615-103k|AT&T 615; 80 column; 103key keyboard, 
7691	kLFT=\E[ A, kRIT=\E[ @, 
7692	use=att610-103k, 
7693att615-103k-w|AT&T 615; 132 column; 103key keyboard, 
7694	kLFT=\E[ A, kRIT=\E[ @, 
7695	use=att610-103k-w, 
7696# (att620: I added <rmam>/<smam> based on the init string and
7697# <rin>/<indn> from a BSD termcap -- esr)
7698att620|AT&T 620; 80 column; 98key keyboard, 
7699	am, eslok, hs, mir, msgr, xenl, xon, 
7700	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
7701	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7702	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7703	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
7704	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7705	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
7706	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7707	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
7708	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
7709	flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I, 
7710	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
7711	indn=\E[%p1%dS, invis=\E[8m, 
7712	is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h, 
7713	is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, 
7714	kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
7715	kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
7716	kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
7717	kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI, 
7718	kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, 
7719	kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ, 
7720	kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy, 
7721	kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf, 
7722	kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp, 
7723	kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
7724	kf9=\ENo, khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H, 
7725	mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
7726	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
7727	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
7728	ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l, 
7729	rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, 
7730	rs2=\Ec\E[?3l, sc=\E7, 
7731	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
7732	sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h, 
7733	smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
7734	tsl=\E7\E[25;%i%p1%dx, 
7735att620-w|AT&T 620; 132 column; 98key keyboard, 
7736	cols#132, wsl#132, 
7737	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620, 
7738att620-103k|AT&T 620; 80 column; 103key keyboard, 
7739	kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
7740	kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
7741	kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, 
7742	kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
7743	kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, 
7744	kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
7745	kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M, 
7746	kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@, 
7747	kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@, kf27@, 
7748	kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@, kf37@, 
7749	kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@, kf9@, 
7750	kfnd=\EOx, khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, 
7751	kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, 
7752	kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
7753	kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, 
7754	ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, 
7755	use=att620, 
7756
7757att620-103k-w|AT&T 620; 132 column; 103key keyboard, 
7758	cols#132, wsl#132, 
7759	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620-103k, 
7760
7761# AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
7762# The following SETUP modes are assumed for normal operation:
7763#	Local_Echo=Off	Gen_Flow=On	Return=CR	Received_Newline=LF
7764#	Font_Size=Large		Non-Layers_Window_Cols=80
7765#				Non-Layers_Window_Rows=60
7766# Other SETUP modes may be set for operator convenience or communication
7767# requirements.  Some capabilities assume a printer attached to the Aux EIA
7768# port.  This termcap description is for the Fixed Non-Layers Window.  No
7769# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
7770# (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
7771att630|AT&T 630 windowing terminal, 
7772	am, da, db, mir, msgr, npc, xon, 
7773	cols#80, it#8, lines#60, lm#0, 
7774	bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, cr=^M, 
7775	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
7776	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
7777	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
7778	dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
7779	el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
7780	il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m, 
7781	kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
7782	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kent=^M, 
7783	kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, 
7784	kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy, 
7785	kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~, 
7786	kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L, mc4=\E[?4i, 
7787	mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, 
7788	rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m, 
7789	rmul=\E[m, rs2=\Ec, sc=\E7, 
7790	sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m, 
7791	sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
7792att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines, 
7793	lines#24, use=att630, 
7794
7795# This is the att700 entry for 700 native emulation of the AT&T 700
7796# terminal.  Comments are relative to changes from the 605V2 entry and
7797# att730 on which the entry is based.  Comments show the terminfo
7798# capability name, termcap name, and description.
7799#
7800# Here is what's going onm in the init string:
7801#	ESC [ 50;4|	set 700 native mode (really is 605)
7802# x	ESC [ 56;ps| 	set lines to 24: ps=0; 40: ps=1 (plus status line)
7803#	ESC [ 53;0|	set GenFlow to Xon/Xoff
7804#	ESC [ 8 ;0|	set CR on NL 
7805# x	ESC [ ? 3 l/h	set workspace: 80 col(l); 132 col(h)
7806#	ESC [ ? 4 l	jump scroll 
7807#	ESC [ ? 5 l/h	video: normal (l); reverse (h)
7808#	ESC [ ?13 l	Labels on
7809#	ESC [ ?15 l	parity check = no
7810#	ESC [ 13 l	monitor mode off
7811#	ESC [ 20 l	LF on NL (not CRLF on NL)
7812#	ESC [ ? 7 h	autowrap on
7813#	ESC [ 12 h	local echo off
7814#	ESC ( B		GO = ASCII
7815#	ESC ) 0		G1 = Special Char & Line Drawing
7816#	ESC [ ? 31 l	Set 7 bit controls
7817#
7818# Note: Most terminals, especially the 600 family use Reverse Video for
7819# standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
7820# Assume we should stay with reverse video for 70..  However, the 605V2 exits
7821# standout mode with \E[m (all normal attributes).  The 730 entry simply
7822# exits reverse video which would leave other current attributes intact.  It
7823# was assumed the 730 entry to be more correct so rmso has changed.  The
7824# 605V2 has no sequences to turn individual attributes off, thus its setting
7825# and the rmso/smso settings from the 730.
7826#
7827# Note: For the same reason as above in rmso I changed exit under-score mode
7828# to specifically turn off underscore, rather than return to all normal 
7829# attributes
7830#
7831# Note: The following pkey_xmit is taken from the 605V2 which contained the
7832# capability as pfxl.  It was changed here to pfx since pfxl
7833# will only compile successfully with Unix 4.0 tic.  Also note that pfx only
7834# allows strings to be parameters and label values must be programmed as
7835# constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
7836# and strings to be parameters.  The 605V2 pfx entry should be examined later
7837# in this regard. For reference the 730 pfxl entry is shown here for comparison
7838# 730 pfx entry:
7839#     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
7840# SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
7841#
7842# (for 4.0 tic)
7843#     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
7844#
7845# (for <4.0 tic)
7846#     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
7847#
7848# From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
7849#
7850# Port1 Interface
7851#
7852# modular 10 pin Connector
7853# Left side       Right side
7854# Pin 1 2 3 4 5 6 7 8 9 10
7855#
7856#        Key (notch) at bottom
7857#
7858# Pin    1 DSR
7859#        3 DCD
7860#        4 DTR
7861#        5 Sig Ground
7862#        6 RD
7863#        7 SD
7864#        8 CTS
7865#        9 RTS
7866#        10 Frame Ground
7867#
7868# The manual is 189 pages and is loaded with details about the escape codes,
7869# etc..... Available from AT&T CIC 800-432-6600...
7870# ask for Document number 999-300-660..
7871#
7872att700|AT&T 700 24x80 column display w/102key keyboard, 
7873	am, eslok, hs, mir, msgr, xenl, xon, 
7874	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
7875	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7876	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7877	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
7878	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7879	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
7880	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7881	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
7882	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
7883	enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fln=4\,4, 
7884	fsl=\E8, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
7885	il=\E[%p1%dL, il1=\E[L, ind=\ED, invis=\E[8m, 
7886	is2=\E[50;4|\E[53;0|\E[8;0|\E[?4;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0\E[?31l\E[0m\017, 
7887	is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, 
7888	kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
7889	kdch1=\E[P, kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, 
7890	kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, 
7891	kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, 
7892	kf20=\EOH, kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, 
7893	kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOq, 
7894	kf3=\EOe, kf30=\EOr, kf31=\EOs, kf32=\EOt, kf33=\EOu, 
7895	kf34=\EOv, kf35=\EOw, kf36=\EOx, kf37=\EOy, kf38=\EOu, 
7896	kf39=\EOv, kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
7897	kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, 
7898	kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
7899	kich1=\E[@, kil1=\E[L, knp=\E[U, kpp=\E[V, ll=\E[24H, 
7900	mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
7901	pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s, 
7902	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, 
7903	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O, 
7904	rmir=\E[4l, rmln=\E[2p, rmso=\E[27m, rmul=\E[24m, 
7905	rmxon=\E[53;3|, rs1=\Ec\E[?3;5l\E[56;0|, sc=\E7, 
7906	sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
7907	sgr0=\E[m\017, smacs=^N, smir=\E[4h, smln=\E[p, smso=\E[7m, 
7908	smul=\E[4m, smxon=\E[53;0|, tbc=\E[3g, 
7909	tsl=\E7\E[99;%i%p1%dx, 
7910
7911# This entry was modified 3/13/90 by JWE.
7912# fixes include additions of <enacs>, correcting <rep>, and modification
7913# of <kHOM>.  (See comments below)
7914# att730 has status line of 80 chars
7915# These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
7916# the <kf25> and up keys are used for shifted system Fkeys
7917# NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is 
7918# currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
7919# and 122 key keyboards, the 730's translation is \E[2J.  For consistency
7920# <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
7921# 102, 102+1, or 122 key keyboards
7922#       kHOM=\E[2J,
7923# (att730: I added <rmam>/<smam> based on the init string -- esr)
7924att730|AT&T 730 windowing terminal, 
7925	am, da, db, eslok, hs, mir, msgr, npc, xenl, xon, 
7926	cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, wsl#80, 
7927	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7928	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7929	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
7930	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7931	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
7932	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7933	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
7934	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
7935	enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8, 
7936	home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
7937	ind=\ED, invis=\E[8m, 
7938	is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B, 
7939	is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H, 
7940	kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
7941	kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
7942	kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw, 
7943	kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, kf21=\EN{, 
7944	kf22=\EN|, kf23=\EN}, kf24=\EN~, kf25=\EOC, kf26=\EOD, 
7945	kf27=\EOE, kf28=\EOF, kf29=\EOG, kf3=\EOe, kf30=\EOH, 
7946	kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ, 
7947	kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf4=\EOf, 
7948	kf40=\EOV, kf41=\EOW, kf42=\EOX, kf43=\EOY, kf44=\EOZ, 
7949	kf45=\EO[, kf46=\EO\s, kf47=\EO], kf48=\EO\^, kf5=\EOg, 
7950	kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
7951	kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T, 
7952	mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
7953	pfx=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq   SYS     F%p1%:-2d  %e;0;3q%;%p2%s, 
7954	pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s, 
7955	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, 
7956	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O, 
7957	rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m, 
7958	rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7, 
7959	sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
7960	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
7961	smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h, 
7962	swidm=\E#6, tsl=\E7\E[;%i%p1%dx, 
7963att730-41|730MTG-41|AT&T 730-41 windowing terminal Version, 
7964	lines#41, use=att730, 
7965att730-24|730MTG-24|AT&T 730-24 windowing terminal Version, 
7966	lines#24, use=att730, 
7967att730r|730MTGr|AT&T 730 rev video windowing terminal Version, 
7968	flash=\E[?5l$<200>\E[?5h, 
7969	is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B, use=att730, 
7970att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version, 
7971	lines#41, use=att730r, 
7972att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version, 
7973	lines#24, use=att730r, 
7974
7975# The following represents the screen layout along with the associated
7976# bezel buttons for the 5430/pt505 terminal. The "kf" designations do
7977# not appear on the screen but are shown to reference the bezel buttons.
7978# The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
7979# position relative to the screen.
7980#
7981#
7982#
7983#      +----------------------------------------------------------------+
7984#      |                                                                |
7985# XXXX | kf0                                                       kf24 | XXXX
7986#      |                                                                |
7987#      |                                                                |
7988# XXXX | kf1                                                       kf23 | XXXX
7989#      |                                                                |
7990#      |                                                                |
7991# XXXX | kf2                                                       kf22 | XXXX
7992#      |                                                                |
7993#      |                                                                |
7994# XXXX | kf3                                                       kf21 | XXXX
7995#      |                                                                |
7996#      |                                                                |
7997# XXXX | kf4                                                       kf20 | XXXX
7998#      |                                                                |
7999#      |                                                                |
8000# XXXX | kf5                                                       kf19 | XXXX
8001#      |                                                                |
8002#      |                                                                |
8003# XXXX | kf6                                                       kf18 | XXXX
8004#      |                                                                |
8005#      |                                                                |
8006# XXXX |                                                                | XXXX
8007#      |                                                                |
8008#      |                                                                |
8009#      +----------------------------------------------------------------+
8010#
8011#          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
8012#
8013# Note: XXXX represents the screen buttons
8014#                                                          CMD   REDRAW
8015#
8016#                                                          MAIL
8017#
8018# version 1 note: 
8019#	The character string sent by key 'kf26' may be user programmable
8020#       to send either \E[16s, or \E[26s.
8021#       The character string sent by key 'krfr' may be user programmable
8022#       to send either \E[17s, or \E[27s.
8023#
8024# Depression of the "CMD" key sends    \E!    (kcmd)
8025# Depression of the "MAIL" key sends   \E[26s (kf26)
8026# "REDRAW" same as "REFRESH" (krfr)
8027#
8028# "kf" functions adds carriage return to output string if terminal is in
8029# 'new line' mode.
8030#
8031# The following are functions not covered in the table above:
8032#
8033#       Set keyboard character (SKC): \EPn1;Pn2w
8034#                       Pn1= 0 Back Space key
8035#                       Pn1= 1 Break key
8036#                       Pn2=   Program char (hex)
8037#
8038#       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
8039#                       Pn1=     Window number (1-39)
8040#                       Pn2-Pn5= Y;X;Y;X coordinates
8041#
8042#       Screen Selection (SSL): \E[Pnu
8043#                       Pn= Window number
8044#
8045#       Set Terminal Modes (SM): \E[Pnh
8046#                       Pn= 3 Graphics mode
8047#                       Pn= > Cursor blink
8048#                       Pn= < Enter new line mode
8049#                       Pn= = Enter reverse insert/replace mode
8050#                       Pn= ? Enter no scroll mode
8051#
8052#       Reset Terminal Mode (RM): \E[Pnl
8053#                       Pn= 3 Exit graphics mode
8054#                       Pn= > Exit cursor blink
8055#                       Pn= < Exit new line mode
8056#                       Pn= = Exit reverse insert/replace mode
8057#                       Pn= ? Exit no scroll mode
8058#
8059#       Screen Status Report (SSR): \E[Pnp
8060#                       Pn= 0 Request current window number
8061#                       Pn= 1 Request current window dimensions
8062#
8063#       Device Status Report (DSR): \E[6n    Request cursor position
8064#
8065#       Call Status Report (CSR): \E[Pnv
8066#                       Pn= 0 Call failed
8067#                       Pn= 1 Call successful
8068#
8069#       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
8070#                       Pn1= Button number to be loaded
8071#                       Pn2= Character count of "string"
8072#                       Pn3= Key mode being loaded:
8073#                               0= Unshifted
8074#                               1= Shifted
8075#                               2= Control
8076#                       String= Text string (15 chars max)
8077#
8078#       Screen Number Report (SNR): \E[Pnp
8079#                       Pn= Screen number
8080#
8081#       Screen Dimension Report (SDR): \E[Pn1;Pn2r
8082#                       Pn1= Number of rows available in window
8083#                       Pn2= Number of columns available in window
8084#
8085#       Cursor Position Report (CPR): \E[Pn1;Pn2R
8086#                       Pn1= "Y" Position of cursor
8087#                       Pn2= "X" Position of cursor
8088#
8089#       Request Answer Back (RAB): \E[c
8090#
8091#       Answer Back Response (ABR): \E[?;*;30;VSV
8092#                       *=  0 No printer available
8093#                       *=  2 Printer available
8094#                       V=  Software version number
8095#                       SV= Software sub version number
8096#	(printer-available field not documented in v1)
8097#
8098#       Screen Alignment Aid: \En
8099#
8100#       Bell (lower pitch): \E[x
8101#
8102#       Dial Phone Number: \EPdstring\
8103#                       string= Phone number to be dialed
8104#
8105#       Set Phone Labels: \EPpstring\
8106#                       string= Label for phone buttons
8107#
8108#       Set Clock: \EPchour;minute;second\
8109#
8110#       Position Clock: \EPsY;X\
8111#                       Y= "Y" coordinate
8112#                       X= "X" coordinate
8113#
8114#       Delete Clock: \Epr\
8115#
8116#       Programming The Function Buttons: \EPfPn;string\
8117#                       Pn= Button number (00-06, 18-24)
8118#                                         (kf00-kf06, kf18-kf24)
8119#                       string= Text to sent on button depression
8120#
8121# The following in version 2 only:
8122#
8123#       Request For Local Directory Data: \EPp12;\
8124#
8125#       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
8126#
8127#	Request for Local Directory Data in print format: \EPp13;\
8128#
8129#	Enable 'Prt on Line' mode: \022 (DC2)
8130#
8131#	Disable 'Prt on Line' mode: \024 (DC4)
8132#
8133
8134# 05-Aug-86:
8135# The following Terminfo entry describes functions which are supported by
8136# the AT&T 5430/pt505 terminal software version 2 and later.
8137att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal, 
8138	am, xon, 
8139	cols#80, it#8, lines#24, 
8140	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
8141	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H, 
8142	cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
8143	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
8144	cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8145	cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
8146	dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E2K, home=\E[H, ht=^I, 
8147	il=\E[%p1%dL, il1=\E[L, ind=^J, 
8148	is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l, 
8149	kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
8150	kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, kf18=\E[18s, 
8151	kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, kf21=\E[21s, 
8152	kf22=\E[22s, kf23=\E[23s, kf24=\E24s, kf26=\E26s, 
8153	kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, kf6=\E[06s, 
8154	krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
8155	rmacs=\E[10m, rmam=\E[11;1j, rmir=\E[4l, rmso=\E[m, 
8156	rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m, smacs=\E[11m, 
8157	smam=\E[11;0j, smir=\E[4h, smso=\E[1m, smul=\E[4m, 
8158
8159# The following Terminfo entry describes functions which are supported by
8160# the AT&T 5430/pt505 terminal software version 1.
8161att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines, 
8162	lines#24, 
8163	mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505, 
8164tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines, 
8165	lines#22, use=att505, 
8166#
8167#### ------------------ TERMINFO FILE CAN BE SPLIT HERE ---------------------
8168# This cut mark helps make life less painful for people running ncurses tic
8169# on machines with relatively little RAM.  The file can be broken in half here
8170# cleanly and compiled in sections -- no `use' references cross this cut
8171# going forward.
8172#
8173
8174#### Ampex (Dialogue)
8175#
8176# Yes, these are the same people who are better-known for making audio- and
8177# videotape.  I'm told they are located in Redwood City, CA.
8178#
8179
8180# From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
8181# (ampex80: some capabilities merged in from SCO's entry -- esr)
8182ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80, 
8183	am, bw, ul, 
8184	cols#80, it#8, lines#24, 
8185	bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J, 
8186	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
8187	dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1, 
8188	ich1=\EQ, il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em, 
8189	smso=\Ej, smul=\El, tbc=\E3, 
8190# This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
8191ampex175|ampex d175, 
8192	am, 
8193	cols#80, lines#24, 
8194	bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
8195	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
8196	dl1=\ER, ed=\Ey, el=\Et, home=^^, ich1=\EQ, il1=\EE, ind=^J, 
8197	is2=\EX\EA\EF, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
8198	kdch1=\EW, kdl1=\ER, khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K, 
8199	rmcup=\EF, rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El, 
8200# No backspace key in the main QWERTY cluster. Fortunately, it has a
8201# NEWLINE/PAGE key just above RETURN that sends a strange single-character
8202# code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
8203# mode), this key can be used as the erase key; I find I like this. Because
8204# some people and some systems may not, there is another termcap ("ampex175")
8205# that suppresses this little eccentricity by omitting the relevant capability.
8206ampex175-b|ampex d175 using left arrow for erase, 
8207	kbs=^_, 
8208	use=ampex175, 
8209# From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
8210# (ampex210: removed obsolete ":kn#10:" -- esr)
8211ampex210|a210|ampex a210, 
8212	am, hs, xenl, 
8213	cols#80, it#8, lines#24, xmc#1, 
8214	cbt=\EI, clear=\E*, cub1=^H, cuf1=^L, 
8215	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
8216	dl1=\ER, ed=\Ey, el=\Et, flash=\EU\EX\EU\EX\EU\EX\EU\EX, 
8217	fsl=\E.2, home=^^, ht=^I, ich1=\EQ, 
8218	if=/usr/share/tabset/std, il1=\EE, invis@, 
8219	is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, kcub1=^H, 
8220	kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
8221	kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
8222	kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, khome=^^, 
8223	tsl=\E.0\Eg\E}\Ef, use=adm+sgr, 
8224# (ampex219: I added <rmam>/<smam> based on the init string, added <cvvis>
8225# from ampex219w, added <cnorm>=\E[?3l, irresistibly suggested by <cvvis>,
8226# and moved the padding to be *after* the caps -- esr)
8227ampex219|ampex-219|amp219|Ampex with Automargins, 
8228	hs, xenl, 
8229	cols#80, it#8, lines#24, 
8230	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, cbt=\E[Z, 
8231	clear=\E[H\E[2J$<50>, cnorm=\E[?3l, cr=^M, 
8232	csr=%i\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, 
8233	cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>, 
8234	cuu1=\E[A$<2>, cvvis=\E[?3h, dim=\E[1m, ed=\E[J$<50>, 
8235	el=\E[K$<3>, home=\E[H, ht=^I, ind=^J, 
8236	is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
8237	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[21~, 
8238	kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~, 
8239	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
8240	rev=\E[7m, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E>, 
8241	rmso=\E[m$<2>, rmul=\E[m$<2>, sgr0=\E[m$<2>, smam=\E[?7h, 
8242	smkx=\E=, smso=\E[7m$<2>, smul=\E[4m$<2>, 
8243ampex219w|ampex-219w|amp219w|Ampex 132 cols, 
8244	cols#132, lines#24, 
8245	bel=^G, cr=^M, cud1=^J, ind=^J, 
8246	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219, 
8247# (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr) 
8248ampex232|ampex-232|Ampex Model 232, 
8249	am, 
8250	cols#80, lines#24, xmc#1, 
8251	cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, cub1=^H, cud1=^V, 
8252	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
8253	dch1=\EW, dl1=\ER$<5*/>, ed=\EY, el=\ET, 
8254	flash=\Eb$<200/>\Ed, ht=^I, ich1=\EQ, il1=\EE$<5*/>, 
8255	invis@, is2=\Eg\El, kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L, 
8256	kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, 
8257	kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
8258	kf9=^AI\r, khome=^^, 
8259	use=adm+sgr, 
8260# (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr) 
8261ampex232w|Ampex Model 232 / 132 columns, 
8262	cols#132, lines#24, 
8263	is2=\E\034Eg\El, use=ampex232, 
8264
8265#### Ann Arbor (aa)
8266#
8267# Ann Arbor made dream terminals for hackers -- large screen sizes and huge
8268# numbers of function keys.  At least some used monitors in portrait mode,
8269# allowing up to 76-character screen heights!  They were reachable at:
8270#
8271#	Ann Arbor Terminals
8272#	6175 Jackson Road
8273#	Ann Arbor, MI 48103
8274#	(313)-663-8000
8275#
8276# But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
8277# can't be found on the Web; I fear they're long dead.  R.I.P.
8278#
8279
8280
8281# Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
8282# Highly modified 6/22 by Mike O'Brien.
8283# split out into several for the various screen sizes by dave-yost@rand
8284# Modifications made 3/82 by Mark Horton
8285# Modified by Tom Quarles at UCB for greater efficiency and more diversity
8286# status line moved to top of screen, <flash> removed 5/82
8287# Some unknown person at SCO then hacked the init strings to make them more
8288# efficient.
8289#
8290# assumes the following setup:
8291#   A menu: 0000 1010  0001 0000
8292#   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
8293#   C menu: 56   66   0    0    9600  0110 1100
8294#   D menu: 0110 1001   1   0
8295#
8296#	Briefly, the settings are for the following modes:
8297#	   (values are for bit set/clear with * indicating our preference
8298#	    and the value used to test these termcaps)
8299#	Note that many of these settings are irrelevent to the terminfo
8300#	and are just set to the default mode of the terminal as shipped
8301#	by the factory.
8302#
8303# A menu: 0000 1010  0001 0000
8304#	Block/underline cursor*
8305#	blinking/nonblinking cursor*
8306#	key click/no key click*
8307#	bell/no bell at column 72*
8308#
8309#	key pad is cursor control*/key pad is numeric
8310#	return and line feed/return for <cr> key *
8311#	repeat after .5 sec*/no repeat
8312#	repeat at 25/15 chars per sec. *
8313#
8314#	hold data until pause pressed/process data unless pause pressed*
8315#	slow scroll/no slow scroll*
8316#	Hold in area/don't hold in area*
8317#	functions keys have default*/function keys disabled on powerup
8318#
8319#	show/don't show position of cursor during page transmit*
8320#	unused
8321#	unused
8322#	unused
8323#
8324# B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
8325#	Baud rate (9600*)
8326#
8327#	2 bits of parity - 00=odd,01=even*,10=space,11=mark
8328#	1 stop bit*/2 stop bits
8329#	parity error detection off*/on
8330#
8331#	keyboard local/on line*
8332#	half/full duplex*
8333#	disable/do not disable keyboard after data transmission*
8334#
8335#	transmit entire page/stop transmission at cursor*
8336#	transfer/do not transfer protected characters*
8337#	transmit all characters/transmit only selected characters*
8338#	transmit all selected areas/transmit only 1 selected area*
8339#
8340#	transmit/do not transmit line separators to host*
8341#	transmit/do not transmit page tab stops tabs to host*
8342#	transmit/do not transmit column tab stop tabs to host*
8343#	transmit/do not transmit graphics control (underline,inverse..)*
8344#
8345#	enable*/disable auto XON/XOFF control
8346#	require/do not require receipt of a DC1 from host after each LF*
8347#	pause key acts as a meta key/pause key is pause*
8348#	unused
8349#
8350#	unused
8351#	unused
8352#	unused
8353#	unused
8354#
8355#	XON character (17*)
8356#	XOFF character (19*)
8357#
8358# C menu: 56   66   0    0    9600  0110 1100
8359#	number of lines to print data on (printer) (56*)
8360#
8361#	number of lines on a sheet of paper (printer) (66*)
8362#
8363#	left margin (printer) (0*)
8364#
8365#	number of pad chars on new line to printer (0*)
8366#
8367#	printer baud rate (9600*)
8368#
8369#	printer parity: 00=odd,01=even*,10=space,11=mark
8370#	printer stop bits: 2*/1
8371#	print/do not print guarded areas*
8372#
8373#	new line is: 01=LF,10=CR,11=CRLF*
8374#	unused
8375#	unused
8376#
8377# D menu: 0110 1001   1   0
8378#	LF is newline/LF is down one line, same column*
8379#	wrap to preceding line if move left from col 1*/don't wrap
8380#	wrap to next line if move right from col 80*/don't wrap
8381#	backspace is/is not destructive*
8382#
8383#	display*/ignore DEL character
8384#	display will not/will scroll*
8385#	page/column tab stops*
8386#	erase everything*/erase unprotected only
8387#
8388#	editing extent: 0=display,1=line*,2=field,3=area
8389#
8390#	unused
8391#
8392
8393annarbor4080|aa4080|ann arbor 4080, 
8394	am, 
8395	cols#80, lines#40, 
8396	bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_, 
8397	cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%{64}%+%c, 
8398	cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H, 
8399	kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P, 
8400
8401# Strange Ann Arbor terminal from BRL
8402aas1901|Ann Arbor K4080 w/S1901 mod, 
8403	am, 
8404	cols#80, lines#40, 
8405	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N, 
8406	home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\0c, 
8407	nel=^M^J, 
8408
8409# If you're using the GNU termcap library, add
8410#	:cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
8411# to these capabilities.  This is the nonstandard GNU termcap scrolling
8412# capability, arguments are:
8413#   1. Total number of lines on the screen.
8414#   2. Number of lines above desired scroll region.
8415#   3. Number of lines below (outside of) desired scroll region.
8416#   4. Total number of lines on the screen, the same as the first parameter.
8417# The generic Ann Arbor entry is the only one that uses this.
8418aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly), 
8419	am, km, mc5i, mir, xon, 
8420	cols#80, it#8, 
8421	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
8422	clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
8423	cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C, 
8424	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8425	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
8426	el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
8427	hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL, 
8428	il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8, 
8429	is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z, 
8430	kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
8431	kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK, 
8432	kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP, 
8433	kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT, 
8434	kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC, 
8435	kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI, 
8436	khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i, 
8437	mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8, 
8438	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
8439	rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\, 
8440	rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7, 
8441	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
8442	sgr0=\E[m, 
8443	smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\, 
8444	smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
8445	vpa=\E[%p1%{1}%+%dd, 
8446
8447aaa+rv|ann arbor ambassador in reverse video, 
8448	blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m, 
8449	is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, 
8450	rs1=\E[H\E[7m\E[J$<156>, 
8451	sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
8452	sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m, 
8453# Ambassador with the DEC option, for partial vt100 compatibility.
8454aaa+dec|ann arbor ambassador in dec vt100 mode, 
8455	acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}, 
8456	csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N, 
8457	sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;, 
8458	smacs=^O, 
8459aaa-18|ann arbor ambassador/18 lines, 
8460	lines#18, 
8461	is2=\E7\E[60;0;0;18p\E8, 
8462	rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p, use=aaa+unk, 
8463aaa-18-rv|ann arbor ambassador/18 lines+reverse video, 
8464	use=aaa+rv, use=aaa-18, 
8465aaa-20|ann arbor ambassador/20 lines, 
8466	lines#20, 
8467	is2=\E7\E[60;0;0;20p\E8, 
8468	rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p, use=aaa+unk, 
8469aaa-22|ann arbor ambassador/22 lines, 
8470	lines#22, 
8471	is2=\E7\E[60;0;0;22p\E8, 
8472	rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p, use=aaa+unk, 
8473aaa-24|ann arbor ambassador/24 lines, 
8474	lines#24, 
8475	is2=\E7\E[60;0;0;24p\E8, 
8476	rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p, use=aaa+unk, 
8477aaa-24-rv|ann arbor ambassador/24 lines+reverse video, 
8478	use=aaa+rv, use=aaa-24, 
8479aaa-26|ann arbor ambassador/26 lines, 
8480	lines#26, 
8481	is2=\E7\E[60;0;0;26p\E8, 
8482	rmcup=\E[60;0;0;26p\E[26;1H\E[K, 
8483	smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk, 
8484aaa-28|ann arbor ambassador/28 lines, 
8485	lines#28, 
8486	is2=\E7\E[60;0;0;28p\E8, 
8487	rmcup=\E[60;0;0;28p\E[28;1H\E[K, 
8488	smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk, 
8489aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status, 
8490	eslok, hs, 
8491	lines#29, 
8492	dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
8493	fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8, 
8494	rmcup=\E[60;1;0;30p\E[29;1H\E[K, 
8495	smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K, 
8496	tsl=\E[>51h\E[1;%p1%dH\E[2K, 
8497	use=aaa+unk, 
8498aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video, 
8499	use=aaa+rv, use=aaa-30-s, 
8500aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context, 
8501	rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
8502	smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s, 
8503aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video, 
8504	rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
8505	smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv, 
8506aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines, 
8507	lines#30, 
8508	is2=\E7\E[60;0;0;30p\E8, 
8509	rmcup=\E[60;0;0;30p\E[30;1H\E[K, 
8510	smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk, 
8511aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video, 
8512	use=aaa+rv, use=aaa-30, 
8513aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context, 
8514	rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p, 
8515	use=aaa-30, 
8516aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context, 
8517	rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p, 
8518	use=aaa+rv, use=aaa-30, 
8519aaa-36|ann arbor ambassador/36 lines, 
8520	lines#36, 
8521	is2=\E7\E[60;0;0;36p\E8, 
8522	rmcup=\E[60;0;0;36p\E[36;1H\E[K, 
8523	smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk, 
8524aaa-36-rv|ann arbor ambassador/36 lines+reverse video, 
8525	use=aaa+rv, use=aaa-36, 
8526aaa-40|ann arbor ambassador/40 lines, 
8527	lines#40, 
8528	is2=\E7\E[60;0;0;40p\E8, 
8529	rmcup=\E[60;0;0;40p\E[40;1H\E[K, 
8530	smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk, 
8531aaa-40-rv|ann arbor ambassador/40 lines+reverse video, 
8532	use=aaa+rv, use=aaa-40, 
8533aaa-48|ann arbor ambassador/48 lines, 
8534	lines#48, 
8535	is2=\E7\E[60;0;0;48p\E8, 
8536	rmcup=\E[60;0;0;48p\E[48;1H\E[K, 
8537	smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk, 
8538aaa-48-rv|ann arbor ambassador/48 lines+reverse video, 
8539	use=aaa+rv, use=aaa-48, 
8540aaa-60-s|ann arbor ambassador/59 lines+status, 
8541	eslok, hs, 
8542	lines#59, 
8543	dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
8544	fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8, 
8545	tsl=\E[>51h\E[1;%p1%dH\E[2K, 
8546	use=aaa+unk, 
8547aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video, 
8548	use=aaa+rv, use=aaa-60-s, 
8549aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video, 
8550	use=aaa+dec, use=aaa+rv, use=aaa-60-s, 
8551aaa-60|ann arbor ambassador/60 lines, 
8552	lines#60, 
8553	is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8, use=aaa+unk, 
8554aaa-60-rv|ann arbor ambassador/60 lines+reverse video, 
8555	use=aaa+rv, use=aaa-60, 
8556aaa-db|ann arbor ambassador 30/destructive backspace, 
8557	cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, 
8558	use=aaa-30, 
8559
8560guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols, 
8561	lines#33, 
8562	flash=\E[>59h$<100>\E[>59l, 
8563	is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l, 
8564	rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p, 
8565	use=aaa+unk, 
8566guru+rv|guru changes for reverse video, 
8567	flash=\E[>59l$<100>\E[>59h, is3=\E[>59h, 
8568guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video, 
8569	use=guru+rv, use=guru-33, 
8570guru+s|guru status line, 
8571	eslok, hs, 
8572	dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l, 
8573	rmcup=\E[255;1p\E[255;1H\E[K, smcup=, 
8574	tsl=\E[>51h\E[1;%p1%dH\E[2K, 
8575guru-nctxt|guru with no saved context, 
8576	smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru, 
8577guru-s|guru-33-s|ann arbor guru/33 lines+status, 
8578	lines#32, 
8579	is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J, 
8580	smcup=\E[33;1p\E[255;1H\E[K, 
8581	use=guru+s, use=guru+unk, 
8582guru-24|ann arbor guru 24 lines, 
8583	cols#80, lines#24, 
8584	is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p, use=guru+unk, 
8585guru-44|ann arbor guru 44 lines, 
8586	cols#97, lines#44, 
8587	is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p, use=guru+unk, 
8588guru-44-s|ann arbor guru/44 lines+status, 
8589	lines#43, 
8590	is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J, 
8591	smcup=\E[44;1p\E[255;1H\E[K, 
8592	use=guru+s, use=guru+unk, 
8593guru-76|guru with 76 lines by 89 cols, 
8594	cols#89, lines#76, 
8595	is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p, use=guru+unk, 
8596guru-76-s|ann arbor guru/76 lines+status, 
8597	cols#89, lines#75, 
8598	is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J, 
8599	smcup=\E[76;1p\E[255;1H\E[K, 
8600	use=guru+s, use=guru+unk, 
8601guru-76-lp|guru-lp|guru with page bigger than line printer, 
8602	cols#134, lines#76, 
8603	is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p, use=guru+unk, 
8604guru-76-w|guru 76 lines by 178 cols, 
8605	cols#178, lines#76, 
8606	is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p, use=guru+unk, 
8607guru-76-w-s|ann arbor guru/76 lines+status+wide, 
8608	cols#178, lines#75, 
8609	is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J, 
8610	smcup=\E[76;1p\E[255;1H\E[K, 
8611	use=guru+s, use=guru+unk, 
8612guru-76-wm|guru 76 lines by 178 cols with 255 cols memory, 
8613	cols#178, lines#76, 
8614	is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p, use=guru+unk, 
8615aaa-rv-unk|ann arbor unknown type, 
8616	lh#0, lw#0, nlab#0, 
8617	blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m, 
8618	is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, 
8619	rs1=\E[H\E[7m\E[J, 
8620	sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
8621	sgr0=\E[7m, smso=\E[m, smul=\E[4;7m, 
8622
8623#### Applied Digital Data Systems (adds)
8624#
8625# ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
8626# ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
8627# terminals was merged again.  Then AT&T sold the terminal business to
8628# SunRiver, which later changed its  name to Boundless Technologies.  The
8629# engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
8630# as of early 1995) are at:
8631#
8632#	Boundless Technologies
8633#	100 Marcus Boulevard
8634#	Hauppauge, NY 11788-3762
8635#	Vox: (800)-231-5445
8636#	Fax: (516)-342-7378
8637#	Web: http://boundless.com
8638#
8639# Their voice mail used to describe the place as "SunRiver (formerly ADDS)". 
8640# In 1995 Boundless acquired DEC's terminals business.  
8641#
8642
8643# Regent: lowest common denominator, works on all regents.
8644# (regent: renamed ":bc:" to ":le:" -- esr)
8645regent|Adds Regent Series, 
8646	am, 
8647	cols#80, lines#24, 
8648	bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z, 
8649	home=\EY\s\s, ind=^J, ll=^A, 
8650# Regent 100 has a bug where if computer sends escape when user is holding
8651# down shift key it gets confused, so we avoid escape.
8652regent100|Adds Regent 100, 
8653	xmc#1, 
8654	bel=^G, cup=\013%p1%{32}%+%c%p2%p2%{6}%*%+\020%c, 
8655	kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, 
8656	kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, 
8657	lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, 
8658	sgr0=\E0@, smso=\E0P, smul=\E0`, 
8659	use=regent, 
8660regent20|Adds Regent 20, 
8661	bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK, use=regent, 
8662regent25|Adds Regent 25, 
8663	bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A, use=regent20, 
8664regent40|Adds Regent 40, 
8665	xmc#1, 
8666	bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r, 
8667	kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, 
8668	kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6, 
8669	lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P, 
8670	smul=\E0`, 
8671	use=regent25, 
8672regent40+|Adds Regent 40+, 
8673	is2=\EB, use=regent40, 
8674regent60|regent200|Adds Regent 60, 
8675	dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF, 
8676	rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV, 
8677	use=regent40+, 
8678# From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
8679# (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
8680viewpoint|addsviewpoint|adds viewpoint, 
8681	am, 
8682	cols#80, lines#24, 
8683	bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J, 
8684	cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
8685	cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>, 
8686	ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
8687	kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A, 
8688	rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N, 
8689# Some viewpoints have bad ROMs that foo up on ^O
8690screwpoint|adds viewpoint with ^O bug, 
8691	cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint, 
8692
8693# From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
8694# The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.  
8695# Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
8696# underline=01100000, rev=01010000, blink=01000010,dim=01000001,
8697# invis=01000100 and %c is the logical or of desired attributes.
8698# There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
8699vp3a+|viewpoint3a+|adds viewpoint 3a+, 
8700	am, bw, 
8701	cols#80, it#8, lines#24, 
8702	civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M, cub1=^H, cud1=^J, 
8703	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
8704	ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
8705	kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, nel=^M^J, rmso=\E(, 
8706	sgr=\E0%{64}%?%p1%tQ%|%;%?%p2%t%{96}%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E), 
8707	sgr0=\E(, smso=\E0Q\E), 
8708vp60|viewpoint60|addsvp60|adds viewpoint60, 
8709	use=regent40, 
8710#
8711# adds viewpoint 90 - from cornell
8712# Note:  emacs sends ei occasionally to insure the terminal is out of
8713#        insert mode. This unfortunately puts the viewpoint90 IN insert
8714#        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
8715#   -    :ei=:im=: must be present in the termcap translation.)
8716#   -    <xhp> indicates glitch that attributes stick to location
8717#   -    <msgr> means it's safe to move in standout mode
8718#   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
8719#               the status line
8720# Function key and label capabilities merged in from SCO.
8721vp90|viewpoint90|adds viewpoint 90, 
8722	bw, msgr, xhp, 
8723	cols#80, lines#24, 
8724	clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F, 
8725	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE, 
8726	dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I, 
8727	ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J, 
8728	kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, kf10=^B;\r, 
8729	kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, 
8730	kf7=^B8\r, kf8=^B9\r, kf9=^B\:\r, khome=^A, lf0=F1, lf1=F2, 
8731	lf10=F11, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, 
8732	lf9=F10, ll=^A, rmso=\ER\E0@\EV, rmul=\ER\E0@\EV, 
8733	sgr0=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV, 
8734# Note: if return acts weird on a980, check internal switch #2
8735# on the top chip on the CONTROL pc board.
8736adds980|a980|adds consul 980, 
8737	am, 
8738	cols#80, lines#24, 
8739	bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J, 
8740	cuf1=\E^E01, cup=\013%p1%{64}%+%c\E\005%p2%2d, 
8741	dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1, 
8742	kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, 
8743	kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N, 
8744
8745#### C. Itoh Electronics
8746#
8747# As of 1995 these people no longer make terminals (they're still in the
8748# printer business).  Their terminals were all clones of the DEC VT series.
8749# They're located in Orange County, CA.
8750#
8751
8752# CIT 80  - vt-52 emulator, the termcap has been modified to remove
8753#           the delay times and do an auto tab set rather than the indirect
8754#           file used in vt100.
8755cit80|cit-80|citoh 80, 
8756	am, 
8757	cols#80, lines#24, 
8758	clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C, 
8759	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L, 
8760	ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
8761	kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=, 
8762# From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
8763# (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
8764cit101|citc|C.itoh fast vt100, 
8765	am, xenl, 
8766	cols#80, lines#24, 
8767	bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cuf1=\E[C, 
8768	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E7\E[U, 
8769	dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, 
8770	flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L, 
8771	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g, 
8772	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
8773	rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
8774	sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
8775	smul=\E[4m, 
8776# CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
8777# The following termcap entry was created from the Callan cd100 entry.  The
8778# last two lines (with the capabilities in caps) are used by RM-cobol to allow
8779# full selection of combinations of reverse video, underline, and blink.
8780# (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
8781# f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
8782# :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
8783cit101e|C. Itoh CIT-101e, 
8784	am, mir, msgr, 
8785	cols#80, it#8, lines#24, 
8786	acsc=, clear=\E[H\E[J, cnorm=, csr=\E[%i%p1%2d;%p2%2dr, 
8787	cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
8788	cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M, ed=\E[J, 
8789	el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L, 
8790	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOT, 
8791	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm, kf6=\EOl, 
8792	kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l, 
8793	rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h, 
8794	smkx=\E=, smso=\E[7m, smul=\E[4m, 
8795# From: David S. Lawyer, June 1997:
8796# The CIT 101-e was made in Japan in 1983-4 and imported by CIE
8797# Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
8798# late 1980's CIT Terminals went out of business.
8799# There is no need to use the initialization string is=... (by invoking
8800# tset or setterm etc.) provided that the terminal has been manually set
8801# up (and the setup saved with ^S) to be compatible with this termcap.  To be
8802# compatible it should be in ANSI mode (not VT52).   A set-up that
8803# works is to set all the manually setable stuff to factory defaults
8804# by pressing ^D in set-up mode.  Then increse the brighness with the
8805# up-arrow key since the factory default will likely be dim on an old
8806# terminal.  Then change any options you want (provided that they are
8807# compatible with the termcap).  For my terminal I set: Screen
8808# Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
8809# on.  I also set up mine for parity (but you may not need it).  Then 
8810# save the setup with ^S.
8811# (cit101e-rv: added empty <rmcup> to suppress a tic warning. --esr)
8812cit101e-rv|Citoh CIT-101e (sets reverse video), 
8813	am, eo, mir, msgr, xenl, xon, 
8814	cols#80, it#8, lines#24, 
8815	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v, 
8816	clear=\E[H\E[J, cnorm=\E[0;3;4v, cr=^M, 
8817	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
8818	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
8819	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8820	cvvis=\E[3;5v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
8821	dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>, 
8822	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
8823	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
8824	is2=\E<\E>\E[?1l\E[?3l\E[?4l\E[?5h\E[?7h\E[?8h\E[3g\E[>5g\E(B\E[m\E[20l\E[1;24r\E[24;1H, 
8825	kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
8826	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, 
8827	rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=, rmir=\E[4l, 
8828	rmso=\E[m, rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7, 
8829	sgr0=\E[m, smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h, 
8830	smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR, 
8831	u7=\E[6n, u8=\E[?6c, u9=\E[c, 
8832cit101e-n|CIT-101e w/o am, 
8833	am@, 
8834	cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
8835cit101e-132|CIT-101e with 132 cols, 
8836	cols#132, 
8837	kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
8838cit101e-n132|CIT-101e with 132 cols w/o am, 
8839	am@, 
8840	cols#132, 
8841	cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
8842# CIE Terminals CIT-500 from BRL
8843# The following SET-UP modes are assumed for normal operation:
8844#	GENERATE_XON/XOFF:YES	DUPLEX:FULL		NEWLINE:OFF
8845#	AUTOWRAP:ON		MODE:ANSI		SCREEN_LENGTH:64_LINES
8846#	DSPLY_CNTRL_CODES?NO	PAGE_WIDTH:80		EDIT_MODE:OFF
8847# Other SET-UP modes may be set for operator convenience or communication
8848# requirements.
8849# Hardware tabs are assumed to be set every 8 columns; they can be set up
8850# by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
8851# "stty ixon -ixany" to enable DC3/DC1 flow control!
8852# (cit500: I added <rmam>/<smam> based on the init string -- esr)
8853cit500|CIE Terminals CIT-500, 
8854	mir, msgr, xon, 
8855	cols#80, it#8, lines#64, vt#3, 
8856	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
8857	clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
8858	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
8859	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
8860	cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
8861	ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, 
8862	il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z, kcub1=\EOD, 
8863	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P, kdl1=\E[M, 
8864	ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, 
8865	kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY, kf9=\EOZ, 
8866	khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l, lf0=PF1, 
8867	lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17, lf7=F18, 
8868	lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8, rev=\E[7m, 
8869	ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, 
8870	rmso=\E[m, rmul=\E[m, 
8871	rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>, 
8872	sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h, 
8873	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
8874
8875# C. Itoh printers begin here
8876citoh|ci8510|8510|c.itoh 8510a, 
8877	cols#80, it#8, 
8878	bold=\E!, cub1@, 
8879	is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073., 
8880	rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY, 
8881	smul=\EX, 
8882	use=lpr, 
8883citoh-pica|citoh in pica, 
8884	is1=\EN, use=citoh, 
8885citoh-elite|citoh in elite, 
8886	cols#96, 
8887	is1=\EE, 
8888	is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089., use=citoh, 
8889citoh-comp|citoh in compressed, 
8890	cols#136, 
8891	is1=\EQ, 
8892	is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089\,097\,105\,113\,121\,129., use=citoh, 
8893# citoh has infinite cols because we don't want lp ever inserting \n\t**.
8894citoh-prop|citoh-ps|ips|citoh in proportional spacing mode, 
8895	cols#32767, 
8896	is1=\EP, use=citoh, 
8897citoh-6lpi|citoh in 6 lines per inch mode, 
8898	is3=\EA, use=citoh, 
8899citoh-8lpi|citoh in 8 lines per inch mode, 
8900	lines#88, 
8901	is3=\EB, use=citoh, 
8902
8903#### Control Data (cdc)
8904#
8905
8906cdc456|cdc 456 terminal, 
8907	am, 
8908	cols#80, lines#24, 
8909	bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
8910	cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X, 
8911	el=^V, home=^Y, il1=\EL, ind=^J, 
8912
8913# Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
8914cdc721|CDC Viking, 
8915	am, 
8916	cols#80, lines#24, 
8917	clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, 
8918	cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I, 
8919	kcuu1=^W, khome=^Y, 
8920cdc721ll|CDC Vikingll, 
8921	am, 
8922	cols#132, lines#24, 
8923	clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, 
8924	cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I, 
8925	kcuu1=^W, khome=^Y, 
8926# (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
8927cdc752|CDC 752, 
8928	am, bw, xhp, 
8929	cols#80, lines#24, 
8930	bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
8931	cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V, 
8932	home=\E1\s\s, ind=^J, ll=^Y, rs1=\E1  \030\002\003\017, 
8933# CDC 756
8934# The following switch/key settings are assumed for normal operation:
8935#	96 chars	SCROLL		FULL duplex	not BLOCK
8936# Other switches may be set according to communication requirements.
8937# Insert/delete-character cannot be used, as the whole display is affected.
8938# "so" & "se" are commented out until jove handles "sg" correctly.
8939cdc756|CDC 756, 
8940	am, bw, 
8941	cols#80, lines#24, 
8942	bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
8943	cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, 
8944	dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>, ind=^J, 
8945	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, kdch1=\EI, 
8946	kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, 
8947	kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb, khome=^Y, 
8948	khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3, lf3=F4, 
8949	lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z, 
8950	rs1=\031\030\002\003\017, 
8951#
8952# CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
8953#
8954# Part of the long initialization string defines the "DOWN" key to the left
8955# of the tab key to send an ESC.  The real ESC key is positioned way out 
8956# in right field.
8957#
8958# The termcap won't work in 132 column mode due to the way it it moves the
8959# cursor.  Termcap doesn't have the capability (as far as I could tell) to
8960# handle the 721 in 132 column mode.
8961#
8962# (cdc721: changed :ri: to :sr: -- esr)
8963cdc721-esc|Control Data 721, 
8964	am, bw, msgr, xon, 
8965	cols#80, it#8, lines#30, 
8966	bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z, 
8967	cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W, 
8968	dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW, 
8969	ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[, 
8970	is2=\036\022B\003\036\035\017\022\025\035\036E\036\022H\036\022J\036\022L\036\022N\036\022P\036\022Q\036\022\036\022\^\036\022b\036\022i\036W =\036\022Z\036\011C1-` `!k/o, 
8971	kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q, 
8972	kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x, 
8973	kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D, 
8974	ri=\036W =\036V, rmir=, rmkx=^^^Rl, rmso=^^E, rmul=^], 
8975	sgr0=\017\025\035\036E\036\022\\, smir=, smkx=^^^Rk, 
8976	smso=^^D, smul=^\, tbc=^^^RY, 
8977
8978#### Getronics
8979#
8980# Getronics is a Dutch electronics company that at one time was called 
8981# `Geveke' and made async terminals; but (according to the company itself!)
8982# they've lost all their documentation on the command set.  The hardware
8983# documentation suggests the terminals were actually manufactured by a
8984# Taiwanese electronics company named Cal-Comp.  There are known
8985# to have been at least two models, the 33 and the 50.
8986#
8987
8988# The 50 seems to be a top end vt220 clone, with the addition of a higher
8989# screen resolution, a larger screen, at least 1 page of memory above and
8990# below the screen, apparently pages of memory right and left of the screen
8991# which can be panned, and about 75 function keys (15 function keys x normal,
8992# shift, control, func A, func B). It also has more setup possibilities than
8993# the vt220. The monitor case is dated November 1978 and the keyboard case is
8994# May 1982.
8995#
8996# The vt100 emulation works as is.  The entry below describes the rather
8997# non-conformant (but more featureful) ANSI mode.
8998#
8999# From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
9000visa50|geveke visa 50 terminal in ansi 80 character mode, 
9001	bw, mir, msgr, 
9002	cols#80, lines#25, 
9003	acsc=0_aaffggh jjkkllmmnnooqqssttuuvvwwxx, bel=^G, 
9004	blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, 
9005	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
9006	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
9007	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9008	dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM, 
9009	dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H, 
9010	hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
9011	il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, 
9012	is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h, 
9013	ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS, 
9014	kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
9015	kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002, 
9016	kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007, 
9017	kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char, 
9018	lf3=A insert line, lf4=A delete line, lf5=A clear, 
9019	lf6=A ce of/cf gn, lf7=A print, lf8=A on-line, 
9020	lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l, 
9021	rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m, 
9022	rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h, 
9023	smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, 
9024	vpa=\E[%i%p1%dd, 
9025
9026#### Human Designed Systems (Concept)
9027#
9028#	Human Designed Systems
9029#	400 Fehley Drive
9030#	King of Prussia, PA 19406
9031#	Vox: (610)-277-8300
9032#	Fax: (610)-275-5739
9033#	Net: support@hds.com
9034# 
9035# John Martin <john@hds.com> is their termcap expert.  They're mostly out of
9036# the character-terminal business now (1995) and making X terminals.  In
9037# particular, the whole `Concept' line described here was discontinued long
9038# ago.
9039#
9040
9041# From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
9042# Extensive changes to c108 by arpavax:eric Feb 1982
9043# Some unknown person at SCO then translated it to terminfo.
9044#
9045# There seem to be a number of different versions of the C108 PROMS
9046# (with bug fixes in its Z-80 program).
9047# 
9048# The first one that we had would lock out the keyboard of you
9049# sent lots of short lines (like /usr/dict/words) at 9600 baud.
9050# Try that on your C108 and see if it sends a ^S when you type it.
9051# If so, you have an old version of the PROMs.
9052# 
9053# You should configure the C108 to send ^S/^Q before running this.
9054# It is much faster (at 9600 baud) than the c100 because the delays
9055# are not fixed.
9056# new status line display entries for c108-8p:
9057# <is3> - init str #3 - setup term for status display - 
9058# set programmer mode, select window 2, define window at last 
9059# line of memory, set bkgnd stat mesg there, select window 0.
9060# 
9061# <tsl> - to status line - select window 2, home cursor, erase to 
9062# end-of-window, 1/2 bright on, goto(line#0, col#?)
9063# 
9064# <fsl> - from status line - 1/2 bright off, select window 0
9065# 
9066# <dsl> - disable status display - set bkgnd status mesg with 
9067# illegal window #
9068# 
9069# There are probably more function keys that should be added but 
9070# I don't know what they are.
9071#
9072# No delays needed on c108 because of ^S/^Q handshaking
9073#
9074c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages, 
9075	is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n, 
9076	rmcup=\Ev  \001\177p\Ep\r\n, 
9077	use=c108-4p, 
9078c108-4p|concept108-4p|concept 108 w/4 pages, 
9079	eslok, hs, xon, 
9080	pb@, 
9081	acsc=jEkTl\\mMqLxU, cnorm=\Ew, cr=^M, 
9082	cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c, 
9083	cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s, 
9084	ind=^J, is1=\EK\E!\E F, 
9085	is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n, 
9086	rmacs=\Ej\s, rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!, 
9087	smcup=\EU\Ev  8p\Ep\r\E\025, 
9088	tsl=\E z"\E?\E\005\EE\Ea %+\s, use=c100, 
9089c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video, 
9090	rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r, 
9091	use=c108-rv-4p, 
9092c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video, 
9093	flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE, 
9094	use=c108-4p, 
9095c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode, 
9096	cols#132, 
9097	is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n, 
9098	smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p, 
9099
9100# Concept 100:
9101# These have only window relative cursor addressing, not screen 
9102# relative. To get it to work right here, smcup/rmcup (which 
9103# were invented for the concept) lock you into a one page 
9104# window for screen style programs.
9105# 
9106# To get out of the one page window, we use a clever trick:
9107# we set the window size to zero ("\Ev    " in rmcup) which the 
9108# terminal recognizes as an error and resets the window to all 
9109# of memory.
9110# 
9111# This trick works on c100 but does not on c108, sigh.
9112# 
9113# Some tty drivers use cr3 for concept, others use nl3, hence 
9114# the delays on cr and ind below. This padding is only needed at 
9115# 9600 baud and up.  One or the other is commented out depending on 
9116# local conventions.
9117# 
9118# 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe 
9119# less than 6 but more than 2 will work.
9120# 
9121# Note: can't use function keys f7-f10 because they are 
9122# indistinguishable from arrow keys (!), also, del char and 
9123# clear eol use xon/xoff so they probably won't work very well.
9124# 
9125# Also note that we don't define insrt/del char/delline/eop/send 
9126# because they don't transmit unless we reset them - I figured 
9127# it was a bad idea to clobber their definitions.
9128# 
9129# The <mc5> sequence changes the escape character to ^^ so that 
9130# escapes will be passed through to the printer. Only trouble 
9131# is that ^^ won't be - ^^ was chosen to be unlikely. 
9132# Unfortunately, if you're sending raster bits through to be 
9133# plotted, any character you choose will be likely, so we lose.
9134#
9135# \EQ"\EY(^W (send anything from printer to host, for xon/xoff) 
9136# cannot be # in is2 because it will hang a c100 with no printer 
9137# if sent twice.
9138c100|concept100|concept|c104|c100-4p|hds concept 100, 
9139	am, eo, mir, ul, xenl, 
9140	cols#80, lines#24, pb#9600, vt#8, 
9141	bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r, 
9142	cub1=^H, cud1=^J, cuf1=\E=, 
9143	cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;, 
9144	dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>, 
9145	ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK, 
9146	ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>, 
9147	is1=\EK, 
9148	is2=\EU\Ef\E7\E5\E8\El\ENH\E\0\Eo&\0\Eo'\E\Eo!\0\E\007!\E\010A@ \E4#\:"\E\:a\E4#;"\E\:b\E4#<"\E\:c, 
9149	is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_, 
9150	kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q, 
9151	kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7, 
9152	kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?, 
9153	khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E., 
9154	kri=\E\\, krmir=\E\0, mc4=\036o \E\EQ!\EYP\027, 
9155	mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI, 
9156	rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED, 
9157	rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex, 
9158	rmso=\Ed, rmul=\Eg, sgr0=\EN@, 
9159	smcup=\EU\Ev  8p\Ep\r\E\025$<16>, smir=\E^P, smkx=\EX, 
9160	smso=\ED, smul=\EG, 
9161c100-rv|c100-rv-4p|concept100-rv|c100 rev video, 
9162	cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, 
9163	smso=\EE, 
9164	use=c100, 
9165oc100|oconcept|c100-1p|old 1 page concept 100, 
9166	in, 
9167	is3@, use=c100, 
9168
9169# From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
9170# Lots of notes, originally inline, but ncurses doesn't grok that.
9171#
9172# am: 	not available in power on mode, but turned on with \E[=107;207h in
9173#	is2=.  Also, \E=124l in is2= could have been used to prevent needing
9174#	to specify xenl:, but that would have rendered the last space on the
9175#	last line useless.
9176# bw:	Not available in power on mode, but turned on with \E[=107;207h in
9177#	is2=.
9178# clear: Could be done with \E[2J alone, except that vi (and probably most
9179#	other programs) assume that this also homes the cursor.
9180# dsl:	Go to window 2, go to the beginning of the line, use a line feed to
9181#	scroll the window, and go back to window 1.
9182# is2:	the string may cause a warning to be issued by tic that it
9183#	found a very long line and that it suspects that a comma is missing
9184#	somewhere.  This warning can be ignored (unless it comes up more than
9185#	once).  The initialization string contains the following commands:
9186#
9187#	 [Setup mode items changed from factory defaults:]
9188#		\E)0			set alternate character set to
9189#						graphics
9190#		^O			set character set to default
9191#	 [In case it wasn't]
9192#		\E[m			turn off all attributes
9193#	 [In case they weren't off]
9194#		\E[=107;		cursor wrap and
9195#			207h			character wrap on
9196#		\E[90;3u		set Fkey definitions to "transmit"
9197#						defaults
9198#		\E[92;3u		set cursor key definitions to
9199#						"transmit" defaults
9200#		\E[43;1u		set shift F13 to transmit...
9201#		\177\E$P\177
9202#		\E[44;1u		set shift F14 to transmit...
9203#			\177\E$Q\177
9204#		\E[45;1u		set shift F15 to transmit...
9205#			\177\E$R\177
9206#		\E[46;1u		set shift F16 to transmit...
9207#			\177\E$S\177
9208#		\E[200;1u		set shift up to transmit...
9209#			\177\E$A\177
9210#		\E[201;1u		set shift down to transmit...
9211#			\177\E$B\177
9212#		\E[202;1u		set shift right to transmit...
9213#			\177\E$C\177
9214#		\E[203;1u		set shift left to transmit...
9215#			\177\E$D\177
9216#		\E[204;1u		set shift home to transmit...
9217#			\177\E$H\177
9218#		\E[212;1u		set backtab to transmit...
9219#			\177\E$I\177
9220#		\E[213;1u		set shift backspace to transmit...
9221#			\177\E$^H\177
9222#		\E[214;1u		set shift del to transmit...
9223#			"\E$\177"
9224#	 [Necessary items not mentioned in setup mode:]
9225#		\E[2!w			move to window 2
9226#		\E[25;25w		define window as line 25 of memory
9227#		\E[!w			move to window 1
9228#		\E[2*w			show current line of window 2 as
9229#						status line
9230#		\E[2+x			set meta key to use high bit
9231#		\E[;3+}			move underline to bottom of character
9232#
9233#	All Fkeys are set to their default transmit definitions with \E[90;3u
9234#	in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
9235#	setting MUST be redefined or deactivated, because the default is
9236#	contained in almost all of this terminal's Fkey strings!  If for some
9237#	reason "quit" cannot be altered, the Fkeys can, but it would be
9238#	necessary to change ^| to ^] in all of these definitions, and add
9239#	\E[2;029!t to is2.
9240# lines: is set to 24 because this terminal refuses to treat the 25th
9241#	line normally.
9242# ll:	Not available in power on mode, but turned on with \E[=107;207h in
9243#	is2=.
9244# lm:	Pointless, given that this definition locks a single screen of
9245#	memory into view, but what the hey...
9246# rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
9247#	other attributes alone), but some programs expect this to turn off
9248#	everything.
9249# rmul: Could use \E[4!{ to turn off only underline (leaving any other
9250#	attributes alone), but some programs expect this to turn off
9251#	everything.
9252# sgr:	Attributes are set on this terminal with the string \E[ followed by
9253#	a list of attribute code numbers (in decimal, separated by
9254#	semicolons), followed by the character m.  The attribute code
9255#	numbers are:
9256#		  1 for bold;
9257#		  2 for dim (which is ignored in power on mode);
9258#		  4 for underline;
9259#		  5 for blinking;
9260#		  7 for inverse;
9261#		  8 for not displayable; and
9262#		=99 for protected (except that there are strange side
9263#		effects to protected characters which make them inadvisable).
9264#	 The mapping of terminfo parameters to attributes is as follows:
9265#		%p1 (standout) = bold and inverse together;
9266#		%p2 (underline) = underline;
9267#		%p3 (reverse) = inverse;
9268#		%p4 (blink) = blinking;
9269#		%p5 (dim) is ignored;
9270#		%p6 (bold) = bold;
9271#		%p7 (invisible) = not displayable;
9272#		%p8 (protected) is ignored; and
9273#		%p9 (alt char set) = alt char set.
9274#	 The code to do this is:
9275#		\E[0		OUTPUT	\E[0
9276#		%?%p1%p6%O	IF	(standout; bold) OR
9277#		%t;1		THEN	OUTPUT	;1
9278#		%;		ENDIF
9279#		%?%p2		IF	underline
9280#		%t;4		THEN	OUTPUT	;4
9281#		%;		ENDIF
9282#		%?%p4		IF	blink
9283#		%t;5		THEN	OUTPUT	;5
9284#		%;		ENDIF
9285#		%?%p1%p3%O	IF	(standout; reverse) OR
9286#		%t;7		THEN	OUTPUT	;7
9287#		%;		ENDIF
9288#		%?%p7		IF	invisible
9289#		%t;8		THEN	OUTPUT	;8
9290#		%;		ENDIF
9291#		m		OUTPUT	m
9292#		%?%p9		IF	altcharset
9293#		%t^N		THEN	OUTPUT	^N
9294#		%e^O		ELSE	OUTPUT	^O
9295#		%;		ENDIF
9296# sgr0: Everything is turned off (including alternate character set), since
9297#	there is no way of knowing what it is that the program wants turned
9298#	off.
9299# smul: The "underline" attribute is reconfigurable to an overline or
9300#	strikethru, or (as done with \E[;3+} in is2=), to a line at the true
9301#	bottom of the character cell.  This was done to allow for more readable
9302#	underlined characters, and to be able to distinguish between an
9303#	underlined space, an underscore, and an underlined underscore.
9304# xenl: Terminal can be configured to not need this, but this "glitch"
9305#	behavior is actually preferable with autowrap terminals.
9306#
9307# Parameters kf31= thru kf53= actually contain the strings sent by the shifted
9308# Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
9309# string modifies the 'O' in kf43 to kf46 to a '$'.
9310#
9311# kcbt was originally ^I but redefined in is2=.
9312# kHOM was \E[H originally but redefined in is2=, as were a number of
9313# other keys.
9314# kDC was originally \177 but redefined in is2=.
9315#
9316# kbs:	Shift was also ^H originally but redefined as \E$^H in is2=.
9317# tsl:	Go to window 2, then do an hpa=.
9318#
9319#------- flash=\E[8;3!}^G\E[3;3!}
9320#------- flash=\E[?5h$<100>\E[?5l
9321# There are two ways to flash the screen, both of which have their drawbacks. 
9322# The first is to set the bell mode to video, transmit a bell character, and
9323# set the bell mode back - but to what?  There is no way of knowing what the
9324# user's old bell setting was before we messed with it.  Worse, the command to
9325# set the bell mode also sets the key click volume, and there is no way to say
9326# "leave that alone", or to know what it's set to, either.
9327# The second way to do a flash is to set the screen to inverse video, pad for a
9328# tenth of a second, and set it back - but like before, there's no way to know
9329# that the screen wasn't ALREADY in inverse video, or that the user may prefer
9330# it that way.  The point is moot anyway, since vi (and probably other
9331# programs) assume that by defining flash=, you want the computer to use it
9332# INSTEAD of bel=, rather than as a secondary type of signal.
9333#
9334#------- cvvis=\E[+{
9335# The is the power on setting, which is also as visible as the cursor
9336# gets.
9337#-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
9338# Windowing is possible, but not defined here because it is also used to
9339# emulate status line functions.  Allowing a program to set a window could
9340# clobber the status line or render it unusable.  There is additional memory,
9341# but screen scroll functions are destructive and do not make use of it.
9342#
9343#-------   dim=			Not available in power on mode.
9344# You have a choice of defining low intensity characters as "half bright" and
9345# high intensity as "normal", or defining low as "normal" and high as "bold". 
9346# No matter which you choose, only one of either "half bright" or "bold" is
9347# available at any time, so taking the time to override the default is
9348# pointless.
9349#
9350#-------  prot=\E[=0;99m
9351# Not defined, because it appears to have some strange side effects.
9352#------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
9353#------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
9354#-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
9355#	 Available, but making them available to programs is inadvisable.
9356#	 The code to do this is:
9357#		%?%p1%{24}%<	IF	((key; 24) <;
9358#		%p1%{30}%>		 ((key; 30) >;
9359#		%p1%{54}%<		  (key; 54) <
9360#		%A			 ) AND
9361#		%O		  	) OR
9362#	 [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
9363#		%t\E[		THEN	OUTPUT	\E[
9364#		%p1%d			OUTPUT	(key) as decimal
9365#	 [next line applies to pfx only]
9366#		;1			OUTPUT	;1
9367#		u			OUTPUT	u
9368#		\177			OUTPUT	\177
9369#		%p2%s			OUTPUT	(string) as string
9370#		\177			OUTPUT	\177
9371#	 [DEL chosen as delimiter, but could be any character]
9372#	 [implied:		ELSE	do nothing]
9373#		%;		ENDIF
9374#	
9375#-------   rs2=
9376# Not defined since anything it might do could be done faster and easier with
9377# either Meta-Shift-Reset or the main power switch.
9378#
9379#-------  smkx=\E[1!z
9380#-------  rmkx=\E[!z
9381# These sequences apply to the cursor and setup keys only, not to the
9382# numeric keypad.  But it doesn't matter anyway, since making these
9383# available to programs is inadvisable.
9384# For the key definitions below, all sequences beginning with \E$ are
9385# custom and programmed into the terminal via is2.  \E$ also has no
9386# meaning to any other terminal.
9387#
9388#------- cmdch=\E[;%p1%d!t
9389# Available, but making it available to programs is inadvisable.
9390#------- smxon=\E[1*q
9391# Available, but making it available to programs is inadvisable.
9392# Terminal will send XON/XOFF on buffer overflow.
9393#------- rmxon=\E[*q
9394# Available, but making it available to programs is inadvisable.
9395# Terminal will not notify on buffer overflow.
9396#-------   smm=\E[2+x
9397#-------   rmm=\E[+x
9398# Available, but making them available to programs is inadvisable.
9399#
9400# Printing:
9401#	 It's not made clear in the manuals, but based on other ansi/vt type
9402#	 terminals, it's a good guess that this terminal is capable of both
9403#	 "transparent print" (which doesn't copy data to the screen, and
9404#	 therefore needs mc5i: specified to say so) and "auxilliary print"
9405#	 (which does duplicate printed data on the screen, in which case mc4=
9406#	 and mc5= should use the \E[?4i and \E[?5i strings instead).
9407
9408hds200|Human Designed Systems HDS200, 
9409	am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon, 
9410	cols#80, it#8, lines#24, lm#0, 
9411	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
9412	blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{, 
9413	clear=\E[H\E[J, cnorm=\E[+{, cr=^M, 
9414	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
9415	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
9416	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9417	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
9418	dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K, 
9419	fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
9420	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
9421	invis=\E[0;8m, 
9422	is2=\E)0\017\E[m\E[=107;207h\E[90;3u\E[92;3u\E[43;1u\177\E$P\177\E[44;1u\177\E$Q\177\E[45;1u\177\E$R\177\E[46;1u\177\E$S\177\E[200;1u\177\E$A\177\E[201;1u\177\E$B\177\E[202;1u\177\E$C\177\E[203;1u\177\E$D\177\E[204;1u\177\E$H\177\E[212;1u\177\E$I\177\E[213;1u\177\E$\010\177\E[214;1u"\E$\177"\E[2!w\E[25;25w\E[!w\E[2*w\E[2+x\E[;3+}, 
9423	kDC=\E$\177, kHOM=\E$H, kLFT=\E$D, kRIT=\E$C, kbs=^H, 
9424	kcbt=\E$I, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
9425	kdch1=\177, kent=^M, kf1=^\001\r, kf10=^\010\r, 
9426	kf11=^\011\r, kf12=^\012\r, kf13=\EOP, kf14=\EOQ, 
9427	kf15=\EOR, kf16=\EOS, kf17=^\017\r, kf18=^\018\r, 
9428	kf19=^\019\r, kf2=^\002\r, kf20=^\020\r, kf21=^\021\r, 
9429	kf22=^\022\r, kf23=^\023\r, kf3=^\003\r, kf31=^\031\r, 
9430	kf32=^\032\r, kf33=^\033\r, kf34=^\034\r, kf35=^\035\r, 
9431	kf36=^\036\r, kf37=^\037\r, kf38=^\038\r, kf39=^\039\r, 
9432	kf4=^\004\r, kf40=^\040\r, kf41=^\041\r, kf42=^\042\r, 
9433	kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S, kf47=^\047\r, 
9434	kf48=^\048\r, kf49=^\049\r, kf5=^\005\r, kf50=^\050\r, 
9435	kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r, 
9436	kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H, 
9437	kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A, 
9438	mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E, rc=\E8, 
9439	rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmso=\E[m\017, 
9440	rmul=\E[m\017, sc=\E7, 
9441	sgr=\E[0%?%p1%p6%O%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%O%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
9442	sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m, 
9443	smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG, 
9444	vpa=\E[%i%p1%dd, 
9445
9446# <ht> through <el> included to specify padding needed in raw mode.
9447# (avt-ns: added empty <acsc> to suppress a tic warning --esr)
9448avt-ns|concept avt no status line, 
9449	am, eo, mir, ul, xenl, xon, 
9450	cols#80, it#8, lines#24, lm#192, 
9451	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
9452	clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M, 
9453	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
9454	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
9455	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9456	cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>, 
9457	dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H, 
9458	hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@, 
9459	ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>, 
9460	invis=\E8m, ip=$<4>, is1=\E[=103l\E[=205l, 
9461	is2=\E[1*q\E[2!t\E[7!t\E[=4;101;119;122l\E[=107;118;207h\E)1\E[1Q\EW\E[!y\E[!z\E>\E[0\:0\:32!r\E[0*w\E[w\E2\r\n\E[2;27!t, 
9462	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
9463	kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
9464	kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H, 
9465	mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
9466	pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#, 
9467	prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
9468	ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n, rmir=\E4l, 
9469	rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{, sc=\E7, 
9470	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
9471	sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r, 
9472	smir=\E1, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m, 
9473	tbc=\E[2g, vpa=\E[%p1%{1}%+%dd, 
9474avt-rv-ns|concept avt in reverse video mode/no status line, 
9475	flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, 
9476	use=avt-ns, 
9477avt-w-ns|concept avt in 132 column mode/no status line, 
9478	is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, 
9479	use=avt-ns, 
9480avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video, 
9481	flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
9482	smcup=\E[H\E[1;24;1;132w, 
9483	use=avt-ns, 
9484
9485# Concept AVT with status line. We get the status line using the
9486# "Background status line" feature of the terminal. We swipe the
9487# first line of memory in window 2 for the status line, keeping
9488# 191 lines of memory and 24 screen lines for regular use.
9489# The first line is used instead of the last so that this works
9490# on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
9491# assumes an 8 page AVT but lm isn't currently used anywhere.)
9492#
9493avt+s|concept avt status line changes, 
9494	eslok, hs, 
9495	lm#191, 
9496	dsl=\E[0*w, fsl=\E[1;1!w, 
9497	is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n, 
9498	rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r, 
9499	tsl=\E[2;1!w\E[;%p1%dH\E[2K, 
9500avt|avt-s|concept-avt|avt w/80 columns, 
9501	use=avt+s, use=avt-ns, 
9502avt-rv|avt-rv-s|avt reverse video w/sl, 
9503	flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, use=avt+s, 
9504	use=avt-ns, 
9505avt-w|avt-w-s|concept avt 132 cols+status, 
9506	is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, use=avt+s, 
9507	use=avt-ns, 
9508avt-w-rv|avt-w-rv-s|avt wide+status+rv, 
9509	flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
9510	smcup=\E[H\E[1;24;1;132w, 
9511	use=avt+s, use=avt-ns, 
9512
9513#### Contel Business Systems. 
9514#
9515
9516# Contel c300 and c320 terminals. 
9517contel300|contel320|c300|Contel Business Systems C-300 or C-320, 
9518	am, in, xon, 
9519	cols#80, lines#24, xmc#1, 
9520	bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
9521	cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
9522	dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
9523	el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH, 
9524	hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
9525	kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
9526	kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
9527	rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3, 
9528# Contel c301 and c321 terminals.
9529contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321, 
9530	flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>, 
9531	use=contel300, 
9532
9533#### Data General (dg)
9534#
9535# According to James Carlson <carlson@xylogics.com> writing in January 1995,
9536# the terminals group at Data General was shut down in 1991; all these
9537# terminals have thus been discontinued.
9538#
9539# DG terminals have function keys that respond to the SHIFT and CTRL keys,
9540# e.g., SHIFT-F1 generates a different code from F1.  To number the keys
9541# sequentially, first the unmodified key codes are listed as F1 through F15. 
9542# Then their SHIFT versions are listed as F16 through F30, their CTRL versions
9543# are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
9544# F46 through F60.  This is done in the private "includes" below whose names
9545# start with "dgkeys+".
9546#
9547# DG terminals generally support 8 bit characters.  For each of these terminals
9548# two descriptions are supplied:
9549#	1) A default description for 8 bits/character communications, which
9550#	   uses the default DG international character set and keyboard codes.
9551#	2) A description with suffix "-7b" for 7 bits/character communications.
9552#	   This description must use the NON-DEFAULT native keyboard language.
9553
9554# Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
9555# Ctrl/Shift fdkeys (kf34-kf44).
9556
9557dgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys, 
9558	ka1=\233020z, ka3=\233021z, kc1=\233022z, kc3=\233023z, 
9559	kclr=\2332J, kcub1=\233D, kcud1=\233B, kcuf1=\233C, 
9560	kcuu1=\233A, kel=\233K, kf1=\233001z, kf10=\233010z, 
9561	kf11=\233011z, kf12=\233012z, kf13=\233013z, 
9562	kf14=\233014z, kf15=\233000z, kf16=\233101z, 
9563	kf17=\233102z, kf18=\233103z, kf19=\233104z, 
9564	kf2=\233002z, kf20=\233105z, kf21=\233106z, 
9565	kf22=\233107z, kf23=\233108z, kf24=\233109z, 
9566	kf25=\233110z, kf26=\233111z, kf27=\233112z, 
9567	kf28=\233113z, kf29=\233114z, kf3=\233003z, 
9568	kf30=\233100z, kf31=\233201z, kf32=\233202z, 
9569	kf33=\233203z, kf34=\233204z, kf35=\233205z, 
9570	kf36=\233206z, kf37=\233207z, kf38=\233208z, 
9571	kf39=\233209z, kf4=\233004z, kf40=\233210z, 
9572	kf41=\233211z, kf42=\233212z, kf43=\233213z, 
9573	kf44=\233214z, kf45=\233200z, kf46=\233301z, 
9574	kf47=\233302z, kf48=\233303z, kf49=\233304z, 
9575	kf5=\233005z, kf50=\233305z, kf51=\233306z, 
9576	kf52=\233307z, kf53=\233308z, kf54=\233309z, 
9577	kf55=\233310z, kf56=\233311z, kf57=\233312z, 
9578	kf58=\233313z, kf59=\233314z, kf6=\233006z, 
9579	kf60=\233300z, kf7=\233007z, kf8=\233008z, kf9=\233009z, 
9580	khome=\233H, kprt=\233i, 
9581
9582dgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys, 
9583	ka1=\E[020z, ka3=\E[021z, kc1=\E[022z, kc3=\E[023z, 
9584	kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
9585	kel=\E[K, kf1=\E[001z, kf10=\E[010z, kf11=\E[011z, 
9586	kf12=\E[012z, kf13=\E[013z, kf14=\E[014z, kf15=\E[000z, 
9587	kf16=\E[101z, kf17=\E[102z, kf18=\E[103z, kf19=\E[104z, 
9588	kf2=\E[002z, kf20=\E[105z, kf21=\E[106z, kf22=\E[107z, 
9589	kf23=\E[108z, kf24=\E[109z, kf25=\E[110z, kf26=\E[111z, 
9590	kf27=\E[112z, kf28=\E[113z, kf29=\E[114z, kf3=\E[003z, 
9591	kf30=\E[100z, kf31=\E[201z, kf32=\E[202z, kf33=\E[203z, 
9592	kf34=\E[204z, kf35=\E[205z, kf36=\E[206z, kf37=\E[207z, 
9593	kf38=\E[208z, kf39=\E[209z, kf4=\E[004z, kf40=\E[210z, 
9594	kf41=\E[211z, kf42=\E[212z, kf43=\E[213z, kf44=\E[214z, 
9595	kf45=\E[200z, kf46=\E[301z, kf47=\E[302z, kf48=\E[303z, 
9596	kf49=\E[304z, kf5=\E[005z, kf50=\E[305z, kf51=\E[306z, 
9597	kf52=\E[307z, kf53=\E[308z, kf54=\E[309z, kf55=\E[310z, 
9598	kf56=\E[311z, kf57=\E[312z, kf58=\E[313z, kf59=\E[314z, 
9599	kf6=\E[006z, kf60=\E[300z, kf7=\E[007z, kf8=\E[008z, 
9600	kf9=\E[009z, khome=\E[H, kprt=\E[i, 
9601
9602dgkeys+11|Private entry describing 11 minimal-subset DG mode special keys, 
9603	kclr=^L, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kel=^K, 
9604	kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^a, kf13=^^b, kf14=^^c, 
9605	kf15=^^d, kf16=^^e, kf17=^^f, kf18=^^g, kf19=^^h, kf2=^^r, 
9606	kf20=^^i, kf21=^^j, kf22=^^k, kf23=^^1, kf24=^^2, kf25=^^3, 
9607	kf26=^^4, kf27=^^5, kf28=^^6, kf29=^^7, kf3=^^s, kf30=^^8, 
9608	kf31=^^9, kf32=^^\:, kf33=^^;, kf34=^^!, kf35=^^", kf36=^^#, 
9609	kf37=^^$, kf38=^^%, kf39=^^&, kf4=^^t, kf40=^^', kf41=^^(, 
9610	kf42=^^), kf43=^^*, kf44=^^+, kf5=^^u, kf6=^^v, kf7=^^w, 
9611	kf8=^^x, kf9=^^y, khome=^H, 
9612
9613dgkeys+15|Private entry describing 15 DG mode special keys, 
9614	kHOM=^^^H, kLFT=^^^Y, kRIT=^^^X, ka1=^^\\, ka3=^^], kc1=^^\^, 
9615	kc3=^^_, kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^|, kf13=^^}, 
9616	kf14=^^~, kf15=^^p, kf16=^^a, kf17=^^b, kf18=^^c, kf19=^^d, 
9617	kf2=^^r, kf20=^^e, kf21=^^f, kf22=^^g, kf23=^^h, kf24=^^i, 
9618	kf25=^^j, kf26=^^k, kf27=^^l, kf28=^^m, kf29=^^n, kf3=^^s, 
9619	kf30=^^`, kf31=^^1, kf32=^^2, kf33=^^3, kf34=^^4, kf35=^^5, 
9620	kf36=^^6, kf37=^^7, kf38=^^8, kf39=^^9, kf4=^^t, kf40=^^\:, 
9621	kf41=^^;, kf42=^^<, kf43=^^=, kf44=^^>, kf45=^^0, kf46=^^!, 
9622	kf47=^^", kf48=^^#, kf49=^^$, kf5=^^u, kf50=^^%, kf51=^^&, 
9623	kf52=^^', kf53=^^(, kf54=^^), kf55=^^*, kf56=^^+, kf57=^^\,, 
9624	kf58=^^-, kf59=^^., kf6=^^v, kf60=^^\s, kf7=^^w, kf8=^^x, 
9625	kf9=^^y, 
9626
9627# Data General color terminals use the "Tektronix" color model.  The total
9628# number of colors varies with the terminal model, as does support for
9629# attributes used in conjunction with color.
9630
9631# Removed u7, u8 definitions since they conflict with tack:
9632#		Preserve user-defined colors in at least some cases.
9633#	u7=^^Fh,
9634#		Default is ACM mode.
9635#	u8=^^F}20^^Fi^^F}21,
9636#
9637dgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode, 
9638	bce, 
9639	colors#16, ncv#53, pairs#256, 
9640	op=\036Ad\036Bd, 
9641	setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
9642	setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
9643	setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c, 
9644
9645dg+fixed|Fixed color info for DG D430C terminals in DG mode, 
9646	use=dgunix+fixed, 
9647
9648# Video attributes are coordinated using static variables set by "sgr", then
9649# checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings. 
9650# (D=dim, U=underline, B=blink, R=reverse.)
9651dg+color8|Color info for Data General D220 and D230C terminals in ANSI mode, 
9652	bce, 
9653	colors#8, ncv#16, pairs#64, 
9654	op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m, 
9655	setab=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
9656	setaf=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
9657	setb=\E[4%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
9658	setf=\E[3%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
9659
9660dg+color|Color info for Data General D470C terminals in ANSI mode, 
9661	colors#16, ncv#53, pairs#256, 
9662	setab=\E[%?%p1%{8}%<%t4%p1%e=%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
9663	setaf=\E[%?%p1%{8}%<%t3%p1%e<%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
9664	setb=\E[%?%p1%{8}%<%t4%e=%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
9665	setf=\E[%?%p1%{8}%<%t3%e<%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
9666	use=dg+color8, 
9667
9668dgmode+color8|Color info for Data General D220/D230C terminals in DG mode, 
9669	bce, 
9670	colors#8, ncv#16, pairs#64, 
9671	op=\036Ad\036Bd, 
9672	setab=\036B%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c, 
9673	setaf=\036A%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c, 
9674	setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c, 
9675
9676dgmode+color|Color info for Data General D470C terminals in DG mode, 
9677	colors#16, pairs#256, 
9678	setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
9679	setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
9680	use=dgmode+color8, 
9681
9682dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode, 
9683	bce, ccc, 
9684	colors#52, ncv#53, pairs#26, 
9685	initp=\036RG0%p1%02X%p2%{256}%*%{1001}%/%02X%p3%{256}%*%{1001}%/%02X%p4%{256}%*%{1001}%/%02X%p5%{256}%*%{1001}%/%02X%p6%{256}%*%{1001}%/%02X%p7%{256}%*%{1001}%/%02X, 
9686	oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00, 
9687	op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D, 
9688	scp=\036RG2%p1%02X, 
9689
9690# Colors are in the order:  normal, reverse, dim, dim + reverse.
9691dg+ccc|Configurable color info for DG D430C terminals in DG mode, 
9692	bce, ccc, 
9693	colors#52, ncv#53, pairs#26, 
9694	initp=\036RG0%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c%p2%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p3%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p4%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p5%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p6%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p7%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c, 
9695	oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00, 
9696	op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=, 
9697	scp=\036RG2%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c, 
9698
9699# The generic DG terminal type (an 8-bit-clean subset of the 6053)
9700# Initialization string 1 sets:
9701#	^R		- vertical scrolling enabled
9702#	^C		- blinking enabled
9703dg-generic|Generic Data General terminal in DG mode, 
9704	am, bw, msgr, xon, 
9705	cols#80, lines#24, 
9706	bel=^G, blink=^N, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
9707	cup=\020%p2%c%p1%c, cuu1=^W, dim=^\, el=^K, ind=^J, is1=^R^C, 
9708	mc0=^Q, nel=^J, rmso=^], rmul=^U, sgr0=^O^U^], smso=^\, 
9709	smul=^T, 
9710	use=dgkeys+11, 
9711
9712# According to the 4.4BSD termcap file, the dg200 <cup> should be the
9713# termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
9714# notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
9715# maybe they were originally nuls (which would fit).
9716
9717dg200|data general dasher 200, 
9718	am, bw, 
9719	cols#80, lines#24, 
9720	bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
9721	cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J, 
9722	kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q, 
9723	kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x, 
9724	kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U, 
9725	smso=^^D, smul=^T, 
9726
9727# Data General 210/211 (and 410?)	from Lee Pearson (umich!lp) via BRL
9728dg210|dg-ansi|Data General 210/211, 
9729	am, 
9730	cols#80, lines#24, 
9731	clear=\E[2J, cud1=\E[B, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
9732	ed=\E[J, el=\E[K, home=\E[H, kcub1=\E[D, kcud1=\E[B, 
9733	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, nel=\r\E[H\E[A\n, 
9734	rmso=\E[0;m, rmul=\E[0;m, smso=\E[7;m, smul=\E[4;m, 
9735# From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
9736# courtesy of Carlos Rucalde of Vantage Software, Inc.
9737# (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
9738# I suspect the d200 function keys actually work on the dg211, check it out.)
9739dg211|Data General d211, 
9740	cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@, 
9741	kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L, 
9742	rmso=\036E$<\0/>, smcup=^L^R, smso=\036D$<5/>, 
9743	use=dg200, 
9744# dg450 from cornell
9745dg450|dg6134|data general 6134, 
9746	cub1@, cuf1=^X, use=dg200, 
9747# Note: lesser Dasher terminals will not work with vi because vi insists upon
9748# having a command to move straight down from any position on the bottom line
9749# and scroll the screen up, or a direct vertical scroll command.  The 460 and
9750# above have both, the D210/211, for instance, has neither.  We must use ANSI
9751# mode rather than DG mode because standard UNIX tty drivers assume that ^H is
9752# backspace on all terminals.  This is not so in DG mode.
9753# (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
9754# grounds that there is no matching ":ml:"
9755# fixed garbled ":k9=\E[00\:z:" capability -- esr)
9756dg460-ansi|Data General Dasher 460 in ANSI-mode, 
9757	am, msgr, ul, 
9758	cols#80, it#8, lines#24, 
9759	blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
9760	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m, 
9761	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
9762	il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D, kcub1=\E[D, 
9763	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[001z, 
9764	kf1=\E[002z, kf2=\E[003z, kf3=\E[004z, kf4=\E[005z, 
9765	kf5=\E[006z, kf6=\E[007z, kf7=\E[008z, kf8=\E[009z, 
9766	kf9=\E[010z, khome=\E[H, lf0=f1, lf1=f2, lf2=f3, lf3=f4, 
9767	lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m, ri=\E[T, 
9768	rmso=\E[m, rmul=\E[05, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
9769# From: Wayne Throop <mcnc!rti-sel!rtp47!throopw>
9770# Data General 605x     
9771# Ought to work for a Model 6242, Type D210 as well as a 605x.
9772# Note that the cursor-down key transmits ^Z.  Job control users, beware!
9773# This also matches a posted description of something called a `Dasher 100'
9774# so there's a dg100 alias here. 
9775# (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr) 
9776dg6053-old|dg100|data general 6053, 
9777	am, bw, ul, 
9778	cols#80, lines#24, 
9779	bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
9780	cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K, home=^H, 
9781	ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, 
9782	kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, 
9783	kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L, rmso=\0^^E, 
9784	rmul=^U, smcup=^L^R, smso=\0\0\0\0\0\036D, smul=^T, 
9785
9786# (Some performance can be gained over the generic DG terminal type)
9787dg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053, 
9788	xon@, 
9789	home=^P\0\0, ll=^P\0^W, use=dg-generic, 
9790
9791# Like 6053, but adds reverse video and more keypad and function keys.
9792d200|d200-dg|Data General DASHER D200, 
9793	bold=^^D^T, home@, ll@, rev=^^D, rmso=^^E^], 
9794	sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;, 
9795	sgr0=\017\025\035\036E, smso=^^D^\, 
9796	use=dgkeys+15, use=dg6053, 
9797
9798# DASHER D210 series terminals in ANSI mode.
9799#	Reverse video, no insert/delete character/line, 7 bits/character only.
9800#
9801# Initialization string 1 sets:
9802#	<0		- scrolling enabled
9803#	<1		- blink enabled
9804#	<4		- print characters regardless of attributes
9805d210|d214|Data General DASHER D210 series, 
9806	am, bw, msgr, xon, 
9807	cols#80, lines#24, 
9808	bel=^G, blink=\E[5m, bold=\E[4;7m, clear=\E[2J, cr=^M, 
9809	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
9810	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
9811	cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[2m, ed=\E[J, el=\E[K, 
9812	el1=\E[1K, home=\E[H, ind=^J, is1=\E[<0;<1;<4l, 
9813	ll=\E[H\E[A, nel=^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, 
9814	sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m, 
9815	sgr0=\E[m, smso=\E[2;7m, smul=\E[4m, 
9816	use=dgkeys+7b, 
9817
9818# DASHER D210 series terminals in DG mode.
9819# Like D200, but adds clear to end-of-screen and needs XON/XOFF.
9820d210-dg|d214-dg|Data General DASHER D210 series in DG mode, 
9821	xon, 
9822	ed=^^FF, use=d200-dg, 
9823
9824# DASHER D211 series terminals in ANSI mode.
9825# Like the D210, but with 8-bit characters and local printer support.
9826#
9827# Initialization string 2 sets:
9828#	\E[2;1;1;1v
9829#		2;1	- 8 bit operations
9830#		1;1	- 8 bit (international) keyboard language
9831#	\E(B		- default primary character set (U.S. ASCII)
9832#	\E)4		- default secondary character set (international)
9833#	^O		- primary character set
9834#
9835d211|d215|Data General DASHER D211 series, 
9836	km, 
9837	is2=\E[2;1;1;1v\E(B\E)4\017, mc0=\E[i, use=dgkeys+8b, use=d210, 
9838
9839# Initialization string 2 sets:
9840#	\E[2;0;1;0v
9841#		2;0	- 7 bit operations
9842#		1;0	- 7 bit (native) keyboard language
9843#	\E(0		- default character set (the keyboard native language)
9844#	^O		- primary character set
9845d211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode, 
9846	km@, 
9847	is2=\E[2;0;1;0v\E(0\017, use=dgkeys+7b, use=d211, 
9848
9849# Like the D210 series, but adds support for 8-bit characters.
9850#
9851# Reset string 2 sets:
9852#	^^N	- secondary character set
9853#	^^FS0>	- 8 bit international character set
9854#	^^O	- primary character set
9855#	^^FS00	- default character set (matching the native keyboard language)
9856#
9857d211-dg|d215-dg|Data General DASHER D211 series in DG mode, 
9858	km, 
9859	rs2=\036N\036FS0>\036O\036FS00, use=d210-dg, 
9860
9861d216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode, 
9862	use=d211-dg, 
9863
9864# Enhanced DG mode with changes to be more UNIX compatible.
9865d216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode, 
9866	mc5i, 
9867	it#8, 
9868	acsc=a\177j$k"l!m#n)q+t'u&v(w%x*, blink=^^PI, 
9869	clear=^^PH, cub1=^^PD, cud1=^^PB, cuf1=^^PC, cuu1=^^PA, 
9870	el=^^PE, home=^^PF, hpa=\020%p1%c\177, ht=^I, ind=^J, 
9871	is1=\022\003\036P@1, is3=\036Fz0, kHOM=^^Pf, kLFT=^^Pd, 
9872	kPRT=^^P1, kRIT=^^Pc, kclr=^^PH, kcub1=^^PD, kcud1=^^PB, 
9873	kcuf1=^^PC, kcuu1=^^PA, kel=^^PE, khome=^^PF, kprt=^^P0, 
9874	mc0=\036F?9, mc4=^^Fa, mc5=^^F`, rmacs=\036FS00, 
9875	rs2=\036N\036FS0E\036O\036FS00, 
9876	sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;, 
9877	sgr0=\036PJ\025\035\036E\036FS00, smacs=\036FS11, 
9878	vpa=\020\177%p1%c, 
9879	use=dgkeys+15, use=d216-dg, 
9880d216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines, 
9881	lines#25, 
9882	is3=\036Fz2, use=d216+, 
9883
9884d217-unix|Data General DASHER D217 in DG-UNIX mode, 
9885	use=d216-unix, 
9886d217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines, 
9887	use=d216-unix-25, 
9888
9889# DASHER D220 color terminal in ANSI mode.
9890# Like the D470C but with fewer colors and screen editing features.
9891#
9892# Initialization string 1 sets:
9893#	\E[<0;<1;<4l
9894#		<0	- scrolling enabled
9895#		<1	- blink enabled
9896#		<4	- print characters regardless of attributes
9897#	\E[m		- all attributes off
9898# Reset string 1 sets:
9899#	\Ec		- initial mode defaults (RIS)
9900#
9901d220|Data General DASHER D220, 
9902	mc5i@, 
9903	dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec, use=dg+color8, use=d470c, 
9904
9905d220-7b|Data General DASHER D220 in 7 bit mode, 
9906	mc5i@, 
9907	dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec, use=dg+color8, use=d470c-7b, 
9908
9909# Initialization string 3 sets:
9910#	- default cursor (solid rectangle)
9911# Reset string 2 sets:
9912#	^^N     - secondary character set
9913#	^^FS0>  - 8 bit international character set
9914#	^^O     - primary character set
9915#       ^^FS00  - default character set (matching the native keyboard language)
9916#
9917d220-dg|Data General DASHER D220 color terminal in DG mode, 
9918	mc5i@, 
9919	dl1@, home@, il1@, is2@, is3=\036FQ2, ll@, mc4@, mc5@, rs1@, 
9920	rs2=\036N\036FS0>\036O\036FS00, 
9921	use=dgmode+color8, use=d470c-dg, 
9922
9923# DASHER D230C color terminal in ANSI mode.
9924# Like the D220 but with minor ANSI compatibility improvements.
9925#
9926d230c|d230|Data General DASHER D230C, 
9927	blink=\E[5;50m, bold=\E[4;7;50m, dim=\E[2;50m, nel=^M^J, 
9928	rev=\E[7;50m, rmkx=\E[2;1v, rmso=\E[50m, rmul=\E[50m, 
9929	sgr=\E[50%?%p1%p3%|%p6%|%t;7%{1}%e%{0}%;%PR%?%p4%t;5%{1}%e%{0}%;%PB%?%p2%p6%|%t;4%{1}%e%{0}%;%PU%?%p1%p5%|%t;2%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;, 
9930	sgr0=\E[50m\E)4\017, smkx=\E[2;0v, smso=\E[2;7;50m, 
9931	smul=\E[4;50m, 
9932	use=dgkeys+7b, use=d220, 
9933
9934d230c-dg|d230-dg|Data General DASHER D230C in DG mode, 
9935	use=d220-dg, 
9936
9937# DASHER D400/D450 series terminals.
9938# These add intelligent features like insert/delete to the D200 series.
9939#
9940# Initialization string 2 sets:
9941#	^^FQ2		- default cursor (solid rectangle)
9942#	^^FW		- character protection disabled
9943#	^^FJ		- normal (80 column) mode
9944#	^^F\^		- horizontal scrolling enabled (for alignment)
9945#	^^FX004?	- margins at columns 0 and 79
9946#	^^F]		- horizontal scrolling disabled
9947#	^^O		- primary character set
9948#	^^FS00		- default character set (the keyboard native language)
9949#	- (should reset scrolling regions, but that glitches the screen)
9950# Reset string 1 sets:
9951#	^^FA		- all terminal defaults except scroll rate
9952# Reset string 2 sets:
9953#	^^F]		- horizontal scrolling disabled
9954#	^^FT0		- jump scrolling
9955#
9956d400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series, 
9957	mc5i, 
9958	acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\036FQ0, 
9959	cnorm=\036FQ2, dch1=^^K, dl1=^^FI, 
9960	enacs=\036N\036FS11\036O, home=^^FG, hpa=\020%p1%c\177, 
9961	ich1=^^J, il1=^^FH, 
9962	is2=\036FQ2\036FW\036FJ\036F\^\036FX004?\036F]\036O\036FS00, 
9963	ll=\036FG\027, mc4=^^Fa, mc5=^^F`, ri=^^I, rmacs=^^O, 
9964	rs1=^^FA, rs2=\036F]\036FT0, 
9965	sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036%?%p9%tN%eO%;, 
9966	sgr0=\017\025\035\036E\036O, smacs=^^N, 
9967	vpa=\020\177%p1%c, use=d210-dg, 
9968
9969# DASHER D410/D460 series terminals in ANSI mode.
9970# These add a large number of intelligent terminal features.
9971#
9972# Initialization string 1 sets:
9973#	\E[<0;<1;<2;<4l
9974#		<0	- scrolling enabled
9975#		<1	- blink enabled
9976#		<2	- horizontal scrolling enabled (for alignment)
9977#		<4	- print characters regardless of attributes
9978#	\E[5;0v		- normal (80 column) mode
9979#	\E[1;1;80w	- margins at columns 1 and 80
9980#	\E[1;6;<2h
9981#		1	- print all characters even if protected
9982#		6	- character protection disabled
9983#		<2	- horizontal scrolling disabled
9984#	- (should reset scrolling regions, but that glitches the screen)
9985#
9986# Initialization string 2 sets:
9987#	\E[3;2;2;1;1;1v
9988#		3;2	- default cursor (solid rectangle)
9989#		2;1	- 8 bit operations
9990#		1;1	- international keyboard language
9991#	\E(B		- default primary character set (U.S. ASCII)
9992#	\E)4		- default secondary character set (international)
9993#	^O		- primary character set
9994#
9995#	Reset string 1 sets:
9996#	\Ec		- initial mode defaults (RIS)
9997#	\E[<2h		- horizontal scrolling disabled
9998#
9999# Reset string 2 sets:
10000#	\E[4;0;2;1;1;1v
10001#		4;0	- jump scrolling
10002#		2;1	- 8 bit operations
10003#		1;1	- 8 bit (international) keyboard language
10004#	\E(B		- default primary character set (U.S. ASCII)
10005#	\E)4		- default secondary character set (international)
10006#
10007d410|d411|d460|d461|Data General DASHER D410/D460 series, 
10008	mc5i, 
10009	acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\E[3;0v, 
10010	cnorm=\E[3;2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
10011	dl1=\E[M, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
10012	is1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h, 
10013	is2=\E[3;2;2;1;1;1v\E(B\E)4\017, mc4=\E[4i, mc5=\E[5i, 
10014	ri=\EM, rmacs=\E)4\017, rs1=\Ec\E[<2h, 
10015	rs2=\E[4;0;2;1;1;1v\E(B\E)4, 
10016	sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;, 
10017	sgr0=\E[m\E)4\017, smacs=\E)6\016, 
10018	use=d211, 
10019
10020# Initialization string 2 sets:
10021#	\E[3;2;2;0;1;0v
10022#		3;2	- default cursor (solid rectangle)
10023#		2;0	- 7 bit operations
10024#		1;0	- 7 bit (native) keyboard language
10025#	\E(0		- default character set (the keyboard native language)
10026#	^O		- primary character set
10027#
10028# Reset string 2 sets:
10029#	\E[4;0;2;0;1;0v
10030#		4;0	- jump scrolling
10031#		2;0	- 7 bit operations
10032#		1;0	- 7 bit (native) keyboard language
10033#	\E(0		- default character set (the keyboard native language)
10034#
10035d410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode, 
10036	km@, 
10037	enacs=\E)6, is2=\E[3;2;2;0;1;0v\E(0\017, rmacs=^O, 
10038	rs2=\E[4;0;2;0;1;0v\E(0, 
10039	sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;, 
10040	sgr0=\E[m\017, smacs=^N, 
10041	use=dgkeys+7b, use=d410, 
10042
10043d410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode, 
10044	km, 
10045	enacs@, rmacs=\036FS00, 
10046	sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;, 
10047	sgr0=\017\025\035\036E\036FS00, smacs=\036FS11, 
10048	use=d400-dg, 
10049
10050# DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
10051#
10052# Initialization string 1 sets:
10053#	\E[<0;<1;<2;<4l
10054#		<0	- scrolling enabled
10055#		<1	- blink enabled
10056#		<2	- horizontal scrolling enabled (for alignment)
10057#		<4	- print characters regardless of attributes
10058#	\E[5;1v		- compressed (135 column) mode
10059#	\E[1;1;126	- margins at columns 1 and 126
10060#	\E[1;6;<2h
10061#		1	- print all characters even if protected
10062#		6	- character protection disabled
10063#		<2	- horizontal scrolling disabled
10064#	- (should reset scrolling regions, but that glitches the screen)
10065#
10066# Reset string 1 sets:
10067#	\Ec		- initial mode defaults (RIS)
10068#	\E[5;1v		- compressed (135 column) mode
10069#	\E[1;1;126w	- margins at columns 1 and 126
10070#	\E[<2h		- horizontal scrolling disabled
10071#
10072d410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode, 
10073	cols#126, 
10074	is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h, 
10075	rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, 
10076	use=d410, 
10077
10078d410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode, 
10079	cols#126, 
10080	is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h, 
10081	rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, 
10082	use=d410-7b, 
10083
10084d412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode, 
10085	use=d410-dg, 
10086
10087# These add intelligent features like scrolling regions.
10088d412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode, 
10089	civis=\036FQ0, clear=^^FE, cnorm=\036FQ5, 
10090	cup=\036FP%p2%2.2X%p1%2.2X, dch1=^^K, dl1=^^FI, 
10091	home=^^FG, hpa=\036FP%p1%2.2XFF, ich1=^^J, il1=^^FH, 
10092	is2=\036FQ5\036FW\036FJ\036F\^\036FX004F\036O\036FS00, 
10093	ll=\036FG\036PA, mc0=^A, rc=\036F}11, ri=^^I, 
10094	rs1=\036FA\036FT0, rs2=\036P@1, sc=\036F}10, 
10095	vpa=\036FPFF%p1%2.2X, 
10096	wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X, use=d216+, 
10097d412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode, 
10098	cols#132, 
10099	is2=\036FQ5\036FW\036FK\036F\^\036FX0083\036O\036FS00, 
10100	rs2=\036P@1\036FK\036FX0083, 
10101	wind=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X, use=d412-unix, 
10102d412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines, 
10103	lines#25, 
10104	is3=\036Fz2, 
10105	wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X, use=d462+, 
10106d412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line, 
10107	eslok, hs, 
10108	clear=\036FG\036PH, fsl=\036F}01\022, 
10109	is3=\036Fz2\036F}00\036FB180000\036F}01, ll@, 
10110	tsl=\036F}00\036FP%p1%2.2X18\036PG, 
10111	wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X, use=d462+, 
10112
10113#	Relative cursor motions are confined to the current window,
10114#	which is not what the scrolling region specification expects.
10115#	Thus, relative vertical cursor positioning must be deleted.
10116d412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region, 
10117	csr=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;, 
10118	cud1@, cuu1@, ll@, 
10119	use=d462+, 
10120
10121d413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode, 
10122	use=d412-unix, 
10123d413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode, 
10124	use=d412-unix-w, 
10125d413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines, 
10126	use=d412-unix-25, 
10127d413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line, 
10128	use=d412-unix-s, 
10129d413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region, 
10130	use=d412-unix-sr, 
10131
10132d414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode, 
10133	use=d413-unix, 
10134d414-unix-w|d464-unix-w|Data General D414/D464 in wide DG-UNIX mode, 
10135	use=d413-unix-w, 
10136d414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines, 
10137	use=d413-unix-25, 
10138d414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line, 
10139	use=d413-unix-s, 
10140d414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region, 
10141	use=d413-unix-sr, 
10142
10143d430c-dg|d430-dg|Data General D430C in DG mode, 
10144	use=d413-dg, use=dg+fixed, 
10145d430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors, 
10146	use=d413-dg, use=dg+ccc, 
10147
10148d430c-unix|d430-unix|Data General D430C in DG-UNIX mode, 
10149	use=d413-unix, use=dgunix+fixed, 
10150d430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode, 
10151	use=d413-unix-w, use=dgunix+fixed, 
10152d430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines, 
10153	use=d413-unix-25, use=dgunix+fixed, 
10154d430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line, 
10155	use=d413-unix-s, use=dgunix+fixed, 
10156d430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region, 
10157	use=d413-unix-sr, use=dgunix+fixed, 
10158d430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors, 
10159	use=d413-unix, use=dgunix+ccc, 
10160d430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors, 
10161	use=d413-unix-w, use=dgunix+ccc, 
10162d430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors, 
10163	use=d413-unix-25, use=dgunix+ccc, 
10164d430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors, 
10165	use=d413-unix-s, use=dgunix+ccc, 
10166d430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors, 
10167	use=d413-unix-sr, use=dgunix+ccc, 
10168
10169# DASHER D470C color terminal in ANSI mode.
10170# Like the D460 but with 16 colors and without a compressed mode.
10171#
10172# Initialization string 1 sets:
10173#	\E[<0;<1;<2;<4l
10174#		<0	- scrolling enabled
10175#		<1	- blink enabled
10176#		<2	- horizontal scrolling enabled (for alignment)
10177#		<4	- print characters regardless of attributes
10178#	\E[1;1;80w	- margins at columns 1 and 80
10179#	\E[1;6;<2h
10180#		1	- print all characters even if protected
10181#		6	- character protection disabled
10182#		<2	- horizontal scrolling disabled
10183#	- (should reset scrolling regions, but that glitches the screen)
10184#
10185d470c|d470|Data General DASHER D470C, 
10186	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, 
10187	sgr=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;, 
10188	use=dg+color, use=d460, 
10189
10190d470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode, 
10191	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, 
10192	sgr=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm%?%p9%t\016%e\017%;, 
10193	use=dg+color, use=d460-7b, 
10194
10195# Initialization string 2 sets:
10196#	^^FQ2		- default cursor (solid rectangle)
10197#	^^FW		- character protection disabled
10198#	^^F\^		- horizontal scrolling enabled (for alignment)
10199#	^^FX004?	- margins at columns 0 and 79
10200#	^^F]		- horizontal scrolling disabled
10201#	^^O		- primary character set
10202#	^^FS00		- default character set (the keyboard native language)
10203#	- (should reset scrolling regions, but that glitches the screen)
10204#
10205d470c-dg|d470-dg|Data General DASHER D470C in DG mode, 
10206	is2=\036FQ2\036FW\036F\^\036FX004?\036F]\036O\036FS00, 
10207	use=dgmode+color, use=d460-dg, 
10208
10209# DASHER D555 terminal in ANSI mode.
10210# Like a D411, but has an integrated phone.
10211d555|Data General DASHER D555, 
10212	use=d411, 
10213d555-7b|Data General DASHER D555 in 7-bit mode, 
10214	use=d411-7b, 
10215d555-w|Data General DASHER D555 in wide mode, 
10216	use=d411-w, 
10217d555-7b-w|Data General DASHER D555 in wide 7-bit mode, 
10218	use=d411-7b-w, 
10219d555-dg|Data General DASHER D555 series in DG mode, 
10220	use=d411-dg, 
10221
10222# DASHER D577 terminal in ANSI mode.
10223# Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
10224d577|Data General DASHER D577, 
10225	use=d411, 
10226d577-7b|Data General DASHER D577 in 7-bit mode, 
10227	use=d411-7b, 
10228d577-w|Data General DASHER D577 in wide mode, 
10229	use=d411-w, 
10230d577-7b-w|Data General DASHER D577 in wide 7-bit mode, 
10231	use=d411-7b-w, 
10232
10233d577-dg|d578-dg|Data General DASHER D577/D578 series in DG mode, 
10234	use=d411-dg, 
10235
10236# DASHER D578 terminal.
10237# Like a D577, but without compressed mode; like a D470C in this respect.
10238#
10239# Initialization string 1 sets:
10240#	\E[<0;<1;<2;<4l
10241#		<0	- scrolling enabled
10242#		<1	- blink enabled
10243#		<2	- horizontal scrolling enabled (for alignment)
10244#		<4	- print characters regardless of attributes
10245#	\E[1;1;80w	- margins at columns 1 and 80
10246#	\E[1;6;<2h
10247#		1	- print all characters even if protected
10248#		6	- character protection disabled
10249#		<2	- horizontal scrolling disabled
10250#	- (should reset scrolling regions, but that glitches the screen)
10251#
10252d578|Data General DASHER D578, 
10253	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577, 
10254d578-7b|Data General DASHER D578 in 7-bit mode, 
10255	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, 
10256	use=d577-7b, 
10257
10258#### Datamedia (dm)
10259#
10260# Datamedia was headquartered in Nashua, New Hampshire in 1993.
10261# As of early 1996, at least one company called `Datamedia' has been taken
10262# over by:
10263#
10264#    Axent Technologies, Inc.
10265#    2400 Research Boulevard
10266#    Rockville, Maryland 20850
10267#    voice: +1 301/258-5043
10268#      fax: +1 301/330-5756
10269#    email: <info@axent.com>
10270#
10271# makers of OmniGuard client/server security software.  They are a software
10272# only company and no longer make terminals.  However, the operator there
10273# told me that she had once spoken to a customer looking for Datamedia
10274# terminals who'd mentioned a Datamedia in New Jersey.  This is backed up
10275# by comp.terminals posting describing the ID plate on the back of a
10276# "Datamedia 3000" terminal.  Was this an earlier incarnation of Axent?
10277# Inquiring minds want to know...
10278#
10279
10280cs10|colorscan|Datamedia Color Scan 10, 
10281	msgr, 
10282	cols#80, lines#24, 
10283	bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
10284	cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
10285	ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
10286	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m, 
10287	sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
10288cs10-w|Datamedia Color Scan 10 with 132 columns, 
10289	cols#132, 
10290	cup=\E[%i%p1%02d;%p2%03dH, use=cs10, 
10291
10292# (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
10293dm1520|dm1521|datamedia 1520, 
10294	am, xenl, 
10295	cols#80, it#8, lines#24, 
10296	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
10297	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
10298	home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
10299	khome=^Y, 
10300# dm2500: this terminal has both <ich> and <smir>. Applications using 
10301# termcap/terminfo directly (rather than through ncurses) might be confused.
10302dm2500|datamedia2500|datamedia 2500, 
10303	cols#80, lines#24, 
10304	bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\, 
10305	cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z, 
10306	dch1=\020\010\030\035$<10*>, 
10307	dl1=\020\032\030\035$<10*>, el=^W, home=^B, 
10308	ich1=\020\034\030\035$<10*>, 
10309	il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377, 
10310	rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^], 
10311	smdc=^P, smir=^P, smso=^N, 
10312# dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
10313# also, has a meta-key.
10314# From: <goldberger@su-csli.arpa>
10315# (dmchat: ":MT:" changed to ":km:" -- esr)
10316dmchat|dmchat version of datamedia 2500, 
10317	km, 
10318	dl1=\020\032\030\035$<2/>, 
10319	il1=\020\n\030\035\030\035$<1*/>, use=dm2500, 
10320# (dm3025: ":MT:" changed to ":km:" -- esr)
10321dm3025|datamedia 3025a, 
10322	km, 
10323	cols#80, it#8, lines#24, 
10324	bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
10325	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
10326	dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK, 
10327	home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>, 
10328	is2=\EQ\EU\EV, rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP, 
10329	smir=\EP, smso=\EO1, 
10330dm3045|datamedia 3045a, 
10331	am, eo, km@, ul, xenl, 
10332	dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, kcuu1=\EA, 
10333	kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, 
10334	kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r, 
10335	khome=\EH, pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@, 
10336	use=dm3025, 
10337# Datamedia DT80 soft switches:
10338# 1	0=Jump  1=Smooth
10339# 	Autorepeat 	0=off  1=on
10340# 	Screen		0=Dark 1=light
10341# 	Cursor		0=u/l  1=block
10342# 
10343# 2	Margin Bell	0=off  1=on
10344# 	Keyclick	0=off  1=on
10345# 	Ansi/VT52	0=VT52 1=Ansi
10346# 	Xon/Xoff	0=Off  1=On
10347# 
10348# 3	Shift3		0=Hash 1=UK Pound
10349# 	Wrap		0=Off  1=On
10350# 	Newline		0=Off  1=On
10351# 	Interlace	0=Off  1=On
10352# 	
10353# 4	Parity		0=Odd  1=Even
10354# 	Parity		0=Off  1=On
10355# 	Bits/Char	0=7    1=8
10356# 	Power		0=60Hz 1=50Hz
10357# 
10358# 5	Line Interface  0=EIA  1=Loop
10359# 	Aux Interface   0=EIA  1=Loop
10360# 	Local Copy    	0=Off  1=On	
10361# 	Spare
10362# 
10363# 6	Aux Parity	0=Odd  1=Even
10364# 	Aux Parity	0=Off  1=On
10365# 	Aux Bits/Char   0=7    1=8
10366# 	CRT Saver	0=Off  1=On
10367# dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
10368dm80|dmdt80|dt80|datamedia dt80/1, 
10369	clear=\E[2J\E[H, cud1=^J, cuf1=\E[C, 
10370	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
10371	home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM, 
10372	rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
10373	use=vt100, 
10374# except in 132 column mode, where it needs a little padding.
10375# This is still less padding than the vt100, and you can always turn on
10376# the ^S/^Q handshaking, so you can use vt100 flavors for things like
10377# reverse video.
10378dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode, 
10379	cols#132, 
10380	clear=\E[H\E[2J$<50/>, cud1=^J, 
10381	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>, 
10382	ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80, 
10383# From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
10384dt80-sas|Datamedia DT803/DTX for SAS usage, 
10385	am, bw, 
10386	cols#80, lines#24, 
10387	acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
10388	bel=^G, clear=^L, cr=^M, 
10389	csr=\E=%p1%{32}%+%c%{32}%c\E#1\E=%p2%{32}%+%c%{32}%c\E#2, 
10390	cub1=^H, cud1=\EB, cuf1=^\, 
10391	cup=\E=%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, dl1=\EM, ed=^K, 
10392	el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB, 
10393	is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J, 
10394	kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N, 
10395	rev=\E$2\004, ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF, 
10396	smso=\E$2\004, tbc=\E'0, 
10397
10398# Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
10399# These aren't end-all Excel termcaps; but do insert/delete char/line
10400# and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
10401# The naming convention has been bent somewhat, with the use of E? (where
10402# E is for 'Excel') as # a name.  This was done to distinguish the entries
10403# from the other Datamedias in use here, and yet to associate a model of
10404# the Excel terminals with the regular datamedia terminals that share
10405# major characteristics.
10406excel62|excel64|datamedia Excel 62, 
10407	dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv, 
10408	kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h, 
10409	use=dt80, 
10410excel62-w|excel64-w|datamedia Excel 62 in 132 char mode, 
10411	dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv, 
10412	kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h, 
10413	use=dt80w, 
10414excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode, 
10415	dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J, 
10416	kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, 
10417	smir=\E[4h, 
10418	use=dt80, 
10419
10420#### Falco
10421#
10422#	Falco Data Products
10423#	440 Potrero Avenue
10424#	Sunnyvale, CA 940864-196
10425#	Vox: (800)-325-2648
10426#	Fax: (408)-745-7860
10427#	Net: techsup@charm.sys.falco.com
10428#
10429# Current Falco models as of 1995 are generally ANSI-compatible and support
10430# emulations of DEC VT-series, Wyse, and Televideo types.
10431#
10432
10433# Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
10434# This terminal was released around 1983 and was discontinued long ago.
10435# The standout and underline highlights are the same.
10436falco|ts1|ts-1|falco ts-1, 
10437	am, 
10438	cols#80, it#8, lines#24, 
10439	bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
10440	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
10441	dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE, 
10442	ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
10443	kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, 
10444	smir=\Eq, smso=\Eg1, smul=\Eg1, 
10445falco-p|ts1p|ts-1p|falco ts-1 with paging option, 
10446	am, da, db, mir, msgr, ul, 
10447	cols#80, it#8, lines#24, 
10448	bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B, 
10449	cuf1=\E[C, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A, 
10450	dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I, 
10451	il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B, 
10452	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b, rmir=\Er, 
10453	rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d, smir=\Eq, 
10454	smso=\Eg4, smul=\Eg1, 
10455# (ts100: I added <rmam>/<smam> based on the init string -- esr)
10456ts100|ts100-sp|falco ts100-sp, 
10457	am, mir, msgr, xenl, xon, 
10458	cols#80, it#8, lines#24, vt#3, 
10459	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
10460	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
10461	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
10462	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
10463	cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
10464	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
10465	cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>, 
10466	el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, 
10467	ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea, 
10468	ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, 
10469	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, 
10470	kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
10471	kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
10472	rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
10473	rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
10474	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
10475	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
10476	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
10477	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
10478ts100-ctxt|falco ts-100 saving context, 
10479	rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100, 
10480
10481#### Florida Computer Graphics
10482#
10483
10484# Florida Computer Graphics Beacon System, using terminal emulator program
10485# "host.com", as provided by FCG.  This description is for an early release
10486# of the "host" program.  Known bug: <ed> clears the whole screen, so it's
10487# commented out.
10488
10489# From: David Bryant <cbosg!djb> 1/7/83
10490beacon|FCG Beacon System, 
10491	am, da, db, 
10492	cols#80, lines#32, 
10493	bel=\ESTART\r\E37\r\EEND\r$<1>, 
10494	blink=\ESTART\r\E61\,1\r\EEND\r, clear=\EZ$<10>, cr=^M, 
10495	cub1=^H, cud1=^J, cuf1=\EV, 
10496	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU, 
10497	dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, il1=\EE, 
10498	ind=^J, rev=\ESTART\r\E59\,1\r\EEND\r, rmcup=, 
10499	rmso=\ESTART\r\E70\,0\r\EEND\r$<20>, 
10500	rmul=\ESTART\r\E60\,0\r\EEND\r, 
10501	sgr0=\ESTART\r\E78\r\E70\,0\r\EEND\r$<20>, 
10502	smcup=\ESTART\r\E2\,0\r\E12\r\EEND\r$<10>, 
10503	smso=\ESTART\r\E70\,6\r\EEND\r$<20>, 
10504	smul=\ESTART\r\E60\,1\r\EEND\r, 
10505
10506#### Fluke
10507#
10508
10509# The f1720a differences from ANSI: no auto margin, destructive 
10510# tabs, # of lines, funny highlighting and underlining
10511f1720|f1720a|fluke 1720A, 
10512	xt, 
10513	cols#80, lines#16, xmc#1, 
10514	bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
10515	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, 
10516	el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, kcud1=^], 
10517	kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
10518	smso=\E[7m, smul=\E[4m, 
10519
10520#### Liberty Electronics (Freedom)
10521#
10522#	Liberty Electronics
10523#	48089 Fremont Blvd
10524#	Fremont CA 94538
10525#	Vox: (510)-623-6000
10526#	Fax: (510)-623-7021
10527
10528# From: <faletti@berkeley.edu>
10529# (f100: added empty <acsc> to suppress a tic warning;
10530# made this relative to adm+sgr -- note that <invis> isn't
10531# known to work for f100 but does on the f110. --esr)
10532f100|freedom|freedom100|freedom model 100, 
10533	am, bw, hs, mir, msgr, xon, 
10534	cols#80, lines#24, 
10535	acsc=, bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, 
10536	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
10537	dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
10538	flash=\Eb$<200>\Ed, fsl=^M, home=^^, hpa=\E]%p1%{32}%+%c, 
10539	ht=^I, hts=\E1, il1=\EE$<8.5*>, ind=^J, ip=$<6>, 
10540	is2=\Eg\Ef\r\Ed, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, 
10541	kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, 
10542	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
10543	kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, rmacs=\E$, rmir=\Er, 
10544	smacs=\E%, smir=\Eq, tbc=\E3, tsl=\Eg\Ef, 
10545	vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
10546f100-rv|freedom-rv|freedom 100 in reverse video, 
10547	flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100, 
10548# The f110 and f200 have problems with vi(1).  They use the ^V
10549# code for the down cursor key. When kcud1 is defined in terminfo
10550# as ^V, the Control Character Quoting capability (^V in insert mode)
10551# is lost! It cannot be remapped in vi because it is necessary to enter
10552# a ^V to to quote the ^V that is being remapped!!!
10553# 
10554# f110/f200 users will have to decide whether
10555# to lose the down cursor key or the quoting capability. We will opt
10556# initially for leaving the quoting capability out, since use of VI
10557# is not generally applicable to most interactive applications
10558# (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
10559f110|freedom110|Liberty Freedom 110, 
10560	bw@, eslok, 
10561	it#8, wsl#80, 
10562	blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V, 
10563	cvvis=\E.2, dim=\EG@, dl1=\ER, dsl=\Ef\r, 
10564	flash=\Eb$<200/>\Ed, il1=\EE, ip@, is2@, kclr=^^, kdch1=\EW, 
10565	kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf10@, kich1=\EQ, 
10566	kil1=\EE, mc4=\Ea, mc5=\E`, ri=\EJ, rmacs=\E%%, rmir=\Er\EO, 
10567	smacs=\E$, smir=\EO\Eq, smso=\EG<, tsl=\Ef, 
10568	use=f100, 
10569f110-14|Liberty Freedom 110 14inch, 
10570	dch1@, use=f110, 
10571f110-w|Liberty Freedom 110 - 132 cols, 
10572	cols#132, use=f110, 
10573f110-14w|Liberty Freedom 110 14in/132 cols, 
10574	cols#132, 
10575	dch1@, use=f110, 
10576# (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
10577f200|freedom200|Liberty Freedom 200, 
10578	am, eslok, hs, mir, msgr, xon, 
10579	cols#80, it#8, lines#24, wsl#80, 
10580	acsc=, bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0, 
10581	clear=^Z, cnorm=\E.1, cr=^M, 
10582	csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V, 
10583	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
10584	cvvis=\E.1, dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, 
10585	el=\ET, flash=\Eo$<200/>\En, fsl=^M, home=^^, 
10586	hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H, 
10587	kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
10588	kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
10589	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
10590	kf8=^AG\r, kf9=^AH\r, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, 
10591	ri=\EJ, rmacs=\E%%, rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG<, 
10592	tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c, 
10593	use=adm+sgr, 
10594f200-w|Liberty Freedom 200 - 132 cols, 
10595	cols#132, use=f200, 
10596# The f200 has the ability to reprogram the down cursor key. The key is
10597# reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
10598# so powering the terminal off and on will not cause the change to be lost.
10599f200vi|Liberty Freedom 200 for vi, 
10600	flash=\Eb$<200/>\Ed, kcud1=^J, use=f200, 
10601f200vi-w|Liberty Freedom 200 - 132 cols for vi, 
10602	cols#132, use=f200vi, 
10603
10604#### GraphOn (go)
10605#
10606#	Graphon Corporation
10607#	544 Division Street
10608#	Campbell, CA 95008
10609#	Vox: (408)-370-4080
10610#	Fax: (408)-370-5047
10611#	Net: troy@graphon.com (Troy Morrison)
10612#
10613#
10614# The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
10615# including one odd hybrid that starts out life on power-up as a character
10616# terminal, than can be switched to X graphics mode (driven over the serial
10617# line) by an escape sequence.  No info on this beast yet.
10618# (go140: I added <rmam>/<smam> based on the init string -- esr)
10619go140|graphon go-140, 
10620	cols#80, it#8, lines#24, 
10621	clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C, 
10622	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
10623	ed=\E[J$<10/>, el=\E[K, ht=^I, 
10624	if=/usr/share/tabset/vt100, il1=\E[L, 
10625	is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q, 
10626	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
10627	kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM, 
10628	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
10629	rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
10630	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
10631go140w|graphon go-140 in 132 column mode, 
10632	am, 
10633	cols#132, 
10634	is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q, use=go140, 
10635# Hacked up vt200 termcap to handle GO-225/VT220
10636# From: <edm@nwnexus.WA.COM>
10637# (go225: I added <rmam>/<smam> based on the init string -- esr)
10638go225|go-225|Graphon 225, 
10639	am, mir, xenl, 
10640	cols#80, it#8, lines#25, vt#3, 
10641	blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
10642	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
10643	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
10644	ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=\ED, 
10645	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H, 
10646	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
10647	kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m, 
10648	rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l, 
10649	rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>, 
10650	rmso=\E[27m, rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w, 
10651	sc=\E7, sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r, 
10652	smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
10653
10654#### Harris (Beehive)
10655#
10656# Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
10657# Their terminal group is ancient history now (1995) though the parent
10658# company is still in business.
10659#
10660
10661# Beehive documentation is undated and marked Preliminary and has no figures
10662# so we must have early Superbee2 (Model 600, according to phone conversation
10663# with mfr.). It has proved reliable except for some missing padding
10664# (notably after \EK and <nl> at bottom of screen).
10665# 
10666# The key idea is that AEP mode is poison for <cup> & that US's in 
10667# the local memory should be avoided like the plague. That means 
10668# that the 2048 character local buffer is used as 25 lines of 80 
10669# characters, period. No scrolling local memory, folks. It also 
10670# appears that we cannot use naked INS LINE feature since it uses
10671# US. The sbi fakes <il1> with an 80-space insert that may be too 
10672# slow at low speeds; also spaces get converted to \040 which is 
10673# too long for some programs (not vi).  DEL LINE is ok but slow.
10674# 
10675# The <nl> string is designed for last line of screen ONLY; cup to 
10676# 25th line corrects the motion inherent in scrolling to Page 1.
10677# 
10678# There is one understood bug. It is that the screen appears to
10679# pop to a new (blank) page after a <nel>, or leave a half-line 
10680# ellipsis to a quad that is the extra 48 memory locations. The 
10681# data received is dumped into memory but not displayed.  Not to 
10682# worry if <cup> is being used; the lines not displayed will be, 
10683# whenever the cursor is moved up there. Since <cup> is addressed 
10684# relative to MEMORY of window, nothing is lost; but beware of 
10685# relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
10686# therefore, is setenv MORE -c .
10687# 
10688# WARNING: Not all features tested.
10689# 
10690# Timings are assembled from 3 sources. Some timings may reflect 
10691# SB2/Model 300 that were used if more conservative.
10692# Tested on a Model 600 at 1200 and 9600 bd.
10693# 
10694# The BACKSPACEkb option is cute. The NEWLINE key, so cleverly 
10695# placed on the keyboard and useless because of AEP, is made 
10696# into a backspace key. In use ESC must be pressed twice (to send)
10697# and sending ^C must be prefixed by ESC to avoid that weird 
10698# transmit mode associated with ENTER key.
10699# 
10700# IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across 
10701# the screen, then it has dropped into ENTER mode; hit 
10702# RESET--ONLINE--!tset.
10703# 
10704# As delivered this machine has a FATAL feature that will throw 
10705# it into that strange transmit state (SPOW) if the space bar is 
10706# hit after a CR is received, but before receiving a LF (or a 
10707# few others).
10708# 
10709# The circuits MUST be modified to eliminate the SPOW latch. 
10710# This is done by strapping on chip A46 of the I/O board; cut 
10711# the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that 
10712# chip. This mod has been checked out on a Mod 600 of Superbee II.
10713# With this modification absurdly high timings on cr are 
10714# unnecessary.
10715# 
10716# NOTE WELL that the rear panel switch should be set to CR/LF, 
10717# not AEP!
10718#
10719sb1|beehive superbee, 
10720	am, bw, da, db, mir, ul, xsb, 
10721	cols#80, lines#25, xmc#1, 
10722	bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r, 
10723	cub1=^H, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d, 
10724	cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, 
10725	el=\EK$<3>, home=\EH$<1>, ht=^I, hts=\E1, 
10726	il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>, 
10727	ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED, 
10728	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK, 
10729	kf0=\E2, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, 
10730	kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO, 
10731	krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmcup=, rmir=\ER, 
10732	rmso=\E_3, rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO, 
10733	smso=\E_1, smul=\E_0, tbc=\E3, 
10734sbi|superbee|beehive superbee at Indiana U., 
10735	xsb, 
10736	cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA, use=sb1, 
10737# Alternate (older) description of Superbee - f1=escape, f2=^C.
10738# Note: there are at least 3 kinds of superbees in the world.  The sb1
10739# holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
10740# The sb3 puts garbage on the bottom of the screen when you scroll with
10741# the switch in the back set to CRLF instead of AEP.  This description
10742# is tested on the sb2 but should work on all with either switch setting.
10743# The f1/f2 business is for the sb1 and the <xsb> can be taken out for
10744# the other two if you want to try to hit that tiny escape key.
10745# This description is tricky: being able to use cup depends on there being
10746# 2048 bytes of memory and the hairy <nl> string.
10747superbee-xsb|beehive super bee, 
10748	am, da, db, xsb, 
10749	cols#80, it#8, lines#25, 
10750	clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, cud1=^J, 
10751	cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>, 
10752	dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>, 
10753	home=\EH, ht=^I, hts=\E1, 
10754	ind=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET, is2=\EH\EJ, 
10755	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ep, kf2=\Eq, 
10756	kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
10757	khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3, 
10758# This loses on lines > 80 chars long, use at your own risk
10759superbeeic|super bee with insert char, 
10760	ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb, 
10761sb2|sb3|fixed superbee, 
10762	xsb@, use=superbee, 
10763
10764# Reports are that most of these Beehive entries (except superbee) have not
10765# been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
10766
10767# (bee: <ich1> was empty, which is obviously bogus -- esr)
10768beehive|bee|harris beehive, 
10769	am, mir, 
10770	cols#80, lines#24, 
10771	cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
10772	cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
10773	dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H, kcbt=\E>, 
10774	kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
10775	kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL, 
10776	krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@, 
10777	smir=\EQ, smso=\EdP, smul=\Ed`, 
10778# set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
10779# good grief - does this entry make :sg:/:ug: when it doesn't have to?
10780# look at those spaces in <rmso>/<smso>.  Seems strange to me...
10781# (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
10782# really care, cook up one using ^F -- esr)
10783beehive3|bh3m|beehiveIIIm|harris beehive 3m, 
10784	am, 
10785	cols#80, it#8, lines#20, 
10786	bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K, 
10787	dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F, 
10788	il1=\023$<160>, ind=^J, ll=^E^K, rmso=\s^_, smso=^]\s, 
10789beehive4|bh4|beehive 4, 
10790	am, 
10791	cols#80, lines#24, 
10792	bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
10793	cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ind=^J, 
10794microb|microbee|micro bee series, 
10795	am, 
10796	cols#80, it#8, lines#24, 
10797	bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
10798	cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
10799	el=\EK, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
10800	kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
10801	kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@, 
10802	rmul=\Ed@, sgr0=\Ed@, smso=\s\EdP, smul=\Ed`, 
10803
10804# 8675, 8686, and bee from Cyrus Rahman
10805# (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
10806ha8675|harris 8675, 
10807	is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F, 
10808	kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, kf15=\Ei, 
10809	kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, kf6=^T, kf7=^H, 
10810	kf8=\177, kf9=\Ee, 
10811	use=bee, 
10812# (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
10813# in :is: -- esr)
10814ha8686|harris 8686, 
10815	is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU\E"*Z01\E"8F35021B7C83#\E"8F45021B7D83#\E"8F55021B7E83#\E"8F65021B7F83#\E"8F75021B7383#\E"8F851BD7#\E"8F95021B7083#\E"8FA5021B7183#\E"8FB5021B7283#, 
10816	kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, kf12=\002\E{\003, 
10817	kf13=\002\E|\003, kf14=\002\E}\003, kf15=\002\E~\003, 
10818	kf16=\002\E\177\003, kf2=\002\Eq\003, kf3=\002\Er\003, 
10819	kf4=\002\Es\003, kf5=\E3, kf6=\EI, kf7=\ER, kf8=\EJ, kf9=\E(, 
10820	use=bee, 
10821
10822#### Hazeltine
10823#
10824# Hazeltine appears to be out of the terminal business as of 1995.  These
10825# guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
10826# Harris. They have a hazeltine.com domain (but no web page there ) and can
10827# be reached at:
10828#
10829#	Hazeltine
10830#	450 East Pulaski Road
10831#	Greenlawn, New York 11740
10832#
10833# As late as 1993, manuals for the terminal product line could still be
10834# purchased from:
10835#
10836#	TRW Customer Service Division
10837#	15 Law Drive
10838#	P.O. Box 2076
10839#	Fairfield, NJ 07007-2078
10840#
10841# They're now (1998) a subsidiary of General Electric, operating under the
10842# marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
10843# at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
10844#
10845
10846# Since <cuf1> is blank, when you want to erase something you
10847# are out of luck.  You will have to do ^L's a lot to
10848# redraw the screen.  h1000 is untested.  It doesn't work in
10849# vi - this terminal is too dumb for even vi.  (The code is
10850# there but it isn't debugged for this case.)
10851hz1000|hazeltine 1000, 
10852	cols#80, lines#12, 
10853	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, home=^K, 
10854	ind=^J, 
10855# From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
10856hz1420|hazeltine 1420, 
10857	am, 
10858	cols#80, lines#24, 
10859	bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P, 
10860	cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S, 
10861	ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y, 
10862	smso=\E^_, 
10863# New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
10864# freakout with out-of-range args and tn3270.  No hz since it needs to
10865# receive tildes.
10866hz1500|hazeltine 1500, 
10867	am, hz, 
10868	cols#80, lines#24, 
10869	bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
10870	cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%{96}%+%c%p1%{96}%+%c, 
10871	cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R, 
10872	il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P, 
10873	kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_, 
10874# h1510 assumed to be in sane escape mode.  Else use h1500.
10875# (h1510: early versions of this entry apparently had "<rmso=\E^_>, 
10876# <smso=\E^Y>, but these caps were commented out in 8.3; also,
10877# removed incorrect and overridden ":do=^J:" -- esr)
10878hz1510|hazeltine 1510, 
10879	am, 
10880	cols#80, lines#24, 
10881	bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P, 
10882	cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X, 
10883	el=\E^O, il1=\E^Z, ind=^J, 
10884# Hazeltine 1520
10885# The following switch settings are assumed for normal operation:
10886#	FULL		CR		U/L_CASE	ESCAPE
10887#	FORMAT_OFF	EOM_A_OFF	EOM_B_OFF	WRAPAROUND_ON
10888# Other switches may be set for operator convenience or communication
10889# requirements.
10890hz1520|Hazeltine 1520, 
10891	am, bw, msgr, 
10892	cols#80, lines#24, 
10893	bel=^G, bold=\E^_, clear=\E^\, cr=^M, cub1=^H, cud1=^J, 
10894	cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
10895	ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, kbs=^H, 
10896	kclr=\E^\, kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, 
10897	kdl1=\E^S, ked=\E^X, kel=\E^O, khome=\E^R, kil1=\E^Z, 
10898	rmso=\E^Y, rs1=\E$\E\005\E?\E\031, sgr0=\E^Y, smso=\E^_, 
10899# This version works with the escape switch off
10900# (h1520: removed incorrect and overridden ":do=^J:" -- esr)
10901hz1520-noesc|hazeltine 1520, 
10902	am, hz, 
10903	cols#80, lines#24, 
10904	bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
10905	cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X, el=~^O, 
10906	home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_, 
10907# Note: the h1552 appears to be the first Hazeltine terminal which
10908# is not braindamaged.  It has tildes and backprimes and everything!
10909# Be sure the auto lf/cr switch is set to cr.
10910hz1552|hazeltine 1552, 
10911	cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, kf3=\ER, lf1=blue, 
10912	lf2=red, lf3=green, 
10913	use=vt52, 
10914hz1552-rv|hazeltine 1552 reverse video, 
10915	cud1=^J, rmso=\ET, smso=\ES, use=hz1552, 
10916# Note: h2000 won't work well because of a clash between upper case and ~'s.
10917hz2000|hazeltine 2000, 
10918	am, 
10919	cols#74, lines#27, 
10920	bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J, 
10921	cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R, 
10922	il1=~\032$<6>, ind=^J, pad=\177, 
10923# Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
10924# I tested this termcap entry for the Hazeltine Esprit with vi. It seems
10925# to work ok. There is one problem though if one types a lot of garbage
10926# characters very fast vi seems not able to keep up and hangs while trying
10927# to insert. That's in insert mode while trying to insert in the middle of
10928# a line. It might be because the Esprit doesn't have insert char and delete
10929# char as a built in function. Vi has to delete to end of line and then 
10930# redraw the rest of the line.
10931esprit|Hazeltine Esprit I, 
10932	am, bw, 
10933	cols#80, lines#24, 
10934	bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, 
10935	cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
10936	ed=\E^W, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, is2=\E?, kbs=^H, 
10937	kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J, 
10938	kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, kf5=^B5^J, 
10939	kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, kf9=^B9^J, khome=\E^R, 
10940	lf0=0, lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9, 
10941	rmkx=\E>, rmso=\E^Y, smkx=\E<, smso=\E^_, 
10942esprit-am|hazeltine esprit auto-margin, 
10943	am, use=esprit, 
10944# Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
10945# Vi it seems always wants to send a control J for "do" and it turned out
10946# that the terminal would work somewhat if the auto LF/CR was turned off.
10947# (hmod1: removed :dn=~^K: -- esr)
10948hmod1|Hazeltine Modular 1, 
10949	am, hz, 
10950	cols#80, lines#24, 
10951	bel=^G, cbt=~^T, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
10952	cup=~\021%p2%c%p1%c, cuu1=~^L, dl1=~^S, home=~^R, il1=~^Z, 
10953	ind=^J, kcub1=^H, kcud1=~^K, kcuf1=^P, kcuu1=~^L, khome=~^R, 
10954	rc=~^Q, rmso=~^Y, sc=~^E, sgr0=~^Y, smso=~^_, 
10955#
10956# Hazeltine Executive 80 Model 30 (1554?)
10957#	from  Will Martin <control@ALMSA-1.ARPA> via BRL
10958# Like VT100, except for different "am" behavior.
10959hazel|exec80|h80|he80|Hazeltine Executive 80, 
10960	am, 
10961	cols#80, it#8, lines#24, vt#3, 
10962	bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
10963	clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
10964	cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
10965	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
10966	ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
10967	is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
10968	kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
10969	kf4=\EOS, rc=\E8, rev=\E[7m$<2/>, 
10970	rf=/usr/share/tabset/vt100, ri=\EM$<5/>, 
10971	rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
10972	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
10973	sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>, 
10974	smul=\E[4m$<2/>, 
10975
10976#### IBM
10977#
10978
10979ibm327x|line mode IBM 3270 style, 
10980	gn, 
10981	clear=^M^J, el=^M, home=^M, 
10982
10983ibm3101|i3101|IBM 3101-10, 
10984	am, xon, 
10985	cols#80, lines#24, 
10986	bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
10987	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
10988	el=\EI, home=\EH, hts=\E0, ind=^J, kcub1=\ED, kcud1=\EB, 
10989	kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\EH, 
10990ibm3151|IBM 3151 display, 
10991	is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B, 
10992	sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E>B%;, 
10993	sgr0=\E4@\E>B, smacs=\E>A, smcup=\E>B, 
10994	use=ibm3162, 
10995# From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992 
10996# I've commented out or translated some IBM extensions.
10997ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display, 
10998	am, mir, msgr, 
10999	cols#80, it#8, lines#24, 
11000	acsc=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370, 
11001	bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED, 
11002	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
11003	cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J, 
11004	invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1, 
11005	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ, 
11006	kdl1=\EO, ked=\EJ, kel=\EI, kend=\E2, kf1=\Ea\r, kf10=\Ej\r, 
11007	kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r, 
11008	kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r, 
11009	kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r, 
11010	kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r, 
11011	kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r, 
11012	kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN, 
11013	knp=\EI, kpp=\EL, ktbc=\E 1, mc4=^P^T, mc5=^P^R, rev=\E4A, 
11014	rmcup=\E>A, rmso=\E4@, rmul=\E4@, 
11015	sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E<@%;, 
11016	sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B, 
11017
11018ibm3161-C|IBM 3161-C NLS terminal using cartridge, 
11019	rmcup=\E>B, s0ds=\E>B, s1ds=\E>A, smcup=\E>B, 
11020	use=ibm3161, 
11021ibm3162|IBM 3162 display, 
11022	blink=\E4$a, bold=\E4(a, il1=\EN, invis=\E40a, rev=\E4!a, 
11023	rmso=\E4>b, rmul=\E4=b, sgr0=\E4@, smso=\E4!a, smul=\E4"a, 
11024	use=ibm3161-C, 
11025
11026ibm3164|i3164|IBM 3164, 
11027	msgr, 
11028	colors#8, pairs#64, 
11029	rmcup=\E!9(N\E>B, s0ds=\E>B, s1ds=\E>A, 
11030	setb=\E4  %p1%{64}%+%c, 
11031	setf=\E4%?%p1%t %p1%{32}%+%c%e!'%;@, 
11032	smcup=\E!9/N\E>B, use=ibm3161, 
11033
11034ibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display, 
11035	am, bw, msgr, xon, 
11036	cols#80, it#8, lines#25, 
11037	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
11038	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
11039	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
11040	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
11041	cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM, 
11042	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, 
11043	hpa=\E[%i%p1%dG, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
11044	indn=\E[%p1%dS, invis=\E[8m, is2=\Ec, kbs=^H, kcbt=\E[Z, 
11045	kclr=\E[144q, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
11046	kcuu1=\E[A, kdch1=\E[P, ked=\E[148q, kel=\E[142q, 
11047	kend=\E[146q, kf0=\E[010q, kf1=\E[001q, kf10=\E[010q, 
11048	kf11=\E[011q, kf12=\E[012q, kf13=\E[013q, kf14=\E[014q, 
11049	kf15=\E[015q, kf16=\E[016q, kf17=\E[017q, kf18=\E[018q, 
11050	kf19=\E[019q, kf2=\E[002q, kf20=\E[020q, kf21=\E[021q, 
11051	kf22=\E[022q, kf23=\E[023q, kf24=\E[024q, kf25=\E[025q, 
11052	kf26=\E[026q, kf27=\E[027q, kf28=\E[028q, kf29=\E[029q, 
11053	kf3=\E[003q, kf30=\E[030q, kf31=\E[031q, kf32=\E[032q, 
11054	kf33=\E[033q, kf34=\E[034q, kf35=\E[035q, kf36=\E[036q, 
11055	kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
11056	kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q, 
11057	kil1=\E[140q, kind=\E[151q, knp=\E[154q, kpp=\E[150q, 
11058	kri=\E[155q, krmir=\E[4l, rc=\E[u, rev=\E[7m, ri=\E[T, 
11059	rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m, rmul=\E[m, rs2=\Ec, 
11060	sc=\E[s, 
11061	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m, 
11062	sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
11063
11064ibmaed|IBM Experimental display, 
11065	am, eo, msgr, 
11066	cols#80, it#8, lines#52, 
11067	clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC, 
11068	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
11069	dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP, 
11070	il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
11071	rmso=\E0, sgr0=\E0, smso=\E0, 
11072ibm-apl|apl|IBM apl terminal simulator, 
11073	lines#25, use=dm1520, 
11074# (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.  
11075# Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
11076ibmmono|IBM workstation monochrome, 
11077	eslok, hs, 
11078	bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL, 
11079	invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET, 
11080	kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY, 
11081	khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG, 
11082	lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew, 
11083	sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo, use=ibm3101, 
11084ibmega|IBM Enhanced Color Display, 
11085	cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
11086	nel=^M^J, 
11087	use=ibmmono, 
11088ibm5154|IBM 5154 Color display, 
11089	colors#8, pairs#64, 
11090	bold@, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151, 
11091ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline, 
11092	rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;, 
11093	use=ibmmono, 
11094ibmvga-c|IBM VGA display color termcap, 
11095	cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
11096	nel=^M^J, 
11097	use=ibmega-c, 
11098ibmvga|IBM VGA display, 
11099	cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
11100	nel=^M^J, 
11101	use=ibmega, 
11102# ibmapa* and ibmmono entries come from ACIS 4.3 distribution
11103rtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display, 
11104	lines#32, 
11105	dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono, 
11106ibm6155|IBM 6155 Black & White display, 
11107	blink@, bold@, use=ibm5151, 
11108# Advanced Monochrome (6153) and Color (6154) Graphics Display:
11109ibmapa8c|ibmapa8|IBM 6154 Advanced Graphics Display, 
11110	lines#31, 
11111	dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono, 
11112ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display, 
11113	lines#31, 
11114	dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmega-c, 
11115ibm6154|IBM 6154 Color displays, 
11116	blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m, 
11117	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m, 
11118	sgr0=\E[0;10m, 
11119	use=ibm5154, 
11120ibm6153|IBM 6153 Black & White display, 
11121	blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m, 
11122	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m, 
11123	sgr0=\E[0;10m, 
11124	use=ibm5151, 
11125ibm6153-90|IBM 6153 Black & White display, 
11126	cols#90, lines#36, 
11127	blink@, bold@, use=ibm5151, 
11128ibm6153-40|IBM 6153 Black & White display, 
11129	cols#40, lines#12, use=ibm6153-90, 
11130ibm8512|ibm8513|IBM color VGA Terminal, 
11131	am, mir, msgr, 
11132	cols#80, it#8, lines#25, 
11133	acsc=jjkkllmmnnqqttuuvvwwxx, blink=\E[5m, bold=\E[1m, 
11134	clear=\E[H\E[2J, cub1=\E[D, cud1=^J, cuf1=\E[C, 
11135	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, 
11136	ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, il=\E[%p1%dL, 
11137	il1=\E[L, is2=\Eb\E[m\017\E[?7h, kcud1=\E[B, kcuu1=\E[A, 
11138	kf0=\E[010q, kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, 
11139	kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
11140	kf8=\E[008q, kf9=\E[009q, khome=\E[H, rc=\E[u, rev=\E[7m, 
11141	rmacs=^O, rmam=\E[?7l, rmcup=\E[20h, rmdc=\E[4l, 
11142	rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
11143	rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m, 
11144	smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb, 
11145	smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
11146	use=ibm8503, 
11147hft-c|HFT with Color, 
11148	colors#8, pairs#64, 
11149	acsc=jjkkllmmnnqqttuuvvwwxx, s0ds=\E(B, s1ds=\E(0, 
11150	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m\E(B, 
11151	use=ibm5151, 
11152hft-c-old|HFT with Color PC850, 
11153	colors#8, pairs#64, 
11154	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151, 
11155ibm-system1|system1|ibm system/1 computer, 
11156	am, xt, 
11157	cols#80, lines#24, 
11158	bel=^G, clear=^Z, cub1=^H, cuf1=^\, 
11159	cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K, 
11160	ind=^J, 
11161ibm5081|hft|IBM Megapel Color display, 
11162	acsc=jjkkllmmnnqqttuuvvwwxx, blink@, bold@, s0ds=\E(B, 
11163	s1ds=\E(0, sgr0=\E[0m\E(B, 
11164	use=ibm5154, 
11165ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display, 
11166	eslok, hs, 
11167	lines#33, 
11168	dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmega-c, 
11169ibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display, 
11170	use=hft-c, 
11171ibm8514|IBM 8514/a color VGA display, 
11172	eslok, hs, 
11173	dsl=\Ej\EYI \EI\Ek, fsl=\Ek, tsl=\Ej\EYI%+ \Eo, use=hft, 
11174ibm8514-c|IBM 8514 color display with standout and underline, 
11175	eslok, hs, 
11176	lines#41, 
11177	cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J, 
11178	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo, 
11179	use=ibmega-c, 
11180
11181#
11182# AIX entries.  IBM ships these with AIX 3.2.5. 
11183# AIX extension caps are commented out,
11184# except for box1 which has been translated to an <acsc> string.
11185#
11186aixterm|IBM Aixterm Terminal Eemulator, 
11187	eslok, hs, 
11188	acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E, 
11189	fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0, 
11190	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m, 
11191	sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, 
11192	use=ibm6154, 
11193aixterm-m|IBM AIXterm Monochrome Terminal Emulator, 
11194	eslok, hs, 
11195	acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E, 
11196	fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0, 
11197	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
11198	sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, 
11199	use=ibm6153, 
11200aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator, 
11201	eslok, hs, 
11202	bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@, 
11203	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
11204	tsl=\E[?%p1%dT, 
11205	use=ibm6153, 
11206jaixterm|IBM Kanji Aixterm Terminal Eemulator, 
11207	acsc@, use=aixterm, 
11208jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator, 
11209	acsc@, 
11210	use=aixterm-m, 
11211
11212#### Infoton/General Terminal Corp.
11213#
11214
11215# gt100 sounds like something DEC would come out with.  Let's hope they don't.
11216i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100), 
11217	am, 
11218	cols#80, lines#24, 
11219	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
11220	cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM, 
11221	ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL, 
11222	ind=^J, rmso=\Ea, smso=\Eb, 
11223i400|infoton 400, 
11224	am, 
11225	cols#80, lines#25, 
11226	bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
11227	cup=%i\E[%p1%3d;%p2%3dH, cuu1=\E[A, 
11228	dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N, 
11229	il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q, 
11230# (addrinfo: removed obsolete ":bc=^Z:" -- esr)
11231addrinfo, 
11232	am, 
11233	cols#80, lines#24, 
11234	bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, 
11235	cup=\037%p1%{1}%-%c%p2%{1}%-%c, cuu1=^\, ed=^K, home=^H, 
11236	ind=^J, ll=^H^\, 
11237# (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
11238infoton, 
11239	am, 
11240	cols#80, lines#24, 
11241	bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\, 
11242	ed=^K, ind=^J, ll=^H^\, 
11243
11244# The ICL6402 was actually the Kokusai Display System 6402.
11245# The 6404 was the KDS7372 (color version of the 6402).
11246# 
11247# ICL6404 control codes follow:
11248#
11249#code            function
11250#~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11251#ctrl-A          set SOM position at cursor position
11252#ctrl-G          Bell
11253#ctrl-H          Backspace
11254#ctrl-I          Horiz tab
11255#ctrl-J          Linefeed
11256#ctrl-K          Cursor up
11257#ctrl-L          Cursor right
11258#ctrl-M          Carriage return
11259#ctrl-N          Disable xon/xoff to host
11260#ctrl-O          Enable xon/xoff to host
11261#ctrl-R          Enable bidirectional mode
11262#ctrl-T          Disable bidirectional mode
11263#ctrl-V          Cursor down
11264#ctrl-Z          Clear unprotected data to insert char
11265#ctrl-^          Cursor home
11266#ctrl-_          Newline
11267#
11268#ESC             lead-in char for multiple character command
11269#
11270#ESC space R     execute power on sequence
11271#ESC ! p1 p2     define scroll region:
11272#                p1 = scroll top    line:  20h - 37h
11273#                p1 = scroll bottom line:  20h - 37h
11274#ESC "           unlock keyboard
11275#ESC #           lock keyboard
11276#ESC $           Semi-graphics mode on
11277#ESC %           Semi-graphics mode off
11278#ESC &           protect mode on
11279#ESC '           protect mode off
11280#ESC (           write protect mode off (full intensity)
11281#ESC )           write protect mode on (half intensity)
11282#
11283#ESC *           clear screen
11284#ESC +           clear unprotected data to insert char
11285#ESC ,           clear unprotected data to half intensity spaces
11286#ESC - p1 p2 p3 p4     address cursor to page, row, column:
11287#                      p1 = page number  0 - 3
11288#                      p2 = row          20h - 7fh
11289#                      p3 = column (lo)  20h - 7fh
11290#                      p4 = column (hi)  20h - 21h (only 132 col)
11291#ESC . p1        set cursor style:
11292#                p1 = 0  invisible cursor
11293#                p1 = 1  block blinking cursor
11294#                p1 = 2  block steady cursor
11295#                p1 = 3  underline blinking cursor
11296#                p1 = 4  underline steady cursor
11297#ESC /           transmit cursor location (page, row, column)
11298#ESC 0 p1 p2 p3 p4     program edit key:
11299#                      p1 = edit key code: '@'-'S', '`'-'s'
11300#                      p2 p3 p4 = program data (3 bytes)
11301#
11302#ESC 1           set tab
11303#ESC 2           clear tab at cursor
11304#ESC 3           clear all tabs
11305#ESC 4           send unprotect line to cursor
11306#ESC 5           send unprotect page to cursor
11307#ESC 6           send line to cursor
11308#ESC 7           send page to cursor
11309#ESC 8 n         set scroll mode:
11310#                n = 0   set jump scroll
11311#                n = 1   set smooth scroll
11312#ESC 9 n         control display:
11313#                n = 0   display off
11314#                n = 1   display on
11315#ESC :           clear unprotected data to null
11316#ESC ;           clear unprotected data to insert char
11317#
11318#ESC <           keyclick on
11319#ESC = p1 p2     address cursor to row, column
11320#                p1 = row          20h - 7fh
11321#                p2 = column (lo)  20h - 7fh
11322#                p3 = column (hi)  20h - 21h (only 132 col)
11323#ESC >           keyclick off
11324#ESC ?           transmit cursor location (row, column)
11325#
11326#ESC @           copy print mode on
11327#ESC A           copy print mode off
11328#ESC B           block mode on
11329#ESC C           block mode off (conversation mode)
11330#ESC D F         set full duplex
11331#ESC D H         set half duplex
11332#ESC E           line insert
11333#ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
11334#                0 = black, 1 = red,     2 = green, 3 = yellow
11335#                4 = blue,  5 = magenta, 6 = cyan,  7 = white
11336#ESC G n         set serial field attribute (n = 30h - 3Fh)
11337#ESC H n         full graphics mode:
11338#                n = 0  exit full graphics mode
11339#                n = 1  enter full graphics mode
11340#ESC I           back tab
11341#ESC J           back page
11342#ESC K           forward page
11343#
11344#ESC L           unformatted page print
11345#ESC M L         move window left  (132 col mode only)
11346#ESC M R         move window right (132 col mode only)
11347#ESC N           set page edit (clear line edit)
11348#ESC O           set line edit (clear page edit)
11349#ESC P           formatted page print
11350#ESC Q           character insert
11351#ESC R           line delete
11352#ESC S           send message unprotected only
11353#ESC T           erase line to insert char
11354#ESC U           set monitor mode   (see ESC X, ESC u)
11355#
11356#ESC V n         select video attribute mode:
11357#                n = 0   serial field attribute mode
11358#                n = 1   parallel character attribute mode
11359#ESC V 2 n       define line attribute:
11360#                n = 0   single width single height
11361#                n = 1   single width double height
11362#                n = 2   double width single height
11363#                n = 3   double width double height
11364#ESC V 3 n       select character font:
11365#                n = 0   system font
11366#                n = 1   user defined font
11367#ESC V 4 n       select screen mode:
11368#                n = 0   page screen mode
11369#                n = 1   virtual screen mode
11370#ESC V 5 n       control mouse mode:
11371#                n = 0   disable mouse
11372#                n = 1   enable sample mode
11373#                n = 2   send mouse information
11374#                n = 3   enable request mode
11375#ESC W           character delete
11376#ESC X           clear monitor mode (see ESC U, ESC u)
11377#ESC Y           erase page to insert char
11378#
11379#ESC Z n         send user/status line:
11380#                n = 0   send user line
11381#                n = 1   send status line
11382#                n = 2   send terminal ID
11383#ESC [ p1 p2 p3  set character attribute (parallel char mode):
11384#                p1: 0 = normal
11385#                    1 = blank
11386#                    2 = blink
11387#                    3 = blink blank (= blank)
11388#                    4 = reverse
11389#                    5 = reverse blank
11390#                    6 = reverse blink
11391#                    7 = reverse blink blank (= reverse blank)
11392#                    8 = underline
11393#                    9 = underline blank
11394#                    : = underline blink
11395#                    ; = underline blink blank
11396#                    < = reverse underline
11397#                    = = reverse underline blank
11398#                    > = reverse underline blink
11399#                    ? = reverse underline blink blank
11400#                p2, p3: f/grnd, b/grnd colour
11401#                (see ESC F for colours)
11402#                use ZZ for mono, eg.
11403#                    ESC [ 0 Z Z for normal
11404#                    ESC [ 4 Z Z for inverse etc.
11405#
11406#ESC \ n         set page size:
11407#                n = 1   24 lines/page
11408#                n = 2   48 lines/page
11409#                n = 3   72 lines/page
11410#                n = 4   96 lines/page
11411#ESC ] n         set Wordstar mode:
11412#                n = 0   normal (KDS7372) mode
11413#                n = 1   Wordstar mode
11414#
11415#ESC b           set foreground colour screen
11416#
11417#ESC c n         enter self-test mode:
11418#                n = 0   exit self test mode
11419#                n = 1   ROM test
11420#                n = 2   RAM test
11421#                n = 3   NVRAM test
11422#                n = 4   screen display test
11423#                n = 5   main/printer port test
11424#                n = 6   mouse port test
11425#                n = 7   graphics board test
11426#                n = 8   graphics memory test
11427#                n = 9   display all 'E'
11428#                n = :   display all 'H'
11429#ESC d           set background colour screen
11430#
11431#ESC e n         program insert char (n = insert char)
11432#ESC f text CR   load user status line with 'text'
11433#
11434#ESC g           display user status line on 25th line
11435#ESC h           display system status line on 25th line
11436#ESC i           tab
11437#ESC j           reverse linefeed
11438#ESC k n         duplex/local edit mode:
11439#                n = 0   duplex edit mode
11440#                n = 1   local edit mode
11441#ESC l n         select virtual screen:
11442#                n = 0   screen 1
11443#                n = 1   screen 2
11444#ESC m           save current config to NVRAM
11445#ESC n p1        select display screen:
11446#                p1 = 0  screen 1
11447#                p1 = 1  screen 2
11448#                p1 = 2  screen 3
11449#                p1 = 3  screen 4
11450#ESC o p1 p2     set characters/line and attribute:
11451#                p1 = 0  80 chars/line
11452#
11453#ESC o p1 p2     set characters/line and attribute:
11454#                p1 = 0  80 chars/line
11455#                p1 = 1  132 chars/line
11456#                p2 = 0  single width single height
11457#                p2 = 1  single width double height
11458#                p2 = 2  double width single height
11459#                p2 = 3  double width double height
11460#
11461#ESC q           insert mode on
11462#ESC r           edit mode on
11463#ESC s           send message all
11464#ESC t           erase line to null
11465#ESC u           clear monitor mode (see ESC U, ESC X)
11466#ESC v           autopage mode on
11467#ESC w           autopage mode off
11468#ESC x p1 p2 p3  define delimiter code...
11469#ESC y           erase page to null
11470#
11471#ESC z 2 p1 p2 p3 p4   draw quadrangle:
11472#                      p1 = starting row
11473#                      p2 = starting column
11474#                      p3 = end row
11475#                      p4 = end column
11476#
11477#ESC { p1 p2 p3 p4     configure main port
11478#                      (baud, stop bits, parity, word length)
11479#
11480#ESC | p1 p2 text Ctrl-Y    program function key with 'text':
11481#                        p1 = function key code:
11482#                             '1' - ';'  normal f1- f11
11483#                             '<' - 'F'  shifted f1 - f11
11484#                        p2 = program mode:
11485#                             1 = FDX
11486#                             2 = LOC
11487#                             3 = HDX
11488#                        Ctrl-Y = terminator
11489#                        (use Ctrl-P to escape ^P, ^Y )
11490#
11491#ESC } p1 p2 p3 p4     configure printer port
11492#                      (baud, stop bits, parity, word length)
11493#ESC ~           send system status
11494#
11495# Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
11496#
11497# Entry is by esr going solely on above information and is UNTESTED.
11498# This actually looks a lot like a Televideo 9xx.
11499# This entry uses page 0 and is monochrome; I'm not brave enough to try
11500# to make color work without a test terminal.  The <am> capability is a guess.
11501# The initialization string sets conversation mode, blinking underline cursor,
11502# full duplex, parallel attribute mode, display user status line, white
11503# foreground, black background, normal highlight.
11504#
11505icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372, 
11506	am, hs, 
11507	cols#80, lines#24, 
11508	bel=^G, blink=\E[2ZZ, cbt=\EI, civis=\E.0, clear=\E*, 
11509	cnorm=\E.3, cr=^M, 
11510	csr=\E!%+%p1%{32}%+%p2%{32} cud1=\026, cuf1=^L, 
11511	cup=\E=%p1%{32}%+%c%p2%{80}%m%{32}%+%c%p2%{80}%>%{32}%+%c, 
11512	cuu1=^K, cvvis=\E.1, dch=\EW, dl1=\ER, home=^^, ht=^I, hts=\E1, 
11513	il1=\EE, invis=\E[1ZZ, is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ, 
11514	nel=^_, rev=\E[4ZZ, rmir=\Er, 
11515	rmso=\E[%gh%{4}%^%Ph%gh%dZZ, 
11516	rmul=\E[%gh%{8}%^%Ph%gh%dZZ, rs2=\Eo1, 
11517	sgr=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ, 
11518	sgr0=\E[0ZZ, smir=\Eq, smso=\E[8ZZ, smul=\E[8ZZ, tbc=\E3, 
11519icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols, 
11520	rs2=\Eo1, 
11521	use=icl6404, 
11522
11523#### Interactive Systems Corp
11524#
11525# ISC used to sell OEMed and customized hardware to support ISC UNIX.
11526# ISC UNIX still exists in 1995, but ISC itself is no more; they got
11527# bought out by Sun.
11528#
11529
11530# From: <cithep!eric>  Wed Sep 16 08:06:44 1981
11531# (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
11532# ":le=^_:" later overridden -- esr)
11533intext|Interactive Systems Corporation modified owl 1200, 
11534	am, 
11535	cols#80, it#8, lines#24, xmc#1, 
11536	bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, cud1=^J, 
11537	cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, cuu1=^\, 
11538	dch1=\022$<5.5*>, dl1=\021$<5.5*>, ed=\026J$<5.5*>, 
11539	el=^Kp^R, ht=^I, il1=\020$<5.5*>, ind=^J, ip=$<5.5*>, kbs=^H, 
11540	kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r, 
11541	kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, kf6=^VF\r, 
11542	kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, khome=^Z, rmir=^V<, 
11543	rmkx=^V9, rmso=^V#\s, smir=^V;, smkx=\036\:\264\026%, 
11544	smso=^V$\,, 
11545intext2|intextii|INTERACTIVE modified owl 1251, 
11546	am, bw, ul, 
11547	cols#80, lines#24, xmc#0, 
11548	bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cud1=\E[B, 
11549	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
11550	dl1=\E[M, ed=\E[J, el=\E[K, 
11551	flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u, 
11552	hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, 
11553	kbs=^H, kcub1=\ED\r, kcud1=\EB\r, kcuf1=\EC\r, kcuu1=\EA\r, 
11554	kf0=\E@\r, kf1=\EP\r, kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r, 
11555	kf5=\EU\r, kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r, 
11556	khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, lf3=GOTO, 
11557	lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT, 
11558	lf9=RIGHT, ri=\E[T, rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D, 
11559	smul=\E[18 D, 
11560
11561#### Kimtron (abm, kt)
11562#
11563# Kimtron seems to be history, but as March 1998 these people are still 
11564# offering repair services for Kimtron equipment:
11565#
11566#    Com/Pair Monitor Service
11567#    1105 N. Cliff Ave.
11568#    Sioux Falls, South Dakota 57103
11569#     
11570#    WATS voice:  1-800/398-4946
11571#    POTS   fax: +1 605/338-8709
11572#    POTS voice: +1 605/338-9650
11573#         Email: <compair@sd.cybernex.net>
11574#  Internet/Web: <http://www.com-pair.com>
11575#
11576# Kimtron entries include (undocumented) codes for: enter dim mode,
11577# enter bold mode, enter reverse mode, turn off all attributes.
11578#
11579
11580# Kimtron ABM 85 added by Dual Systems
11581# (abm85: removed duplicated ":kd=^J:" -- esr)
11582abm85|Kimtron ABM 85, 
11583	am, bw, msgr, 
11584	cols#80, it#8, lines#24, xmc#1, 
11585	cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L, 
11586	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
11587	dl1=\ER, ed=\Ey, el=\Et, ht=^I, 
11588	if=/usr/share/tabset/stdcrt, il1=\EE, 
11589	is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, kcub1=^H, 
11590	kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmir=\Er, rmso=\Ek, 
11591	rmul=\Em, smir=\EQ, smso=\Ej, smul=\El, 
11592# Kimtron ABM 85H added by Dual Systems.
11593# Some notes about the abm85h entries:
11594# 1) there are several firmware revs of 85H in the world. Use abm85h-old for
11595#    firmware revs prior to SP51
11596# 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
11597#    abm85e entry if it is in tvi920 emulation mode. They are incompatible
11598#    in some places and NOT software settable i.e., <is2> can't fix it)
11599# 3) In 85h mode, the arrow keys and special functions transmit when
11600#    the terminal is in dup-edit, and work only locally in local-edit.
11601#    Vi won't swallow `del char' for instance, but <smcup> turns on
11602#    dup-edit anyway so that the arrow keys will work right. If the
11603#    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
11604#    <is2>.  Note that 920E mode does not have software commands to toggle
11605#    between dup and local edit, so you get whatever was set last on the
11606#    terminal.
11607# 4) <flash> attribute is nice, but seems too slow to work correctly
11608#    (\Eb<pad>\Ed)
11609# 5) Make sure `hidden' attributes are selected. If `embedded' attributes
11610#    are selected, the <xmc@> entry should be removed.
11611# 6) auto new-line should be on (selectable from setup mode only)
11612#
11613# From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
11614abm85h|Kimtron ABM 85H native mode, 
11615	hs, 
11616	xmc@, 
11617	bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@, 
11618	fsl=^M, invis@, 
11619	is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El, 
11620	kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef, 
11621	use=adm+sgr, use=abm85, 
11622abm85e|Kimtron ABM 85H in 920E mode, 
11623	xmc@, 
11624	bel=^G, dim=\E), flash@, 
11625	is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em, 
11626	rev=\Ej, sgr0=\E(\Ek, smir=\EZ, 
11627	use=abm85, 
11628abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev., 
11629	xmc@, 
11630	bel=^G, dim=\E), 
11631	is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF, 
11632	rev=\Ej, sgr0=\E(\Ek, smir=\EZ, 
11633	use=abm85, 
11634# From: <malman@bbn-vax.arpa>
11635# (kt7: removed obsolete :ma=^V^J^L :" -- esr)
11636kt7|kimtron model kt-7, 
11637	am, 
11638	cols#80, it#8, lines#24, 
11639	cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L, 
11640	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
11641	dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
11642	if=/usr/share/tabset/stdcrt, il1=\EE, invis@, is2=\El\E", 
11643	kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, 
11644	kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, 
11645	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
11646	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
11647	kich1=\EQ, kil1=\EE, tsl=\Ef, 
11648	use=adm+sgr, 
11649# Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
11650# other kt7 entry and the adjacent key capabilities).  Removed EE which is
11651# identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
11652# but we can't figure out what.
11653kt7ix|kimtron model kt-7 or 70 in IX mode, 
11654	am, bw, 
11655	cols#80, it#8, lines#25, 
11656	acsc=jYk?lZm@nEqDt4uCvAwBx3, bel=^G, blink=\EG2, cbt=\EI, 
11657	civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, 
11658	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
11659	dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M, 
11660	home=^^, ht=^I, ich1=\EQ, il1=\EE, ind=^J, 
11661	is2=\EG0\E s\017\E~, kbs=^H, kcbt=\EI, kclr=\E*, 
11662	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\ER, 
11663	ked=\EY, kel=\ET, kend=\EY, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
11664	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
11665	kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EJ, 
11666	nel=^M^J, pulse=\EK, rmacs=\E%, rmir=, rmso=\EG0, rmul=\EG0, 
11667	sgr0=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, tsl=\Ef, 
11668
11669#### Microdata/MDIS
11670#
11671# This was a line of terminals made by McDonnell-Douglas Information Systems.
11672# These entries come direct from MDIS documentation.  I have edited them only
11673# to move primary names of the form p[0-9] * to aliases, and to comment out
11674# <rmacs>/<smacs> in a couple of entries without <acsc> strings.  I have 
11675# also removed the change history; the last version indicates this is
11676# version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
11677#
11678
11679# McDonnell Information Systems Terminal Family History
11680# =========================================
11681#
11682# Prism-1, Prism-2 and P99:
11683#       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
11684#
11685# Prism-4 and Prism-5:
11686#       Slightly less ancient range of Microdata terminals. Follow-on from
11687#       Prism-2, but with many enhancements. P5 has eight display pages.
11688#
11689# Prism-6:
11690#       A special terminal for use with library systems, primarily in Germany.
11691#       Limited numbers. Similar functionality to P5 (except attributes?).
11692#
11693# Prism-7, Prism-8 and Prism-9:
11694#       More recent range of MDIS terminals, in which P7 and P8
11695#       replace the P4 & P5, with added functionality, and P9 is the flagship.
11696#       The P9 has two emulation modes - P8 and ANSI - and includes a
11697#       large number of the DEC VT220 control sequences. Both
11698#       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
11699#
11700# Prism-12 and Prism-14:
11701#       Latest range, functionally very similar to the P9.  The P14 has a
11702#       black-on-white overscanning screen.
11703#
11704# The terminfo definitions given here are:
11705#
11706# p2      - Prism-2 (or Prism-1 or P99).
11707#
11708# p4      - Prism-4 (and older P7s & P8s).
11709# p5      - Prism-5 (or Prism-6).
11710#
11711# p7      - Prism-7.
11712# p8      - Prism-8 (in national or multinational mode).
11713# p8-w    - 132 column version of p8.
11714# p9      - Prism-9 in ANSI mode.
11715# p9-w    - 132 column version of p9.
11716# p9-8    - Prism-9 in Prism-8 emulation mode.
11717# p9-8-w  - As p9-8, but with 132 columns.
11718#
11719# p12     - Prism-12 in ANSI mode.
11720# p12-w   - 132 column version of p12.
11721# p12-m   - Prism-12 in MDC emulation mode.
11722# p12-m-w - As p12-m, but with 132 columns.
11723# p14     - Prism-14 in ANSI mode.
11724# p14-w   - 132 column version of p14.
11725# p14-m   - Prism-14 in MDC emulation mode.
11726# p14-m-w - As p14-m, but with 132 columns.
11727#
11728# p2: Prism-2
11729# -----------
11730#
11731# Includes Prism-1 and basic P99 without SP or MP loaded.
11732# The simplest form of Prism-type terminal.
11733# Basic cursor movement and clearing operations only.
11734# No video attributes.
11735# Notes:
11736#  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
11737#  value up, followed by backspace.
11738#
11739prism2|MDC Prism-2, 
11740	am, bw, msgr, 
11741	cols#80, lines#24, 
11742	bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
11743	cup=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
11744	cuu1=^Z, ed=\EJ, el=\EK, home=^A, 
11745	hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
11746	ind=^J, kbs=^H, khome=^A, vpa=\013%p1%{32}%+%c, 
11747
11748# p4: Prism-4
11749# -----------
11750#
11751# Includes early versions of P7 & P8.
11752# Basic family definition for most Prisms (except P2 and P9 ANSI).
11753# Notes:
11754#  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
11755#  value up, followed by backspace.
11756#  Cursor key definitions removed because they interfere with vi and csh keys.
11757#
11758prism4|p4|P4|MDC Prism-4, 
11759	am, bw, hs, mc5i, msgr, 
11760	cols#80, lines#24, wsl#72, xmc#1, 
11761	bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>, 
11762	cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
11763	cup=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
11764	cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK, 
11765	fsl=^]\345, home=^A, 
11766	hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
11767	ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER, 
11768	rev=^CD, rmso=^C\s, rmul=^C\s, 
11769	sgr=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;, 
11770	sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343, 
11771	vpa=\013%p1%{32}%+%c, 
11772
11773# p5: Prism-5
11774# -----------
11775#
11776# Same definition as p4. Includes Prism-6 (not tested!).
11777# Does not use any multi-page features.
11778#
11779prism5|p5|P5|MDC Prism-5, 
11780	use=p4, 
11781
11782# p7: Prism-7
11783# -----------
11784#
11785# Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
11786# Notes:
11787#  Use p4 for very early models of P7.
11788#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
11789#
11790prism7|p7|P7|MDC Prism-7, 
11791	cup=\E[%i%p1%d;%p2%dH, hpa@, vpa@, use=p4, 
11792
11793# p8: Prism-8
11794# -----------
11795#
11796# Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
11797# Supports national and multinational character sets.
11798# Notes:
11799#  Alternate char set operations only work in multinational mode.
11800#  Use p4 for very early models of P8.
11801#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
11802# (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
11803#
11804prism8|p8|P8|MDC Prism-8, 
11805	cup=\E[%i%p1%d;%p2%dH, hpa=\E[%i%p1%d`, is2=\E[<12h, 
11806	vpa=\E[%i%p1%dd, 
11807	use=p4, 
11808
11809# p8-w: Prism-8 in 132 column mode
11810# --------------------------------
11811#
11812# 'Wide' version of p8.
11813# Notes:
11814#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
11815#
11816prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode, 
11817	cols#132, 
11818	is2=\E[<12h\E[<14h, use=p8, 
11819
11820# p9: Prism-9 in ANSI mode
11821# -------------------------
11822#
11823# The "flagship" model of this generation of terminals.
11824# ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
11825# Notes:
11826#  Tabs only reset by "reset". Otherwise assumes default (8 cols).
11827#  Fixes to deal with terminal firmware bugs:
11828#  . 'ri' uses insert-line since rev index doesn't always
11829#  . 'sgr0' has extra '0' since esc[m fails
11830#  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
11831#  Not covered in the current definition:
11832#  . Labels
11833#  . Programming Fn keys
11834#  . Graphic characters (defaults correctly to vt100)
11835#  . Padding values (sets xon)
11836# (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
11837#
11838prism9|p9|P9|MDC Prism-9 in ANSII mode, 
11839	am, bw, hs, mc5i, msgr, xenl, xon, 
11840	cols#80, it#8, lines#24, vt#3, wsl#72, 
11841	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l, 
11842	clear=^L, cnorm=\E[<4h, cr=^M, csr=\E[%i%p1%d;%p2%d%%v, 
11843	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
11844	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
11845	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
11846	dl=\E[%p1%dM, dl1=\E[M, dsl=\E[%}\024, ech=\E[%p1%dX, 
11847	ed=\E[J$<10>, el=\E[K, fsl=^T, home=\E[H, hpa=\E[%i%p1%d`, 
11848	ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, 
11849	is2=\E[&p\E[<12l\E F, kbs=^H, kclr=^L, kcub1=\E[D, 
11850	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[11~, 
11851	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
11852	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
11853	kf18=\E[32~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, 
11854	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
11855	khome=\E[H, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, 
11856	prot=\E[32%{, rc=\E[%z, rep=\E[%p2%db%p1%c, rev=\E[7m, 
11857	ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
11858	rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N, 
11859	sc=\E[%y, 
11860	sgr=\E[%{0}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{2}%+%;%?%p4%t%{1}%+%;%?%p6%t%{8}%+%;%?%p8%t%{32}%+%;%d%%{%?%p9%t\016%e\017%;, 
11861	sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
11862	tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd, 
11863
11864# p9-w: Prism-9 in 132 column mode
11865# --------------------------------
11866#
11867# 'Wide' version of p9.
11868#
11869prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode, 
11870	cols#132, 
11871	is2=\E[&p\E[<12l\E F\E[<14h, 
11872	rs2=\E[&p\E[<12l\E F\E[<14h, use=p9, 
11873
11874# p9-8: Prism-9 in P8 mode
11875# ------------------------
11876#
11877# P9 terminal in P8 emulation mode.
11878# Similar to p8 definition.
11879# Insertion and deletion operations possible.
11880#
11881prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode, 
11882	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
11883	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8, 
11884
11885# p9-8-w: Prism-9 in P8 and 132 column modes
11886# ------------------------------------------
11887#
11888# P9 terminal in P8 emulation mode and 132 column mode.
11889#
11890prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode, 
11891	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
11892	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8-w, 
11893
11894# p12: Prism-12 in ANSI mode
11895# ---------------------------
11896#
11897# See p9 definition.
11898#
11899prism12|p12|P12|MDC Prism-12 in ANSI mode, 
11900	use=p9, 
11901
11902# p12-w: Prism-12 in 132 column mode
11903# ----------------------------------
11904#
11905# 'Wide' version of p12.
11906#
11907prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode, 
11908	use=p9-w, 
11909
11910# p12-m: Prism-12 in MDC emulation mode
11911# -------------------------------------
11912#
11913# P12 terminal in MDC emulation mode.
11914# Similar to p8 definition.
11915# Insertion and deletion operations possible.
11916#
11917prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode, 
11918	use=p9-8, 
11919
11920# p12-m-w: Prism-12 in MDC emulation and 132 column modes
11921# -------------------------------------------------------
11922#
11923# P12 terminal in MDC emulation mode and 132 column mode.
11924#
11925prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode, 
11926	use=p9-8-w, 
11927
11928# p14: Prism-14 in ANSII mode
11929# ---------------------------
11930#
11931# See p9 definition.
11932#
11933prism14|p14|P14|MDC Prism-14 in ANSII mode, 
11934	use=p9, 
11935
11936# p14-w: Prism-14 in 132 column mode
11937# ----------------------------------
11938#
11939# 'Wide' version of p14.
11940#
11941prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode, 
11942	use=p9-w, 
11943
11944# p14-m: Prism-14 in MDC emulation mode
11945# -------------------------------------
11946#
11947# P14 terminal in MDC emulation mode.
11948# Similar to p8 definition.
11949# Insertion and deletion operations possible.
11950#
11951prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode, 
11952	use=p9-8, 
11953
11954# p14-m-w: Prism-14 in MDC emulation and 132 column modes
11955# -------------------------------------------------------
11956#
11957# P14 terminal in MDC emulation mode and 132 column mode.
11958#
11959prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode, 
11960	use=p9-8-w, 
11961
11962# End of McDonnell Information Systems Prism definitions
11963
11964# These things were popular in the Pick database community at one time
11965# From: George Land <georgeland@aol.com> 24 Sep 1996
11966p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition, 
11967	am, bw, hs, mir, 
11968	cols#80, lines#24, ma#1, wsl#78, xmc#1, 
11969	bel=^G, blink=^CB, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, 
11970	cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, dch1=\s^H, dim=^CA, dl1=^P, 
11971	ed=\EJ, el=\EK, home=^A, ind=^J, invis=^CH, kbs=^H, kcub1=^U, 
11972	kcud1=^J, kcuf1=^F, kcuu1=^Z, kdch1=\s^H, kdl1=^P, ked=\EJ, 
11973	kel=\EK, kf1=^A@\r, kf10=^AI\r, kf12=^AJ\r, kf13=^AK\r, 
11974	kf14=^AL\r, kf15=^AM\r, kf16=^AN\r, kf17=^AO\r, kf2=^AA\r, 
11975	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
11976	kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2, 
11977	lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M, 
11978	pad=\0, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE, 
11979	smul=^C0, 
11980
11981#### Microterm (act, mime)
11982#
11983# The mime1 entries refer to the Microterm Mime I or Mime II.
11984# The default mime is assumed to be in enhanced act iv mode.
11985#
11986
11987# New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
11988# freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
11989# <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
11990# since Sytek insists ^S means xoff.
11991# (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
11992act4|microterm|microterm act iv, 
11993	am, 
11994	cols#80, lines#24, 
11995	bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X, 
11996	cup=\024%p1%{24}%+%c%p2%p2%?%{47}%>%t%{48}%+%;%{80}%+%c, 
11997	cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>, 
11998	ed=\037$<2.2*/>, el=\036$<.1*/>, home=^], 
11999	il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X, 
12000	kcuu1=^Z, 
12001# The padding on :sr: and :ta: for act5 and mime is a guess and not final.
12002# The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
12003# (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
12004act5|microterm5|microterm act v, 
12005	kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA, use=act4, 
12006# Mimes using brightness for standout.  Half bright is really dim unless
12007# you turn up the brightness so far that lines show up on the screen.
12008mime-fb|full bright mime1, 
12009	is2=^S\E, rmso=^S, smso=^Y, use=mime, 
12010mime-hb|half bright mime1, 
12011	is2=^Y\E, rmso=^Y, smso=^S, use=mime, 
12012# (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
12013# the more plausible ":do=^J:" -- esr)
12014# uc was at one time disabled to get around a curses bug, be wary of it
12015mime|mime1|mime2|mimei|mimeii|microterm mime1, 
12016	am, 
12017	cols#80, it#8, lines#24, vt#9, 
12018	bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X, 
12019	cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%{48}%+%;%{80}%+%c, 
12020	cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>, 
12021	il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K, 
12022	kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U, 
12023# These termcaps (for mime2a) put the terminal in low intensity mode
12024# since high intensity mode is so obnoxious.
12025mime2a-s|microterm mime2a (emulating an enhanced soroc iq120), 
12026	am, 
12027	cols#80, lines#24, 
12028	bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
12029	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, dch1=\ED, 
12030	dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^, 
12031	il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J, 
12032	kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;, rmul=\E7, 
12033	smir=\EE, smso=\E\:, smul=\E6, 
12034# This is the preferred mode (but ^X can't be used as a kill character)
12035mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52), 
12036	cols#80, it#8, lines#24, 
12037	bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
12038	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N, 
12039	dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I, 
12040	il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED, 
12041	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9, 
12042	rmul=\E5, smir=^O, smso=\E8, smul=\E4, 
12043# (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
12044mime3a|mime1 emulating 3a, 
12045	am@, 
12046	kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a, 
12047mime3ax|mime-3ax|mime1 emulating enhanced 3a, 
12048	it#8, 
12049	dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, il1=\001$<80>, use=mime3a, 
12050# Wed Mar  9 18:53:21 1983
12051# We run our terminals at 2400 baud, so there might be some timing problems at
12052# higher speeds. The major improvements in this model are the terminal now 
12053# scrolls down and insert mode works without redrawing the rest of the line
12054# to the right of the cursor. This is done with a bit of a kludge using the
12055# exit graphics mode to get out of insert, but it does not appear to hurt
12056# anything when using vi at least. If you have some users using act4s with
12057# programs that use curses and graphics mode this could be a problem.
12058mime314|mm314|mime 314, 
12059	am, 
12060	cols#80, lines#24, 
12061	clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, cuu1=^Z, 
12062	dch1=^D, dl1=^W, ed=^_, el=^^, home=^], ht=^I, il1=^A, kcub1=^H, 
12063	kcud1=^K, kcuf1=^X, kcuu1=^Z, rmir=^V, smir=^S, 
12064# Microterm mime 340 from University of Wisconsin
12065mm340|mime340|mime 340, 
12066	cols#80, lines#24, 
12067	clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
12068	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
12069	dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>, 
12070	el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, is2=\E\,, 
12071	kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, nel=^M^J, 
12072# This came from University of Wisconsin marked "astro termcap for jooss".
12073# (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
12074# also added <rmam>/<smam> based  on the init string -- esr)
12075mt4520-rv|micro-term 4520 reverse video, 
12076	am, hs, msgr, xenl, xon, 
12077	cols#80, it#8, lines#24, wsl#80, 
12078	bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M, 
12079	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
12080	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
12081	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
12082	cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
12083	dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l$<200/>\E[?5h, 
12084	fsl=\E[?5l\E[?5h, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
12085	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
12086	is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J, 
12087	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
12088	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
12089	ll=\E[24;1H, nel=\EE, rc=\E8, rf=/usr/share/tabset/vt100, 
12090	ri=\EM, rmam=\E[?7l, rmso=\E[0m, rmul=\E[24m, 
12091	rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J, 
12092	sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
12093	tbc=\E[g, tsl=\E[25;1H, 
12094
12095# Fri Aug  5 08:11:57 1983
12096# This entry works for the ergo 4000 with the following setups:
12097# ansi,wraparound,newline disabled, xon/xoff disabled in both
12098# setup a & c.
12099#	
12100# WARNING!!! There are multiple versions of ERGO 4000 microcode
12101# Be advised that very early versions DO NOT WORK RIGHT !!  
12102# Microterm does have a ROM exchange program- use it or lose big
12103# (ergo400: added <rmam>/<smam> based on the init string -- esr)
12104ergo4000|microterm ergo 4000, 
12105	da, db, msgr, 
12106	cols#80, lines#66, 
12107	bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, cud1=\E[B, 
12108	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
12109	dch1=\E[1P$<80>, dl1=\E[1M$<5*>, ed=\E[0J$<15>, 
12110	el=\E[0K$<13>, ht=^I, il=\E[1L$<5*>, ind=\ED$<20*>, 
12111	is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>, 
12112	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
12113	kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, lf2=pf2, lf3=pf3, 
12114	lf4=pf4, ri=\EM$<20*>, rmam=\E[?7l, rmir=\E[4l, 
12115	rmkx=\E=$<4>, rmso=\E[m$<20>, sgr0=\E[m$<20>, 
12116	smam=\E[?7m, smir=\E[4h$<6>, smkx=\E=$<4>, 
12117	smso=\E[7m$<20>, 
12118
12119#### NCR 
12120#
12121# NCR's terminal group was merged with AT&T's when AT&T bought the company.
12122# For what happened to that group, see the ADDS section.
12123#
12124# There is an NCR4103 terminal that's just a re-badged Wyse-50.
12125#
12126
12127# The following vendor-supplied termcaps were captured from the Boundless
12128# Technologies site, 8 March 1998.  I removed all-upper-case names that were
12129# identical, except for case, to lower-case ones.  I also uncommented the acsc
12130# capabilities.X
12131#
12132# The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
12133# DEC vt200/300 with color capabilities added.
12134ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard, 
12135	colors#8, pairs#64, 
12136	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300an, 
12137# The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
12138# DEC vt200/300 with color capabilities added.
12139ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard, 
12140	colors#8, pairs#64, 
12141	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300wan, 
12142# The Intecolor emulation of the NCR 2900/260C color terminal is basicly a DEC 
12143# vt200/300 with color capabilities added.
12144ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard, 
12145	colors#8, pairs#64, 
12146	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300pp, 
12147# The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
12148# DEC vt200/300 with color capabilities added.
12149ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode, 
12150	colors#8, pairs#64, 
12151	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300wpp, 
12152# This definition for ViewPoint supports several attributes.  This means
12153# that it has magic cookies (extra spaces where the attributes begin).
12154# Some applications do not function well with magic cookies.  The System
12155# Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
12156# If supporting various attributes is not vital, 'xmc#1' and the extra
12157# attributes can be removed. 
12158# Mapping to ASCII character set ('acsc' capability) can also be 
12159# restored if needed.
12160ncr260vppp|NCR 2900_260 viewpoint, 
12161	am, bw, hs, km, mc5i, mir, msgr, xon, 
12162	cols#80, lines#24, nlab#32, xmc#1, 
12163	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
12164	cbt=\EI, civis=\E`0, clear=\014$<40>, cnorm=\E`5, 
12165	cr=\r$<2>, cub1=\010$<2>, cud1=\n$<2>, cuf1=\006$<2>, 
12166	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5>, cuu1=\032$<2>, 
12167	cvvis=\E`5, dch1=\EW$<2>, dim=\EGp, dl1=\El$<2>, dsl=\E`c, 
12168	ed=\Ek$<2>, el=\EK$<2>, fsl=^M, home=\036$<2>, ht=^I, 
12169	hts=\E1, il1=\EM$<2>, ind=\n$<2>, invis=\EG1, 
12170	is2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
12171	kDC=\El, kEND=\Ek, kHOM=^A, kPRT=\E7, kRIT=^F, ka1=^A, ka3=\EJ, 
12172	kbs=^H, kc1=\ET, kc3=\EJ, kcub1=^U, kcud1=^J, kcuf1=^F, 
12173	kcuu1=^Z, kdch1=\EW, kend=\EK, kf1=^B1\r, kf10=^B\:\r, 
12174	kf11=^B;\r, kf12=^B<\r, kf13=^B=\r, kf14=^B>\r, kf15=^B?\r, 
12175	kf16=^B@\r, kf17=^B!\r, kf18=^B"\r, kf19=^B#\r, kf2=^B2\r, 
12176	kf20=^B$\r, kf21=\002%^M, kf22=^B&\r, kf23=^B'\r, 
12177	kf24=^B(\r, kf25=^B)\r, kf26=^B*\r, kf27=^B+\r, 
12178	kf28=^B\,\r, kf29=^B-\r, kf3=^B3\r, kf30=^B.\r, kf31=^B/\r, 
12179	kf32=^B0\r, kf4=^B4\r, kf5=^B5\r, kf6=^B6\r, kf7=^B7\r, 
12180	kf8=^B8\r, kf9=^B9\r, khome=^A, kich1=\Eq, knp=\EJ, kpp=\EJ, 
12181	kprt=\EP, ll=\001$<5>, mc0=\EP$<100>, mc4=^T, mc5=^R, 
12182	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<5>, 
12183	nel=\037$<2>, rev=\EG4, ri=\Ej$<2>, rmacs=\EcB0\EH\003, 
12184	rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
12185	rs2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
12186	sgr0=\EG0\EH\003, smacs=\EcB1\EH\002, smir=\Eq, 
12187	smso=\EG4, smul=\EG8, smxon=\Ec21, tsl=\EF, 
12188ncr260vpwpp|NCR 2900_260 viewpoint wide mode, 
12189	cols#132, 
12190	cup=\Ea%i%p1%dR%p2%dC$<30>, 
12191	is2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
12192	rs2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
12193	use=ncr260vppp, 
12194ncr260vt100an|NCR 2900_260 vt100 with ansi kybd, 
12195	am, hs, mir, msgr, xenl, xon, 
12196	cols#80, lines#24, nlab#32, 
12197	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
12198	blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
12199	clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
12200	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<5>, 
12201	cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
12202	cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
12203	cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
12204	cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
12205	dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
12206	ech=\E[%p1%dX, ed=\E[0J$<5>, el=\E[0K$<3>, el1=\E[1K$<3>, 
12207	fsl=\E[0$}, home=\E[H$<1>, hpa=\E[%p1%dG$<40>, ht=^I, 
12208	hts=\EH, ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, 
12209	il1=\E[L$<5>, ind=\ED$<5>, indn=\E[%p1%dE$<5>, 
12210	invis=\E[8m, 
12211	is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12212	ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, 
12213	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
12214	kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
12215	kf4=\EOS, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, 
12216	kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, nel=\EE$<5>, rc=\E8, 
12217	rev=\E[7m, ri=\EM$<5>, rmacs=^O, rmir=\E[4l, 
12218	rmkx=\E[?1l\E>, rmso=\E[0m, rmul=\E[0m, 
12219	rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12220	sc=\E7, 
12221	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
12222	sgr0=\E[0m\017$<20>, smacs=^N, smir=\E[4h, 
12223	smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g, 
12224	tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
12225ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd, 
12226	cols#132, 
12227	cup=\E[%i%p1%d;%p2%dH$<30>, 
12228	is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12229	rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12230	use=ncr260vt100an, 
12231ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd, 
12232	is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12233	ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
12234	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
12235	kend=\E[5~, khome=\E[2~, kich1=\E[1~, knp=\E[6~, kpp=\E[3~, 
12236	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, 
12237	rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12238	smkx=\E=, 
12239	use=ncr260vt100an, 
12240ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd, 
12241	cols#132, 
12242	cup=\E[%i%p1%d;%p2%dH$<30>, 
12243	is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12244	rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12245	use=ncr260vt100pp, 
12246ncr260vt200an|NCR 2900_260 vt200 with ansi kybd, 
12247	am, hs, mir, msgr, xenl, xon, 
12248	cols#80, lines#24, nlab#32, 
12249	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
12250	blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
12251	clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
12252	csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>, 
12253	cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
12254	cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
12255	cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
12256	cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
12257	dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
12258	ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>, 
12259	fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH, 
12260	ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>, 
12261	ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m, 
12262	is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12263	ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, 
12264	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
12265	kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\E[21~, 
12266	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
12267	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
12268	kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~, 
12269	kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~, 
12270	kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR, 
12271	kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~, 
12272	kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
12273	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
12274	kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, 
12275	mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, 
12276	ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l, 
12277	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
12278	rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12279	sc=\E7, 
12280	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
12281	sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h, 
12282	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
12283	tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
12284ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd, 
12285	cols#132, 
12286	cup=\E[%i%p1%d;%p2%dH$<30>, 
12287	is2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>, 
12288	rs2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>, 
12289	use=ncr260vt200an, 
12290ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd, 
12291	ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
12292	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
12293	kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
12294	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=, 
12295	use=ncr260vt200an, 
12296ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd, 
12297	cols#132, 
12298	cup=\E[%i%p1%d;%p2%dH$<30>, 
12299	is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12300	rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12301	use=ncr260vt200pp, 
12302ncr260vt300an|NCR 2900_260 vt300 with ansi kybd, 
12303	am, hs, mir, msgr, xenl, xon, 
12304	cols#80, lines#24, nlab#32, 
12305	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
12306	blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
12307	clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
12308	csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>, 
12309	cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
12310	cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
12311	cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
12312	cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
12313	dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
12314	ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>, 
12315	fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH, 
12316	ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>, 
12317	ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m, 
12318	is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12319	ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, 
12320	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
12321	kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\E[21~, 
12322	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
12323	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
12324	kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~, 
12325	kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~, 
12326	kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR, 
12327	kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~, 
12328	kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
12329	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
12330	kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, 
12331	mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, 
12332	ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l, 
12333	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
12334	rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12335	sc=\E7, 
12336	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
12337	sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h, 
12338	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
12339	tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
12340ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd, 
12341	cols#132, 
12342	cup=\E[%i%p1%d;%p2%dH$<30>, 
12343	is2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H$<200>, 
12344	rs2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H$<200>, 
12345	use=ncr260vt300an, 
12346ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd, 
12347	ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
12348	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
12349	kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
12350	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=, 
12351	use=ncr260vt300an, 
12352NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd, 
12353	cols#132, 
12354	cup=\E[%i%p1%d;%p2%dH$<30>, 
12355	is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12356	rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12357	use=ncr260vt300pp, 
12358# This terminfo file contains color capabilities for the Wyse325 emulation of 
12359# the NCR 2900/260C color terminal.  Because of the structure of the command
12360# (escape sequence) used to set color attributes, one of the fore/background
12361# colors must be preset to a given value. I have set the background color to
12362# black.  The user can change this setup by altering the last section of the
12363# 'setf' definition.  The escape sequence to set color attributes is 
12364#		ESC d y <foreground_color> <background_color> 1  
12365# In addition, the background color can be changed through the desk accessories.
12366# The capablitiy 'op' sets colors to green on black (default combination).  
12367#
12368# NOTE:  The NCR Unix System Administrator's Shell will not function properly
12369# 	    if the 'pairs' capability is defined. Un-Comment the 'pairs'
12370#	    capability and recompile if you wish to have it included. 
12371#
12372ncr260wy325pp|NCR 2900_260 wyse 325, 
12373	am, bw, hs, km, mc5i, mir, msgr, xon, 
12374	colors#16, cols#80, lines#24, ncv#33, nlab#32, 
12375	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
12376	cbt=\EI, civis=\E`0, clear=\E*$<10>, cnorm=\E`1, cr=^M, 
12377	cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
12378	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>, 
12379	cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c, 
12380	ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<5>, ht=^I, 
12381	hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1, 
12382	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12383	kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ, 
12384	kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, 
12385	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kend=\ET, 
12386	kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, 
12387	kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, 
12388	kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, 
12389	kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, 
12390	kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, kf30=^Am\r, kf31=^An\r, 
12391	kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
12392	kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, 
12393	kprt=\EP, mc0=\EP, mc4=^T, mc5=^R, 
12394	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>, 
12395	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0, 
12396	rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
12397	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12398	setb=\s, 
12399	setf=%?%p1%{0}%=%t%{49}%e%p1%{1}%=%t%{50}%e%p1%{2}%=%t%{51}%e%p1%{3}%=%t%{52}%e%p1%{4}%=%t%{53}%e%p1%{5}%=%t%{54}%e%p1%{6}%=%t%{55}%e%p1%{7}%=%t%{64}%e%p1%{8}%=%t%{57}%e%p1%{9}%=%t%{58}%e%p1%{10}%=%t%{59}%e%p1%{11}%=%t%{60}%e%p1%{12}%=%t%{61}%e%p1%{13}%=%t%{62}%e%p1%{14}%=%t%{63}%e%p1%{15}%=%t%{56}%;\Edy%c11$<100>, 
12400	sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH\002\EcB1, smam=\Ed/, 
12401	smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0, 
12402	tsl=\EF, 
12403ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode, 
12404	cols#132, 
12405	cup=\Ea%i%p1%dR%p2%dC$<30>, 
12406	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12407	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12408	use=ncr260wy325pp, 
12409# This definition for Wyse 350 supports several attributes.  This means
12410# that it has magic cookies (extra spaces where the attributes begin).
12411# Some applications do not function well with magic cookies.  The System
12412# Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
12413# If supporting various attributes is not vital, 'xmc#1' and the extra
12414# attributes can be removed. 
12415# Mapping to ASCII character set ('acsc' capability) can also be 
12416# restored if needed.
12417# In addition, color capabilities have been added to this file.  The drawback,
12418# however, is that the background color has to be black.  The foreground colors
12419# are numbered 0 through 15.  
12420#
12421# NOTE:  The NCR Unix System Administrator's Shell does not function properly
12422# 	    with the 'pairs' capability defined as below.  If you wish to
12423#	    have it included, Un-comment it and recompile (using 'tic'). 
12424#
12425ncr260wy350pp|NCR 2900_260 wyse 350, 
12426	am, bw, hs, km, mc5i, mir, msgr, xon, 
12427	colors#16, cols#80, lines#24, ncv#33, nlab#32, xmc#1, 
12428	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
12429	cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
12430	cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
12431	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<40>, cuu1=\013$<5>, 
12432	cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c, 
12433	ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<10>, ht=^I, 
12434	hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1, 
12435	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12436	kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H, 
12437	kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
12438	kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, 
12439	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
12440	kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, 
12441	kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, 
12442	kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, 
12443	kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, 
12444	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
12445	khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, 
12446	mc0=\EP$<10>, mc4=^T, mc5=^R, 
12447	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<20>, 
12448	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0, 
12449	rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
12450	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12451	setb=\s, 
12452	setf=%?%p1%{0}%=%t%{49}%e%p1%{1}%=%t%{50}%e%p1%{2}%=%t%{51}%e%p1%{3}%=%t%{52}%e%p1%{4}%=%t%{53}%e%p1%{5}%=%t%{54}%e%p1%{6}%=%t%{55}%e%p1%{7}%=%t%{102}%e%p1%{8}%=%t%{97}%e%p1%{9}%=%t%{98}%e%p1%{10}%=%t%{99}%e%p1%{11}%=%t%{101}%e%p1%{12}%=%t%{106}%e%p1%{13}%=%t%{110}%e%p1%{14}%=%t%{111}%e%p1%{15}%=%t%{56}%;\Em0%c$<100>, 
12453	sgr0=\EG0\EH\003\EcD, smacs=\EH\002\EcB1, smam=\Ed/, 
12454	smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0, 
12455	tsl=\EF, 
12456ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode, 
12457	cols#132, 
12458	cup=\Ea%i%p1%dR%p2%dC$<30>, 
12459	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
12460	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
12461	use=ncr260wy350pp, 
12462# This definition for Wyse 50+ supports several attributes.  This means
12463# that it has magic cookies (extra spaces where the attributes begin).
12464# Some applications do not function well with magic cookies.  The System
12465# Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
12466# If supporting various attributes is not vital, 'xmc#1' and the extra
12467# attributes can be removed. 
12468# Mapping to ASCII character set ('acsc' capability) can also be 
12469# restored if needed.
12470# (ncr260wy50+pp: originally contained commented-out 
12471# <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
12472ncr260wy50+pp|NCR 2900_260 wyse 50+, 
12473	am, bw, hs, km, mc5i, mir, msgr, xon, 
12474	cols#80, lines#24, nlab#32, xmc#1, 
12475	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
12476	cbt=\EI$<5>, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
12477	cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
12478	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<30>, cuu1=\013$<5>, 
12479	cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c, 
12480	ed=\EY$<5>, el=\ET$<5>, fsl=^M, home=\036$<10>, 
12481	ht=\011$<5>, hts=\E1$<5>, il1=\EE$<5>, ind=\n$<5>, 
12482	invis=\EG1, 
12483	is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12484	kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H, 
12485	kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
12486	kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, 
12487	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
12488	kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, 
12489	kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, 
12490	kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, 
12491	kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, 
12492	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
12493	khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, 
12494	mc0=\EP$<10>, mc4=^T, mc5=^R, 
12495	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>, 
12496	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed., 
12497	rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
12498	rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12499	sgr0=\EG0\EH\003$<15>, smacs=\EH^B, smam=\Ed/, smir=\Eq, 
12500	smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<5>, tsl=\EF, 
12501ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode, 
12502	cols#132, 
12503	cup=\Ea%i%p1%dR%p2%dC$<30>, 
12504	is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
12505	rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
12506	use=ncr260wy50+pp, 
12507ncr260wy60pp|NCR 2900_260 wyse 60, 
12508	am, bw, hs, km, mc5i, mir, msgr, xon, 
12509	cols#80, lines#24, nlab#32, 
12510	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
12511	cbt=\EI$<15>, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, 
12512	cr=^M, cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
12513	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>, 
12514	cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c, 
12515	ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<25>, 
12516	ht=\011$<15>, hts=\E1$<15>, il1=\EE$<5>, ind=\n$<5>, 
12517	invis=\EG1, 
12518	is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12519	kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ, 
12520	kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, 
12521	kcbt=\EI$<15>, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
12522	kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
12523	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
12524	kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, 
12525	kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, 
12526	kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, 
12527	kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, 
12528	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
12529	kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, mc0=\EP, mc4=^T, mc5=^R, 
12530	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<30>, 
12531	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed., 
12532	rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
12533	rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12534	sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH^B, smam=\Ed/, 
12535	smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<15>, 
12536	tsl=\EF, 
12537ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode, 
12538	cols#132, 
12539	cup=\Ea%i%p1%dR%p2%dC$<30>, 
12540	is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12541	rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12542	use=ncr260wy60pp, 
12543ncr160vppp|NCR 2900_160 viewpoint, 
12544	use=ncr260vppp, 
12545ncr160vpwpp|NCR 2900_160 viewpoint wide mode, 
12546	use=ncr260vpwpp, 
12547ncr160vt100an|NCR 2900_160 vt100 with ansi kybd, 
12548	use=ncr260vt100an, 
12549ncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd, 
12550	use=ncr260vt100pp, 
12551ncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd, 
12552	use=ncr260vt100wan, 
12553ncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd, 
12554	use=ncr260vt100wpp, 
12555ncr160vt200an|NCR 2900_160 vt200 with ansi kybd, 
12556	use=ncr260vt200an, 
12557ncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd, 
12558	use=ncr260vt200pp, 
12559ncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd, 
12560	use=ncr260vt200wan, 
12561ncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd, 
12562	use=ncr260vt200wpp, 
12563ncr160vt300an|NCR 2900_160 vt300 with ansi kybd, 
12564	use=ncr260vt300an, 
12565ncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd, 
12566	use=ncr260vt300pp, 
12567ncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd, 
12568	use=ncr260vt300wan, 
12569ncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd, 
12570	use=ncr260vt300wpp, 
12571ncr160wy50+pp|NCR 2900_160 wyse 50+, 
12572	use=ncr260wy50+pp, 
12573ncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode, 
12574	use=ncr260wy50+wpp, 
12575ncr160wy60pp|NCR 2900_160 wyse 60, 
12576	use=ncr260wy60pp, 
12577ncr160wy60wpp|NCR 2900_160 wyse 60 wide mode, 
12578	use=ncr260wy60wpp, 
12579ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal, 
12580	am, hs, mc5i, mir, msgr, xon, 
12581	cols#80, it#8, lines#24, nlab#32, 
12582	acsc=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~, 
12583	bel=^G, blink=\E[5m$<30>, bold=\E[1m$<30>, 
12584	clear=\E[2J\E[1;1H$<300>, cr=^M, 
12585	csr=\E[%i%p1%d;%p2%dr$<100>, cub=\E[%p1%dD$<30>, 
12586	cub1=\E[D$<2>, cud=\E[%p1%dB$<30>, cud1=\E[B$<2>, 
12587	cuf=\E[%p1%dC$<30>, cuf1=\E[C$<2>, 
12588	cup=\E[%i%p1%d;%p2%dH$<100>, cuu=\E[%p1%dA$<30>, 
12589	cuu1=\E[A$<2>, dch=\E[%p1%dP$<40>, dch1=\E[1P$<10>, 
12590	dl=\E[%p1%dM$<70>, dl1=\E[M$<40>, dsl=\E[31l$<25>, 
12591	ed=\E[0J$<300>, el=\E[0K$<30>, el1=\E[1K$<30>, 
12592	enacs=\E(B\E)0$<40>, fsl=1$<10>, home=\E[H$<2>$<80>, 
12593	ht=^I, hts=\EH, il=\E[%p1%dL$<80>, il1=\E[B\E[L$<80>, 
12594	ind=\ED, 
12595	is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0$<200>, 
12596	kLFT=\E[D, kRIT=\E[C, ka1=\E[H, kbs=^H, kcub1=\E[D, 
12597	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kent=^M, kf1=\EOP, 
12598	kf2=\EOQ, kf3=\EOR, kf4=\EOS, mc0=\E[i$<100>, nel=\EE, 
12599	rc=\E8, rev=\E[7m$<30>, ri=\EM$<50>, rmacs=\017$<90>, 
12600	rmir=\E[4l$<80>, rmso=\E[0m$<30>, rmul=\E[0m$<30>, 
12601	rs2=\Ec\E[12;31h\E[?3;4;5;10l\E[?6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031$<200>, 
12602	sc=\E7, 
12603	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>, 
12604	sgr0=\017\E[0m$<120>, smacs=\016$<90>, smir=\E[4h$<80>, 
12605	smso=\E[7m$<30>, smul=\E[4m$<30>, tbc=\E[3g$<40>, 
12606	tsl=\E[>+1$<70>, 
12607ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal, 
12608	cols#132, 
12609	is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0$<200>, 
12610	rs2=\Ec\E[12;31h\E[?4;5;10l\E?3;6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031$<200>, 
12611	use=ncrvt100an, 
12612#
12613# Vendor-supplied NCR termcaps end here
12614
12615# NCR7900 DIP switches:
12616#
12617# Switch A:
12618# 1-4 - Baud Rate
12619# 5   - Parity (Odd/Even)
12620# 6   - Don't Send or Do Send Spaces
12621# 7   - Parity Enable
12622# 8   - Stop Bits (One/Two)
12623# 
12624# Switch B:
12625# 1   - Upper/Lower Shift
12626# 2   - Typewriter Shift
12627# 3   - Half Duplex / Full Duplex
12628# 4   - Light/Dark Background
12629# 5-6 - Carriage Return Without / With Line Feed
12630# 7   - Extended Mode
12631# 8   - Suppress Keyboard Display
12632# 
12633# Switch C:
12634# 1   - End of line entry disabled/enabled
12635# 2   - Conversational mode / (Local?) Mode
12636# 3   - Control characters displayed / not displayed
12637# 4   - (2-wire?) / 4-wire communications
12638# 5   - RTS on and off for each character
12639# 6   - (50Hz?) / 60 Hz
12640# 7   - Exit after level zero diagnostics
12641# 8   - RS-232 interface
12642# 
12643# Switch D:
12644# 1   - Reverse Channel (yes / no)
12645# 2   - Manual answer (no / yes)
12646# 3-4 - Cursor appearance
12647# 5   - Communication Rate
12648# 6   - Enable / Disable EXT turnoff
12649# 7   - Enable / Disable CR turnoff
12650# 8   - Enable / Disable backspace
12651#
12652# From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
12653ncr7900i|ncr7900|ncr 7900 model 1, 
12654	am, bw, ul, 
12655	cols#80, lines#24, xmc#1, 
12656	bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
12657	cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek, el=\EK, ind=^J, 
12658	is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F, 
12659	kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@, 
12660	rmul=\E0@, 
12661	sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c, 
12662	sgr0=\E0@, smso=\E0Q, smul=\E0`, 
12663ncr7900iv|ncr 7900 model 4, 
12664	am, bw, eslok, hs, 
12665	cols#80, lines#24, 
12666	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
12667	cup=\013%p1%{64}%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1, 
12668	fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H, 
12669	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, 
12670	kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
12671	khome=\EH, lf6=blue, lf7=red, lf8=white, nel=^M^J, 
12672	tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo, 
12673ncr7901|ncr 7901 model, 
12674	am, bw, ul, 
12675	cols#80, lines#24, 
12676	bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, cr=^M, 
12677	cub1=^H, cud1=^J, cuf1=^F, 
12678	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A, 
12679	ed=\Ek, el=\EK, 
12680	hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J, 
12681	is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
12682	khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O, 
12683	sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016, 
12684	sgr0=^O, smso=\E0Q\016, smul=\E0`\016, 
12685	vpa=\013%p1%{64}%+%c, 
12686
12687#### Perkin-Elmer (Owl)
12688#
12689# These are official terminfo entries from within Perkin-Elmer.
12690#
12691
12692bantam|pe550|pe6100|perkin elmer 550, 
12693	cols#80, lines#24, 
12694	bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
12695	cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
12696	el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA, 
12697fox|pe1100|perkin elmer 1100, 
12698	am, 
12699	cols#80, lines#24, 
12700	bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J, 
12701	cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
12702	ed=\EJ$<5.5*>, el=\EI, flash=\020\002$<200/>\020\003, 
12703	home=\EH, hts=\E1, ind=^J, ll=\EH\EA, tbc=\E3, 
12704owl|pe1200|perkin elmer 1200, 
12705	am, in, 
12706	cols#80, lines#24, 
12707	bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J, 
12708	cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
12709	dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
12710	el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH, 
12711	hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
12712	kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
12713	kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
12714	rmso=\E!\0, sgr0=\E!\0, smso=\E!^H, tbc=\E3, 
12715pe1251|pe6300|pe6312|perkin elmer 1251, 
12716	am, 
12717	cols#80, it#8, lines#24, pb#300, vt#8, xmc#1, 
12718	bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
12719	cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
12720	ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, hts=\E1, ind=^J, 
12721	kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE, 
12722	kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3, 
12723# (pe7000m: this had
12724# 	rmul=\E!\0, smul=\E!\040, 
12725# which is probably wrong, it collides with kf0
12726pe7000m|perkin elmer 7000 series monochrome monitor, 
12727	am, 
12728	cols#80, lines#24, 
12729	bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB, 
12730	cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
12731	ed=\EJ, el=\EI, home=\EH, ind=^J, 
12732	is1=\E!\0\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V, 
12733	kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\0, kf1=\E!^A, 
12734	kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E, 
12735	kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S, 
12736	ll=\ES7\s, ri=\ER, 
12737pe7000c|perkin elmer 7000 series colour monitor, 
12738	is1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0, 
12739	rmul=\E!\0, smso=\Eb2, smul=\E!\s, 
12740	use=pe7000m, 
12741
12742#### Sperry Univac
12743#
12744# Sperry Univac has merged with Burroughs to form Unisys.
12745#
12746
12747# This entry is for the Sperry UTS30 terminal running the TTY 
12748# utility under control of CP/M Plus 1R1. The functionality 
12749# provided is comparable to the DEC vt100.
12750# (uts30: I added <rmam>/<smam> based on the init string -- esr)
12751uts30|sperry uts30 with cp/m@1R1, 
12752	am, bw, hs, 
12753	cols#80, lines#24, wsl#40, 
12754	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
12755	bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=^L, 
12756	cnorm=\ES, cr=^M, csr=\EU%p1%{32}%+%c%p2%{32}%+%c, 
12757	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB, 
12758	cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH, 
12759	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM, 
12760	dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H, 
12761	ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN, 
12762	ind=^J, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, kbs=^H, 
12763	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H, 
12764	rc=\EX, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI, 
12765	rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m, 
12766	rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
12767	sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, smso=\E[7m, 
12768	smul=\E[4m, tsl=\E], uc=\EPB, 
12769
12770#### Tandem
12771#
12772# Tandem builds these things for use with its line of fault-tolerant
12773# transaction-processing computers.  They aren't generally available
12774# on the merchant market, and so are fairly uncommon.
12775#
12776
12777tandem6510|adm3a repackaged by Tandem, 
12778	use=adm3a, 
12779
12780# A funny series of terminal that TANDEM uses.  The actual model numbers
12781# have a fourth digit after 653 that designates minor variants.  These are
12782# natively block-mode and rather ugly, but they have a character mode which
12783# this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
12784# (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
12785# removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
12786tandem653|t653x|Tandem 653x multipage terminal, 
12787	am, da, db, hs, 
12788	cols#80, lines#24, wsl#64, xmc#1, 
12789	clear=\EI, cub1=^H, cud1=^J, cuf1=\EC, 
12790	cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dsl=\Eo\r, 
12791	ed=\EJ, el=\EK, fsl=^M, home=\EH, ind=\ES, ri=\ET, rmso=\E6\s, 
12792	rmul=\E6\s, sgr0=\E6\s, smso=\E6$, smul=\E60, tsl=\Eo, 
12793
12794#### Tandy/Radio Shack
12795#
12796# Tandy has a line of VDTs distinct from its microcomputers.
12797#
12798
12799dmterm|deskmate terminal, 
12800	am, bw, 
12801	cols#80, lines#24, 
12802	bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, cub1=^H, 
12803	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
12804	cuu1=\EA, dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I, 
12805	ich1=\EQ, il1=\EP, ind=\EX, invis@, kcub1=\ED, kcud1=\EB, 
12806	kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, kf3=\E4, 
12807	kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, kf8=\E9, kf9=\E0, 
12808	khome=\EH, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, 
12809	lf6=f7, lf7=f8, lf8=f9, lf9=f10, ll=\EE, rmul@, smul@, 
12810	use=adm+sgr, 
12811dt100|dt-100|Tandy DT-100 terminal, 
12812	xon, 
12813	cols#80, lines#24, xmc#1, 
12814	acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l, 
12815	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
12816	csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
12817	cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
12818	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
12819	il1=\E[L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D, 
12820	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i, 
12821	kf10=\E[?5i, kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~, 
12822	kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, khome=\E[H, 
12823	knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, lf3=f3, lf4=f4, lf5=f5, 
12824	lf6=f6, lf7=f7, lf8=f8, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, 
12825	sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m, 
12826dt100w|dt-100w|Tandy DT-100 terminal (wide mode), 
12827	cols#132, use=dt100, 
12828dt110|Tandy DT-110 emulating ansi, 
12829	xon, 
12830	cols#80, lines#24, 
12831	acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l, 
12832	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
12833	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C, 
12834	cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P, 
12835	dl1=\E[0M, ed=\E[0J, el=\E[0K, enacs=\E(B\E)0, home=\E[H, 
12836	ht=^I, ich1=\E[0@, il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B, 
12837	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K, 
12838	kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, kf4=\E[4~, 
12839	kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, kf8=\E[8~, kf9=\E[9~, 
12840	khome=\E[G, kich1=\E[@, knp=\E[26~, kpp=\E[25~, lf0=f1, 
12841	lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9, 
12842	lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
12843	smacs=^N, smso=\E[7m, smul=\E[4m, 
12844pt210|TRS-80 PT-210 printing terminal, 
12845	hc, os, 
12846	cols#80, 
12847	bel=^G, cr=^M, cud1=^J, ind=^J, 
12848
12849#### Tektronix (tek)
12850#
12851# Tektronix tubes are graphics terminals.  Most of them use modified 
12852# oscilloscope technology incorporating a long-persistence green phosphor,
12853# and support vector graphics on a main screen with an attached "dialogue
12854# area" for interactive text.
12855#
12856
12857tek|tek4012|tektronix 4012, 
12858	os, 
12859	cols#75, lines#35, 
12860	bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, cud1=^J, 
12861	ff=\014$<1000>, is2=\E^O, 
12862# (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
12863tek4013|tektronix 4013, 
12864	acsc=, rmacs=\E^O, smacs=\E^N, use=tek4012, 
12865tek4014|tektronix 4014, 
12866	cols#81, lines#38, 
12867	is2=\E\017\E9, use=tek4012, 
12868# (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
12869tek4015|tektronix 4015, 
12870	acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014, 
12871tek4014-sm|tektronix 4014 in small font, 
12872	cols#121, lines#58, 
12873	is2=\E\017\E\:, use=tek4014, 
12874# (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
12875tek4015-sm|tektronix 4015 in small font, 
12876	acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014-sm, 
12877# Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
12878#
12879# You need to have "stty nl2" in effect.  Some versions of tset(1) know
12880# how to set it for you.
12881#
12882# It's got the Magic Cookie problem around stand-out mode.  If you can't
12883# live with Magic Cookie, remove the :so: and :se: fields and do without
12884# reverse video.  If you like reverse video stand-out mode but don't want
12885# it to flash, change the letter 'H' to 'P' in the :so: field.
12886tek4023|tektronix 4023, 
12887	am, 
12888	cols#80, lines#24, vt#4, xmc#1, 
12889	bel=^G, clear=\E\014$<4/>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
12890	cup=\034%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, rmso=^_@, 
12891	smso=^_P, 
12892# It is recommended that you run the 4025 at 4800 baud or less;
12893# various bugs in the terminal appear at 9600.  It wedges at the
12894# bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
12895# on keyboard don't work.  You have to hit BREAK twice to get
12896# one break at any speed - this is a documented feature.
12897# Can't use cursor motion because it's memory relative, and 
12898# because it only works in the workspace, not the monitor.  
12899# Same for home. Likewise, standout only works in the workspace.
12900# 
12901# <el> was commented out since vi and rogue seem to work better 
12902# simulating it with lots of spaces!
12903# 
12904# <il1> and <il> had 145ms of padding, but that slowed down vi's ^U 
12905# and didn't seem necessary.
12906#
12907tek4024|tek4025|tek4027|tektronix 4024/4025/4027, 
12908	am, da, db, 
12909	cols#80, it#8, lines#34, lm#0, 
12910	bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M, 
12911	cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r, 
12912	cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r, 
12913	cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r, 
12914	dl=\037dli %p1%d\r\006, dl1=\037dli\r\006, 
12915	ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010, 
12916	il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r, 
12917	ind=^F^J, 
12918	is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
12919	rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r, 
12920	smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r, 
12921tek4025-17|tek 4025 17 line window, 
12922	lines#17, use=tek4025, 
12923tek4025-17-ws|tek 4025 17 line window in workspace, 
12924	is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r, 
12925	rmcup=\037mon h\r, rmso=\037att s\r, smcup=\037wor h\r, 
12926	smso=\037att e\r, 
12927	use=tek4025-17, 
12928tek4025-ex|tek4027-ex|tek 4025/4027 w/!, 
12929	is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r, 
12930	rmcup=\037com 33\r, smcup=!com 31\r, 
12931	use=tek4025, 
12932# Tektronix 4025a
12933# From: Doug Gwyn <gwyn@brl-smoke.ARPA>
12934# The following status modes are assumed for normal operation (replace the
12935# initial "!" by whatever the current command character is):
12936#	!COM 29			# NOTE: changes command character to GS (^])
12937#	^]DUP
12938#	^]ECH R
12939#	^]EOL
12940#	^]RSS T
12941#	^]SNO N
12942#	^]STO 9 17 25 33 41 49 57 65 73
12943# Other modes may be set according to communication requirements.
12944# If the command character is inadvertently changed, termcap can't restore it.
12945# Insert-character cannot be made to work on both top and bottom rows.
12946# Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
12947# There also seems to be a problem with vertical motion, perhaps involving
12948# delete/insert-line, following a typed carriage return.  This terminal sucks.
12949# Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
12950# (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
12951# work any more. -- esr)
12952tek4025a|Tektronix 4025A, 
12953	am, bw, da, db, xon, 
12954	cols#80, it#8, lines#34, 
12955	bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, cmdch=^], 
12956	cr=^M, cub=\035lef %p1%d;, cub1=^H, cud=\035dow %p1%d;, 
12957	cud1=^J, cuf=\035rig %p1%d;, cuf1=\035rig;, 
12958	cuu=\035up %p1%d;, cuu1=^K, dch=\035dch %p1%d;, 
12959	dch1=\035dch;, dl=\035dli %p1%d;, dl1=\035dli;, 
12960	el=\035dch 80;, hpa=\r\035rig %p1%d;, ht=^I, 
12961	il1=\013\035ili;, ind=^J, indn=\035dow %p1%d;, 
12962	tbc=\035sto;, 
12963# From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
12964# Here's the command file that I use to get rogue to work on the 4025.
12965# It should work with any program using the old curses (e.g. it better
12966# not try to scroll, or cursor addressing won't work.  Also, you can't
12967# see the cursor.)
12968# (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
12969tek4025-cr|tek 4025 for curses and rogue, 
12970	am, 
12971	cols#80, it#8, lines#33, 
12972	clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;, 
12973	cup=\037jum%i%p1%d\,%p2%d;, cuu1=^K, ht=^I, ind=^F^J, 
12974	is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
12975	rmcup=\037wor 0, smcup=\037wor 33h, 
12976# next two lines commented out since curses only allows 128 chars, sigh.
12977#	: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:\
12978#	: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:
12979tek4025ex|4025ex|4027ex|tek 4025 w/!, 
12980	is2=\037com 33\r\n!sto 9\,17\,25\,33\,41\,49\,57\,65\,73\r, 
12981	rmcup=\037com 33\r, smcup=!com 31\r, 
12982	use=tek4025, 
12983tek4105|tektronix 4105, 
12984	am, mir, msgr, ul, xenl, xt, 
12985	cols#79, it#8, lines#29, 
12986	acsc=, bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z, 
12987	clear=\E[2J\E[H, cr=^M, cud1=\E[1B, cuf1=\E[1C, 
12988	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P, 
12989	dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
12990	il1=\E[1L, ind=\E[S, invis=\E[=6;<5, is1=\E%!1\E[m, 
12991	is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, kcud1=\E[1B, 
12992	kcuf1=\E[1C, kcuu1=\E[1A, rev=\E[=1;<3m, ri=\E[T, 
12993	rmacs=\E[m, rmcup=, rmir=\E[4l, rmso=\E[=0;<1m, 
12994	rmul=\E[=0;<1m, sgr0=\E[=0;<1m, smacs=\E[1m, 
12995	smcup=\E%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
12996	smul=\E[=5;<2m, tbc=\E[1g, 
12997
12998# (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
12999tek4105-30|4015 emulating 30 line vt100, 
13000	am, mir, msgr, xenl, xon, 
13001	cols#80, it#8, lines#30, vt#3, 
13002	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
13003	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
13004	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
13005	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
13006	cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
13007	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
13008	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
13009	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq, 
13010	ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
13011	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
13012	kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, 
13013	kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
13014	rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
13015	rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
13016	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
13017	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
13018	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
13019	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
13020
13021# Tektronix 4105 from BRL
13022# The following setup modes are assumed for normal operation:
13023#	CODE ansi		CRLF no			DABUFFER 141
13024#	DAENABLE yes		DALINES 30		DAMODE replace
13025#	DAVISIBILITY yes	ECHO no			EDITMARGINS 1 30
13026#	FLAGGING input		INSERTREPLACE replace	LFCR no
13027#	ORIGINMODE relative	PROMPTMODE no		SELECTCHARSET G0 B
13028#	SELECTCHARSET G1 0	TABS -2
13029# Other setup modes may be set for operator convenience or communication
13030# requirements; I recommend
13031#	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
13032#	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
13033#	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
13034#	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 10 1
13035#	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
13036#	PROMPTSTRING ''		QUEUESIZE 2460		WINDOW 0 0 4095 3132
13037#	XMTDELAY 0
13038# and factory color maps.  After setting these modes, save them with NVSAVE. No
13039# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
13040# "IC" cannot be used in combination with "im" & "ei".
13041# "tek4105a" is just a guess:
13042tek4105a|Tektronix 4105, 
13043	msgr, xon, 
13044	cols#80, it#8, lines#30, vt#3, 
13045	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
13046	civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J, 
13047	cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
13048	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
13049	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13050	cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1, 
13051	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
13052	ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
13053	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1, 
13054	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
13055	kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ, 
13056	kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, 
13057	lf5=F6, lf6=F8, ll=\E[30;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
13058	rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1, 
13059	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, 
13060	sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h, 
13061	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
13062
13063#
13064# Tektronix 4106/4107/4109 from BRL
13065# The following setup modes are assumed for normal operation:
13066#	CODE ansi		COLUMNMODE 80		CRLF no
13067#	DABUFFER 141		DAENABLE yes		DALINES 32
13068#	DAMODE replace		DAVISIBILITY yes	ECHO no
13069#	EDITMARGINS 1 32	FLAGGING input		INSERTREPLACE replace
13070#	LFCR no			LOCKKEYBOARD no		ORIGINMODE relative
13071#	PROMPTMODE no		SELECTCHARSET G0 B	SELECTCHARSET G1 0
13072#	TABS -2
13073# Other setup modes may be set for operator convenience or communication
13074# requirements; I recommend
13075#	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
13076#	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
13077#	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
13078#	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 9 3
13079#	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
13080#	PROMPTSTRING ''		QUEUESIZE 2620		WINDOW 0 0 4095 3132
13081#	XMTDELAY 0
13082# and factory color maps.  After setting these modes, save them with NVSAVE.  No
13083# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
13084# "IC" cannot be used in combination with "im" & "ei".
13085tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109, 
13086	msgr, xon, 
13087	cols#80, it#8, lines#32, vt#3, 
13088	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
13089	civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J, 
13090	cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
13091	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
13092	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13093	cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1, 
13094	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
13095	ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
13096	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1, 
13097	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
13098	kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ, 
13099	kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, 
13100	lf5=F6, lf6=F8, ll=\E[32;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
13101	rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1, 
13102	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
13103	rs1=\030\E%!0\EKC\E\014\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\ELLB0\ELM0\EKE0\ENF1\EKS0\END0\ERE0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>, 
13104	sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h, 
13105	smkx=\E[?1h\E=, smso=\E[7;42m, smul=\E[4m, tbc=\E[3g, 
13106
13107tek4107|tek4109|tektronix terminals 4107 4109, 
13108	am, mir, msgr, ul, xenl, xt, 
13109	cols#79, it#8, lines#29, 
13110	bel=^G, blink=\E%!1\E[5m$<2>\E%!0, 
13111	bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, cr=^M, 
13112	cub1=^H, cud1=^J, cuf1=\EC, 
13113	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E%!3, 
13114	dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, el=\EK, ht=^I, ind=^J, 
13115	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
13116	rev=\E%!1\E[7m$<2>\E%0, ri=\EI, 
13117	rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0, 
13118	sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0, 
13119	sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0, 
13120	smul=\E%!1\E[4m$<2>\E%!0, 
13121# Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
13122# see the note attached to tek4207.
13123tek4207-s|Tektronix 4207 with sysline but no memory, 
13124	eslok, hs, 
13125	dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8, 
13126	is1=\E%!1\E[2;32r\E[132D\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J, 
13127	is2=\E7\E[?6l\E[2K\E[?6h\E8, 
13128	tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107, 
13129
13130# The 4110 series may be a wonderful graphics series, but they make the 4025
13131# look good for screen editing.  In the dialog area, you can't move the cursor
13132# off the bottom line.  Out of the dialog area, ^K moves it up, but there
13133# is no way to scroll.
13134# 
13135# Note that there is a floppy for free from Tek that makes the 
13136# 4112 emulate the vt52 (use the vt52 termcap). There is also
13137# an expected enhancement that will use ANSI standard sequences.
13138# 
13139# 4112 in non-dialog area pretending to scroll. It really wraps 
13140# but vi is said to work (more or less) in this mode.
13141# 
13142# 'vi' works reasonably well with this entry.
13143#
13144otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series, 
13145	am, 
13146	cols#80, lines#34, 
13147	bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ind=^J, 
13148	rmcup=\EKA1\ELV1, smcup=\EKA0\ELV0\EMG0, 
13149# The 4112 with the ANSI compatibility enhancement
13150tek4112|tek4114|tektronix 4110 series, 
13151	am, db, 
13152	cols#80, lines#34, 
13153	cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C, 
13154	cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P, dl1=\E[M, 
13155	ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L, 
13156	ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, ri=\E7\E[0;0H\E[L\E8, 
13157	rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
13158tek4112-nd|4112 not in dialog area, 
13159	cuu1=^K, use=tek4112, 
13160tek4112-5|4112 in 5 line dialog area, 
13161	lines#5, use=tek4112, 
13162# (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
13163# removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
13164# Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
13165# previously \0410 and \0411 sequences...I don't *think* they were supposed
13166# to be 4-digit octal -- esr)
13167tek4113|tektronix 4113 color graphics with 5 line dialog area, 
13168	am, da, eo, 
13169	cols#80, lines#5, 
13170	clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0, 
13171	flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
13172	is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0, 
13173tek4113-34|tektronix 4113 color graphics with 34 line dialog area, 
13174	lines#34, 
13175	is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113, 
13176# :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not 
13177# supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
13178# :vb: needs enough delay to let you see the background color being toggled.
13179tek4113-nd|tektronix 4113 color graphics with no dialog area, 
13180	am, eo, 
13181	cols#80, it#8, lines#34, 
13182	clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K, 
13183	cvvis=\ELZ\EKA0, 
13184	flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
13185	home=\ELF7l\177 @, ht=^I, is2=\ELZ\EKA0\ELF7l\177 @, 
13186	ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0, 
13187# This entry is from Tek. Inc.  (Brian Biehl)
13188# (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
13189otek4115|Tektronix 4115, 
13190	am, da, db, eo, 
13191	cols#80, it#8, lines#34, 
13192	cbt=\E[Z, clear=\E[H\E[2J, 
13193	cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, cud1=\E[B, 
13194	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
13195	cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, dl1=\E[M, ed=\E[J, 
13196	el=\E[K, home=\E[H, ht=^I, if=/usr/share/tabset/vt100, 
13197	il1=\E[L, 
13198	is2=\E%!0\E%\014\ELV0\EKA1\ELBB2\ENU@=\ELLB2\ELM0\ELV1\EKYA?\E%!1\E[<1l\E[?7h\E[?8h\E[34;1H\E[34B\E[m, 
13199	kbs=^H, ri=\EM, rmam=\E[?7l, 
13200	rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l, 
13201	rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, 
13202	smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, smso=\E[7m, 
13203	smul=\E[4m, 
13204tek4115|newer tektronix 4115 entry with more ANSI capabilities, 
13205	am, xon, 
13206	cols#80, lines#34, 
13207	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
13208	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
13209	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13210	cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM, 
13211	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG, 
13212	ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
13213	il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D, 
13214	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
13215	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l, 
13216	rmso=\E[m, rmul=\E[m, 
13217	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
13218	sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
13219	vpa=\E[%p1%{1}%+%dd, 
13220# The tek4125 emulates a vt100 incorrectly - the scrolling region
13221# command is ignored.  The following entry replaces <csr> with the needed
13222# <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
13223# chokes on; and adds a lot of initialization for the tek dialog area.
13224# Note that this entry uses all 34 lines and sets the cursor color to green.
13225# Steve Jacobson 8/85
13226# (tek4125: there were two "\!"s in the is that I replaced with "\E!";
13227# commented out, <smir>=\E1 because there's no <rmir>  -- esr)
13228tek4125|tektronix 4125, 
13229	lines#34, 
13230	csr@, dl1=\E[1M, il1=\E[1L, 
13231	is2=\E%\E!0\EQD1\EUX03\EKA\ELBB2\ELCE0\ELI100\ELJ2\ELLB2\ELM0\ELS1\ELX00\ELV1\E%\E!1\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
13232	rc@, sc@, smkx=\E=, 
13233	use=vt100, 
13234
13235# From: <jcoker@ucbic>
13236# (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
13237# supplied another, less capable 4107 entry.  So we'll use that for 4107 and
13238# note that if jcoker wasn't confused you may be able to use this one.
13239# I merged in <msgr>,<ind>,<ri>,<invis>,<tbc> from a BRL entry -- esr)
13240tek4207|Tektronix 4207 graphics terminal with memory, 
13241	am, bw, mir, msgr, ul, xenl, 
13242	cols#80, it#8, lines#32, 
13243	blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J$<156/>, 
13244	cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13245	cuu1=\EM, dch1=\E[P$<4/>, dl1=\E[M$<3/>, ed=\E[J, 
13246	el=\E[K$<5/>, home=\E[H, ht=^I, ich1=\E[@$<4/>, 
13247	il1=\E[L$<3/>, ind=\E[S, invis=\E[=6;<5, 
13248	is2=\E%!0\ELBP0\E%!1\E[H\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J, 
13249	kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, khome=\E[H, 
13250	rev=\E[7m, ri=\E[T, 
13251	rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f, rmso=\E[m, 
13252	rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J, smso=\E[7m, 
13253	smul=\E[4m, tbc=\E[1g, 
13254
13255# From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
13256# (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
13257# Tab had been given as \E2I,that must be the tab-set capability -- esr)
13258tek4404|tektronix 4404, 
13259	cols#80, it#8, lines#32, 
13260	blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, 
13261	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
13262	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[1M, 
13263	ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\E[2I, il1=\E[1L, 
13264	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rc=\E8, 
13265	rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l, 
13266	rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
13267	smcup=\E%\E!1\E[1;32r\E[?6l\E>, smir=\E[4h, 
13268	smkx=\E[?1l, smso=\E[7m, smul=\E[4m, 
13269# Some unknown person wrote:
13270# I added the is string - straight Unix has ESC ; in the login 
13271# string which sets a ct8500 into monitor mode (aka 4025 snoopy 
13272# mode). The is string here cleans up a few things (but not 
13273# everything).
13274ct8500|tektronix ct8500, 
13275	am, bw, da, db, 
13276	cols#80, lines#25, 
13277	bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, cud1=^J, 
13278	cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cuu1=\ER, 
13279	dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, ht=^I, ich1=\E^\, 
13280	il1=\E^L, ind=^J, is2=\037\EZ\Ek, ri=\E^A, rmso=\E\s, 
13281	rmul=\E\s, sgr0=\E\s, smso=\E$, smul=\E!, 
13282
13283# Tektronix 4205 terminal.
13284#
13285# am is not defined because the wrap around occurs not when the char.
13286# is placed in the 80'th column, but when we are attempting to type
13287# the 81'st character on the line.  (esr: hmm, this is like the vt100
13288# version of xenl, perhaps am + xenl would work!)
13289#
13290# Bold, dim, and standout are simulated by colors and thus not allowed
13291# with colors.  The tektronix color table is mapped into the RGB color
13292# table by setf/setb. All colors are reset to factory specifications by oc.
13293# The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the 
13294# interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
13295# interval then maps into pre-defined value.
13296tek4205|tektronix 4205, 
13297	ccc, mir, msgr, 
13298	colors#8, cols#80, it#8, lines#30, ncv#49, pairs#63, 
13299	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
13300	bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z, 
13301	clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
13302	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
13303	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
13304	dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX, 
13305	ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I, 
13306	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED, 
13307	initc=\E%%!0\ETF4%?%p1%{0}%=%t0%e%p1%{1}%=%t4%e%p1%{2}%=%t3%e%p1%{3}%=%t5%e%p1%{4}%=%t2%e%p1%{5}%=%t6%e%p1%{6}%=%t7%e1%;%?%p2%{125}%<%t0%e%p2%{250}%<%tA2%e%p2%{375}%<%tA?%e%p2%{500}%<%tC8%e%p2%{625}%<%tD4%e%p2%{750}%<%tE1%e%p2%{875}%<%tE\:%eF4%;%?%p3%{125}%<%t0%e%p3%{250}%<%tA2%e%p3%{375}%<%tA?%e%p3%{500}%<%tC8%e%p3%{625}%<%tD4%e%p3%{750}%<%tE1%e%p3%{875}%<%tE\:%eF4%;%?%p4%{125}%<%t0%e%p4%{250}%<%tA2%e%p4%{375}%<%tA?%e%p4%{500}%<%tC8%e%p4%{625}%<%tD4%e%p4%{750}%<%tE1%e%p4%{875}%<%tE\:%eF4%;\E%%!1, 
13308	invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H, 
13309	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA, 
13310	kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER, 
13311	kf7=\ES, 
13312	oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1, 
13313	op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=, 
13314	rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m, 
13315	setb=\E[=%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;, 
13316	setf=\E[<%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;, 
13317	sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N, 
13318	smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
13319	smul=\E[4m, tbc=\E[1g, 
13320
13321#### Teletype (tty)
13322#
13323# These are the hardcopy Teletypes from before AT&T bought the company,
13324# clattering electromechanical dinosaurs in Bakelite cases that printed on
13325# pulpy yellow roll paper.  If you remember these you go back a ways.
13326# Teletype-branded VDTs are listed in the AT&T section.
13327#
13328# The earliest UNIXes were designed to use these clunkers; nroff and a few
13329# other programs still default to emitting codes for the Model 37.
13330#
13331
13332tty33|tty35|model 33 or 35 teletype, 
13333	hc, os, xon, 
13334	cols#72, 
13335	bel=^G, cr=^M, cud1=^J, ind=^J, 
13336tty37|model 37 teletype, 
13337	hc, os, xon, 
13338	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, 
13339	ind=^J, 
13340
13341# There are known to be at least three flavors of the tty40, all seem more
13342# like IBM half duplex forms fillers than ASCII terminals.  They have lots of
13343# awful braindamage, such as printing a visible newline indicator after each
13344# newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
13345# braindamaged but has hope and is described here.  The 40-4 is a 3270
13346# lookalike and beyond hope.  The terminal has visible bell but I don't know
13347# it - it's null here to prevent it from showing the BL character.
13348# There is an \EG in <nl> because of a bug in old vi (if stty says you have
13349# a "newline" style terminal (-crmode) vi figures all it needs is nl
13350# to get crlf, even if <cr> is not ^M.)
13351# (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
13352tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2, 
13353	xon, 
13354	cols#80, lines#24, 
13355	clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB, 
13356	cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>, 
13357	ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1, 
13358	ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^], 
13359	kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, rmso=\E4, 
13360	rs2=\023\ER$<60>, smso=\E3, tbc=\EH\E2$<80>, 
13361tty43|model 43 teletype, 
13362	am, hc, os, xon, 
13363	cols#132, 
13364	bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
13365
13366#### Tymshare
13367#
13368
13369# You can add <is2=\E<> to put this 40-column mode, though I can't
13370# for the life of me think why anyone would want to.
13371scanset|sc410|sc415|Tymshare Scan Set, 
13372	am, bw, msgr, 
13373	cols#80, lines#24, 
13374	acsc=j%k4l<m-q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, 
13375	cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
13376	cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED, 
13377	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0, 
13378	mc5=\E;0, rc=^C, rmacs=^O, rs1=\E>, sc=^B, smacs=^N, 
13379
13380#### Volker-Craig (vc)
13381#
13382# If you saw a Byte Magazine cover with a terminal on it during the early
13383# 1980s, it was probably one of these.  Carl Helmers liked them because
13384# they could crank 19.2 and were cheap (that is, he liked them until he tried
13385# to program one...)
13386#
13387
13388# Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
13389# every other linefeed.
13390vc303|vc103|vc203|volker-craig 303, 
13391	am, 
13392	cols#80, lines#24, 
13393	bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
13394	cuu1=^N, home=\013$<40>, kcub1=^H, kcud1=^J, kcuf1=^I, 
13395	kcuu1=^N, ll=\017$<1>W, 
13396vc303a|vc403a|volker-craig 303a, 
13397	clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>, 
13398	home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303, 
13399# (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
13400vc404|volker-craig 404, 
13401	am, 
13402	cols#80, lines#24, 
13403	bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
13404	cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
13405	ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J, 
13406	kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, 
13407vc404-s|volker-craig 404 w/standout mode, 
13408	cud1=^J, rmso=^O, smso=^N, use=vc404, 
13409# From: <wolfgang@cs.sfu.ca>
13410# (vc414: merged in cup/dl1/home from an old vc414h-noxon)
13411vc414|vc414h|Volker-Craig 414H in sane escape mode., 
13412	am, 
13413	cols#80, lines#24, 
13414	clear=\E\034$<40>, cud1=\E^K, cuf1=^P, 
13415	cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3, 
13416	dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, home=\E^R, 
13417	ich1=\E\:, il1=\E\032$<40>, kcub1=^H, kcud1=\E^K, kcuf1=^P, 
13418	kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, kf4=\EE, 
13419	kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R, lf0=PF1, lf1=PF2, 
13420	lf2=PF3, lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8, 
13421	rmso=\E^_, smso=\E^Y, 
13422vc415|volker-craig 415, 
13423	clear=^L, use=vc404, 
13424
13425######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
13426#
13427
13428#### IBM PC and clones
13429#
13430
13431# The pcplot IBM-PC terminal emulation program is really messed up. It is
13432# supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
13433# doesn't support scrolling regions, ignores add line commands, and ignores
13434# delete line commands. Consequently, the resulting behavior looks like a
13435# crude adm3a-type terminal.
13436# Steve Jacobson 8/85
13437pcplot|pc-plot terminal emulation program, 
13438	xenl@, 
13439	csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100, 
13440# KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
13441# I've found that my KayPro II, running MDM730, continues to emulate an
13442# ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
13443# system the following termcap entry works well:
13444# I have noticed a couple of minor glitches, but nothing I can't work
13445# around. (I added two capabilities from the BRL entry -- esr)
13446kaypro|kaypro2|kaypro II, 
13447	am, 
13448	cols#80, lines#24, 
13449	bel=^G, clear=\032$<1/>, cr=^M, cud1=^J, cuf1=^L, 
13450	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER, ed=^W, 
13451	el=^X, home=^^, il1=\EE, ind=^J, kcud1=^J, kcuf1=^L, kcuu1=^K, 
13452
13453# From IBM, Thu May  5 19:35:27 1983
13454# (commented out <smir>=\200R because we don't know <rmir> -- esr)
13455ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS), 
13456	am, 
13457	cols#80, lines#24, 
13458	bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\, 
13459	cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_, 
13460
13461ibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX, 
13462	am, bw, eo, hs, km, msgr, ul, 
13463	cols#80, it#8, lines#24, 
13464	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
13465	bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, 
13466	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
13467	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13468	cuu=\E[%p1%dA, cuu1=\E[A, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
13469	home=\E[H, hpa=\E[%i%p1%dG, ind=\E[S\E[B, 
13470	indn=\E[%p1%dS\E[%p1%dB, invis=\E[30;40m, kbs=^H, 
13471	kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
13472	kdch1=\177, kend=\E[Y, kf1=\240, kf10=\251, kf2=\241, 
13473	kf3=\242, kf4=\243, kf5=\244, kf6=\245, kf7=\246, kf8=\247, 
13474	kf9=\250, khome=\E[H, kich1=\E[^H, knp=\E[U, ll=\E[24;1H, 
13475	nel=^M, rev=\E[7m, ri=\E[T\E[A, rin=\E[%p1%dT\E[%p1%dA, 
13476	rmso=\E[m, rmul=\E[m, 
13477	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
13478	sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
13479
13480#### Apple II
13481#
13482# Apple II firmware console first, then various 80-column cards and 
13483# terminal emulators.  For two cents I'd toss all these in the UFO file
13484# along with the 40-column apple entries.
13485#
13486
13487# From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
13488#	'it#8' tells UNIX that you have tabs every 8 columns.  This is a
13489#		function of TIC, not the firmware.
13490#	The clear key on a IIgs will do something like clear-screen, 
13491#		depending on what you're in.
13492appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface, 
13493	am, bw, eo, msgr, 
13494	cols#80, it#8, lines#24, 
13495	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
13496	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
13497	home=^Y, ht=^I, ind=^W, kbs=^H, kclr=^X, kcub1=^H, kcud1=^J, 
13498	kcuf1=^U, kcuu1=^K, kdch1=\177, nel=^M^W, ri=^V, rmso=^N, 
13499	smso=^O, 
13500# Apple //e with 80-column card, entry from BRL
13501# The modem interface is permitted to discard LF (maybe DC1), otherwise
13502# passing characters to the 80-column firmware via COUT (PR#3 assumed).
13503# Auto-wrap does not work right due to newline scrolling delay, which also
13504# requires that you set "stty cr2".
13505# Note: Cursor addressing is only available via the Pascal V1.1 entry,
13506# not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
13507# using a terminal emulation program instead of the built-in firmware.
13508apple2e|Apple //e, 
13509	bw, msgr, 
13510	cols#80, lines#24, 
13511	bel=^G, clear=\014$<100/>, cub1=^H, cud1=^J, cuu1=^_, 
13512	ed=\013$<4*/>, el=\035$<4/>, home=^Y, ht=^I, ind=^W, 
13513	is2=^R^N, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^K, 
13514	nel=\r$<100/>, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N, 
13515	smso=^O, 
13516# mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
13517# 4.20, with incoming and outgoing terminals both on 0, emulation On.
13518apple2e-p|Apple //e via Pascal, 
13519	cup=\036%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, kcub1=^H, 
13520	kcud1=^J, 
13521	use=apple2e, 
13522# (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
13523# Enable DC3/DC1 flow control with "stty ixon -ixany".
13524apple-ae|ASCII Express, 
13525	am, bw, msgr, nxon, xon, 
13526	cols#80, it#8, lines#24, 
13527	bel=\007$<500/>, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
13528	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
13529	home=^Y, ind=^W, is2=^R^N, kclr=^X, kcub1=^H, kcud1=^J, 
13530	kcuf1=^U, kcuu1=^K, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N, 
13531	smso=^O, 
13532appleII|apple ii plus, 
13533	am, 
13534	cols#80, it#8, lines#24, 
13535	clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\, 
13536	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, cvvis=^TC6, 
13537	ed=^K, el=^], flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I, 
13538	is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, sgr0=^N, 
13539	smso=^O, 
13540# Originally by Gary Ford 21NOV83
13541# From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
13542apple-80|apple II with smarterm 80 col, 
13543	am, bw, 
13544	cols#80, lines#24, 
13545	cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J, 
13546	cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, 
13547	ed=\013$<10*/>, el=\035$<10/>, home=^Y, 
13548apple-soroc|apple emulating soroc 120, 
13549	am, 
13550	cols#80, lines#24, 
13551	bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
13552	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET, 
13553	home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
13554# From Peter Harrison, Computer Graphics Lab, San Francisco
13555#   ucbvax!ucsfmis!harrison  .....uucp
13556#   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
13557# "These two work.  If you don't have the inverse video chip for the
13558# Apple with videx then remove the :so: and :se: fields."
13559# (apple-videx: this used to be called DaleApple -- esr)
13560apple-videx|Apple with videx videoterm 80 column board with inverse video, 
13561	am, xenl, 
13562	cols#80, it#8, lines#24, 
13563	clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\, 
13564	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
13565	home=^Y, ht=^I, kcub1=^H, kcud1=^J, kcuf1=^U, khome=^Y, 
13566	rmso=^Z2, sgr0=^Z2, smso=^Z3, 
13567# My system [for reference] : Apple ][+, 64K, Ultraterm display card,
13568#			      Apple Cat ][ 212 modem, + more all
13569#			      controlled by ASCII Express: Pro.
13570# From Dave Shaver <isucs1!shaver>
13571apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell, 
13572	am, eo, xt, 
13573	cols#80, lines#24, 
13574	acsc=, clear=^L, cuf1=^\, 
13575	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
13576	flash=^W35^W06, home=^Y, 
13577	is2=^V4^W06\017\rVisible Bell Installed.\016\r\n, 
13578	rmso=^N, smso=^O, 
13579apple-uterm|Ultraterm for Apple micros, 
13580	am, eo, xt, 
13581	cols#80, lines#24, 
13582	acsc=, clear=^L, cuf1=^\, 
13583	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
13584	home=^Y, is2=^V4^W06\016, rmso=^N, smso=^O, 
13585# from trwrba!bwong (Bradley W. Wong):
13586#
13587# This entry assumes that you are using an apple with the UCSD Pascal
13588# language card.  SYSTEM.MISCINFO is assumed to be the same as that
13589# supplied with the standard apple except that screenwidth should be set
13590# using SETUP to 80 columns.  Note that the right arrow in not mapped in
13591# this termcap entry.  This is because that key, on the Apple, transmits
13592# a ^U and would thus preempt the more useful "up" function of vi.
13593#
13594# HMH 2/23/81
13595apple80p|80-column apple with Pascal card, 
13596	am, bw, 
13597	cols#80, lines#24, 
13598	clear=^Y^L, cuf1=^\\:, 
13599	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
13600	home=^Y, kcub1=^H, 
13601#
13602# Apple II+ equipped with Videx 80 column card
13603#
13604# Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
13605# manually converted by D A Gwyn
13606#
13607# DO NOT use any terminal emulation with this data base, it works directly
13608# with the Videx card.  This has been tested with vi 1200 baud and works fine.
13609#
13610# This works great for vi, except I've noticed in pre-R2, ^U will scroll back
13611# 1 screen, while in R2 ^U doesn't.
13612# For inverse alternate character set add:
13613#	<smacs>=^O:<rmacs>=^N:
13614# (apple-v: added it#8 -- esr)
13615apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520), 
13616	am, xenl, 
13617	cols#80, it#8, lines#24, 
13618	bel=\007$<100/>, clear=\014$<16*/>, cr=^M, cub1=^H, 
13619	cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, 
13620	cuu1=^_, ed=\013$<16*/>, el=^], home=^Y, ht=\011$<8/>, 
13621	ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
13622	khome=^Y, rmso=^Z2, smso=^Z3, 
13623apple-videx3|vapple|Apple II with 80 col card, 
13624	am, 
13625	cols#80, lines#24, 
13626	clear=\Ev, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
13627	cuu1=\EA, el=\Ex, home=\EH, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
13628	kcuu1=\EA, kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E\s, kf4=\E!, 
13629	kf5=\E", kf6=\E#, kf7=\E$, kf8=\E%, kf9=\E&, khome=\EH, 
13630#From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
13631aepro|Apple II+ running ASCII Express Pro--vt52, 
13632	cols#80, lines#24, 
13633	clear=\014$<300/>, cuf1=\EC, 
13634	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
13635	el=\EK, home=\EH, 
13636# UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
13637apple-vm80|ap-vm80|apple with viewmax-80, 
13638	cols#80, lines#24, 
13639	clear=\014$<300/>, cuf1=^\\:, 
13640	cup=\036%p1%{32}%+%c%p2%{32}%+%c$<100/>, cuu1=^_, 
13641	ed=\013$<300/>, el=^], home=\031$<200/>, 
13642
13643#### Apple Lisa & Macintosh
13644#
13645
13646# (lisa: changed <cvvis> to <cnorm> -- esr)
13647lisa|apple lisa console display (black on white), 
13648	am, eo, msgr, 
13649	cols#88, it#8, lines#32, 
13650	acsc=jdkclfmenbqattuvvuwsx`, civis=\E[5h, clear=^L, 
13651	cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C, 
13652	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
13653	ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
13654	is2=\E>\E[m\014, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
13655	kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
13656	sgr0=\E[m, smacs=\E[11m, smso=\E[7m, smul=\E[4m, 
13657liswb|apple lisa console display (white on black), 
13658	is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m, 
13659	smso=\E[m, smul=\E[4m, use=lisa, 
13660
13661# lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
13662# <is2> revised by Ferd Brundick <fsbrn@BRL.ARPA>
13663#
13664# These entries assume that the 'Auto Wraparound' is enabled.
13665# Xon-Xoff flow control should also be enabled.
13666#
13667# The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
13668# settings are in non-volatile memory and don't need to be reset upon login.
13669# Also setting the number of columns glitches the screen annoyingly.
13670# You can type "reset" to get them set.
13671#
13672lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation, 
13673	am, xenl, xon, 
13674	cols#80, it#8, lines#24, vt#3, 
13675	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
13676	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
13677	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
13678	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, 
13679	el=\E[K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, 
13680	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, kf1=\EOQ, 
13681	kf2=\EOR, kf3=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, rc=\E8, 
13682	rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
13683	rs1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r, 
13684	sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
13685	tbc=\E[3g, 
13686# Lisaterm in 132 column ("wide") mode.
13687lisaterm-w|Apple Lisa with Lisaterm in 132 column mode, 
13688	cols#132, 
13689	kbs=^H, kcub1=^H, kcud1=^J, use=lisaterm, 
13690# Although MacTerminal has insert/delete line, it is commented out here
13691# since it is much faster and cleaner to use the "lock scrolling region"
13692# method of inserting and deleting lines due to the MacTerminal implementation.
13693# Also, the "Insert/delete ch" strings have an extra character appended to them
13694# due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
13695# supported by MacTerminal.
13696mac|macintosh|Macintosh with MacTerminal, 
13697	xenl, 
13698	blink@, dch1=\E[P$<7/>, ich1=\E[@$<9/>, ip=$<7/>, use=lisa, 
13699# Lisaterm in 132 column ("wide") mode.
13700mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode, 
13701	cols#132, use=mac, 
13702
13703#### Radio Shack/Tandy
13704#
13705
13706# (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
13707# I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
13708# From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
13709coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II, 
13710	am, 
13711	cols#80, it#8, lines#24, 
13712	bel=^G, blink=^_", bold=\E\:^A, civis=^E\s, 
13713	clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F, 
13714	cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I, 
13715	dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J, 
13716	kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#, 
13717	sgr0=\037!\E\:\0, smso=^_\s, smul=^_", 
13718# (trs2: removed obsolete ":nl=^_:" -- esr)
13719trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M, 
13720	am, msgr, 
13721	cols#80, it#8, lines#24, 
13722	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^], 
13723	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, ed=^B, 
13724	el=^A, home=^F, ht=^I, il1=^D, ind=^J, kbs=^H, kcub1=^\, 
13725	kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N, 
13726# From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
13727# (This had extension capabilities
13728#	:BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
13729#	:CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
13730# I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
13731trs16|trs-80 model 16 console, 
13732	am, 
13733	cols#80, it#8, lines#24, 
13734	acsc=jak`l_mbquvewcxs, bel=^G, civis=\ERc, clear=^L, 
13735	cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
13736	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
13737	dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
13738	ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
13739	kf0=^A, kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S, 
13740	khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, 
13741	lf7=f8, mc4=\E]+, mc5=\E]=, rmacs=\ERg, rmso=\ER@, sgr0=\ER@, 
13742	smacs=\ERG, smso=\ERD, 
13743
13744#### Atari ST
13745#
13746
13747# From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
13748atari|atari st, 
13749	am, 
13750	cols#80, it#8, lines#25, 
13751	clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC, 
13752	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
13753	ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, kcud1=\EB, 
13754	kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep, 
13755# UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
13756# From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
13757uniterm|uniterm49|UniTerm VT220 emulator with 49 lines, 
13758	lines#49, 
13759	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H, use=vt220, 
13760# MiNT VT52 emulation. 80 columns, 25 rows.
13761# MiNT is Now TOS, the operating system which comes with all Ataris now
13762# (mainly Atari Falcon). This termcap is for the VT52 emulation you get
13763# under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
13764# From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
13765st52|Atari ST with VT52 emulation, 
13766	am, km, 
13767	cols#80, lines#25, 
13768	bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, cub1=\ED, 
13769	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
13770	cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL, 
13771	ind=^J, ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1, 
13772	kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, kcuf1=\E#M, 
13773	kcuu1=\E#H, kf0=\E#D, kf1=\E#;, kf2=\E#<, kf3=\E#=, kf4=\E#>, 
13774	kf5=\E#?, kf6=\E#@, kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G, 
13775	kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, rc=\Ek, 
13776	ri=\EI, rmcup=, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, sgr0=\Eq, 
13777	smcup=\Ee, smso=\Ep, 
13778 
13779#### Commodore Business Machines
13780#
13781# Formerly located in West Chester, PA; went spectacularly bust in 1994
13782# after years of shaky engineering and egregious mismanagement.  Made one
13783# really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
13784# C-128, VIC-20).  The C-64 is said to have been the most popular machine
13785# ever (most units sold); they can still be found gathering dust in closets
13786# everywhere.
13787#
13788
13789# From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
13790# Added a few more entries, converted caret-type control sequence (^x) entries
13791# to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
13792#
13793# :as:, :ae:			Support for alternate character sets.
13794# :ve=\E[\040p:vi=\E[\060\040p:	cursor visible/invisible.
13795# :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
13796#     This one appears to fix a problem I always had with a line ending
13797#     at 'width+1' (I think) followed by a blank line in vi. The blank
13798#     line tended to disappear and reappear depending on how the screen
13799#     was refreshed. Note that this is probably needed only if you use
13800#     something like a Dnet Fterm with the window sized to some peculiar
13801#     dimension larger than 80 columns.
13802# :k0=\E9~:	map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
13803# (amiga: removed obsolete :kn#10:,
13804# also added empty <acsc> to suppress a warning --esr)
13805amiga|Amiga ANSI, 
13806	am, bw, xenl, 
13807	cols#80, lines#24, 
13808	acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z, 
13809	civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, cub=\E[%p1%dD, 
13810	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
13811	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
13812	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
13813	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
13814	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
13815	indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l, kbs=^H, kcub1=\ED, 
13816	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\E9~, kf1=\E0~, 
13817	kf2=\E1~, kf3=\E2~, kf4=\E3~, kf5=\E4~, kf6=\E5~, kf7=\E6~, 
13818	kf8=\E7~, kf9=\E8~, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, 
13819	rmacs=^O, rmso=\E[m, rmul=\E[m, rs1=\Ec, sgr0=\E[m, smacs=^N, 
13820	smso=\E[7m, smul=\E[4m, 
13821
13822# From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
13823# (amiga: added empty <acsc> to suppress a warning.
13824# I'm told this entry screws up badly with AS225, the Amiga
13825# TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
13826amiga-h|Hans Verkuil's Amiga ANSI, 
13827	bw, msgr, 
13828	cols#80, lines#24, 
13829	acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z, 
13830	civis=\2330 p, clear=\233H\233J, cnorm=\233 p, cr=^M, 
13831	cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B, 
13832	cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH, 
13833	cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P, 
13834	dim=\2332m, ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G, 
13835	home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, ind=\233S, 
13836	indn=\233%p1%dS, invis=\2338m, is2=\23320l, kbs=^H, 
13837	kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A, 
13838	kdch1=\177, kf0=\2339~, kf1=\2330~, kf2=\2331~, kf3=\2332~, 
13839	kf4=\2333~, kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~, 
13840	kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T, 
13841	rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, rmso=\2330m, 
13842	rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l, 
13843	smso=\2337m, smul=\2334m, 
13844
13845# From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
13846amiga-8bit|Amiga ANSI using 8-bit controls, 
13847	acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L, 
13848	ind=\204, indn@, ri=\215, rin@, 
13849	use=amiga-h, 
13850
13851# Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
13852# 	I'm trying to write a termcap for a commodore b-128, and I'm
13853# having a little trouble. I've had to map most of my control characters
13854# to something that unix will accept (my delete-char is a ctrl-t, etc),
13855# and create some functions (like cm), but thats life.
13856# 	The problem is with the arrow keys - right, and up work fine, but
13857# left deletes the previous character and down I just can't figure out.
13858# Jove knows what I want, but I don't know what it's sending to me (it
13859# isn't thats bound to next-line in jove).
13860# 	Anybody got any ideas? Here's my termcap.
13861# DAG -- I changed his "^n" entries to "\n"; see if that works.
13862#
13863commodore|b-128|Commodore B-128 micro, 
13864	am, bw, 
13865	cols#80, lines#24, pb#150, 
13866	clear=\E\006$<10/>, cr=^M, cud1=^J, cuf1=^F, 
13867	cup=\E\013%p1%2d\,%p2%2d\,$<20/>, cuu1=^P, 
13868	dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>, 
13869	home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>, 
13870	kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E, rmir=, 
13871	smir=, 
13872
13873#### North Star
13874#
13875# North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
13876northstar|North Star Advantage, 
13877	cols#80, lines#24, 
13878	clear=\004$<200/>, 
13879	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>, 
13880	el=\016$<200/>, home=\034\032$<200/>, 
13881
13882#### Osborne
13883#
13884# Thu Jul  7 03:55:16 1983
13885#	
13886# As an aside, be careful; it may sound like an anomaly on the 
13887# Osborne, but with the 80-column upgrade, it's too easy to 
13888# enter lines >80 columns!
13889#	
13890# I've already had several comments...
13891# The Osborne-1 with the 80-col option is capable of being 
13892# 52, 80, or 104 characters wide; default to 80 for compatibility 
13893# with most systems.
13894#	
13895# The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
13896osborne-w|osborne1-w|osborne I in 104-column mode, 
13897	msgr, ul, xt, 
13898	cols#104, lines#24, 
13899	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
13900	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
13901	dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J, 
13902	kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El, 
13903# Osborne I	from ptsfa!rhc (Robert Cohen) via BRL
13904osborne|osborne1|osborne I in 80-column mode, 
13905	am, mir, msgr, ul, xhp, 
13906	cols#80, lines#24, 
13907	clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L, 
13908	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
13909	dch1=\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H, 
13910	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmir=, rmso=\E), 
13911	rmul=\Em, smir=\EQ, smso=\E(, smul=\El, 
13912#
13913# Osborne Executive definition from BRL
13914# Similar to tvi920
13915# Added by David Milligan and Tom Smith (SMU)
13916osexec|Osborne executive, 
13917	am, 
13918	cols#80, lines#24, xmc#1, 
13919	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
13920	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
13921	dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE, 
13922	is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
13923	kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, 
13924	kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
13925	kf9=^AI\r, rmir=, rmso=\Ek, rmul=\Em, smir=, smso=\Ej, 
13926	smul=\El, tbc=\E3, 
13927
13928#### Console types for obsolete UNIX clones
13929#
13930# Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
13931# machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
13932# were commercial, Minix an educational tool sold in conjunction with a book.
13933# Memory-segmentation limits and a strong tendency to look like V7 long after
13934# it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
13935# and Minix were ported to 32-bit Intel boxes, only to be run over by a
13936# steamroller named `Linux' (which, to be fair, traces some lineage to Minix). 
13937# Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
13938# are also, I'm told, Minix ports that ran on Amiga and Atari machines and
13939# even as single processes under SunOS and the Macintosh OS.
13940#
13941
13942# This is the entry provided with minix 1.7.4, with bogus :ri: removed.
13943minix|minix console (v1.7), 
13944	am, xenl, 
13945	cols#80, it#8, lines#25, 
13946	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
13947	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
13948	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13949	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
13950	dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I, 
13951	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
13952	is2=\E[0m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
13953	kcuu1=\E[A, kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, 
13954	kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp, lf2=PgDn, lf3=Num +, 
13955	lf4=Num -, lf5=Num 5, nel=^M^J, rev=\E[7m, ri=\EM, 
13956	rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
13957# Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
13958minix-old|minix console (v1.5), 
13959	xon, 
13960	cols#80, it#8, lines#25, 
13961	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
13962	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
13963	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13964	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
13965	dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I, 
13966	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
13967	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
13968	kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G, 
13969	khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m, 
13970	rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
13971# The linewrap option can be specified by editing /usr/include/minix/config.h
13972# before recompiling the minix 1.5 kernel.
13973minix-old-am|minix console with linewrap, 
13974	am, use=minix-old, 
13975
13976pc-minix|minix console on an Intel box, 
13977	use=klone+acs, use=minix, 
13978
13979# According to the Coherent 2.3 manual, the PC console is similar
13980# to a z19. The differences seem to be (1) 25 lines, (2) no status
13981# line, (3) standout is broken, (4) ins/del line is broken, (5)
13982# has blinking and bold.
13983pc-coherent|pcz19|coherent|IBM PC console running Coherent, 
13984	am, mir, 
13985	cols#80, it#8, lines#25, 
13986	bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
13987	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EN, 
13988	ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, 
13989	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO, 
13990	rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep, 
13991
13992# According to the Venix 1.1 manual, the PC console is similar
13993# to a DEC vt52.  Differences seem to be (1) arrow keys send 
13994# different strings, (2) enhanced standout, (3) added insert/delete line.
13995# Note in particular that it doesn't have automatic margins.
13996# There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
13997# not described here because this derives from an old termcap entry.
13998pc-venix|venix|IBM PC console running Venix, 
13999	cols#80, it#8, lines#25, 
14000	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
14001	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
14002	ed=\EJ, el=\EK, ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\EK, 
14003	kcud1=\EP, kcuf1=\EM, kcuu1=\EH, khome=\EG, ri=\EI, 
14004
14005#### Miscellaneous microcomputer consoles
14006#
14007# If you know anything more about any of these, please tell me.
14008#
14009
14010# The MAI Basic Four computer was obsolete at the end of the 1980s.
14011# It may be used as a terminal by putting it in "line" mode as seen on 
14012# one of the status lines.
14013# Initialization is similar to CIT80. <is2> will set ANSI mode for you.  
14014# Hardware tabs set by <if> at 8-spacing.  Auto line wrap causes glitches so
14015# wrap mode is reset by <cvvis>.  Using <ind>=\E[S caused errors so I 
14016# used \ED instead.
14017# From: bf347@lafn.org (David Lawyer), 28 Jun 1997
14018mai|basic4|MAI Basic Four in ansi mode, 
14019	am, da, db, mir, msgr, 
14020	cols#82, it#8, lines#25, 
14021	bel=^G, blink=\E[5m, bold=\E[1m, clear=^]^_, cnorm=\E[?7h, 
14022	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X, 
14023	cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P, 
14024	dl1=\E[M, ed=^_, el=^^, home=^], ht=^I, 
14025	if=/usr/lib/tabset/vt100, il1=\E[L, ind=\ED, 
14026	is2=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H, 
14027	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
14028	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
14029	kf7=\EOV, kf8=\EOW, nel=^M\ED, rc=\E8, rev=\E[7m, ri=\E[T, 
14030	rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
14031	smir=\E[4h, smso=\E[7m, smul=\E[4m, 
14032# basis from Peter Harrison, Computer Graphics Lab, San Francisco
14033#   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
14034# (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
14035basis|BASIS108 computer with terminal translation table active, 
14036	clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H, 
14037	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E), 
14038	smso=\E(, 
14039	use=adm3a, 
14040# luna's BMC terminal emulator
14041luna|luna68k|LUNA68K Bitmap console, 
14042	cols#88, lines#46, use=ansi-mini, 
14043megatek|pegasus workstation terminal emulator, 
14044	am, os, 
14045	cols#83, lines#60, 
14046# The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived 
14047# interface (pre-Macintosh by several years) that went nowhere.
14048xerox820|x820|Xerox 820, 
14049	am, 
14050	cols#80, lines#24, 
14051	bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
14052	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^Q, el=^X, 
14053	home=^^, ind=^J, 
14054
14055#### Videotex and teletext
14056#
14057
14058# \E\:1}	switch to te'le'informatique mode (ascii terminal/ISO 6429)
14059# \E[?3l	80 columns
14060# \E[?4l	scrolling on
14061# \E[12h	local echo off
14062# \Ec		reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
14063# \E)0		G1 DEC set (line graphics)
14064#
14065# From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
14066m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique, 
14067	eslok, hs, xenl, 
14068	cols#80, it#8, lines#24, wsl#72, xmc#0, 
14069	acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx, bel=^G, 
14070	blink=\E[5m, bold=\E[1m, civis=\E[<1h, clear=\E[H\E[J, 
14071	cnorm=\E[<1l, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
14072	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
14073	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
14074	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
14075	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, flash=^G, fsl=^J, 
14076	home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=^J, 
14077	ip=$<7/>, is1=\E\:1}\Ec\E[?4l\E[12h, is2=\Ec\E[12h\E)0, 
14078	is3=\E[?3l kbs=\010, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
14079	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf0=\EOp, 
14080	kf1=\EOq, kf10=\EOp, kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, 
14081	kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, khome=\E[H, 
14082	kich1=\E[4h, kil1=\E[4l, knp=\EOn, kpp=\EOR, ll=\E[24;80H, 
14083	mc0=\E[i, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rin=\EM, 
14084	rmacs=^O, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
14085	rs1=\Ec\E[?4l\E[12h, rs2=\Ec\E)0, sc=\E7, sgr0=\E[m, 
14086	smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=^_@A, 
14087	u6=\E[%i%d;%dR, u7=\E[6n, 
14088
14089# From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
14090#
14091minitel1|minitel 1, 
14092	am, bw, eslok, hs, hz, msgr, 
14093	colors#8, cols#40, lines#24, pairs#8, 
14094	acsc=+.\,\,./f0g1, bel=^G, blink=\EH, civis=^T, clear=^L, 
14095	cnorm=^Q, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
14096	cup=\037%p1%{65}%+%c%p2%{65}%+%c, cuu1=^K, el=^X, 
14097	enacs=^Y, fsl=^J, home=^^, ind=^J, 
14098	is2=\E;`ZQ\E\:iC\E\:iE\021, nel=^M^J, op=\EG, 
14099	rep=%p1%c\022%p2%{63}%+%c, rev=\E], ri=^K, rmso=\E\\, 
14100	setf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;, 
14101	sgr=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;, 
14102	sgr0=\EI\E\\, smso=\E], tsl=\037@%p1%{65}%+%c, 
14103# is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
14104minitel1b|minitel 1-bistandard (in 40cols mode), 
14105	mir, 
14106	cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
14107	cuu=\E[%p1%dA, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
14108	dl1=\E[M, ed=\E[J, el1=\E[1K, il=\E[%p1%dL, il1=\E[L, 
14109	is1=\E;iYA\E;jYC, kclr=\E[2J, kctab=^I, kcub1=\E[D, 
14110	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
14111	kel=^X, khome=\E[H, kich1=\E[4h, kil1=\E[L, rmir=\E[4l, 
14112	smir=\E[4h, smkx=\E;iYA\E;jYC, 
14113	use=minitel1, 
14114# <rmkx> posait des problemes (logout en sortant de vi).
14115minitel1b-80|minitel 1-bistandard (standard teleinformatique), 
14116	am@, bw@, hz@, 
14117	colors@, cols#80, it#8, pairs@, 
14118	blink=\E[5m, bold=\E[1m, civis=\037@A\024\n, 
14119	clear=\E[H\E[2J, cnorm=\037@A\021\n, cuf1=\E[C, 
14120	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
14121	ht=^I, ind=\ED, is1@, is2@, kent=\EOM, kf0=\EOp, kf1=\EOq, 
14122	kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, kf6=\EOv, kf7=\EOw, 
14123	kf8=\EOx, kf9=\EOy, nel=\EE, op@, rc=\E8, rep@, rev=\E[7m, 
14124	ri=\EM, rmkx@, rmso=\E[27m, rmul=\E[24m, sc=\E7, setf@, 
14125	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
14126	sgr0=\E[m, smkx@, smso=\E[7m, smul=\E[4m, 
14127	use=minitel1b, 
14128
14129######## OBSOLETE VDT TYPES
14130#
14131# These terminals are *long* dead -- these entries are retained for
14132# historical interest only.
14133
14134#### Amtek Business Machines
14135#
14136
14137# (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
14138# but these caps were commented out in 8.3; also, removed overridden
14139# ":do=^J:" -- esr)
14140abm80|amtek business machines 80, 
14141	am, bw, 
14142	cols#80, lines#24, 
14143	cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P, 
14144	cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L, 
14145	dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, 
14146
14147#### Bell Labs blit terminals
14148#
14149# These were AT&T's official entries.  The 5620 FAQ maintained by 
14150# David Breneman <daveb@dgtl.com> has this to say:
14151#
14152#  Actually, in the beginning was the Jerq, and the Jerq was white with a
14153#  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
14154#  was good.  But lo, upon the horizon loomed a mighty management-type person
14155#  (known now only by the initials VP) who said, the mighty Jerq must stay
14156#  alone, and could not go forth into the world. So Locanthi and Pike put the
14157#  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
14158#  world. And the Jerq lived the rest of its days in research, but never
14159#  strayed from those paths.
14160#
14161#  In all seriousness, the Blit was originally known as the Jerq, but when
14162#  it started to be shown outside of the halls of the Bell Labs Research
14163#  organization, the management powers that be decided that the name could
14164#  not remain. So it was renamed to be Blit. This was in late 1981.
14165#
14166# (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
14167# 730, and 730+.)
14168#
14169
14170blit|jerq|blit running teletype rom, 
14171	am, eo, ul, xon, 
14172	cols#87, it#8, lines#72, 
14173	bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
14174	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
14175	dch=\Ee%p1%{32}%+%c, dch1=\Ee!, dl=\EE%p1%{32}%+%c, 
14176	dl1=\EE!, el=\EK, ht=^I, ich=\Ef%p1%{32}%+%c, ich1=\Ef!, 
14177	il=\EF%p1%{32}%+%c, il1=\EF!, ind=^J, kbs=^H, kcub1=\ED, 
14178	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez, 
14179
14180# (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
14181cbblit|fixterm|blit running columbus code, 
14182	cols#88, 
14183	ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, mc5p=\EP%p1%03d, 
14184	rmir=\ER, rmso=\EV!, rmul=\EV", smir=\EQ, smso=\EU!, 
14185	smul=\EU", 
14186	use=blit, 
14187
14188oblit|ojerq|first version of blit rom, 
14189	am, da, db, eo, mir, ul, xon, 
14190	cols#88, it#8, lines#72, 
14191	bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
14192	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\EO, 
14193	dl=\Ee%p1%{32}%+%c, dl1=\EE, ed=\EJ, el=\EK, flash=\E^G, 
14194	ht=^I, il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, rmir=\ER, 
14195	smir=\EQ, 
14196
14197#### Bolt, Beranek & Newman (bbn)
14198#
14199# The BitGraph was a product of the now-defunct BBN Computer Corporation.
14200# The parent company, best known as the architects of the Internet, is
14201# still around.
14202#
14203# Jeff DelPapa <dp@world.std.com> writes:
14204# The bitgraph was a large white box that contained a monochrome bitmap
14205# display, and a 68000 to run it.  You could download code and run it on
14206# the cpu, it had 128kb (I think) of memory.  I used one in the late
14207# 70's, sure beat a vt100.  It had one strange feature tho -- it used
14208# the cpu to bitblt pixels to scroll, it took longer than the refresh
14209# rate, and looked like a rubber sheet stretching, then snapping
14210# upwards.  It had everything the early mac had, except a floppy drive a
14211# small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
14212# Beranek and Neuman) sold at most a few hundred of them to the real
14213# world.  DOD may have bought more...
14214# 
14215
14216# Entries for the BitGraph terminals.  The problem 
14217# with scrolling in vi can only be fixed by getting BBN to put 
14218# smarter scroll logic in the terminal or changing vi or padding 
14219# scrolls with about 500 ms delay.
14220#	
14221# I always thought the problem was related to the terminal 
14222# counting newlines in its input buffer before scrolling and 
14223# then moving the screen that much. Then vi comes along and 
14224# paints lines in on the bottom line of the screen, so you get 
14225# this big white gap.
14226
14227bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video), 
14228	flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, 
14229	use=bg2.0, 
14230bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video), 
14231	flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, 
14232	use=bg2.0, 
14233bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init), 
14234	xenl, 
14235	cols#85, lines#64, 
14236	bel=^G, clear=\E[H\E[J$<150>, cr=^M, 
14237	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
14238	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[M$<2*>, 
14239	ed=\E[J$<150>, el=\E[K$<2>, ht=^I, il1=\E[L$<2*>, 
14240	ind=\n$<280>, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
14241	kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1, 
14242	lf2=PF2, lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, sc=\E7, 
14243	sgr0=\E[m, smkx=\E=, smso=\E[7m, 
14244
14245bg1.25rv|bbn bitgraph 1.25 (reverse video), 
14246	flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, use=bg1.25, 
14247bg1.25nv|bbn bitgraph 1.25 (normal video), 
14248	flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, use=bg1.25, 
14249# (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
14250bg1.25|bbn bitgraph 1.25, 
14251	cols#85, lines#64, 
14252	bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, cud1=\E[B, 
14253	cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, 
14254	dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I, 
14255	il1=\E[L$<2*>, ind=\n$<280>, kcub1=\ED, kcud1=\EB, 
14256	kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES, 
14257	lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, rmam=\E[?7l, 
14258	rmkx=\E>, rmso=\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=, 
14259	smso=\E[7m, 
14260
14261#### Chromatics
14262#
14263
14264# I have put the long strings in <smcup>/<rmcup>. Ti sets up a window 
14265# that is smaller than the screen, and puts up a warning message 
14266# outside the window. Te erases the warning message, puts the 
14267# window back to be the whole screen, and puts the cursor at just
14268# below the small window. I defined <cnorm> and <civis> to really turn 
14269# the cursor on and off, but I have taken this out since I don't 
14270# like the cursor being turned off when vi exits.   
14271cg7900|chromatics|chromatics 7900, 
14272	am, 
14273	cols#80, lines#40, 
14274	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^], 
14275	cup=\001M%p2%d\,%p1%d\,, cuu1=^K, dch1=^A<1, dl1=^A<2, 
14276	ed=^Al, el=^A`, home=^\, ich1=^A>1, il1=^A>2, ind=^J, ll=^A|, 
14277	rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,, 
14278	rmso=\001C1\,\001c2\,, 
14279	smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,, 
14280	smso=\001C4\,\001c7\,, uc=\001\001_\001\0, 
14281
14282#### Computer Automation
14283#
14284
14285ca22851|computer automation 22851, 
14286	am, 
14287	cols#80, lines#24, 
14288	bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, cuf1=^I, 
14289	cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, el=^], home=^^, ind=^J, 
14290	kcub1=^U, kcud1=^W, kcuu1=^V, khome=^^, 
14291
14292#### Cybernex
14293#
14294
14295# This entry has correct padding and the undocumented "ri" capability
14296cyb83|xl83|cybernex xl-83, 
14297	am, 
14298	cols#80, lines#24, 
14299	bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
14300	cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N, 
14301	ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, kcub1=^H, 
14302	kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N, 
14303# (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
14304cyb110|mdl110|cybernex mdl-110, 
14305	am, 
14306	cols#80, lines#24, 
14307	bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
14308	cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
14309	dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>, 
14310	ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y, 
14311	ht=\011$<43>, ich1=\016A\035$<3.5>, 
14312	il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF, 
14313
14314#### Datapoint
14315#
14316# Datapoint is gone.  They used to be headquartered in Texas.
14317# They created ARCnet, an Ethernet competitor that flourished for a while
14318# in the early 1980s before 3COM got wise and cut its prices.  The service
14319# side of Datapoint still lives (1995) in the form of Intelogic Trace.
14320#
14321
14322dp3360|datapoint|datapoint 3360, 
14323	am, 
14324	cols#82, lines#25, 
14325	bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z, 
14326	ed=^_, el=^^, home=^], ind=^J, 
14327
14328# From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
14329# The Datapoint 8242 Workstation was sold at least between 1985 
14330# and 1989. To make the terminal work with this entry, press 
14331# CONTROL-INT-INT to take the terminal off-line, and type (opt). 
14332# Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO 
14333# CR/LF off. Use control-shift-[] as escape key, control-I as tab, 
14334# shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
14335# fact unusable because the strings sent by the terminal conflict
14336# with other keys).
14337# The terminal is capable of displaying "box draw" characters.
14338# For each graphic character you must send 2 ESC's (\E\E) followed 
14339# by a control character as follows: 
14340#         character        meaning
14341#         =========        =======
14342#         ctrl-E           top tee
14343#         ctrl-F           right tee
14344#         ctrl-G           bottom tee
14345#         ctrl-H           left tee
14346#         ctrl-I           cross
14347#         ctrl-J           top left corner
14348#         ctrl-K           top right corner
14349#         ctrl-L           bottom left corner
14350#         ctrl-M           bottom right corner
14351#         ctrl-N           horizontal line
14352#         ctrl-O           vertical line
14353# Unfortunately this cannot be fitted into the termcap/terminfo 
14354# description scheme. 
14355dp8242|datapoint 8242, 
14356	msgr, 
14357	cols#80, lines#25, 
14358	bel=^G, civis=^Y, clear=\025\E\004\027\030, cnorm=^X, 
14359	cr=^M, cub1=^H, cud1=^J, 
14360	cup=\011%p2%'\0'%+%c%p1%'\0'%+%c, dl1=\E^Z, ed=^W, el=^V, 
14361	home=^U, ht=^I, il1=\E^T, ind=^C, 
14362	is1=\E\014\E\016\0\230\0\317\025\027\030\E\004, 
14363	kbs=^H, kcub1=^D, kcud1=^B, kcuf1=^F, kcuu1=^E, kf1=^G\Ee, 
14364	kf10=\EK\Ea, kf2=^I\Ed, kf3=^J\Ec, kf4=^J\Eb, kf5=^S\Ea, 
14365	kf6=\EO\Ee, kf7=\EN\Ed, kf8=\EM\Ec, kf9=\EL\Eb, nel=^M^J, 
14366	rep=\E\023%p1%c%p2%c, ri=^K, rmso=\E^D, rmul=\E^D, 
14367	rs1=\E\014\E\016\0\230\0\317\025\027\030\E\004, 
14368	smso=\E^E, smul=\E^F, 
14369	wind=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025, 
14370
14371#### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
14372#
14373# These entries are DEC's official terminfos for its older terminals.
14374# Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
14375# Engineering for more information.  Updated terminfos and termcaps 
14376# are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
14377#
14378
14379gt40|dec gt40, 
14380	os, 
14381	cols#72, lines#30, 
14382	bel=^G, cr=^M, cub1=^H, cud1=^J, 
14383gt42|dec gt42, 
14384	os, 
14385	cols#72, lines#40, 
14386	bel=^G, cr=^M, cub1=^H, cud1=^J, 
14387vt50|dec vt50, 
14388	cols#80, lines#12, 
14389	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
14390	cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J, 
14391vt50h|dec vt50h, 
14392	cols#80, lines#12, 
14393	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
14394	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
14395	el=\EK, ht=^I, ind=^J, ri=\EI, 
14396# (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
14397vt61|vt-61|vt61.5|dec vt61, 
14398	cols#80, lines#24, 
14399	bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, cud1=^J, 
14400	cuf1=\EC$<20>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, 
14401	cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I, 
14402	ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
14403	ri=\E$<20>I, 
14404
14405# The gigi does standout with red!
14406# (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
14407gigi|vk100|dec gigi graphics terminal, 
14408	am, xenl, 
14409	cols#84, lines#24, 
14410	bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
14411	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
14412	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, 
14413	el=\E[K, ht=^I, ind=^J, 
14414	is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h, 
14415	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
14416	kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM, 
14417	rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
14418	sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7;31m, 
14419	smul=\E[4m, 
14420
14421# DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
14422# a PC differentiated from the IBM clones.  It was a total, ludicrous,
14423# grossly-overpriced failure (among other things, DEC's OS didn't include
14424# a format program, so you had to buy pre-formatted floppies from DEC at
14425# a hefty premium!).
14426pro350|decpro|dec pro console, 
14427	cols#80, it#8, lines#24, 
14428	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
14429	clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC, 
14430	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
14431	el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
14432	kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH, kf4=\EI, 
14433	kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH, ri=\EI, rmacs=\EG, 
14434	rmso=\E^N, rmul=\E^C, smacs=\EF, smso=\E^H, smul=\E^D, 
14435
14436dw1|decwriter I, 
14437	hc, os, 
14438	cols#72, 
14439	bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, 
14440dw2|decwriter|dw|decwriter II, 
14441	hc, os, 
14442	cols#132, 
14443	bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
14444# \E(B		Use U.S. character set (otherwise # => british pound !)
14445# \E[20l	Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
14446# \E[w   	10 char/in pitch
14447# \E[1;132	full width horizontal margins
14448# \E[2g		clear all tab stops
14449# \E[z		6 lines/in
14450# \E[66t	66 lines/page (for \f)
14451# \E[1;66r	full vertical page can be printed
14452# \E[4g		clear vertical tab stops
14453# \E>		disable alternate keypad mode (so it transmits numbers!)
14454# \E[%i%p1%du	set tab stop at column %d (origin == 1)
14455#		(Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is 
14456#		a tab stop)
14457#
14458#       The dw3 does standout with wide characters.
14459#
14460dw3|la120|decwriter III, 
14461	hc, os, 
14462	cols#132, 
14463	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, 
14464	is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>, 
14465	is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r, 
14466	kbs=^H, rmso=\E[w, sgr0=\E[w, smso=\E[6w, 
14467dw4|decwriter IV, 
14468	am, hc, os, 
14469	cols#132, 
14470	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, is2=\Ec, kbs=^H, 
14471	kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, 
14472
14473# These aren't official
14474ln03|dec ln03 laser printer, 
14475	hc, 
14476	cols#80, lines#66, 
14477	bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, ind=^J, nel=^M^J, 
14478	rmso=\E[22m, rmul=\E[24m, sgr0=\E[m, smso=\E[1m, 
14479	smul=\E[4m, 
14480ln03-w|dec ln03 laser printer 132 cols, 
14481	cols#132, 
14482	bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
14483	kcud1=^J, nel=^M^J, 
14484	use=ln03, 
14485
14486#### Delta Data (dd)
14487#
14488
14489# Untested. The cup sequence is hairy enough that it probably needs work.
14490# The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
14491# There are BSD-derived termcap entries floating around for this puppy
14492# that are *certainly* wrong.
14493delta|dd5000|delta data 5000, 
14494	am, 
14495	cols#80, lines#27, 
14496	bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y, 
14497	cup=\017%p1%p1%{16}%m%{2}%*%-%{57}%+%c%p2%p2%{16}%m%{2}%*%-%{57}%+%c, 
14498	cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J, 
14499
14500#### Digital Data Research (ddr)
14501#
14502
14503# (ddr: I added <rmam>/<smam> based on the init string -- esr)
14504ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator, 
14505	am, xenl, 
14506	cols#80, it#8, lines#24, vt#3, 
14507	blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
14508	clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, cub1=^H, 
14509	cud1=^J, cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>, 
14510	cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, 
14511	ht=^I, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H, 
14512	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
14513	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>, 
14514	rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l, 
14515	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>, 
14516	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
14517	sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m, 
14518	smul=\E[4m$<2/>, 
14519
14520#### Evans & Sutherland
14521#
14522
14523# Jon Leech <leech@cs.unc.edu> tells us:
14524# The ps300 was the Evans & Sutherland Picture System 300, a high
14525# performance 3D vector graphics system with a bunch of specialized hardware.
14526# Approximate date of release was 1982 (early 80s, anyway), and it had several
14527# evolutions including (limited) color versions such as the PS330C. PS300s
14528# were effectively obsolete by the late 80s, replaced by raster graphics
14529# systems, although specialized applications like molecular modelling
14530# hung onto them for a while longer.  AFAIK all E&S vector graphics systems
14531# are out of production, though of course E&S is very much alive (in 1996).
14532# (ps300: changed ":pt@:" to "it@" -- esr)
14533#
14534ps300|Picture System 300, 
14535	xt, 
14536	it@, 
14537	rmso@, rmul@, smso@, smul@, use=vt100, 
14538
14539#### General Electric (ge)
14540#
14541
14542terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200, 
14543	hc, os, 
14544	cols#120, 
14545	bel=^G, cr=^M, cud1=^J, ind=^J, 
14546
14547#### Heathkit/Zenith
14548#
14549
14550# Here is a description of the H19 DIP switches:
14551#
14552# S401
14553# 0-3 = baud rate as follows:
14554# 
14555#         3       2       1       0
14556#	---	---	---	--- 
14557#         0       0       1       1       300 baud
14558#         0       1       0       1       1200 baud
14559#         1       0       0       0       2400 baud
14560#         1       0       1       0       4800 baud
14561#         1       1       0       0       9600 baud
14562#         1       1       0       1       19.2K baud
14563# 
14564# 4 = parity (0 = no parity)
14565# 5 = even parity (0 = odd parity)
14566# 6 = stick parity (0 = normal parity)
14567# 7 = full duplex (0 = half duplex)
14568# 
14569# S402 
14570# 0 = block cursor (0 = underscore cursor)
14571# 1 = no key click (0 = keyclick)
14572# 2 = wrap at end of line (0 = no wrap)
14573# 3 = auto LF on CR (0 = no LF on CR)
14574# 4 = auto CR on LF (0 = no CR on LF)
14575# 5 = ANSI mode (0 = VT52 mode)
14576# 6 = keypad shifted (0 = keypad unshifted)
14577# 7 = 50Hz refresh (1 = 60Hz refresh)
14578# 
14579# Factory Default settings are as follows:
14580#          7 6 5 4 3 2 1 0
14581# S401     1 0 0 0 1 1 0 0
14582# S402     0 0 0 0 0 0 0 0
14583# (h19: I added <rmam>/<smam> based on the init string;
14584# also added empty <acsc> to suppress a tic warning -- esr)
14585h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode, 
14586	am, mir, msgr, 
14587	cols#80, it#8, lines#24, 
14588	acsc=, bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H, 
14589	cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH, 
14590	cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, dl1=\E[1M$<1*>, 
14591	ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J, 
14592	is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h, 
14593	kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A, 
14594	kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, 
14595	kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white, 
14596	ri=\EM, rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m, 
14597	smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m, 
14598h19-bs|heathkit w/keypad shifted, 
14599	rmkx=\Eu, smkx=\Et, use=h19-b, 
14600h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor, 
14601	rmkx=\Eu, smkx=\Et, 
14602	use=h19-u, 
14603# (h19: merged in <ip> from BSDI hp19-e entry>;
14604# also added empty <acsc> to suppress a tic warning --esr)
14605# From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998 
14606# Tim tells us that:
14607# I have an old Zenith-19 terminal at home that still gets a lot of use.
14608# This terminal suffers from the same famous insert-mode padding lossage
14609# that has been acknowledged for the Z29 terminal.  Emacs is nearly
14610# unusable on this box, since even a half-scroll up or down the window
14611# causes flaming terminal death.
14612#   
14613# On the Z19, the only way I have found around this problem is to remove
14614# the :al: and :dl: entries entirely.  No amount of extra padding will
14615# help (I have tried up to 20000).  Removing <il1=\EL$> and <dl1=\EM$>
14616# makes Emacs a little slower, but it remains in the land of the living.
14617# Big win.
14618h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19, 
14619	am, eslok, hs, mir, msgr, 
14620	cols#80, it#8, lines#24, 
14621	acsc=, bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB, 
14622	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
14623	cvvis=\Ex4, dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, 
14624	ht=^I, ind=^J, ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, 
14625	kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
14626	kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue, 
14627	lf7=red, lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, 
14628	smacs=\EF, smir=\E@, smso=\Ep, 
14629	tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo, 
14630h19-u|heathkit with underscore cursor, 
14631	cnorm@, cvvis@, use=h19-b, 
14632h19-g|h19g|heathkit w/block cursor, 
14633	cnorm=\Ex4, use=h19-b, 
14634alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19, 
14635	lines#60, 
14636	dl1=\EM, il1=\EL, use=h19, 
14637
14638# The major problem with the Z29 is that it requires more padding than the Z19.
14639#
14640# The problem with declaring an H19 to be synonymous with a Z29 is that
14641# it needs more padding. It especially loses if a program attempts
14642# to put the Z29 into insert mode and insert text at 9600 baud. It
14643# even loses worse if the program attempts to insert tabs at 9600
14644# baud. Adding padding to text that is inserted loses because in 
14645# order to make the Z29 not die, one must add so much padding that
14646# whenever the program tries to use insert mode, the effective 
14647# rate is about 110 baud.
14648# 
14649# What program would want to put the terminal into insert mode 
14650# and shove stuff at it at 9600 baud you ask?  
14651# 
14652# Emacs. Emacs seems to want to do the mathematically optimal 
14653# thing in doing a redisplay rather than the practical thing.
14654# When it is about to output a line on top of a line that is 
14655# already on the screen, instead of just killing to the end of 
14656# the line and outputting the new line, it compares the old line 
14657# and the new line and if there are any similarities, it 
14658# constructs the new line by deleting the text on the old line 
14659# on the terminal that is already there and then inserting new
14660# text into the line to transform it into the new line that is 
14661# to be displayed. The Z29 does not react kindly to this.
14662# 
14663# But don't cry for too long.... There is a solution. You can make
14664# a termcap entry for the Z29 that says the Z29 has no insert mode.
14665# Then Emacs cannot use it. "Oh, no, but now inserting into a 
14666# line will be really slow", you say. Well there is a sort of a
14667# solution to that too. There is an insert character option on 
14668# the Z29 that will insert one character. Unfortunately, it 
14669# involves putting the terminal into ansi mode, inserting the 
14670# character, and changing it back to H19 mode. All this takes 12 
14671# characters. Pretty expensive to insert one character, but it 
14672# works. Either Emacs doesn't try to use its inserting hack when 
14673# it's only given an insert character ability or the Z29 doesn't 
14674# require padding with this (the former is probably more likely, 
14675# but I haven't checked it out).
14676# (z29: added empty <acsc> to suppress a tic warning, merged in
14677# status line capabilities from BRL entry --esr)
14678z29|zenith29|z29b|zenith z29b, 
14679	am, eslok, hs, mir, msgr, 
14680	cols#80, lines#24, 
14681	acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4, cr=^M, 
14682	cub1=^H, cud1=\EB, cuf1=\EC, 
14683	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A, 
14684	cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1/>, dsl=\Ey1, 
14685	ed=\EJ$<14>, el=\EK$<1>, fsl=\Ek\Ey5, home=\EH, ht=^I, 
14686	ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1/>, ind=\n$<2>, 
14687	is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
14688	kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
14689	kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, 
14690	lf0=home, ri=\EI$<2/>, rmacs=\EF, rmir=\EO, rmso=\Eq, 
14691	rmul=\Es0, smacs=\EG, smir=\E@, smso=\Ep, smul=\Es8, 
14692	tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
14693# z29 in ansi mode. Assumes that the cursor is in the correct state, and that
14694# the world is stable. <rs1> causes the terminal to be reset to the state
14695# indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
14696# cursor, bc -> block cursor.
14697# From: Mike Meyers
14698# (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
14699# looks vt100-compatible -- esr)
14700z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode, 
14701	am, eslok, hs, mir, msgr, 
14702	cols#80, it#8, lines#24, 
14703	bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J, cr=^M, 
14704	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
14705	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
14706	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
14707	dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
14708	dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l, home=\E[H, 
14709	ht=^I, hts=\EH, if=/usr/share/tabset/vt100, il=\E[%p1%dL, 
14710	ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB, 
14711	kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, kf1=\EOS, 
14712	kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, 
14713	kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help, mc0=\E#7, 
14714	nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM, rmcup=\E[?7h, 
14715	rmso=\E[m, rmul=\E[m, 
14716	rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>4h\E[>1;2;3;5;6;7;8;9l\E[m\E[11m, 
14717	sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m, 
14718	tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K, 
14719z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor, 
14720	rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m, 
14721	use=z29a, 
14722z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick, 
14723	rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2;4h\E[>1;3;5;6;7;8;9l\E[m\E[11m, 
14724	use=z29a, 
14725z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick, 
14726	rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2h\E[>1;3;4;5;6;7;8;9l\E[m\E[11m, 
14727	use=z29a, 
14728# From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
14729z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode, 
14730	am, eslok, hs, mc5i, mir, msgr, xon, 
14731	cols#80, lines#24, 
14732	acsc=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
14733	blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h, 
14734	clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M, 
14735	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
14736	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
14737	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
14738	dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
14739	dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K, 
14740	fsl=\E[u, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[1L, 
14741	ind=^J, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw, 
14742	ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, 
14743	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ked=\E[J, kf1=\EOS, 
14744	kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, 
14745	kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H, 
14746	mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m, 
14747	rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m, 
14748	rmul=\E[0m, rs2=\E<\Ec\0, sc=\E[s, sgr0=\E[0m, smacs=\E(0, 
14749	smir=\E[4h, smkx=\E[>7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
14750	tsl=\E[s\E[>1h\E[25;%i%p1%dH, 
14751
14752# From: Brad Brahms <Brahms@USC-ECLC>
14753z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor, 
14754	cnorm=\Ey4\Em70, cvvis=\Ex4\Em71, 
14755	use=z100bw, 
14756# (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
14757z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc, 
14758	mir, msgr, 
14759	cols#80, it#8, lines#24, 
14760	acsc=, clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB, 
14761	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>, 
14762	cuu1=\EA, cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>, 
14763	ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H, 
14764	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES, 
14765	kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
14766	kf9=\EOI, khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, 
14767	smacs=\EF, smir=\E@, smso=\Ep, 
14768p19|h19-b with il1/dl1, 
14769	dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b, 
14770# From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
14771# (ztx: removed duplicate :sr: -- esr)
14772ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11, 
14773	am, eslok, hs, 
14774	cols#80, it#8, lines#24, 
14775	clear=\EE, cub1=^H, cud1=^J, cuf1=\EC, 
14776	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
14777	dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I, 
14778	il1=\EL, is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>, 
14779	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\ES, 
14780	kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, kf5=\EP, kf6=\EQ, kf7=\ER, 
14781	ri=\EI, rmso=\Eq, rmul=\Eq, smso=\Es5, smul=\Es2, 
14782	tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
14783
14784#### IMS International (ims)
14785#
14786# There was a company called IMS International located in Carson City, 
14787# Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
14788# bus/Z80 hardware and a line of terminals called Ultimas.  
14789#
14790
14791# From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
14792ims950-b|bare ims950 no init string, 
14793	is2@, use=ims950, 
14794# (ims950: removed obsolete ":ko@:" -- esr)
14795ims950|ims televideo 950 emulation, 
14796	xenl@, 
14797	flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@, 
14798	kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, 
14799	use=tvi950, 
14800# (ims950-rv: removed obsolete ":ko@:" -- esr)
14801ims950-rv|ims tvi950 rev video, 
14802	xenl@, 
14803	flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@, 
14804	kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, 
14805	use=tvi950-rv, 
14806ims-ansi|ultima2|ultimaII|IMS Ultima II, 
14807	am, 
14808	cols#80, it#8, lines#24, 
14809	clear=\E[H\E[2J, cub1=^H, cud1=\ED, 
14810	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, el=\E[0K, 
14811	ht=^I, if=/usr/share/tabset/vt100, 
14812	is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D, 
14813	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, ri=\EM, 
14814	rmso=\E[m\E[1m, rmul=\E[m\E[1m, sgr0=\E[m, smso=\E[7m, 
14815	smul=\E[4m, 
14816
14817#### Intertec Data Systems
14818#
14819# I think this company is long dead as of 1995.  They made an early CP/M
14820# micro called the "Intertec Superbrain" that was moderately popular,
14821# then sank out of sight.
14822#
14823
14824superbrain|intertec superbrain, 
14825	am, bw, 
14826	cols#80, lines#24, 
14827	bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
14828	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=^K, 
14829	ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, kcub1=^U, 
14830	kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, smcup=^L, 
14831# (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>, 
14832# rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
14833# and the reverse is actually true.  Try it. -- esr)
14834intertube|intertec|Intertec InterTube, 
14835	am, 
14836	cols#80, lines#25, 
14837	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
14838	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, home=^A, 
14839	ind=^J, rmso=\E0@, smso=\E0P, 
14840# The intertube 2 has the "full duplex" problem like the tek 4025: if you
14841# are typing and a command comes in, the keystrokes you type get interspersed
14842# with the command and it messes up
14843intertube2|intertec data systems intertube 2, 
14844	cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c, 
14845	el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, 
14846	ll=^K^X\r, vpa=\013%p1%c, 
14847	use=intertube, 
14848
14849#### Ithaca Intersystems
14850#
14851# This company made S100-bus personal computers long ago in the pre-IBM-PC
14852# past.  They used to be reachable at:
14853#
14854#	Ithaca Intersystems
14855#	1650 Hanshaw Road
14856#	Ithaca, New York 14850
14857#
14858# However, the outfit went bankrupt years ago.
14859#
14860
14861# The Graphos III was a color graphics terminal from Ithaca Intersystems.
14862# These entries were written (originally in termcap syntax) by Brian Yandell 
14863# <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the 
14864# University of Wisconsin.
14865
14866# (graphos: removed obsolete and syntactically incorrect :kn=4:, 
14867# removed <if=/usr/share/tabset/init.graphos> and 
14868# <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
14869graphos|graphos III, 
14870	am, mir, 
14871	cols#80, it#8, lines#24, 
14872	clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z, 
14873	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
14874	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
14875	cuu=\E[%p1%dA, cuu1=\E[A, 
14876	cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM, 
14877	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
14878	il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
14879	kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
14880	kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l, 
14881	rmir=\E[4l, rmso=\E[m, sc=\E7, sgr0=\E[m, smdc=\E[4h, 
14882	smir=\E[4h, smso=\E[7m, 
14883graphos-30|graphos III with 30 lines, 
14884	lines#30, 
14885	cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos, 
14886
14887#### Modgraph
14888#
14889# These people used to be reachable at:
14890#
14891#	Modgraph, Inc
14892#	1393 Main Street,
14893#	Waltham, MA 02154
14894#	Vox: (617)-890-5796.
14895#
14896# However, if you call that number today you'll get an insurance company.
14897# I have mail from "Michael Berman, V.P. Sales, Modgraph" dated 
14898# 26 Feb 1997 that says:
14899#
14900# Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
14901# for ~7 years.  Modgraph still in business.  Products are rugged laptop and
14902# portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
14903# panel-mount etc).  I can be emailed at sonfour@aol.com
14904#
14905# Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
14906# dated 1984.  According to the manual, it featured Tek 4010/4014
14907# graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
14908#
14909
14910modgraph|mod24|modgraph terminal emulating vt100, 
14911	xenl@, 
14912	cols#80, lines#24, 
14913	cvvis=\E\^9;0s\E\^7;1s, 
14914	is2=\E\^9;0s\E\^7;1s\E[3g\E\^11;9s\E\^11;17s\E\^11;25s\E\^11;33s\E\^11;41s\E\^11;49s\E\^11;57s\E\^11;65s\E\^11;73s\E\^11;81s\E\^11;89s, 
14915	rf@, ri=\EM\E[K$<5/>, 
14916	use=vt100, 
14917# The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
14918modgraph2|modgraph gx-1000 80x24 with keypad not enabled, 
14919	am, da, db, 
14920	cols#80, it#8, lines#24, 
14921	clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>, 
14922	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, cuu1=\EA$<2/>, 
14923	ed=\EJ$<50/>, el=\EK$<3/>, ht=^I, 
14924	is2=\E<\E\^5;2s\E\^7;1s\E[3g\E\^11;9s\E\^11;17s\E\^11;25s\E\^11;33s\E\^11;41s\E\^11;49s\E\^11;57s\E\^11;65s\E\^11;73s\E\^11;81s\E\^11;89s\E\^12;0s\E\^14;2s\E\^15;9s\E\^25;1s\E\^9;1s\E\^27;1, 
14925	ri=\EI$<5/>, 
14926#
14927# Modgraph from Nancy L. Cider <nancyc@brl-tbd>
14928# BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
14929# If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
14930# mark and using delete-to-killbuffer work correctly.  However, we would
14931# like normal mode of operation to be using a Modgraph with 48 line setting.
14932# If we set TERM=mod (which is a valid entry in termcap with 48 lines)
14933# the setting mark and delete-to-killbuffer results in the deletion of only
14934# the line the mark is set on.
14935# We've discovered that the delete-to-killbuffer works correctly
14936# with TERM=mod and screen set to 80x48 but it's not obvious.  Only
14937# the first line disappears but a ctrl-l shows that it did work
14938# correctly.
14939modgraph48|mod|Modgraph w/48 lines, 
14940	am, xenl, 
14941	cols#80, it#8, lines#48, vt#3, 
14942	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, cr=^M, 
14943	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
14944	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
14945	flash=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q, 
14946	home=\E[H, ht=^I, is2=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h, 
14947	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
14948	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, 
14949	ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
14950	rs1=\E=\E[0q\E>, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, 
14951	smso=\E[7m, smul=\E[4m, 
14952
14953#### Morrow Designs
14954# 
14955# This was George Morrow's company.  They started in the late 1970s making
14956# S100-bus machines.  They used to be reachable at:
14957#
14958#        Morrow
14959#        600 McCormick St.
14960#        San Leandro, CA 94577
14961#
14962# but they're long gone now (1995).
14963#
14964
14965# The mt70 terminal was shipped with the Morrow MD-3 microcomputer. 
14966# Jeff's specimen was dated June 1984.
14967# From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
14968mt70|mt-70|Morrow MD-70; native Morrow mode, 
14969	am, mir, msgr, xon, 
14970	cols#80, it#8, lines#24, 
14971	acsc=+z\,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI, bel=^G, 
14972	cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H, 
14973	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>, 
14974	cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>, 
14975	flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, il1=\EE, 
14976	ind=^J, invis@, is1=\E"2\EG0\E], kbs=^H, kcbt=^A^Z\r, 
14977	kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, kcuf1=^AM\r, 
14978	kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, kf10=^AI\r, kf11=^A`\r, 
14979	kf12=^Aa\r, kf13=^Ab\r, kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r, 
14980	kf17=^Af\r, kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r, 
14981	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
14982	kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, khome=^AN\r, nel=^_, 
14983	rmacs=\E%, rmcup=, smacs=\E$, smcup=\E"2\EG0\E], smul=\EG1, 
14984	tbc=\E0, 
14985	use=adm+sgr, 
14986
14987#### Motorola
14988#
14989
14990# Motorola EXORterm 155	from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
14991# (Seth H Zirin)
14992ex155|Motorola Exorterm 155, 
14993	am, bw, 
14994	cols#80, lines#24, 
14995	cbt=\E[, clear=\EX, cud1=\EB, cuf1=\ED, 
14996	cup=\EE%p1%{32}%+%c%p2%{32}%+%c, ed=\ET, el=\EU, 
14997	home=\E@, ht=\EZ, kbs=^H, kcbt=\E[, kclr=\EX, kcub1=^H, 
14998	kcud1=^J, kcuf1=^L, kcuu1=^K, ked=\ET, kel=\EU, khome=\E@, 
14999	rmso=\Ec\ED, rmul=\Eg\ED, smso=\Eb\ED, smul=\Ef\ED, 
15000
15001#### Omron
15002#
15003# This company is still around in 1995, manufacturing point-of-sale systems.
15004
15005omron|Omron 8025AG, 
15006	am, da, db, 
15007	cols#80, lines#24, 
15008	bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA, 
15009	cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER, el=\EK, home=\EH, 
15010	il1=\EL, ind=\ES, ri=\ET, rmso=\E4, smso=\Ef, 
15011
15012#### Ramtek
15013#
15014# Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
15015# were competition for things like the Tektronics 4025.
15016#
15017
15018# Ramtek 6221 from BRL, probably by Doug Gwyn
15019# The following SET-UP modes are assumed for normal operation:
15020#	UNDERLINE_CURSOR	ANSI_MODE	AUTO_XON/XOFF_ON
15021#	NEWLINE_OFF		80_COLUMNS
15022# Other SET-UP modes may be set for operator convenience or communication
15023# requirements; I recommend
15024#	SMOOTH_SCROLL	AUTO_REPEAT_ON	3_#_SHIFTED	WRAP_AROUND_ON
15025# Hardware tabs are assumed to be every 8 columns; they can be set up by the
15026# "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
15027# Note that the Control-E key is useless on this brain-damaged terminal.  No
15028# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
15029rt6221|Ramtek 6221 80x24, 
15030	msgr, xon, 
15031	cols#80, it#8, lines#24, vt#3, 
15032	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l, 
15033	clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M, 
15034	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
15035	cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C, 
15036	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
15037	cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I, 
15038	hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
15039	kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR, 
15040	kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H, 
15041	nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>, 
15042	rmso=\E[m, rmul=\E[m, 
15043	rs1=\E[1w\E[>37m\E[>39m\E[1v\E[20l\E[?3l\E[?6l\E[>5h\E[>6h\E[>7h\E[>8l\E[>9h\E[>10l\E[1;24r\E[m\E[q\E(B\017\E)0\E#5\E>, 
15044	sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m, 
15045	smul=\E[4m, tbc=\E[3g, 
15046# [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
15047rt6221-w|Ramtek 6221 160x48, 
15048	cols#160, lines#48, 
15049	ll=\E[48;1H, use=rt6221, 
15050
15051#### RCA
15052#
15053
15054# RCA VP3301 or VP3501
15055rca|rca vp3301/vp3501, 
15056	cols#40, lines#24, 
15057	clear=^L, cuf1=^U, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
15058	cuu1=^K, home=^Z, rmso=\E\ES0, smso=\E\ES1, 
15059
15060
15061#### Selanar
15062#
15063
15064# Selanar HiREZ-100 from BRL, probably by Doug Gwyn
15065# The following SET-UP modes are assumed for normal operation:
15066#	SET_DEFAULT_TABS	48_LINES		80_COLUMNS
15067#	ONLINE			ANSI			CURSOR_VISIBLE
15068#	VT102_AUTO_WRAP_ON	VT102_NEWLINE_OFF	VT102_MONITOR_MODE_OFF
15069#	LOCAL_ECHO_OFF		US_CHAR_SET		WPS_TERMINAL_DISABLED
15070#	CPU_AUTO_XON/XOFF_ENABLED			PRINT_FULL_SCREEN
15071# For use with graphics software, all graphics modes should be set to factory
15072# default.  Other SET-UP modes may be set for operator convenience or
15073# communication requirements.  No delays are specified; use "stty ixon -ixany"
15074# to enable DC3/DC1 flow control!
15075# I commented out the scrolling capabilities since they are too slow.
15076hirez100|Selanar HiREZ-100, 
15077	mir, msgr, xon, 
15078	cols#80, it#8, lines#48, vt#3, 
15079	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
15080	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
15081	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
15082	cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, 
15083	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
15084	hts=\EH, il=\E[%p1%dL, il1=\E[L, is2=\E<\E)0, kbs=^H, 
15085	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, 
15086	kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, 
15087	lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i, 
15088	mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O, 
15089	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
15090	rs1=\030\E2\E<\E[4i\E[?4i\E[12h\E[2;4;20l\E[?0;7h\E[?1;3;6;19l\E[r\E[m\E(B\017\E)0\E>, 
15091	sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m, 
15092	smul=\E[4m, tbc=\E[3g, 
15093hirez100-w|Selanar HiREZ-100 in 132-column mode, 
15094	cols#132, use=hirez100, 
15095
15096#### Signetics
15097#
15098
15099# From University of Wisconsin
15100vsc|Signetics Vsc Video driver by RMC, 
15101	am, msgr, 
15102	cols#80, it#8, lines#26, 
15103	clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
15104	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
15105	ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rev=^_\s, 
15106	rmso=^_!, rmul=^_#, sgr0=^_!, smso=^_\s, smul=^_", 
15107
15108#### Soroc
15109#
15110# Alan Frisbie <frisbie@flying-disk.com> writes:
15111#
15112# As you may recall, the Soroc logo consisted of their name,
15113# with the letter "S" superimposed over an odd design.   This
15114# consisted of a circle with a slightly smaller 15 degree (approx.)
15115# wedge with rounded corners inside it.   The color was sort of
15116# a metallic gold/yellow.
15117# 
15118# If I had been more of a beer drinker it might have been obvious
15119# to me, but it took a clue from their service department to make
15120# me exclaim, "Of course!"   The circular object was the top of
15121# a beer can (the old removable pop-top style) and "Soroc" was an
15122# anagram for "Coors".
15123# 
15124# I can just imagine the founders of the company sitting around
15125# one evening, tossing back a few and trying to decide what to
15126# call their new company and what to use for a logo.
15127# 
15128
15129# (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
15130soroc120|iq120|soroc|soroc iq120, 
15131	clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, kcud1=^J, 
15132	kcuf1=^L, kcuu1=^K, 
15133	use=adm3a, 
15134soroc140|iq140|soroc iq140, 
15135	am, mir, 
15136	cols#80, lines#24, 
15137	bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
15138	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ew, 
15139	dl1=\Er$<.7*>, ed=\Ey, el=\Et, home=^^, il1=\Ee$<1*>, ind=^J, 
15140	kbs=^H, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r, 
15141	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
15142	kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, rmir=\E8, 
15143	rmso=\E\177, rmul=\E^A, smir=\E9, smso=\E\177, smul=\E^A, 
15144
15145#### Southwest Technical Products
15146#
15147# These guys made an early personal micro called the M6800.  
15148# The ct82 was probably its console terminal.
15149#
15150
15151# (swtp: removed obsolete ":bc=^D:" -- esr)
15152swtp|ct82|southwest technical products ct82, 
15153	am, 
15154	cols#82, lines#20, 
15155	bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S, 
15156	cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, ed=^V, el=^F, 
15157	home=^P, ich1=^\^X, il1=^\^Y, ind=^N, 
15158	is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011, 
15159	ll=^C, ri=^O, rmso=^^^F, smso=^^^V, 
15160
15161#### Synertek
15162#
15163# Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
15164#
15165# Synertek used to make ICs, various 6502-based single-board process
15166# control and hobbyist computers, and assorted peripherals including a
15167# series of small inexpensive terminals (I think they were one of the
15168# first to have a "terminal-on-a-keyboard", where the terminal itself
15169# was only slightly larger than the keyboard).
15170#
15171# They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
15172# was a 40x24 terminal that could connect to a standard TV through a
15173# video modulator.  The KTM-2/80 was the 80-column version (the 2/40
15174# could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
15175# I have a KTM-2/80 still in working order.  The KTM-2s had fully
15176# socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
15177# ROM and 2 ROMs as character generators. They were incredibly simple,
15178# and I've never had any problems with mine (witness the fact that mine
15179# was made in 1981 and is still working great... I've blown the video
15180# output transistor a couple of times, but it's a 2N2222 :-)
15181#
15182# The KTM-3 (which is what is listed in the terminfo file) was their
15183# attempt at putting a KTM-2 in a box (and some models came with a
15184# CRT). It wasn't much different from the KTM-2 hardware-wise, but the
15185# control and escape sequences are very different. The KTM-3 was always
15186# real broken, at least according to the folks I've talked to about it.
15187# 
15188# The padding in the entry is probably off--these terminals were very
15189# slow (it takes like 100ms for the KTM-2 to clear the screen...) And
15190# anyone with any sanity replaced the ROMs with something that provided
15191# a reasonable subset of VT100 functionality, since the usual ROMs were
15192# obviously very primitive... oh, you could get an upgraded ROM from
15193# Synertek for some incredible amount of money, but what hacker with an
15194# EPROM burner would do that? :)
15195# 
15196# Sorry I don't have any contact info; I believe they were located in
15197# Sunnyvale, and I'm fairly sure they are still manufacturing ICs
15198# (they've gone to ASICs and FPGAs), but I doubt they're in the computer
15199# business these days.
15200#
15201
15202# Tested, seems to work fine with vi.
15203synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal, 
15204	am, 
15205	cols#80, lines#24, 
15206	clear=^Z, cub1=^H, cuf1=^L, 
15207	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK, 
15208
15209#### Tab Office Products
15210#
15211#	TAB Products Co. - Palo Alto, California
15212#	Electronic Office Products,
15213#	1451 California Avenue 94304
15214#
15215# I think they're out of business.
15216#
15217
15218# The tab 132 uses xon/xoff, so no padding needed.
15219# <smkx>/<rmkx> have nothing to do with arrow keys.
15220# <is2> sets 80 col mode, normal video, autowrap on (for <am>).
15221# Seems to be no way to get rid of status line.
15222# The manual for this puppy was dated June 1981.  It claims to be VT52-
15223# compatible but looks more vt100-like.
15224tab132|tab|tab132-15|tab 132/15, 
15225	da, db, 
15226	cols#80, lines#24, lm#96, 
15227	cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, dl1=\E[M, 
15228	il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, kcub1=\E[D, kcud1=\E[B, 
15229	kcuu1=\E[A, rmir=\E[4l, rmkx@, smir=\E[4h, smkx@, 
15230	use=vt100, 
15231tab132-w|tab132 in wide mode, 
15232	cols#132, 
15233	is2=\E[?7h\E[?3h\E[?5l, use=tab132, 
15234tab132-rv|tab132 in reverse-video mode, 
15235	is2=\E[?7h\E[?3l\E[?5h, use=tab132, 
15236tab132-w-rv|tab132 in reverse-video/wide mode, 
15237	is2=\E[?7h\E[?3h\E[?5h, 
15238	use=tab132-w, 
15239
15240
15241#### Teleray
15242#
15243#	Research Incorporated
15244#	6425 Flying Cloud Drive
15245#	Eden Prairie, MN 55344
15246#	Vox: (612)-941-3300
15247#
15248# The Teleray terminals were all discontinued in 1992-93.  RI still services
15249# and repairs these beasts, but no longer manufactures them.  The Teleray
15250# people believe that all the types listed below are very rare now (1995).
15251# There was a newer line of Telerays (Model 7, Model 20, Model 30, and
15252# Model 100) that were ANSI-compatible.
15253#
15254# Note two things called "teleray".  Reorder should move the common one
15255# to the front if you have either.  A dumb teleray with the cursor stuck
15256# on the bottom and no obvious model number is probably a 3700.
15257#
15258
15259t3700|dumb teleray 3700, 
15260	cols#80, lines#24, 
15261	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J, 
15262t3800|teleray 3800 series, 
15263	cols#80, it#8, lines#24, 
15264	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
15265	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK, 
15266	home=\EH, ht=^I, ind=^J, ll=\EY7\s, 
15267t1061|teleray|teleray 1061, 
15268	am, km, xhp, xt, 
15269	cols#80, it#8, lines#24, xmc#1, 
15270	bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
15271	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
15272	dl1=\EM$<2*>, ed=\EJ$<1>, el=\EK, home=\EH, ht=^I, hts=\EF, 
15273	ich1=\EP, il1=\EL$<2*>, ind=^J, ip=$<0.4*>, 
15274	is2=\Ee\EU01^Z1\EV\EU02^Z2\EV\EU03^Z3\EV\EU04^Z4\EV\EU05^Z5\EV\EU06^Z6\EV\EU07^Z7\EV\EU08^Z8\EV\Ef, 
15275	kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, kf7=^Z7, 
15276	kf8=^Z8, rmso=\ER@, rmul=\ER@, smso=\s\ERD, smul=\ERH, 
15277	tbc=\EG, 
15278t1061f|teleray 1061 with fast PROMs, 
15279	dl1=\EM, il1=\EL, ip@, use=t1061, 
15280# "Teleray Arpa Special", officially designated as
15281# "Teleray Arpa network model 10" with "Special feature 720".
15282# This is the new (1981) fast microcode updating the older "arpa" proms
15283# (which gave meta-key and programmable-fxn keys).  720 is much much faster,
15284# converts the keypad to programmable function keys, and has other goodies.
15285# Standout mode is still broken (magic cookie, etc) so is suppressed as no
15286# programs handle such lossage properly.
15287# Note: this is NOT the old termcap's "t1061f with fast proms."
15288# From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
15289# (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
15290t10|teleray 10 special, 
15291	km, xhp, xt, 
15292	cols#80, it#8, lines#24, xmc#2, 
15293	clear=\Ej$<30/>, cub1=^H, cuf1=\EC, 
15294	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
15295	dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
15296	ind=\Eq, pad=\0, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD, 
15297	smul=\ERH, 
15298# teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
15299# back/forth words. Put the function keys (f1-f10) where they can be
15300# found, and turn off the other magic keys along the top row, except
15301# for line/local. Do the magic appropriate to make the page shifts work.
15302# Also toggle ^S/^Q for those of us who use Emacs.
15303t16|teleray 16, 
15304	am, da, db, mir, xhp, xt, 
15305	cols#80, lines#24, 
15306	bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
15307	cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, dch1=\E[P, 
15308	dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, ht=^I, il1=\E[L, 
15309	ind=^J, kf1=^Z1, kf10=^Z0, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, 
15310	kf6=^Z6, kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T, 
15311	rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m, 
15312	rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h, 
15313	smso=\E[7m, smul=\E[4m, 
15314
15315#### Texas Instruments (ti)
15316#
15317
15318# The Silent 700 was so called because it was built around a quiet thermal
15319# printer.  It was portable, equipped with an acoustic coupler, and pretty
15320# neat for its day.
15321ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800, 
15322	hc, os, 
15323	cols#80, 
15324	bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J, 
15325
15326#
15327# Texas Instruments 916 VDT 7 bit control mode
15328#
15329ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL, 
15330	da, db, in, msgr, 
15331	cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>, 
15332	cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB, 
15333	cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
15334	cvvis=\E[?25h, dch=\E[%p1%dP$<250>, dch1=\E[P, 
15335	dl=\E[%p1%dM, ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K, 
15336	el1=\E[1K, enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>, 
15337	hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>, 
15338	il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H, 
15339	kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~, 
15340	kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~, 
15341	kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
15342	kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T, 
15343	kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p, 
15344	smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, use=vt220, 
15345#
15346# Texas Instruments 916 VDT 8 bit control mode
15347#
15348ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL, 
15349	kcmd=\23329~, kcub1=\233D, kcud1=\233B, kcuf1=\233C, 
15350	kcuu1=\233A, kdch1=\233P, kent=^J, kf1=\23317~, 
15351	kf10=\23328~, kf11=\23329~, kf12=\23331~, kf2=\23318~, 
15352	kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~, 
15353	kf7=\23324~, kf8=\23325~, kf9=\23326~, khome=\233H, 
15354	kich1=\233@, knp=\233S, kpp=\233T, kprt=^X, 
15355	use=ti916, 
15356#
15357# Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
15358#
15359ti916-132|Texas Instruments 916 VDT vt220 132 column, 
15360	cols#132, use=ti916, 
15361#
15362# Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
15363#
15364ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column, 
15365	cols#132, use=ti916-8, 
15366ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL, 
15367	am, xon, 
15368	cols#80, it#8, lines#24, 
15369	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
15370	clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
15371	csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
15372	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h, 
15373	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
15374	il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
15375	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ, 
15376	kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, kf7=\E[18~, 
15377	kf8=\E[19~, kf9=\E[20~, kich1=\E[@, rc=\E8, rev=\E[7m, 
15378	ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, 
15379	smul=\E[4m, tbc=\E[3g, 
15380ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL, 
15381	am, xon, 
15382	cols#80, it#8, lines#24, 
15383	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
15384	clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
15385	csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
15386	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h, 
15387	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
15388	il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
15389	kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>, 
15390	kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, kf5=~$<\23316>, 
15391	kf6=~$<\23317>, kf7=~$<\23318>, kf8=~$<\23319>, 
15392	kf9=~$<\23320>, kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM, 
15393	rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, 
15394	smul=\E[4m, tbc=\E[3g, 
15395ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode, 
15396	cols#132, use=ti924, 
15397ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode, 
15398	cols#132, use=ti924-8, 
15399ti931|Texas Instruments 931 VDT, 
15400	am, xon, 
15401	cols#80, lines#24, 
15402	bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, cub1=\ED, 
15403	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
15404	cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, 
15405	ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H, 
15406	is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
15407	kcuu1=\EA, kdch1=\EQ, kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3, 
15408	kf4=\Ei4, kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9, 
15409	kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@, 
15410	sgr0=\E4@, smso=\E4A, smul=\E4D, 
15411ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL, 
15412	csr@, ind=\E[1S, ri=\E[1T, 
15413	use=ti924, 
15414# (ti926-8: I corrected this from the broken SCO entry -- esr)
15415ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL, 
15416	csr@, ind=\2331S, ri=\2331T, 
15417	use=ti924-8, 
15418ti_ansi|basic entry for ti928, 
15419	am, bce, eo, xenl, xon, 
15420	colors#8, cols#80, it#8, lines#25, pairs#64, 
15421	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H, 
15422	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, 
15423	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
15424	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
15425	il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
15426	kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf0=\E[V, kf1=\E[M, 
15427	kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, 
15428	kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I, 
15429	op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m, 
15430	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m, 
15431	smso=\E[7m, smul=\E[4m, 
15432#
15433#       928 VDT 7 bit control mode
15434#
15435ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL, 
15436	kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~, 
15437	kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, 
15438	kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, 
15439	kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, 
15440	kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~, 
15441	use=ti_ansi, 
15442#
15443#       928 VDT 8 bit control mode
15444#
15445ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL, 
15446	kdch1=\233P, kend=\2371\234, kent=\2338~, kf1=\23317~, 
15447	kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13=\23332~, 
15448	kf15=\23334~, kf2=\23318~, kf3=\23319~, kf4=\23320~, 
15449	kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~, 
15450	kf9=\23326~, khome=\233H, kich1=\233@, knp=\233S, 
15451	kpp=\233T, kprt=\23335~, 
15452	use=ti_ansi, 
15453
15454#### Zentec (zen)
15455#
15456
15457# (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
15458# had just <smso>=\EG6 which I think means standout was supposed to be 
15459# dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
15460# <invis> might work-- esr)
15461zen30|z30|zentec 30, 
15462	am, mir, ul, 
15463	cols#80, lines#24, 
15464	bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
15465	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
15466	dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^, 
15467	il1=\EE$<1.5*>, ind=^J, rmir=\Er, rmul@, smir=\Eq, smso=\EG6, 
15468	smul@, 
15469	use=adm+sgr, 
15470# (zen50: this had extension capabilities
15471#	:BS=^U:CL=^V:CR=^B:
15472# UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
15473# which were also in the original entry -- esr)
15474# (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
15475zen50|z50|zentec zephyr, 
15476	am, 
15477	cols#80, lines#24, xmc#1, 
15478	clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
15479	cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE, 
15480	invis@, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
15481	rmul@, smul@, 
15482	use=adm+sgr, 
15483
15484# CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
15485cci|cci1|z8001|zen8001|CCI Custom Zentec 8001, 
15486	am, bw, 
15487	cols#80, lines#24, 
15488	blink=\EM", clear=\EH\EJ, cnorm=\EP, 
15489	csr=\ER%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^J, 
15490	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
15491	cvvis=\EF\EQ\EM \ER 7, dim=\EM!, ed=\EJ, el=\EK, home=\EH, 
15492	invis=\EM(, is2=\EM \EF\ET\EP\ER 7, kbs=^H, kcub1=\ED, 
15493	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, mc4=^T, mc5=^R, 
15494	rev=\EM$, ri=\EI, rmso=\EM\s, rmul=\EM\s, sgr0=\EM\s, 
15495	smso=\EM$, smul=\EM0, 
15496
15497######## OBSOLETE UNIX CONSOLES
15498#
15499
15500#### Apollo consoles
15501#
15502# Apollo got bought by Hewlett-Packard.  The Apollo workstations are 
15503# labeled HP700s now.
15504#
15505
15506# From: Gary Darland <goodmanc@garnet.berkeley.edu>
15507apollo|apollo console, 
15508	am, mir, 
15509	cols#88, lines#53, 
15510	clear=^L, cub1=^H, cud1=\EB, cuf1=\EC, 
15511	cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, dl1=\EL, 
15512	ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, ind=\EE, ri=\ED, 
15513	rmcup=\EX, rmir=\ER, rmso=\ET, rmul=\EV, smcup=\EW, smir=\EQ, 
15514	smso=\ES, smul=\EU, vpa=\EO+\s, 
15515
15516# We don't know whether or not the apollo guys replicated DEC's firmware bug
15517# in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
15518# both these capabilities.
15519apollo_15P|apollo 15 inch display, 
15520	rmir@, smir@, use=vt132, 
15521apollo_19L|apollo 19 inch display, 
15522	rmir@, smir@, use=vt132, 
15523apollo_color|apollo color display, 
15524	rmir@, smir@, use=vt132, 
15525
15526#### Convergent Technology
15527#
15528# Burroughs bought Convergent shortly before it merged with Univac.
15529# CTOS is (I believe) dead.  Probably the aws is too (this entry dates
15530# from 1991 or earlier).
15531#
15532
15533# Convergent AWS workstation from Gould/SEL UTX/32 via BRL
15534# (aws: removed unknown :dn=^K: -- esr)
15535aws|Convergent Technologies AWS workstation under UTX and Xenix, 
15536	am, 
15537	cols#80, lines#28, xmc#0, 
15538	acsc=, clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, 
15539	cuu1=^A, dch1=\EDC, dl1=\EDL, ed=\EEF, el=\EEL, hpa=\EH%p1%c, 
15540	ich1=\EIC, il1=\EIL, ind=\ESU, kbs=^H, kcub1=^N, kcud1=^K, 
15541	kcuf1=^R, kcuu1=^A, ri=\ESD, rmacs=\EAAF, rmso=\EARF, 
15542	rmul=\EAUF, smacs=\EAAN, smso=\EARN, smul=\EAUN, 
15543	vpa=\EV%p1%c, 
15544awsc|Convergent Technologies AWS workstation under CTOS, 
15545	am, 
15546	cols#80, lines#24, xmc#0, 
15547	acsc=, clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, 
15548	cuu1=^A, ed=\EEF, el=\EEL, kbs=^H, kcub1=^N, kcud1=^K, 
15549	kcuf1=^R, kcuu1=^A, rmacs=\EAAF, rmso=\EAA, rmul=\EAA, 
15550	smacs=\EAAN, smso=\EAE, smul=\EAC, 
15551
15552#### DEC consoles
15553#
15554
15555# The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
15556# The digital uVax II's had a graphic display called a qdss.  It was
15557# supposed to be a high performance graphic accelerator, but it was
15558# late to market and barely appeared before faster dumb frame buffers
15559# appeared.  I have only used this display while running X11.  However,
15560# during bootup, it was in text mode, and probably had a terminal emulator
15561# within it.  And that is what your termcap entry is for.  In graphics
15562# mode the screen size is 1024x864 pixels.
15563qdss|qdcons|qdss glass tty, 
15564	am, 
15565	cols#128, lines#57, 
15566	clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L, 
15567	cup=\E=%p1%c%p2%c, cuu1=^K, 
15568
15569#### Fortune Systems consoles
15570#
15571# Fortune made a line of 68K-based UNIX boxes that were pretty nifty
15572# in their day; I (esr) used one myself for a year or so around 1984.
15573# They had no graphics, though, and couldn't compete against Suns and
15574# the like.  R.I.P.
15575#
15576
15577# From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
15578# (This had extension capabilities
15579#	:rv=\EH:re=\EI:rg=0:GG=0:\
15580#	:CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
15581#	:RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
15582#	:PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
15583# It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
15584# ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
15585# to force both magic cookie glitches off.  Once upon a time, I
15586# used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
15587# function keys; thus the "Al" value for HM was certainly an error.  I renamed
15588# EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.  
15589# I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
15590# "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
15591# names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
15592fos|fortune|Fortune system, 
15593	am, bw, 
15594	cols#80, lines#25, 
15595	acsc=j*k(l m"q&v%w#x-, bel=^G, blink=\EN, civis=\E], 
15596	clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>, 
15597	cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>, 
15598	cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>, 
15599	ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z, 
15600	ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., kbs=^H, 
15601	kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, kcuu1=^Ax\r, 
15602	kend=^Ak\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r, 
15603	kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r, 
15604	khome=^A?\r, knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH, 
15605	rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo, 
15606	smso=^\H`, smul=^\HP, 
15607
15608#### Masscomp consoles
15609#
15610# Masscomp has gone out of business.  Their product line was purchased by
15611# comany in Georgia (US) called "XS International", parts and service may
15612# still be available through them.
15613#
15614
15615# (masscomp: ":MT:" changed to ":km:";  -- esr)
15616masscomp|masscomp workstation console, 
15617	km, mir, 
15618	cols#80, it#8, lines#24, 
15619	clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
15620	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
15621	ed=\E[J, el=\E[K, ht=^I, il1=\E[L, is2=\EGc\EGb\EGw, kbs=^H, 
15622	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l, 
15623	rmso=\E[m, rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu, 
15624masscomp1|masscomp large screen version 1, 
15625	cols#104, lines#36, use=masscomp, 
15626masscomp2|masscomp large screen version 2, 
15627	cols#64, lines#21, use=masscomp, 
15628
15629######## OTHER OBSOLETE TYPES
15630#
15631# These terminals are *long* dead -- these entries are retained for
15632# historical interest only.
15633#
15634
15635#### Obsolete non-ANSI software emulations
15636#
15637
15638# CTRM terminal emulator
15639# 1. underlining is not allowed with colors: first, is is simulated by 
15640# black on white, second, it disables background color manipulations.
15641# 2. BLINKING, REVERSE and BOLD are allowed with colors,
15642# so we have to save their status in the static registers A, B and H
15643# respectively, to be able to restore them when color changes
15644# (because any color change turns off ALL attributes)
15645# 3. <bold> and <rev> sequences alternate modes,
15646# rather then simply  entering them.  Thus we have to check the
15647# static register B and H to determine the status, before sending the 
15648# escape sequence.
15649# 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
15650# and then reset colors
15651# 5. implementation of the protect mode would badly penalize the performance.
15652# we would have to use \E&bn sequence to turn off colors (as well as all
15653# other attributes), and keep the status of protect mode in yet another
15654# static variable.  If someone really needs this mode, they would have to
15655# create another terminfo entry.
15656# 6. original color-pair is white on black.
15657# store the information about colors into static registers
15658# 7. set foreground color.  it performs the following steps.
15659#   1) turn off all attributes
15660#   2) turn on the background and video attributes that have been turned
15661#      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
15662#   3) turn on foreground attributes
15663#   4) store information about foreground into U,V,W static registers
15664# 8. turn on background: similar to turn on foreground above
15665ctrm|C terminal emulator, 
15666	am, bce, xon, 
15667	colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, ncv#2, nlab#0, 
15668	pairs#63, pb#19200, vt#6, 
15669	bel=^G, blink=\E&dA%{1}%PA, 
15670	bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei, 
15671	clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
15672	cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, dl1=\EM, 
15673	ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=\011$<2>, hts=\E1, 
15674	il1=\EL, ind=^J, ip=$<2>, is2=\E&jA\r, kbs=^H, kcub1=\Eu\r, 
15675	kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r, 
15676	kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, 
15677	kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r, 
15678	op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU, 
15679	rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA, 
15680	setb=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gU%t\E&bR%;%?%gV%t\E&bG%;%?%gW%t\E&bB%;%?%p1%{1}%&%t\E&bb%{1}%e%{0}%;%PZ%?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY%?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX, 
15681	setf=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gX%t\E&br%;%?%gY%t\E&bg%;%?%gZ%t\E&bb%;%?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW%?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV%?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU, 
15682	sgr=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH%?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;%?%p4%t\E&dA%{1}%PA%;%?%p6%t\E&dH%{1}%PH%;%?%p2%t\E&dD%;, 
15683	sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB, 
15684	smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
15685
15686# gs6300 - can't use blue foreground, it clashes with underline;
15687# it's simulated with cyan
15688# Bug: The <op> capability probably resets attributes.
15689# (gs6300: commented out <rmln> (no <smln>) --esr)
15690gs6300|emots|AT&T PC6300 with EMOTS terminal emulator, 
15691	am, bce, msgr, xon, 
15692	colors#8, cols#80, it#8, lines#24, pairs#63, 
15693	acsc=++\,\,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
15694	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
15695	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
15696	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
15697	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
15698	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
15699	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
15700	is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, kcud1=\E[B, 
15701	kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s, 
15702	kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s, 
15703	khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m, 
15704	ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm, 
15705	setf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m, 
15706	sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m, 
15707
15708# From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
15709# MS-Kermit with Heath-19 emulation mode enabled
15710# (h19k: changed ":pt@:" to ":it@"
15711h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin), 
15712	am@, da, db, xt, 
15713	it@, 
15714	ht@, use=h19-u, 
15715
15716# Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
15717# Software (formerly Peripherals Computers & Supplies, Inc) of
15718# 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
15719# also be reached at support@synergy.com.
15720versaterm|versaterm vt100 emulator for the macintosh, 
15721	am, xenl, 
15722	cols#80, it#8, lines#24, 
15723	bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
15724	clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
15725	cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
15726	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
15727	dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, ed=\E[J$<50/>, 
15728	el=\E[K$<3/>, home=\E[H, ht=^I, ich1=\E[1@$<7/>, 
15729	il1=\E[1L$<9/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, 
15730	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, 
15731	kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, 
15732	rf=/usr/share/tabset/vt100, ri=\EM$<5/>, 
15733	rmkx=\E>\E[?1l, rmso=\E[m$<2/>, rmul=\E[m$<2/>, rs1=\E>, 
15734	sc=\E7, sgr0=\E[m$<2/>, smkx=\E=\E[?1h, smso=\E[7m$<2/>, 
15735	smul=\E[4m$<2/>, 
15736
15737# From: Rick Thomas <ihnp4!btlunix!rbt>
15738# (xtalk: I added <rmam>/<smam> based on the init string.
15739xtalk|IBM PC with xtalk communication program (versions up to 3.4), 
15740	am, mir, msgr, xon, 
15741	cols#80, it#8, lines#24, vt#3, xmc#1, 
15742	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
15743	bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
15744	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
15745	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
15746	cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>, 
15747	el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, 
15748	il1=\E[L$<99>, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, 
15749	kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
15750	kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, 
15751	kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, 
15752	kf8=\EOl, kf9=\EOw, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
15753	rmkx=\E[?1l\E>, rmso=\E[m\s, 
15754	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m, 
15755	smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m\s, 
15756	tbc=\E[3g, 
15757
15758# The official PC terminal emulator program of the AT&T Product Centers.
15759# Note - insert mode commented out - doesn't seem to work on AT&T PC.
15760simterm|attpc running simterm, 
15761	am, 
15762	cols#80, lines#24, 
15763	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
15764	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\ER, 
15765	dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE, 
15766	rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB, 
15767
15768#### Daisy wheel printers
15769#
15770# This section collects Diablo, DTC, Xerox, Qume, and other daisy
15771# wheel terminals.  These are now largely obsolete.
15772#
15773
15774# (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
15775diablo1620|diablo1720|diablo450|ipsi|diablo 1620, 
15776	hc, os, 
15777	cols#132, it#8, 
15778	cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c, 
15779	ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2, 
15780diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin, 
15781	cols#124, 
15782	is2=\r        \E9, use=diablo1620, 
15783# (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
15784diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640, 
15785	bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, 
15786	use=diablo1620, 
15787# (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such 
15788# file -- esr)
15789diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin, 
15790	cols#124, 
15791	rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620, 
15792diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer, 
15793	use=diablo1640-lm, 
15794# DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
15795# <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\0>.
15796# The terminal has tabs, but I'm getting tired of fighting the braindamage. 
15797# If no tab is set or the terminal's in a bad mood, it glitches the screen
15798# around all of memory.  Note that return puts a blank ("a return character")
15799# in the space the cursor was at, so we use ^P return (and thus ^P newline for
15800# newline).  Note also that if you turn off :pt: and let Unix expand tabs,
15801# curses won't work (some old BSD versions) because it doesn't clear this bit,
15802# and cursor addressing sends a tab for row/column 9.  What a losing terminal!
15803# I have been unable to get tabs set in all 96 lines - it always leaves at
15804# least one line with no tabs in it, and once you tab through that line,
15805# it completely weirds out.
15806# (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)
15807dtc382|DTC 382, 
15808	am, da, db, xhp, 
15809	cols#80, lines#24, lm#96, 
15810	bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H, 
15811	cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB, 
15812	dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U, 
15813	home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi, 
15814	rmul=^P \0, smcup=\020\035$<20>, smir=^PI, smul=^P ^P, 
15815dtc300s|DTC 300s, 
15816	hc, os, 
15817	cols#132, 
15818	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I, 
15819	hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3, 
15820gsi|mystery gsi terminal, 
15821	hc, os, 
15822	cols#132, 
15823	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH, 
15824	ind=^J, 
15825aj830|aj832|aj|anderson jacobson, 
15826	hc, os, 
15827	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, 
15828	ind=^J, 
15829# From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
15830aj510|Anderson-Jacobson model 510, 
15831	am, mir, 
15832	cols#80, lines#24, 
15833	clear=^L, cub1=^H, cuf1=\EX, 
15834	cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY, 
15835	dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=, 
15836	il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ, 
15837	kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J, 
15838	rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I, 
15839	smul=\E"U, 
15840# From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
15841# This is incomplete, but it's a start.
15842nec5520|nec|spinwriter|nec 5520, 
15843	hc, os, 
15844	cols#132, it#8, 
15845	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L, 
15846	hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J, 
15847	kbs=^H, tbc=\E3, 
15848qume5|qume|Qume Sprint 5, 
15849	hc, os, 
15850	cols#80, it#8, 
15851	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I, 
15852	hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3, 
15853# I suspect the xerox 1720 is the same as the diablo 1620.
15854xerox1720|x1720|x1750|xerox 1720, 
15855	hc, os, 
15856	cols#132, it#8, 
15857	bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J, 
15858	tbc=\E2, 
15859
15860#### Miscellaneous obsolete terminals, manufacturers unknown
15861#
15862# If you have any information about these (like, a manufacturer's name, 
15863# and a date on the serial-number plate) please send it!
15864
15865cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars, 
15866	am, 
15867	cols#73, lines#36, 
15868	clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, 
15869cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars, 
15870	am, 
15871	cols#85, lines#39, 
15872	clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3, 
15873	kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6, kf3=\E7, 
15874	kf4=\E8, rmso=\Em^C, smso=\Em^L, 
15875cops10|cops|cops-10|cops 10, 
15876	am, bw, 
15877	cols#80, lines#24, 
15878	bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
15879	cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^W, el=^V, 
15880	ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
15881	khome=^Y, 
15882# (d132: removed duplicate :ic=\E5:,
15883# merged in capabilities from a BRL entry -- esr)
15884d132|datagraphix|datagraphix 132a, 
15885	da, db, in, 
15886	cols#80, lines#30, 
15887	bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cub1=^H, cud1=^J, 
15888	cuf1=\EL, cup=\E8%i%p1%3d%p2%3d, cuu1=\EK, cvvis=\Ex, 
15889	dch1=\E6, home=\ET, ht=^I, ich1=\E5, il1=\E3, ind=^J, kbs=^H, 
15890	kcub1=^H, kcud1=^J, nel=^M^J, ri=\Ew, 
15891# The d800 was an early portable terminal from c.1984-85 that looked a lot
15892# like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
15893# mode (which is what this entry looks like) and several other lesser-known
15894# emulations.
15895d800|Direct 800/A, 
15896	am, da, db, msgr, xhp, 
15897	cols#80, it#8, lines#24, 
15898	acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
15899	bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H, 
15900	cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
15901	cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, ind=\ED, kcub1=\E[D, 
15902	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
15903	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
15904	ri=\EM, rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
15905	smacs=\E[1m, smso=\E[7m, smul=\E[4m, 
15906digilog|digilog 333, 
15907	cols#80, lines#16, 
15908	bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, el=^X, 
15909	home=^N, ind=^J, 
15910# The DWK was a terminal manufactured in the Soviet Union c.1986
15911dwk|dwk-vt|dwk terminal, 
15912	am, 
15913	cols#80, it#8, lines#24, 
15914	acsc=+\^\,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_, 
15915	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
15916	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
15917	ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177, 
15918	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee, 
15919	kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5, 
15920	kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed, knp=\Eh, 
15921	kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES, rmacs=\EG, rmso=\EX, 
15922	sgr0=\EX, smacs=\EF, smso=\ET, 
15923env230|envision230|envision 230 graphics terminal, 
15924	xenl@, 
15925	mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
15926	sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, use=vt100, 
15927# These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
15928# coupler attached, the whole rig fitting in a suitcase and more or less
15929# portable.  Hot stuff for c.1977 :-) -- esr
15930ep48|ep4080|execuport 4080, 
15931	am, os, 
15932	cols#80, 
15933	bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J, 
15934ep40|ep4000|execuport 4000, 
15935	cols#136, use=ep4080, 
15936# Adam Thompson <thompson@xanth.magic.mb.ca> tells us:
15937# Informer series - these are all portable units, resembling older
15938# automatic bread-baking machines.  The terminal looks like a `clamshell'
15939# design, but isn't.  The structure is similar to the Direct terminals,
15940# but only half the width.  The entire unit is only about 10" wide.
15941# It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
15942# keyboard.  All the keys are crammed together, much like some laptop
15943# PCs today, but perhaps less well organized...all these units have a
15944# bewildering array of plugs on the back, including a built-in modem.
15945# The 305 was a color version of the 304; the 306 and 307 were mono and
15946# color terminals built for IBM bisync protocols.
15947# From: Paul Leondis <unllab@amber.berkeley.edu>
15948ifmr|Informer D304, 
15949	am, 
15950	cols#80, lines#24, 
15951	clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC, 
15952	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\E\\, 
15953	ed=\E/, el=\EQ, home=\EH, ich1=\E[, ri=\En, rmso=\EK, sgr0=\EK, 
15954	smso=\EJ, 
15955# Entry largely based on wy60 and has the features of wy60ak.
15956opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys, 
15957	am, bw, hs, km, mir, msgr, ul, xon, 
15958	cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80, 
15959	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
15960	cbt=\EI, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, cr=^M, 
15961	cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC, cuu1=^K, 
15962	dch1=\EW$<11>, dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r, 
15963	ed=\EY$<100>, el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>, 
15964	hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, ind=^J, 
15965	ip=$<3>, 
15966	is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Ed/\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177\Ezz`\E[F\177\EA1*\EZH12, 
15967	kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B, 
15968	kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, ked=\EY, 
15969	kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
15970	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
15971	kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
15972	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
15973	kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
15974	mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>, 
15975	pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
15976	pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
15977	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
15978	rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11, 
15979	rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>, 
15980	rs3=\EwG\Ee($<150>, 
15981	sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
15982	sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/, 
15983	smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177, 
15984	smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(, 
15985	uc=\EG8%p1%c\EG0, 
15986	use=adm+sgr, 
15987teletec|Teletec Datascreen, 
15988	am, 
15989	cols#80, lines#24, 
15990	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K, 
15991	home=^^, ind=^J, 
15992# From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
15993# This description is for the LANPAR Technologies VISION 3220
15994# terminal from 1984/85.  The function key definitions k0-k5 represent the
15995# edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
15996# NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
15997# (v3220: removed obsolete ":kn#10:",
15998# I added <rmam>/<smam> based on the init string -- esr)
15999v3220|LANPAR Vision II model 3220/3221/3222, 
16000	am, mir, xenl, 
16001	cols#80, it#8, lines#24, 
16002	clear=\E[H\E[J, cub1=^H, cuf1=\E[C, 
16003	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
16004	ed=\E[J, el=\E[K, ht=^I, il1=\E[L, 
16005	is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, kcud1=\E[B, 
16006	kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, kf1=\E[2~, kf2=\E[3~, 
16007	kf3=\E[4~, kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ, 
16008	kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l, 
16009	rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
16010	smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
16011######## ICH/ICH1 VERSUS RMIR/SMIR
16012#
16013# Some non-curses applications get confused if both ich/ich1 and rmir/smir
16014# are present; the symptom is doubled characters in an update using insert.
16015# These applications are technically correct; in both 4.3BSD termcap and
16016# terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
16017# unless the terminal needs both.  To my knowledge, no terminal still in this
16018# file requires both other than the very obsolete dm2500.
16019#
16020# For ncurses-based applications this is not a problem, as ncurses uses
16021# one or the other as appropriate but never mixes the two.  Therefore we
16022# have not corrected entries like `linux' and `xterm' that specify both.
16023# If you see doubled characters from these, use the linux-nic and xterm-nic
16024# entries that suppress ich/ich1.  And upgrade to ncurses!
16025#
16026
16027######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
16028#
16029# ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
16030# ECMA-48 standards are said to be almost identical, but are not the same
16031# as X3.64 (though for practical purposes they are close supersets of it).
16032#
16033# You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
16034# requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
16035# Coded Character Sets"), include your snail-mail address, and you should
16036# receive the document in due course.  Don't expect an email acknowledgement.
16037#
16038# Related standards include "X3.4-1977: American National Standard Code for
16039# Information Interchange" (the ASCII standard) and "X3.41.1974: 
16040# Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
16041# American National Standard for Information Interchange."  I believe (but
16042# am not certain) that these are effectively identical to ECMA-6 and ECMA-35
16043# respectively. 
16044#
16045
16046#### VT100/ANSI/ECMA-48
16047#
16048# ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
16049# and ECMA-48 Control Functions for Coded Character Sets.
16050# 
16051# Much of the content of this comment is adapted from a table prepared by
16052# Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
16053# discussion of some terminfo-related issues, and updates to capture ECMA-48
16054# have been added.  Control functions described in ECMA-48 only are tagged
16055# with * after their names.
16056#
16057# The table is a complete list of the defined ANSI X3.64/ECMA-48 control
16058# sequences.  In the main table, \E stands for an escape (\033) character,
16059# SPC for space.  Pn stands for a single numeric parameter to be inserted
16060# in decimal ASCII.  Ps stands for a list of such parameters separated by
16061# semicolons.  Parameter meanings for most parametrized sequences are
16062# decribed in the notes.
16063#
16064# Sequence     Sequence                             Parameter   or
16065# Mnemonic     Name              Sequence           Value      Mode   terminfo
16066# -----------------------------------------------------------------------------
16067# APC  Applicatn Program Command \E _                -         Delim  -
16068# BEL  Bell *                    ^G                  -         -      bel
16069# BPH  Break Permitted Here *    \E B                -         *      -
16070# BS   Backpace *                ^H                  -         EF     -
16071# CAN  Cancel *                  ^X                  -         -      -   (A)
16072# CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
16073# CCH  Cancel Previous Character \E T                -         -      -
16074# CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
16075# CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
16076# CMD  Coding Method Delimiter * \E
16077# CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
16078# CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
16079# CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
16080# CSI  Control Sequence Intro    \E [                -         Intro  -
16081# CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
16082# CUB  Cursor Backward           \E [ Pn D           1         eF     cub
16083# CUD  Cursor Down               \E [ Pn B           1         eF     cud
16084# CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
16085# CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
16086# CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
16087# CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
16088# DA   Device Attributes         \E [ Pn c           0         -      -
16089# DAQ  Define Area Qualification \E [ Ps o           0         -      -
16090# DCH  Delete Character          \E [ Pn P           1         eF     dch
16091# DCS  Device Control String     \E P                -         Delim  -
16092# DL   Delete Line               \E [ Pn M           1         eF     dl
16093# DLE  Data Link Escape *        ^P                  -         -      -
16094# DMI  Disable Manual Input      \E \                -         Fs     -
16095# DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
16096# DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
16097# EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
16098# ECH  Erase Character           \E [ Pn X           1         eF     ech
16099# ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
16100# EF   Erase in Field            \E [ Ps N           0         eF     -
16101# EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
16102# EM   End of Medium *           ^Y                  -         -      -
16103# EMI  Enable Manual Input       \E b                          Fs     -
16104# ENQ  Enquire                   ^E                  -         -      -
16105# EOT  End Of Transmission       ^D                  -         *      -
16106# EPA  End of Protected Area     \E W                -         -      -   (K)
16107# ESA  End of Selected Area      \E G                -         -      -
16108# ESC  Escape                    ^[                  -         -      -
16109# ETB  End Transmission Block    ^W                  -         -      -
16110# ETX  End of Text               ^C                  -         -      -
16111# FF   Form Feed                 ^L                  -         -      -
16112# FNK  Function Key *            \E [ Pn SPC W       -         -      -
16113# GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
16114# FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
16115# GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
16116# GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
16117# HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
16118# HPB  Char Position Backward    \E [ j              1         FE     -
16119# HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
16120# HT   Horizontal Tab *          ^I                  -         FE     -   (N)
16121# HTJ  Horz Tab w/Justification  \E I                -         FE     -
16122# HTS  Horizontal Tab Set        \E H                -         FE     hts
16123# HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
16124# ICH  Insert Character          \E [ Pn @           1         eF     ich
16125# IDCS ID Device Control String  \E [ SPC O          -         *      -
16126# IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
16127# IL   Insert Line               \E [ Pn L           1         eF     il
16128# IND  Index                     \E D                -         FE     -
16129# INT  Interrupt                 \E a                -         Fs     -
16130# JFY  Justify                   \E [ Ps SPC F       0         FE     -
16131# IS1  Info Separator #1 *       ^_                  -         *      -
16132# IS2  Info Separator #1 *       ^^                  -         *      -
16133# IS3  Info Separator #1 *       ^]                  -         *      -
16134# IS4  Info Separator #1 *       ^\                  -         *      -
16135# LF   Line Feed                 ^J                  -         -      -
16136# LS1R Locking Shift Right 1 *   \E ~                -         -      -
16137# LS2  Locking Shift 2 *         \E n                -         -      -
16138# LS2R Locking Shift Right 2 *   \E }                -         -      -
16139# LS3  Locking Shift 3 *         \E o                -         -      -
16140# LS3R Locking Shift Right 3 *   \E |                -         -      -
16141# MC   Media Copy                \E [ Ps i           0         -      -   (S)
16142# MW   Message Waiting           \E U                -         -      -
16143# NAK  Negative Acknowledge *    ^U                  -         *      -
16144# NBH  No Break Here *           \E C                -         -      -
16145# NEL  Next Line                 \E E                -         FE     nel (D)
16146# NP   Next Page                 \E [ Pn U           1         eF     -
16147# NUL  Null *                    ^@                  -         -      -
16148# OSC  Operating System Command  \E ]                -         Delim  -
16149# PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
16150# PFS  Page Format Selection *   \E Pn SPC J         0         -      -
16151# PLD  Partial Line Down         \E K                -         FE     -   (T)
16152# PLU  Partial Line Up           \E L                -         FE     -   (U)
16153# PM   Privacy Message           \E ^                -         Delim  -
16154# PP   Preceding Page            \E [ Pn V           1         eF     -
16155# PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
16156# PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
16157# PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
16158# PTX  Parallel Texts *          \E [ \              -         -      -
16159# PU1  Private Use 1             \E Q                -         -      -
16160# PU2  Private Use 2             \E R                -         -      -
16161# QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
16162# REP  Repeat Char or Control    \E [ Pn b           1         -      rep
16163# RI   Reverse Index             \E M                -         FE     -   (V)
16164# RIS  Reset to Initial State    \E c                -         Fs     -
16165# RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
16166# SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
16167# SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
16168# SCI  Single-Char Introducer    \E Z                -         -      -
16169# SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
16170# SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
16171# SD   Scroll Down               \E [ Pn T           1         eF     rin
16172# SDS  Start Directed String *   \E [ Pn ]           1         -      -
16173# SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
16174# SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
16175# SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
16176# SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
16177# SI   Shift In                  ^O                  -         -      -   (P)
16178# SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
16179# SL   Scroll Left               \E [ Pn SPC @       1         eF     -
16180# SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
16181# SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
16182# SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
16183# SM   Select Mode               \E [ Ps h           none      -      -   (W)
16184# SO   Shift Out                 ^N                  -         -      -   (Q)
16185# SOH  Start Of Heading *        ^A                  -         -      -
16186# SOS  Start of String *         \E X                -         -      -
16187# SPA  Start of Protected Area   \E V                -         -      -   (Z)
16188# SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
16189# SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
16190# SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
16191# SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
16192# SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
16193# SR   Scroll Right              \E [ Pn SPC A       1         eF     -
16194# SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
16195# SRS  Start Reversed String *   \E [ Ps [           0         -      -
16196# SSA  Start of Selected Area    \E F                -         -      -
16197# SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
16198# SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
16199# SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
16200# SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
16201# ST   String Terminator         \E \                -         Delim  -
16202# STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
16203# STS  Set Transmit State        \E S                -         -      -
16204# STX  Start pf Text *           ^B                  -         -      -
16205# SU   Scroll Up                 \E [ Pn S           1         eF     indn
16206# SUB  Substitute *              ^Z                  -         -      -
16207# SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
16208# SYN  Synchronous Idle *        ^F                  -         -      -
16209# TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
16210# TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
16211# TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
16212# TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
16213# TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
16214# TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
16215# TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
16216# VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
16217# VPB  Line Position Backward *  \E [ Pn k           1         FE     -
16218# VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
16219# VT   Vertical Tabulation *     ^K                  -         FE     -
16220# VTS  Vertical Tabulation Set   \E J                -         FE     -
16221# 
16222# ---------------------------------------------------------------------------
16223#
16224# Notes:
16225#
16226# Some control characters are listed in the ECMA-48 standard without 
16227# being assigned functions relevant to terminal control there (they 
16228# referred to other standards such as ISO 1745 or ECMA-35).  They are listed
16229# here anyway for completeness.
16230#
16231# (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
16232#
16233# (B) There seems to be some confusion abroad between CHA and HPA.  Most
16234# `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
16235# the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
16236# preserved the CHA abbreviation.
16237#
16238# (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
16239# Occasionally (as on, for example, certain HP terminals) this has the HTJ
16240# value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
16241# CHT abbreviation.
16242#
16243# (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
16244#
16245# (E) ECMA-48 calls this "Active Position Report" but preserves the CPR 
16246# abbreviation.
16247# 
16248# (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
16249# char tab, 3 = clear line tab, 4 = clear all char tabs on current line, 
16250# 5 = clear all char tabs, 6 = clear all line tabs.
16251#
16252# (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
16253# HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
16254# Position Absolute" but retains the HVP abbreviation.
16255#
16256# (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
16257# abbreviation.
16258#
16259# (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
16260# later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
16261# DSR, 6 = request CPR response.
16262#
16263# (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
16264# 1 = clear from beginning, 2 = clear.
16265# 
16266# (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
16267#
16268# (L) The GSM parameters are vertical and horizontal parameters to scale by.
16269#
16270# (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
16271# use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
16272# Position Relative" but retains the HPR abbreviation.
16273#
16274# (N) ECMA-48 calls this "Character Tabulation" but retains the HT
16275# abbreviation.
16276#
16277# (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
16278# 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
16279# 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
16280# 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
16281# 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
16282# 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
16283# 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
16284# fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
16285# fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
16286# 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
16287# 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
16288# default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
16289# overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
16290# 61-65 = variable highlights for ideograms.
16291#
16292# (P) SI is also called LSO, Locking Shift Zero.
16293#
16294# (Q) SI is also called LS1, Locking Shift One.
16295#
16296# (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
16297# use CUD for this function and ignore VPR.  ECMA calls it `Line Position
16298# Absolute' but retains the VPA abbreviation.
16299#
16300# (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
16301# primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
16302# from secondary aux device, 4 = stop relay to primary aux device, 5 = 
16303# start relay to primary aux device, 6 = stop relay to secondary aux device,
16304# 7 = start relay to secondary aux device.
16305#
16306# (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
16307# abbreviation.
16308#
16309# (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
16310# abbreviation.
16311#
16312# (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
16313#
16314# (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM), 
16315# 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM), 
16316# 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
16317# 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
16318# Support Mode (BDSM), 9 = Device Component Select Mode (DCSM), 
16319# 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
16320# 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM), 
16321# 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
16322# Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
16323# Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
16324# New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
16325# Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
16326# from ECMA-48's 5th edition but are listed here for reference.
16327#
16328# (X) Select Alternate Presentation Variants is used only for non-Latin
16329# alphabets.
16330#
16331# (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
16332#
16333# (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
16334# abbreviation.
16335#
16336# ---------------------------------------------------------------------------
16337# 
16338# Abbreviations:
16339#
16340# Intro  an Introducer of some kind of defined sequence; the normal 7-bit
16341#        X3.64 Control Sequence Introducer is the two characters "Escape ["
16342# 
16343# Delim  a Delimiter
16344# 
16345# x/y    identifies a character by position in the ASCII table (column/row)
16346# 
16347# eF     editor function (see explanation)
16348# 
16349# FE     format effector (see explanation)
16350#
16351# F      is a Final character in
16352#             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
16353#             a control sequence (F from 4/0 to 7/14)
16354# 
16355# Gs     is a graphic character appearing in strings (Gs ranges from
16356#        2/0 to 7/14) in the ASCII table
16357# 
16358# Ce     is a control represented as a single bit combination in the C1 set
16359#        of controls in an 8-bit character set
16360# 
16361# C0     the familiar set of 7-bit ASCII control characters
16362# 
16363# C1     roughly, the set of control chars available only in 8-bit systems.
16364#        This is too complicated to explain fully here, so read Jim Fleming's
16365#        article in the February 1983 BYTE, especially pages 214 through 224.
16366# 
16367# Fe     is a Final character of a 2-character Escape sequence that has an
16368#        equivalent representation in an 8-bit environment as a Ce-type
16369#        (Fe ranges from 4/0 to 5/15)
16370# 
16371# Fs     is a Final character of a 2-character Escape sequence that is
16372#        standardized internationally with identical representation in 7-bit
16373#        and 8-bit environments and is independent of the currently
16374#        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
16375# 
16376# I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
16377#        ASCII table
16378# 
16379# P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
16380#        table
16381# 
16382# Pn     is a numeric parameter in a control sequence, a string of zero or
16383#        more characters ranging from 3/0 to 3/9 in the ASCII table
16384# 
16385# Ps     is a variable number of selective parameters in a control sequence
16386#        with each selective parameter separated from the other by the code
16387#        3/11 (which usually represents a semicolon); Ps ranges from
16388#        3/0 to 3/9 and includes 3/11
16389#
16390# *      Not relevant to terminal control, listed for completeness only.
16391# 
16392# Format Effectors versus Editor Functions
16393# 
16394# A format effector specifies how following output is to be displayed.
16395# An editor function allows you to modify the display.  Informally
16396# format effectors may be destructive; format effectors should not be.
16397# 
16398# For instance, a format effector that moves the "active position" (the 
16399# cursor or equivalent) one space to the left would be useful when you want to
16400# create an overstrike, a compound character made of two standard characters
16401# overlaid. Control-H, the Backspace character, is actually supposed to be a
16402# format effector, so you can do this. But many systems use it in a
16403# nonstandard fashion, as an editor function, deleting the character to the
16404# left of the cursor and moving the cursor left. When Control-H is assumed to
16405# be an editor function, you cannot predict whether its use will create an
16406# overstrike unless you also know whether the output device is in an "insert
16407# mode" or an "overwrite mode". When Control-H is used as a format effector,
16408# its effect can always be predicted. The familiar characters carriage
16409# return, linefeed, formfeed, etc., are defined as format effectors.
16410#
16411# NOTES ON THE DEC VT100 IMPLEMENTATION
16412# 
16413# Control sequences implemented in the VT100 are as follows:
16414# 
16415#      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
16416#      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
16417# 
16418# plus several private DEC commands.
16419# 
16420# Erasing parts of the display (EL and ED) in the VT100 is performed thus:
16421# 
16422#      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
16423#      Erase from beginning of line to cursor     Esc [ 1 K
16424#      Erase line containing cursor               Esc [ 2 K
16425#      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
16426#      Erase from beginning of screen to cursor   Esc [ 1 J
16427#      Erase entire screen                        Esc [ 2 J
16428#
16429# Some brain-damaged terminal/emulators respond to Esc [ J as if it were
16430# Esc [ 2 J, but this is wrong; the default is 0.
16431# 
16432# The VT100 responds to receiving the DA (Device Attributes) control
16433# 
16434#      Esc [ c    (or Esc [ 0 c)
16435# 
16436# by transmitting the sequence
16437# 
16438#      Esc [ ? l ; Ps c
16439# 
16440# where Ps is a character that describes installed options.
16441# 
16442# The VT100's cursor location can be read with the DSR (Device Status
16443# Report) control
16444# 
16445#      Esc [ 6 n
16446# 
16447# The VT100 reports by transmitting the CPR sequence
16448# 
16449#      Esc [ Pl ; Pc R
16450# 
16451# where Pl is the line number and Pc is the column number (in decimal).
16452# 
16453# The specification for the DEC VT100 is document EK-VT100-UG-003.
16454
16455#### ANSI.SYS
16456# 
16457# Here is a description of the color and attribute controls supported in the
16458# the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
16459# terminal emulators for Intel boxes obey these.  They are a proper subset
16460# of the ECMA-48 escapes.
16461#
16462# 0	all attributes off
16463# 1	foreground bright
16464# 4	underscore on
16465# 5	blink on/background bright (not reliable with brown)
16466# 7	reverse-video
16467# 8	set blank (non-display)
16468# 10	set primary font
16469# 11	set first alternate font (on PCs, display ROM characters 1-31)
16470# 12	set second alternate font (on PCs, display IBM high-half chars)
16471#
16472#			Color attribute sets
16473# 3n	set foreground color       / 0=black, 1=red,     2=green, 3=brown,
16474# 4n	set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
16475# Bright black becomes gray.  Bright brown becomes yellow,
16476# These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
16477#
16478# * If the 5 attribute is on and you set a background color (40-47) it is
16479#   supposed to enable bright background.
16480#
16481# * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
16482#   when you try to set a "bright brown" (yellow) background with attribute
16483#   5 (you get a blinking yellow foreground instead).  A few displays
16484#   (including the System V console) support an attribute 6 that undoes this
16485#   braindamage (this is required by iBCS2).
16486#
16487# * Some older versions of ANSI.SYS have a bug that causes thems to require
16488#   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
16489#   compatible.)
16490
16491#### Intel Binary Compatibility Standard
16492#
16493# For comparison, here are the capabilities implied by the Intel Binary 
16494# Compatibility Standard for UNIX systems (Intel order number 468366-001).
16495# These recommendations are optional.  IBCS2 allows the leading escape to
16496# be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
16497# the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
16498# (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
16499# terminfo entry are followed with the corresponding capability in parens:
16500#
16501#	CSI <n>k		disable (n=0) or enable (n=1) keyclick
16502#	CSI 2h   		lock keyboard
16503#	CSI 2i  		send screen as input
16504#	CSI 2l  		unlock keyboard
16505#	CSI 6m  		enable background color intensity
16506#	CSI <0-2>c		reserved
16507#	CSI <0-59>m		select graphic rendition
16508#	CSI <n>;<m>H	(cup)	cursor to line n and column m
16509#	CSI <n>;<m>f		cursor to line n and column m
16510#	CSI <n>@	(ich)	insert characters
16511#	CSI <n>A	(cuu)	cursor up n lines
16512#	CSI <n>B	(cud)	cursor down n lines
16513#	CSI <n>C	(cuu)	cursor right n characters
16514#	CSI <n>D	(cud)	cursor left n characters
16515#	CSI <n>E		cursor down n lines and in first column
16516#	CSI <n>F		cursor up n lines and in first column
16517#	CSI <n>G	(hpa)	position cursor at column n-1
16518#	CSI <n>J	(ed)	erase in display
16519#	CSI <n>K	(el)	erase in line
16520#	CSI <n>L	(il)	insert line(s)
16521#	CSI <n>P	(dch)	delete characters
16522#	CSI <n>S	(indn)	scroll up n lines
16523#	CSI <n>T	(rin)	scroll down n lines
16524#	CSI <n>X	(ech)	erase characters
16525#	CSI <n>Z	(cbt)	back up n tab stops
16526#	CSI <n>`		cursor to column n on line
16527#	CSI <n>a	(cuu)	cursor right n characters
16528#	CSI <n>d	(vpa)	cursor to line n
16529#	CSI <n>e		cursor down n lines and in first column
16530#	CSI <n>g	(cbt)	clear all tabs
16531#	CSI <n>z		make virtual terminal n active
16532#	CSI ?7h 	(smam)	turn automargin on
16533#	CSI ?7l 	(rmam)	turn automargin off
16534#	CSI s     		save cursor position
16535#	CSI u   		restore cursor position to saved value
16536#	CSI =<c>A		set overscan color
16537#	CSI =<c>F		set normal foreground color
16538#	CSI =<c>G		set normal background color
16539#	CSI =<c>H		set reverse foreground color
16540#	CSI =<c>I		set reverse foreground color
16541#	CSI =<c>J		set graphic foreground color
16542#	CSI =<c>K		set graphic foreground color
16543#	CSI =<n>g	(dispc) display n from alternate graphics character set
16544#	CSI =<p>;<d>B		set bell parameters
16545#	CSI =<s>;<e>C		set cursor parameters
16546#	CSI =<x>D		enable/disable intensity of background color
16547#	CSI =<x>E		set/clear blink vs. bold background
16548#	CSI 7     	(sc)	(sc) save cursor position
16549#	CSI 8   	(rc)	(rc) restore cursor position to saved value
16550#	CSI H		(hts)	(hts) set tab stop
16551#	CSI Q<n><string>	define function key string
16552#				(string must begin and end with delimiter char)
16553#	CSI c   	(clear) clear screen
16554#
16555# The lack of any specification for attributes in SGR (among other things)
16556# makes this a wretchedly weak standard. The table above is literally 
16557# everything iBSC2 has to say about terminal escape sequences; there is
16558# no further discussion of their meaning or how to set the parameters
16559# in these sequences at all.
16560#
16561
16562######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
16563#
16564# The historical termcap file entries were written primarily in 4.4BSD termcap.
16565# The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
16566# with the extension names chosen for compatibility with the termcap names
16567# assigned in System V terminfo.  There are some variant extension sets out
16568# there.  We try to describe them here.
16569#
16570# XENIX extensions:
16571#
16572# The XENIX extensions include a set of function-key capabilities as follows:
16573#
16574#       code	XENIX variable name	terminfo name	name clashes?
16575#	----	-------------------	-------------	-----------------------
16576#	CL	key_char_left
16577#	CR	key_char_right
16578#	CW	key_change_window			create_window
16579#	EN	key_end          	kend
16580#	HM	key_home		khome
16581#	HP	??
16582#	LD	key_delete_line  	kdl1
16583#	LF	key_linefeed     			label_off
16584#	NU	key_next_unlocked_cell
16585#	PD	key_page_down   	knp
16586#	PL	??
16587#	PN	start_print		mc5
16588#	PR	??
16589#	PS	stop_print		mc4
16590#	PU	key_page_up     	kpp		pulse
16591#	RC	key_recalc				remove_clock
16592#	RF	key_toggle_ref				req_for_input
16593#	RT	key_return      	kent
16594#	UP	key_up_arrow           	kcuu1   	parm_up_cursor
16595#	WL	key_word_left
16596#	WR	key_word_right
16597#
16598# The XENIX extensions also include the following character-set and highlight
16599# capabilities:
16600#
16601#	XENIX	terminfo	function
16602#	-----	--------	------------------------------
16603#	GS	smacs		start alternate character set
16604#	GE	rmacs		end alternate character set
16605#	GG			:as:/:ae: glitch (analogous to :sg:/:ug:)
16606#	bo	blink		begin blink (not used in /etc/termcap)
16607#	be			end blink (not used in /etc/termcap)
16608#	bb			blink glitch  (not used in /etc/termcap)
16609#	it	dim		begin dim (not used in /etc/termcap)
16610#	ie			end dim (not used in /etc/termcap)
16611#	ig			dim glitch  (not used in /etc/termcap)
16612#
16613# Finally, XENIX also used the following forms-drawing capabilities:
16614#
16615#	single	double  type             ASCII approximation 
16616#	------	------	-------------    -------------------
16617#	GV	Gv	vertical line             |
16618#	GH	Gv	horizontal line       -   _
16619#	G1	G5	top right corner       _   |
16620#	G2	G6	top left corner       | 
16621#	G3	G7	bottom left corner         |_
16622#	G4	G8	bottom right corner   _|
16623#	GD	Gd	down-tick character        T
16624#	GL	Gl	left-tick character   -|
16625#	GR	Gr	right-tick character       |-
16626#	GC	Gc	middle intersection   -|-
16627#	GU	Gu	up-tick character          _|_
16628#
16629# These were invented to take advantage of the IBM PC ROM character set.  One
16630# can compose an acsc string from the single-width characters as follows
16631#	"j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
16632# When translating a termcap file, ncurses tic will do this automatically.
16633# The double forms characters don't fit the SVr4 terminfo model.
16634#
16635# AT&T Extensions:
16636#
16637# The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
16638# nonstandard capabilities.  Its signature is the KM capability, used to name
16639# some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
16640# set.  Comments in the original, and a little cross-checking with other AT&T
16641# documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
16642# (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
16643# FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
16644# cursor invisible), and CV=:ve: (make cursor normal).
16645#
16646# HP Extensions
16647#
16648# The HP library (as of mid-1995, their term.h file version 70.1) appears to
16649# have the System V capabilities up to SVr1 level.  After that, it supports
16650# two nonstandard caps meml and memu corresponding to the old termcap :ml:,
16651# :mu: capabilities.  After that, it supports caps plab_norm, label_on,
16652# label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
16653# HP binary format incompatible with SVr4's.
16654#
16655# IBM Extensions
16656#
16657# There is a set of nonstandard terminfos used by IBM's AIX operating system.
16658# The AIX terminfo library diverged from SVr1 terminfo, and replaces all
16659# capabilities following prtr_non with the following special capabilties:
16660# box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
16661# kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
16662# ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
16663# rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
16664# kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
16665# renamed (to kcbt and kslt).  The places in the box[12] capabilities
16666# correspond to acsc chars, here is the mapping:
16667#
16668#	box1[0]  = ACS_ULCORNER
16669#	box1[1]  = ACS_HLINE	
16670#	box1[2]  = ACS_URCORNER
16671#	box1[3]  = ACS_VLINE
16672#	box1[4]  = ACS_LRCORNER
16673#	box1[5]  = ACS_LLCORNER
16674#	box1[6]  = ACS_TTEE
16675#	box1[7]  = ACS_RTEE
16676#	box1[8]  = ACS_BTEE
16677#	box1[9]  = ACS_LTEE
16678#	box1[10] = ACS_PLUS
16679#
16680# The box2 characters are the double-line versions of these forms graphics.
16681# The AIX binary terminfo format is incompatible with SVr4's.
16682#
16683# Iris console extensions:
16684#
16685# HS is half-intensity start; HE is half-intensity end
16686# CT is color terminal type (for Curses & rogue)
16687# CP is color change escape sequence
16688# CZ are color names (for Curses & rogue)
16689#
16690# The ncurses tic utility recognizes HS as an alias for mh <dim>.
16691#
16692# TC Extensions:
16693#
16694# There is a set of extended termcaps associated with something
16695# called the "Terminal Control" or TC package created by MainStream Systems,
16696# Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
16697# CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
16698# that flags color terminals.
16699#
16700######## CHANGE HISTORY
16701#
16702# The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
16703# Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
16704# project.
16705#
16706# This file contains all the capability information present in John Kunze's
16707# last version of the termcap master file, except as noted in the change 
16708# comments at end of file.  Some information about very ancient obsolete
16709# capabilities has been moved to comments.  Some all-numeric names of older
16710# terminals have been retired.
16711#
16712# I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
16713# capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
16714# used by BSD curses.
16715#
16716# The 9.1.0 version of this file was translated from my lightly-edited copy of
16717# 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
16718# the purpose.  Unless the ncurses tic implementation and the Lisp code were
16719# making perfectly synchronized mistakes which I then failed to catch by
16720# eyeball, the translation was correct and perfectly information-preserving.
16721#
16722# Major version number bumps correspond to major version changes in ncurses.
16723#
16724# Here is a log of the changes since then:
16725#
16726# 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
16727#	* First terminfo master translated from 8.3.
16728# 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
16729#	* Replaced Wyse entries with updated entries supplied by vendor.
16730#
16731# 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
16732#	* Added contact & status info from G. Clark Brown <clark@sssi.com>.
16733# 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
16734#	* Better XENIX keycap translation.  Describe TC termcaps.
16735#	* Contact and history info supplied by Qume.
16736# 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
16737#	* Raided the Shuford FTP site for recent termcaps/terminfos.
16738#	* Added information on X3.64 and VT100 standard escape sequences.
16739# 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
16740#	* Added a correct X11R6 xterm entry.
16741#	* Fixed terminfo translations of padding.
16742# 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
16743#	* Added correct acsc/smacs/rmacs strings for vt100 and xterm.
16744#	* Added u6/u7/u8/u9 capabilities.
16745#	* Added PCVT entry.
16746# 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
16747#	* Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
16748#	  to use reverse-video standout so Emacs will look right.
16749#	* Added el1 capability to ansi.
16750#	* Added smacs/rmacs to ansi.sys.
16751#
16752# 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
16753#	* New mt70 entry.
16754#	* Added COPYRIGHTS AND OTHER DELUSIONS.
16755#	* Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
16756#	  smartvid & smarterm, ampex 175 & 219 & 232,
16757#	  env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
16758#	  ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
16759#	  screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
16760#	  adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
16761#	* Replaced the Perkin-Elmer entries with vendor's official ones.
16762#	* Restored the old minimal-ansi entry, luna needs it.
16763#	* Fixed some incorrect ip and proportional-padding translations.
16764# 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
16765#	* Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
16766#	* Make the xterm entry 65 lines again; create xterm25 and xterm24
16767#	  to force a particular height.
16768#	* Added beehive4 and reorganized other Harris entries.
16769# 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
16770#	* Merged in DEC's official entries for its terminals.  The only old
16771#	  entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
16772#	* Replaced the translated BBN Bitgraph entries with purpose-built
16773#	  ones from AT&T's SVr3.
16774#	* Replaced the AT&T entries with AT&T's official terminfos.
16775#	* Added teleray 16, vc415, cops10. 
16776#	* Merged in many individual capabilities from SCO terminfo files.
16777# 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
16778#	* Typo fixes.
16779#	* Change linux entry so A_PROTECT enables IBM-PC ROM characters.
16780# 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
16781#	* Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
16782#	  pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
16783#	  simterm, citoh and variants.
16784#	* Replaced sol entry with sol1 and sol2.
16785#	* Replaced Qume QVT and Freedom-series entries with purpose-built
16786#	  terminfo entries.
16787#	* Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
16788#	  and dg200 entries using caps from from SCO.
16789#	* Added the usual set of function-key mappings to ANSI entry.
16790#	* Corrected xterm's function-key capabilities.
16791# 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
16792#	* Fix in xterm entry, cub and cud are not reliable under X11R6.
16793# 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
16794#	* Fix in xterm entry, get the arrow keys right.
16795#	* Change some \0 escapes to \200.
16796# 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
16797#	* Added apple (Videx card), adm1a, oadm31.
16798#	* Fixed malformed ampex csr.
16799#	* Fixed act4, cyb110; they had old-style prefix padding left in. 
16800#	* Changed mandatory to advisory padding in many entries.
16801#	* Replaced HP entries up to hpsub with purpose-built ones.
16802#	* Blank rmir/smir/rmdc/smdc capabilities removed.
16803#	* Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
16804# 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
16805#	* Replaced the Ann Arbor entries with SCO's, the init strings are
16806#	  more efficient (but the entries otherwise identical).
16807#	* Added dg211 from Shuford archive.
16808#	* Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
16809#	  adm42-nl, pc52, gs6300, xerox820, uts30.
16810#	* Pull SCO's padding into vi200 entry.
16811#	* Improved capabilities for tvi4107 and other Televideo and Viewpoint
16812#	  entries merged in from SCO's descriptions.
16813#	* Fixed old-style prefix padding on zen50, h1500.
16814#	* Moved old superbee entry to superbee-xsb, pulled in new superbee
16815#	  entry from SCO's description.
16816#	* Reorganized the special entries.
16817#	* Added lm#0 to cbunix and virtual entries.
16818#
16819# 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
16820#	* Restored cdc456tst.
16821#	* Fixed sb1 entry, SCO erroneously left out the xsb glitch.
16822#	* Added megatek, beacon, microkit.
16823#	* Freeze for ncurses-1.9 release.
16824# 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
16825#	* Added historical data for TAB.
16826#	* Comment fixes from David MacKenzie.
16827#	* Added the new BSDI pc3 entry.
16828# 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
16829#	* A change in the tic -C logic now ensures that all entries in 
16830#	  the termcap translation will fit in < 1024 bytes.
16831#	* Added `bobcat' and `gator' HP consoles and the Nu machine entries
16832#	  from GNU termcap file.  This merges in all their local information.
16833# 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
16834#	* Changed tic -C logic to dump all capabilities used by GNU termcap.
16835#	* Added warnings about entries with long translations (restoring
16836#	  all the GNU termcaps pushes a few over the edge).
16837# 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
16838#	* Yet another tic change, and a couple of entry tweaks, to reduce the
16839#	  number of long (> 1024) termcap translations back to 0.
16840#
16841# 9.6.0 (Mon May  1 10:35:54 EDT 1995)
16842#	* Added kf13-kf20 to Linux entry.
16843#	* Regularize Prime terminal names.
16844#	* Historical data on Synertek.
16845#	* Freeze for ncurses-1.9.1.
16846# 9.6.1 (Sat May  6 02:00:52 EDT 1995):
16847#	* Added true xterm-color entry, renamed djm's pseudo-color entry.
16848#	* Eliminate whitespace in short name fields, this tanks some scripts.
16849#	* Name field changes to shorten some long entries.
16850#	* Termcap translation now automatically generates empty rmir/smir
16851#	  when ich1/ich is present (copes with an ancient vi bug).
16852#	* Added `screen' entries from FSF's screen-3.6.2.
16853#	* Added linux-nic and xterm-nic entries.
16854# 9.6.2 (Sat May  6 17:00:55 EDT 1995):
16855#	* Change linux entry to use smacs=\E[11m and have an explicit acsc,
16856#	  eliminating some special-case code in ncurses.
16857#
16858# 9.7.0 (Tue May  9 18:03:12 EDT 1995):
16859#	* Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
16860#	  that captures everything unique from it.
16861#	* Added reorder script generator.
16862#	* Freeze for ncurses 1.9.2 release.
16863# 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
16864#	* Added Sean Farley's kspd, flash, rs1 capabilities for linux.
16865#	* Added Olaf Siebert's corrections for adm12.
16866#	* ansi-pc-color now includes the colors and pairs caps, so that
16867#	  entries which use it will inherit them automatically.
16868#	* The linux entry can now recognize the center (keypad 5) key.
16869#	* Removed some junk that found its way into Linux acsc.
16870#
16871# 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
16872#	* Add 50% cut mark as a desperate hack to reduce tic's core usage.
16873#	* xterm doesn't try to use application keypad mode any more.
16874#	* Freeze for ncurses-1.9.3 release.
16875# 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
16876#	* Added corrected sun entry from vendor.
16877#	* Added csr capability to linux entry.
16878#	* Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
16879#	* Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
16880#	* Some commented-out caps in long entries come back in, my code 
16881#	  for computing string-table lengths had a bug in it.
16882#	* pcansi series modified to fit comm-program reality better.
16883# 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
16884#	* BSD/OS actually ships the ibmpc3 bold entry as its console.
16885#	* Correct some bad aliases in the pcansi series
16886#	* Added entry for QNX console.
16887#	* Clean up duplicate long names for use with 4.4 library.
16888#	* Change vt100 standout to be normal reverse vide, not bright reverse;
16889#	  this makes the Emacs status line look better.
16890# 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
16891#	* Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
16892#	* Minor surgery, mostly on name strings, to shorten termcap version.
16893#
16894# 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
16895#	* Added dec-vt100 for use with the EWAN emulator.
16896#	* Added kmous to xterm for use with xterm's mouse-tracking facility.
16897#	* Freeze for 1.9.5 alpha release.
16898# 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
16899#	* Changed xterm lines to 24, the X11R6 default.
16900# 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
16901#	* Added 7 newly discovered, undocumented acsc characters to linux
16902#	  entry (the pryz{|} characters).
16903#	* ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
16904#	* Correct two typos in the xterm entries introduced in 9.9.1.
16905#	* I finally figured out how to translate ko capabilities.  Done.
16906#	* Added tvi921 entries from Tim Theisen.
16907#	* Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
16908#	* Removed mystery tec entry, it was neither interesting nor useful.
16909#	* shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
16910#	  vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
16911#	  trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
16912#	  by making them relative to use capabilities
16913#	* Added cuf1=^L to tvi925 from deleted variant tvi925a.
16914#	* fixed cup in adm22 entry and parametrized strings in vt320-k3.
16915#	* added it#8 to entries that used to have :pt: -- tvi912, vi200,
16916#	  ampex80,
16917#	* Translate all home=\E[;H capabilities to home=\E[H, they're 
16918#	  equivalent.
16919#	* Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
16920#	  vt100 and ANSI-like terminals.
16921# 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
16922#	* Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
16923#	  does this now, too.
16924#	* fviewpoint is gone, it duplicated screwpoint.
16925#	* Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
16926#	  ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3, 
16927#	  versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
16928#	  The UW vi50 replaces the old one, which becomes vi50adm,
16929#	* No more embedded commas in name fields.
16930#
16931# 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
16932#	* XENIX forms characters in fos, trs16, scoansi become acsc strings,
16933#	* Introduced klone+* entries for describing Intel-console behavior.
16934#	* Linux kbs is default-mapped to delete for some brain-dead reason.
16935#	* -nsl -> -ns.  The -pp syntax is obsolete.
16936#	* Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
16937#	* Make xterm entry do application-keypad mode again.  I got complaints
16938#	  that it was messing up someone's 3270 emulator.
16939#	* Added some longname fields in order to avoid warning messages from
16940#	  older tic implementations.
16941#	* According to ctlseqs.ms, xterm has a full vt100 graphics set.  Use
16942#	  it! (This gives us pi, greater than, less than, and a few more.)
16943#	* Freeze for ncurses-1.9.6 release.
16944# 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
16945#	* Add xon to a number of console entries, they're memory-mapped and
16946#	  don't need padding.
16947#	* Correct the use dependencies in the ansi series.
16948#	* Hand-translate more XENIX capabilities.
16949#	* Added hpterm entry for HP's X terminal emulator.
16950#	* Added aixterm entries.
16951#	* Shortened four names so everything fits in 14 chars.  
16952#
16953# 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
16954#	* Added ibcs2 entry and info on iBCS2 standard.
16955#	* Corrected hpa/vpa in linux entry.  They still fail the worm test.
16956#	* We can handle the HP meml/memu capability now.
16957#	* Added smacs to klone entries, just as documentation.
16958#	* Carrected ansi.sys and cit-500 entries.
16959#	* Added z39, vt320-k311, v220c, and avatar entries.
16960#	* Make pcansi use the ansi.sys invis capability.
16961#	* Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
16962#	  tvi925, tvi950, dt80, ncr7900i, h19.
16963#	* X3.64 has been withdrawn, change some references.
16964#	* Removed function keys from ansi-m entry.
16965#	* Corrected ansi.sys entry.
16966#	* Freeze for ncurses-1.9.7 release.
16967# 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
16968#	* Added rmam/smam capabilities to many entries based on init strings.
16969#	* Added correct hpa/vpa to linux.
16970#	* Reduced several entries relative to vt52.
16971# 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
16972#	* Exiled some utterly unidentifiable custom and homebrew types to the
16973#	  UFO file; also, obsolete small-screen hardware; also, entries which
16974#	  look flat-out incorrect, garbled, or redundant.  These include the
16975#	  following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec, 
16976#	  tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
16977#	  apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
16978#	  fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55, 
16979#	  yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2, 
16980#	  vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200, 
16981#	  trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40, 
16982#	  att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w, 
16983#	  tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na, 
16984#	  c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na, 
16985#	  regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb, 
16986#	  vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam, 
16987#	  vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
16988#	* Corrected pcvt25h as suggested by Brian C. Grayson
16989#	  <bgrayson@pine.ece.utexas.edu>.
16990# 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
16991#	* Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H. 
16992#	* Added kent=\EOM to xterm entry.
16993#
16994# 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
16995#	* Corrected gigi entry.
16996#	* Restored cuf/cud1 to xterm, their apparent bugginess was due to
16997#	  bad hpa/vpa capabilities.
16998#	* Corrected flash strings to have a uniform delay of .2 sec.  No
16999#	  more speed-dependent NUL-padding!
17000#	* terminfo capabilities in comments bracketed with <>.
17001# 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
17002#	* Replaced pcvt with the 3.31 pcvt entries.
17003#	* Freeze for 1.9.7a.
17004# 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
17005#	* Added emu entry from the X11R6 contrib tape sources.
17006#
17007# 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
17008#	* Improved iris-ansi and sun entries.
17009#	* More flash string improvements.
17010#	* Corrected wy160 & wy160 as suggested by Robert Dunn
17011#	* Added dim to at386.  
17012#	* Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
17013#	  he's ready to start using the termcap generated from this one.
17014#	* Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
17015#	  ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
17016#	* Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
17017#	  att610, att620, att630, 
17018#	* Changed hazeltine name prefix from h to hz.
17019#	* Sent t500 to the UFI file.
17020#	* I think we've sucked all the juice out of BSDI's termcap file now.
17021#	* Freeze for ncurses 1.9.8 release
17022# 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
17023#	* Unfreeze, linux kbs needed to be fixed.
17024#	* Tim Theisen pinned down a bug in the DMD firmware.
17025# 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
17026#	* Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
17027#	  (The broken ones had been shadowed by sgr.)
17028# 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
17029#	* Added documentation on ECMA-48 standard.
17030#	* New Amiga entry.
17031# 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
17032#	* More ECMA-48 stuff
17033#	* Corrected typo in minix entry, added pc-minix.
17034#	* Corrected khome/kend in xterm (thank you again, Aaron Ucko).
17035#	* Added rxvt entry.
17036#	* Added 1.3.x color-change capabilities to linux entry.
17037# 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
17038#	* Corrected rxvt entry khome/kend.
17039#	* Corrected linux color change capabilities.
17040#	* NeXT entries from Dave Wetzel.
17041#	* Cleaned up if and rf file names (all in /usr/share now).
17042#	* Changed linux op capability to avoid screwing up a background color
17043#	  pair set by setterm.
17044# 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
17045#	* Added xterm-sun.
17046# 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
17047#	* Added visa50.
17048#
17049# 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
17050#	* Another sweep through the Shuford archive looking for new info.
17051#	* Added dg100 alias to dg6053 based on a comp.terminals posting.
17052# 	* Added st52 from Per Persson.
17053#	* Added eterm from the GNU Emacs 19.30 distribution.
17054#	* Freeze for 1.9.9.
17055# 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
17056#	* FreeBSD console entries from Andrew Chernov.
17057#	* Removed duplicate Atari st52 name.
17058# 9.13.2 (Tue May  7 16:10:06 EDT 1996)
17059#	* xterm doesn't actually have ACS_BLOCK.
17060#	* Change klone+color setf/setb to simpler forms that can be
17061#	  translated into termcap.
17062#	* Added xterm1.
17063#	* Removed mechanically-generated junk capabilities from cons* entries.
17064#	* Added color support to bsdos.
17065# 9.13.3 (Thu May  9 10:35:51 EDT 1996):
17066#	* Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
17067#	* Created ecma+color, linux can use it.  Also added ech to linux.
17068#	* Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
17069#	* Add descriptions to FreeBSD console entries.  Also shorten
17070#	  some aliases to <= 14 chars for portability.
17071#	* Added x68k console
17072#	* Added OTbs to several VT-series entries.
17073# 9.13.4 (Wed May 22 10:54:09 EDT 1996):
17074#	* screen entry update for 3.7.1 from Michael Alan Dorfman.
17075# 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
17076#	* kterm correction due to Kenji Rikitake.
17077#	* ACS correction in vt320-kll due to Phillippe De Muyter.
17078# 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
17079#	* Sun console entry correction from J.T. Conklin.
17080#	* Changed all DEC VT300 and up terminals to use VT300 tab set
17081# 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
17082#	* Added smul to linux entry (we never noticed it was missing 
17083#	  because of sgr!).
17084#	* Added rmln to hp+labels (deduced from other HP entries).
17085#	* Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
17086#	  pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
17087#	* Corrected vt220 acsc.
17088#	* The klone+sgr and klone+sgr-dumb entries now use klone+acs;
17089#	  this corresponds to reality and helps prevent some tic warnings.
17090#	* Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
17091#	  hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
17092#	  adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
17093#	  qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
17094#	  wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
17095#	  adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p, 
17096#	  f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
17097#	  owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
17098#	  lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
17099#	  dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
17100#	  ifmr, v3220, wy100q, tandem653, ibmaed.
17101#	* Added DWK terminal description.
17102# 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
17103#	* Many entries now have highlights inherited from adm+sgr.
17104#	* xterm entry now corresponds to XFree86 3.1.2E, with color.
17105#	* xtitle and xtitle-twm enable access to the X status line.
17106#	* Added linux-1.3.6 color palette caps in conventional format.
17107#	* Added adm1178 terminal.
17108#	* Move fos and apollo terminals to obsolete category.
17109#	* Aha! The BRL terminals file told us what the Iris extensions mean.
17110#	* Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
17111#	  commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
17112#	  cit500, adm11. 
17113# 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
17114#	* Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
17115#	  aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
17116#	* Corrected, from BRL termcap file: vi50.
17117#	* Better rxvt entry & corrected xterm entries from Thomas Dickey.
17118# 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
17119#	* Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
17120#	  att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
17121#	  (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
17122#	  tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
17123#	  apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
17124#	* Paired-attribute fixes to various terminals.
17125#	* Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
17126#	* xterm entry corrections from Thomas Dickey.
17127# 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
17128#	* Added t916 entry, translated from a termcap in SCO's support area.
17129#	* New qnx entry from Michael Hunter.
17130# 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
17131#	* Added hpex2 from Ville Sulko.
17132#	* Fixed a bug that ran the qnx and pcvtXX together.
17133# 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
17134#	* Added dtterm entry from Solaris CDE.
17135# 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
17136#	* corrected pairs#8 typo in dtterm entry.
17137#	* added tvi9065.
17138# 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
17139#	* updated xterm entry to cover 3.1.2E's new features.  
17140# 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
17141#	* Added new minix entry
17142#	* Removed aliases of the form ^[0-9]* for obsolete terminals.
17143#	* Commented out linux-old, nobody's using pre-1.2 kernels now.
17144# 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
17145#	* Added Prism entries and kt7ix.
17146#	* Caution notes about EWAN and tabset files.
17147#	* Changed /usr/lib/tabset -> /usr/share/tabset.
17148#	* Added acsc/rmacs/smacs to vt52.
17149# 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
17150#	* Merged in Thomas Dickey's reorganization of the xterm entries;
17151#	  added technical corrections to avoid warning messages.
17152# 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
17153#	* Added rmso=\E[27m in Linux entry.
17154#	* Added koi8-r support for Linux console.
17155#	* Replace xterm entries with canonical ones from XFree86 3.2.
17156# 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
17157#	* Added color_xterm from Jacob Mandelson
17158# 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
17159#	* Back off the xterm entry to use r6 as a base.
17160# 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
17161#	* Added dec-vt220 at Adrian Garside's request.
17162# 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
17163#	* Replaced minitel-2 entry.
17164#	* Added MGR, ansi-nt.
17165#	* Minor corrections to xterm entries.
17166#	* Replaced EWAN telnet entry.
17167#	* Dropped the reorder script generator.  It was a fossil.
17168# 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
17169#	* Thorsten Lockert added termcap `bs' to a lot of types, working from
17170#	  the 4.4BSD Lite2 file.
17171# 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
17172#	* Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
17173#	* Updated iris-ansi; corrected vt102-w.
17174#	* Switch base xterm entry to 3.3 level.
17175# 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
17176#	* Added basic4.
17177#	* Removed rmir/smir from tv92B.
17178#
17179# 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
17180#	* add hds200 description (Walter Skorski)
17181#	* add beterm entry (Fred Fish)
17182#	* add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
17183#	  iris-color entries.
17184#	* add emx entries.
17185#	* Replaced unixpc entry with Benjamin Sittler's corrected version.
17186#	* Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
17187#	  versions.
17188#	* remove sgr string from qnx based on report by Xiaodan Tang
17189#	* Added u8/u9, removed rmul/smul from sun-il.
17190#	* 4.2 tic displays \0 rather than \200.
17191#	* add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
17192#	  apparently based on cp-866).
17193#	* Merged in Pavel Roskin's acsc for linux-koi8
17194#	* Corrected some erroneous \\'s to \.
17195#	* 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
17196#	* II -> ii in pcvtXX, screen, xterm.
17197#	* Removed \n chars following ANSI escapes in sgr & friends.
17198#	* Updated Wyse entries.
17199#	* h19 corrections from Tim Pierce.
17200#	* Noted that the dm2500 has both ich and smir.
17201#	* added pccons for the Alpha under OSF/1.
17202#	* Added Sony NEWS workstation entries and cit101e-rv.
17203#	* Reverted `amiga'; to Kent Polk's version, as I'm told
17204#	  the Verkuil entry messes up with Amiga Telnet.
17205# 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
17206#	* Corrected attributions in 10.2.0 release notes.
17207#	* Scanned the Shuford archive for new terminfos and information.
17208#	* Removed sgr from qnx entry (Thomas Dickey).
17209#	* Added entries for ICL and Kokusai Data Systems terminals.
17210#	* Incorporated NCR terminfos from the Boundless Technology FTP site.
17211#	* Incorporated att700 from the Boundless Technology FTP site.
17212#	* Miscellaneous contact-address and Web-page updates.
17213#
17214# 1998/5/9
17215#	* add nxterm and xterm-color terminfo description (request by Cristian
17216#	  Gafton <gafton@redhat.com>).
17217#	* modify rxvt terminfo description to clear alternate screen before
17218#	  switching back to normal screen, for compatibility with applications
17219#	  which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
17220#	* modify linux terminfo description to reset color palette (reported
17221#	  by Telford Tendys <telford@eng.uts.edu.au>).
17222#
17223# 1998/7/4
17224#	* merge changes from current XFree86 xterm terminfo descriptions.
17225#
17226# 1998/7/25
17227#	* Added minitel1 entries from Alexander Montaron.
17228#	* Added qnxt2 from Federico Bianchi.
17229#	* Added arm100 terminfo entries from Dave Millen.
17230#
17231# 1998/8/6
17232#	* Added ncsa telnet entries from Francesco Potorti
17233#
17234# 1998/8/15
17235#	* modify ncsa telnet entry to reflect color, other capabilities based on
17236#	  examination of the source code - T.Dickey.
17237#
17238# 1998/8/22
17239#	* Corrected some erroneous \\'s to \ (eterm, osborne) - TD.
17240#
17241# 1998/8/29
17242#	* Added Francesco Potorti's tuned Wyse 99 entries.
17243#	* dtterm enacs correction from Alexander V. Lukyanov.
17244#	* Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
17245#	* correct a typo in icl6404 entry.
17246#	* add xtermm and xtermc
17247#
17248# 1998/9/26
17249#	* format most %'char' sequences to %{number}
17250#	* adapt IBM AIX 3.2.5 terminfo - T.Dickey
17251#	* merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
17252#
17253# 1998/10/10
17254#	* update xterm-xfree86 to current (patch 84), for is2/rs2 changes - TD
17255#	* correct initialization string in xterm-r5, add misc other features
17256#	  to correspond with xterm patch 84 - TD
17257#
17258# 1998/12/19
17259#	* update xterm-xfree86 to current (patch 90), smcur/rmcur changes - TD
17260#	* add Mathew Vernon's mach console entries
17261#	* corrections for ncsa function-keys (report by Larry Virden)
17262#
17263# 1998/12/19
17264#	* change linux to use ncv#2, since underline does not work with color - TD
17265#
17266# 1999/1/9
17267#	* add kbt to iris-ansi, document other shift/control functionkeys - TD
17268#	* correct iris-ansi and iris-ansi-ap with respect to normal vs keypad
17269#	  application modes, change kent to use the correct keypad code - TD
17270#
17271# 1999/1/10
17272#	* add entry for Tera Term - TD
17273#
17274# 1999/1/23
17275#	* minor improvements for teraterm entry - TD
17276#	* rename several entries used by BSDI: bsdos to bsdos-pc-nobold,
17277#	  and bsdos-bold to bsdos-pc (Jeffrey C Honig)
17278#
17279# 1999/2/20
17280#	* resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
17281#	  xterm and ncsa entries by removing the unneeded ones.  Note that
17282#	  some entries will return kend & khome versus kslt and kfnd, for
17283#	  PC-style keyboards versus strict vt220 compatiblity - TD
17284#
17285# 1999/3/13
17286#	* adjust xterm-xfree86 khome/kend to match default PC-style keyboard
17287#	  tables - TD
17288#	* add 'crt' entry - TD
17289#	* correct typos in 'linux-c' entry - TD
17290#
17291# 1999/3/14
17292#	* update entries for BSD/OS console to use klone+sgr and klone+color
17293#	  (Jeffrey C Honig)
17294#
17295# 1999/3/27
17296#	* adjust xterm-xfree86 miscellaneous keypad keys, as per patch #94 - TD.
17297#
17298# 1999/4/10
17299#	* add linux-lat, from RedHat patches to ncurses 4.2
17300#
17301# 1999/4/17
17302#	* add complete set of default function-key definitions for scoansi - TD.
17303#
17304# 1999/7/3
17305#	* add cnorm, cvvis for Linux 2.2 kernels
17306#
17307# 1999/7/24
17308#	* add kmous to xterm-r5 -TD
17309#	* correct entries xterm+sl and xterm+sl-twm, which were missing the
17310#	  parent "use" clause -TD
17311#
17312# 1999/7/31
17313#	* corrected cnorm, added el1 in 'screen' description -TD
17314#
17315# 1999/8/14
17316#	* add ms-vt100 -TD
17317#
17318# 1999/8/21
17319#	* corrections to beterm entry -TD
17320#
17321# 1999/8/28
17322#	* add cygwin entry -TD
17323#
17324# 1999/9/4
17325#	* minor corrections for beterm entry -TD
17326#
17327# 1999/9/18
17328#	* add acsc string to HP 70092 terminfo entry -Joerg Wunsch
17329#
17330# 1999/9/25
17331#	* add amiga-8bit entry
17332#	* add console entries from NetBSD: ofcons, wsvt25, wsvt25m, rcons,
17333#	  rcons-color, based on
17334#	  ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/termcap/termcap.src
17335#	* add alias for iris-ansi-net
17336#
17337# 1999/10/2
17338#	* corrected scoansi entry's acsc, some function keys, add color -TD
17339#
17340# 1999/10/23
17341#	* add cnorm, cvvis to cons25w, and modify ncv to add 'dim' -TD
17342#	* reorder ncsa entries to make ncsa-vt220 use the alternate function
17343#	  key mapping, leaving Potorti's entries more like he named them -TD
17344#	* remove enter/exit am-mode from cygwin -TD
17345#
17346# The following sets edit modes for GNU EMACS.
17347# Local Variables:
17348# fill-prefix:"\t"
17349# fill-column:75
17350# comment-column:0
17351# comment-start-skip:"^#+"
17352# comment-start:"# "
17353# compile-command:"tic -c terminfo.master"
17354# End:
17355######## SHANTIH!  SHANTIH!  SHANTIH!
17356