xref: /freebsd/contrib/ncurses/misc/emx.src (revision b9f654b163bce26de79705e77b872427c9f2afa1)
1##############################################################################
2# Copyright (c) 1998-2003,2006 Free Software Foundation, Inc.                #
3#                                                                            #
4# Permission is hereby granted, free of charge, to any person obtaining a    #
5# copy of this software and associated documentation files (the "Software"), #
6# to deal in the Software without restriction, including without limitation  #
7# the rights to use, copy, modify, merge, publish, distribute, distribute    #
8# with modifications, sublicense, and/or sell copies of the Software, and to #
9# permit persons to whom the Software is furnished to do so, subject to the  #
10# following conditions:                                                      #
11#                                                                            #
12# The above copyright notice and this permission notice shall be included in #
13# all copies or substantial portions of the Software.                        #
14#                                                                            #
15# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
16# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,   #
17# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL    #
18# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER      #
19# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING    #
20# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER        #
21# DEALINGS IN THE SOFTWARE.                                                  #
22#                                                                            #
23# Except as contained in this notice, the name(s) of the above copyright     #
24# holders shall not be used in advertising or otherwise to promote the sale, #
25# use or other dealings in this Software without prior written               #
26# authorization.                                                             #
27##############################################################################
28# $Id: emx.src,v 1.9 2006/04/22 21:46:17 tom Exp $
29# This is a reformatted copy of the terminfo source for OS/2 EMX from
30# Juan Jose Garcia Ripoll <worm@arrakis.es>.
31# http://www.arrakis.es/~worm/
32#----------------------------------------------------------------------------
33#
34# This section describes terminal classes and maker brands that are still
35# quite common.
36#
37
38#### Specials
39#
40# Special "terminals".  These are used to label tty lines when you don't
41# know what kind of terminal is on it.  The characteristics of an unknown
42# terminal are the lowest common denominator - they look about like a ti 700.
43#
44
45dumb|80-column dumb tty,
46	am,
47	cols#80,
48	bel=^G,
49	cr=^M,
50	cud1=^J,
51	ind=^J,
52unknown|unknown terminal type,
53	gn,
54	use=dumb,
55lpr|printer|line printer,
56	hc,
57	os,
58	cols#132,
59	lines#66,
60	bel=^G,
61	cr=^M,
62	cub1=^H,
63	cud1=^J,
64	ff=^L,
65	ind=^J,
66glasstty|classic glass tty interpreting ASCII control characters,
67	am,
68	cols#80,
69	bel=^G,
70	clear=^L,
71	cr=^M,
72	cub1=^H,
73	cud1=^J,
74	ht=^I,
75	kbs=^H,
76	kcub1=^H,
77	kcud1=^J,
78	nel=^M^J,
79
80#### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
81#
82# See the end-of-file comment for more on these.
83#
84
85# The IBM PC alternate character set.  Plug this into any Intel console entry.
86# We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
87# ROM graphics for control characters such as the diamond, up- and down-arrow.
88# This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
89# will work with any Intel console, they all seem to have inherited \E[11m
90# from the ANSI.SYS de-facto standard.
91klone+acs|alternate character set for ansi.sys displays,
92	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,
93	rmacs=\E[10m,
94	smacs=\E[11m,
95
96# Highlight controls corresponding to the ANSI.SYS standard.  Most
97# console drivers for Intel boxes obey these.  Makes the same assumption
98# about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
99# <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
100klone+sgr|attribute control for ansi.sys displays,
101	blink=\E[5m,
102	bold=\E[1m,
103	invis=\E[8m,
104	rev=\E[7m,
105	rmacs=\E[10m,
106	rmpch=\E[10m,
107	rmso=\E[m,
108	rmul=\E[m,
109	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,
110	sgr0=\E[0;10m,
111	smacs=\E[11m,
112	smpch=\E[11m,
113	smso=\E[7m,
114	smul=\E[4m,
115	use=klone+acs,
116
117# Highlight controls corresponding to the ANSI.SYS standard.  *All*
118# console drivers for Intel boxes obey these.  Does not assume \E[11m will
119# work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
120# diamond and arrow characters under curses.
121klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m),
122	blink=\E[5m,
123	bold=\E[1m,
124	invis=\E[8m,
125	rev=\E[7m,
126	rmacs=\E[10m,
127	rmso=\E[m,
128	rmul=\E[m,
129	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,
130	sgr0=\E[0;10m,
131	smacs=\E[12m,
132	smso=\E[7m,
133	smul=\E[4m,
134	use=klone+acs,
135
136# ANSI.SYS color control.
137# The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
138klone+color|color control for ansi.sys and ISO6429-compatible displays,
139	colors#8,
140	ncv#3,
141	pairs#64,
142	op=\E[37;40m,
143	setab=\E[4%p1%dm,
144	setaf=\E[3%p1%dm,
145
146# This is better than klone+color, it doesn't assume white-on-black as the
147# default color pair,  but many `ANSI' terminals don't grok the <op> cap.
148ecma+color|color control for ECMA-48-compatible terminals,
149	AX,
150	colors#8,
151	ncv#3,
152	pairs#64,
153	op=\E[39;49m,
154	setab=\E[4%p1%dm,
155	setaf=\E[3%p1%dm,
156
157#### ANSI/ECMA-48 terminals and terminal emulators
158#
159# See near the end of this file for details on ANSI conformance.
160# Don't mess with these entries!  Lots of other entries depend on them!
161#
162# This section lists entries in a least-capable to most-capable order.
163# if you're in doubt about what `ANSI' matches yours, try them in that
164# order and back off from the first that breaks.
165
166ansi-mini|any ansi terminal with pessimistic assumptions,
167	am,
168	cols#80,
169	it#8,
170	lines#24,
171	clear=\E[H\E[2J$<50>,
172	cub1=\E[D,
173	cud1=\E[B,
174	cuf1=\E[C,
175	cup=\E[%i%p1%d;%p2%dH,
176	cuu1=\E[A,
177	el=\E[K,
178	home=\E[H,
179	ht=^I,
180
181#
182# ANSI.SYS entries
183#
184# This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
185# documentation (except for the keyboard key reassignment feature, which
186# doen't fit the <pfkey> model well).  The klone+acs sequences were valid
187# though undocumented.  The <pfkey> capability is untested but should work for
188# keys F1-F10 (%p1 values outside this range will yield unpredictable results).
189# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
190ansi.sys-old|ANSI.SYS under PC-DOS 2.1,
191	am,
192	mir,
193	msgr,
194	xon,
195	cols#80,
196	lines#25,
197	clear=\E[2J,
198	cub1=^H,
199	cud1=\E[B,
200	cuf1=\E[C,
201	cup=\E[%i%p1%d;%p2%dH,
202	cuu1=\E[A,
203	el=\E[k,
204	home=\E[H,
205	is2=\E[m\E[?7h,
206	kcub1=^H,
207	kcud1=^J,
208	kcuf1=^L,
209	kcuu1=^K,
210	khome=^^,
211	pfkey=\E[0;%p1%{58}%+%d;%p2"%s",
212	rc=\E[u,
213	rmam=\E[?7l,
214	sc=\E[s,
215	smam=\E[?7h,
216	u6=\E[%i%d;%dR,
217	u7=\E[6n,
218	use=klone+color,
219	use=klone+acs,
220	use=klone+sgr,
221ansi.sys|ANSI.SYS 3.1 and later versions,
222	el=\E[K,
223	use=ansi.sys-old,
224
225### EMX termcap.dat compatibility modes
226#
227# Keypad:	Home=\0G	Up=\0H	PrPag=\0I
228#		ka1,kh		kcuu1		kpp,ka3
229#
230#		Left=\0K	5=\0L		Right=\0M
231#		kcub1		kb2		kcuf1
232#
233#		End=\0O		Down=\0P	NxPag=\0Q
234#		kc1,kend	kcud1		kc3,knp
235#
236#		Ins=\0R		Del=\0S
237#		kich1		kdch1
238#
239# On keyboard with 12 function keys,
240#	shifted f-keys: F13-F24
241#	control f-keys: F25-F36
242#	alt f-keys:     F37-F48
243# The shift/control/alt keys do not modify each other, but alt overrides both,
244# and control overrides shift.
245#
246# Also (possibly only EMX, so we don't put it in ansi.sys, etc): set the
247# no_color_video to inform the application that standout(1), underline(2)
248# reverse(4) and invisible(64) don't work with color.
249emx-base|DOS special keys,
250	bce,
251	bw,
252	it#8,
253	ncv#71,
254	bel=^G,
255	ka1=\0G,
256	ka3=\0I,
257	kb2=\0L,
258	kbs=^H,
259	kc1=\0O,
260	kc3=\0Q,
261	kcbt=\0^O,
262	kcub1=\0K,
263	kcud1=\0P,
264	kcuf1=\0M,
265	kcuu1=\0H,
266	kdch1=\0S,
267	kend=\0O,
268	kf1=\0;,
269	kf10=\0D,
270	kf11=\0\205,
271	kf12=\0\206,
272	kf13=\0T,
273	kf14=\0U,
274	kf15=\0V,
275	kf16=\0W,
276	kf17=\0X,
277	kf18=\0Y,
278	kf19=\0Z,
279	kf2=\0<,
280	kf20=\0[,
281	kf21=\0\\,
282	kf22=\0],
283	kf23=\0\207,
284	kf24=\0\210,
285	kf25=\0\^,
286	kf26=\0_,
287	kf27=\0`,
288	kf28=\0a,
289	kf29=\0b,
290	kf3=\0=,
291	kf30=\0c,
292	kf31=\0d,
293	kf32=\0e,
294	kf33=\0f,
295	kf34=\0g,
296	kf35=\0\211,
297	kf36=\0\212,
298	kf37=\0h,
299	kf38=\0i,
300	kf39=\0j,
301	kf4=\0>,
302	kf40=\0k,
303	kf41=\0l,
304	kf42=\0m,
305	kf43=\0n,
306	kf44=\0o,
307	kf45=\0p,
308	kf46=\0q,
309	kf47=\0\213,
310	kf48=\0\214,
311	kf5=\0?,
312	kf6=\0@,
313	kf7=\0A,
314	kf8=\0B,
315	kf9=\0C,
316	khome=\0G,
317	kich1=\0R,
318	knp=\0Q,
319	kpp=\0I,
320	use=ansi.sys,
321#
322# To properly translate termcap.dat -> terminfo.src remember these
323# equivalences:
324#	ti	<->	smcup	string to start programs using cup(termcap)
325#	te	<->	rmcup	string to end programs using cup
326#	so	<->	smso	begin standout mode
327#	se	<->	rmso	exit standout mode
328#	us	<->	smul	begin underline mode
329#	ue	<->	rmul	exit underline mode
330#	mb	<->	blink	turn on blinking
331#	md	<->	bold	turn on extra bright (bold) mode
332#	mr	<->	rev	turn on reverse video mode
333#	me	<->	sgr0	turn off all atributes
334#
335# On my terminal, \E[4m looks dim.
336ansi-emx|ANSI.SYS color,
337	blink=\E[5m,
338	bold=\E[1m,
339	kmous=\E[M,
340	rev=\E[7m,
341	rmcup=\E[0m,
342	rmso=\E[0m,
343	rmul@,
344	sgr0=\E[0m,
345	smcup=\E[0;37;40m,
346	smso=\E[7m,
347	smul@,
348	use=emx-base,
349window|ANSI.SYS window,
350	blink=\E[5m,
351	bold=\E[1;37;47m,
352	rev=\E[1;37;47m,
353	rmcup=\E[0m,
354	rmso=\E[0;37;40m,
355	rmul=\E[0;37;40m,
356	sgr0=\E[0;37;40m,
357	smcup=\E[0;37;40m,
358	smso=\E[1;37;47m,
359	smul=\E[1;31;47m,
360	use=emx-base,
361os2|OS/2-emx ANSI.SYS,
362	cub=\E[%p1%dD,
363	cub1=\E[D,
364	cud=\E[%p1%dB,
365	cud1=\E[B,
366	cuf=\E[%p1%dC,
367	cuf1=\E[C,
368	cuu=\E[%p1%dA,
369	cuu1=\E[A,
370	rc=\E[u,
371	sc=\E[s,
372	use=ansi-emx,
373	use=mono,
374mono|ANSI.SYS mono,
375	blink=\E[5m,
376	bold=\E[1m,
377	rev=\E[7m,
378	rmcup=\E[0m,
379	rmso=\E[m,
380	rmul=\E[m,
381	sgr0=\E[m,
382	smcup=\E[0m,
383	smso=\E[1m,
384	smul=\E[4m,
385	use=emx-base,
386# same as mono, but use reverse video for standout (nice for Emacs)
387rmono|ANSI.SYS reverse mono,
388	smso=\E[7m,
389	use=mono,
390# same as mono, but use a readable color for underlining
391mono2|ANSI.SYS mono2,
392	rmul=\E[0m,
393	smul=\E[1;31;40m,
394	use=mono,
395# nice colors for Emacs (white on blue, mode line white on cyan)
396ansi-color-2-emx|ANSI.SYS color 2,
397	rmcup=\E[0m,
398	rmso=\E[0;37;44m,
399	rmul=\E[0m,
400	sgr0=\E[0;37;44m,
401	smcup=\E[0;37;44m,
402	smso=\E[1;37;46m,
403	smul=\E[1;31;40m,
404	use=ansi-emx,
405# nice colors for Emacs (white on black, mode line black on cyan)
406ansi-color-3-emx|ANSI.SYS color 3,
407	rmcup=\E[0m,
408	rmso=\E[0m,
409	rmul=\E[0m,
410	sgr0=\E[0m,
411	smcup=\E[0m,
412	smso=\E[30;46m,
413	smul=\E[1;31;40m,
414	use=ansi-emx,
415
416#### X terminal emulators
417#
418# X10/6.6	11/7/86, minus alternate screen, plus (csr)
419# (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
420# removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
421# as these seem not to work -- esr)
422x10term|vs100-x10|xterm terminal emulator (X10 window system),
423	am,
424	km,
425	mir,
426	msgr,
427	xenl,
428	xon,
429	cols#80,
430	it#8,
431	lines#65,
432	bold=\E[1m,
433	clear=\E[H\E[2J,
434	csr=\E[%i%p1%d;%p2%dr,
435	cub1=^H,
436	cud1=^J,
437	cuf1=\E[C,
438	cup=\E[%i%p1%d;%p2%dH,
439	cuu1=\E[A,
440	dch=\E[%p1%dP,
441	dch1=\E[P,
442	dl=\E[%p1%dM,
443	dl1=\E[M,
444	ed=\E[J,
445	el=\E[K,
446	home=\E[H,
447	ht=^I,
448	il=\E[%p1%dL,
449	il1=\E[L,
450	ind=^J,
451	is2=\E\E[m\E[?7h\E[?1;4l,
452	kbs=^H,
453	kcub1=\EOD,
454	kcud1=\EOB,
455	kcuf1=\EOC,
456	kcuu1=\EOA,
457	kf1=\EOP,
458	kf2=\EOQ,
459	kf3=\EOR,
460	kf4=\EOS,
461	rev=\E[7m,
462	ri=\EM,
463	rmam=\E[?7l,
464	rmir=\E[4l,
465	rmkx=\E[?1l\E>,
466	rmso=\E[m,
467	rmul=\E[m,
468	sgr0=\E[m,
469	smam=\E[?7h,
470	smir=\E[4h,
471	smkx=\E[?1h\E=,
472	smso=\E[7m,
473	smul=\E[4m,
474# X11R6 xterm.  This is known good for the XFree86 version under Linux.
475# It is *way* more featureful than the stock X consortium entry (has acsc,
476# for starters).  The <kmous> key is actually the \E[M prefix returned by
477# xterm's internal mouse-tracking facility; ncurses will interpret the
478# following three bytes of mouse status information.
479# From: Eric S. Raymond <esr@snark.thyrsus.com> 14 Dec 1995
480xterm-r6|xterm terminal emulator (X11R6 Window System),
481	am,
482	km,
483	mir,
484	msgr,
485	xenl,
486	xon,
487	cols#80,
488	it#8,
489	lines#65,
490	acsc=++\,\,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
491	bel=^G,
492	bold=\E[1m,
493	clear=\E[H\E[2J,
494	cr=^M,
495	csr=\E[%i%p1%d;%p2%dr,
496	cub=\E[%p1%dD,
497	cub1=^H,
498	cud=\E[%p1%dB,
499	cud1=^J,
500	cuf=\E[%p1%dC,
501	cuf1=\E[C,
502	cup=\E[%i%p1%d;%p2%dH,
503	cuu=\E[%p1%dA,
504	cuu1=\E[A,
505	dch=\E[%p1%dP,
506	dch1=\E[P,
507	dl=\E[%p1%dM,
508	dl1=\E[M,
509	ed=\E[J,
510	el=\E[K,
511	enacs=\E(B\E)0,
512	home=\E[H,
513	ht=^I,
514	ich=\E[%p1%d@,
515	ich1=\E[@,
516	il=\E[%p1%dL,
517	il1=\E[L,
518	ind=^J,
519	is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
520	kbs=^H,
521	kcub1=\EOD,
522	kcud1=\EOB,
523	kcuf1=\EOC,
524	kcuu1=\EOA,
525	kend=\EOe,
526	kent=\EOM,
527	kf1=\E[11~,
528	kf10=\E[21~,
529	kf11=\E[23~,
530	kf12=\E[24~,
531	kf13=\E[25~,
532	kf14=\E[26~,
533	kf15=\E[28~,
534	kf16=\E[29~,
535	kf17=\E[31~,
536	kf18=\E[32~,
537	kf19=\E[33~,
538	kf2=\E[12~,
539	kf20=\E[34~,
540	kf3=\E[13~,
541	kf4=\E[14~,
542	kf5=\E[15~,
543	kf6=\E[17~,
544	kf7=\E[18~,
545	kf8=\E[19~,
546	kf9=\E[20~,
547	kfnd=\E[1~,
548	khome=\EO\0,
549	kich1=\E[2~,
550	kmous=\E[M,
551	knp=\E[6~,
552	kpp=\E[5~,
553	rc=\E8,
554	rev=\E[7m,
555	ri=\EM,
556	rmacs=^O,
557	rmam=\E[?7l,
558	rmcup=\E[2J\E[?47l\E8,
559	rmir=\E[4l,
560	rmkx=\E[?1l\E>,
561	rmso=\E[m,
562	rmul=\E[m,
563	rs1=^O,
564	rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
565	sc=\E7,
566	sgr0=\E[m,
567	smacs=^N,
568	smam=\E[?7h,
569	smcup=\E7\E[?47h,
570	smir=\E[4h,
571	smkx=\E[?1h\E=,
572	smso=\E[7m,
573	smul=\E[4m,
574	tbc=\E[3k,
575	u6=\E[%i%d;%dR,
576	u7=\E[6n,
577	u8=\E[?1;2c,
578	u9=\E[c,
579xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
580	smso=\E[1m,
581	use=xterm,
582xterms|vs100s|xterm terminal emulator (small screen 24x80),
583	cols#80,
584	lines#24,
585	use=xterm,
586# (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
587kterm|kterm kanji terminal emulator (X window system),
588	eslok,
589	hs,
590	csr=\E[%i%p1%d;%p2%dr,
591	dsl=\E[?H,
592	fsl=\E[?F,
593	rc=\E8,
594	sc=\E7,
595	tsl=\E[?E\E[?%i%dT,
596	use=xterm,
597	use=ecma+color,
598
599# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
600xterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
601	ich@,
602	ich1@,
603	use=xterm,
604
605# Should work with the color xterm on the X11R6 contrib tape.
606# Assumes the xterm attribute default is black on white.
607# From: Eric S. Raymond <esr@snark.thyrsus.com> March 4 1996
608xterm-color|xterm with color support,
609	op=\E[30;47m,
610	use=xterm,
611	use=klone+color,
612
613# From: Thomas Dickey <dickey@clark.net> 13 Dec 1995
614rxvt|rxvt terminal emulator,
615	kend=\EOw,
616	khome=\E[H,
617	kmous@,
618	use=xterm,
619	use=klone+color,
620
621# From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
622# Here's a termcap entry I've been using for xterm_color, which comes
623# with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
624# color stuff, I also have a status line defined as the window manager
625# title bar. [I have translated it to terminfo -- ESR]
626xterm-pcolor|xterm with color used for highlights and status line,
627	hs,
628	wsl#40,
629	bold=\E[1m\E[43m,
630	dsl=\E]0;\007,
631	fsl=^G,
632	rev=\E[7m\E[34m,
633	smso=\E[7m\E[31m,
634	smul=\E[4m\E[42m,
635	tsl=\E]0;,
636	use=xterm,
637
638# HP ships this, except for the pb#9600 which was merged in from BSD termcap.
639hpterm|X-hpterm|hp X11 terminal emulator,
640	am,
641	da,
642	db,
643	mir,
644	xhp,
645	cols#80,
646	lh#2,
647	lines#24,
648	lm#0,
649	lw#8,
650	nlab#8,
651	pb#9600,
652	xmc#0,
653	bel=^G,
654	bold=\E&dB,
655	cbt=\Ei,
656	clear=\E&a0y0C\EJ,
657	cr=^M,
658	cub1=^H,
659	cud1=\EB,
660	cuf1=\EC,
661	cup=\E&a%p1%dy%p2%dC,
662	cuu1=\EA,
663	dch1=\EP,
664	dim=\E&dH,
665	dl1=\EM,
666	ed=\EJ$<1>,
667	el=\EK,
668	hpa=\E&a%p1%dC,
669	ht=^I,
670	hts=\E1,
671	il1=\EL,
672	ind=^J,
673	kbs=^H,
674	kclr=\EJ,
675	kctab=\E2,
676	kcub1=\ED,
677	kcud1=\EB,
678	kcuf1=\EC,
679	kcuu1=\EA,
680	kdch1=\EP,
681	kdl1=\EM,
682	ked=\EJ,
683	kel=\EK,
684	kf1=\Ep,
685	kf2=\Eq,
686	kf3=\Er,
687	kf4=\Es,
688	kf5=\Et,
689	kf6=\Eu,
690	kf7=\Ev,
691	kf8=\Ew,
692	khome=\Eh,
693	khts=\E1,
694	kich1=\EQ,
695	kil1=\EL,
696	kind=\ES,
697	kll=\EF,
698	knp=\EU,
699	kpp=\EV,
700	kri=\ET,
701	krmir=\ER,
702	ktbc=\E3,
703	meml=\El,
704	memu=\Em,
705	pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
706	pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
707	pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
708	pln=\E&f%p1%dk%p2%l%dd0L%p2%s,
709	rev=\E&dB,
710	ri=\ET,
711	rmacs=^O,
712	rmir=\ER,
713	rmkx=\E&s0A,
714	rmln=\E&j@,
715	rmso=\E&d@,
716	rmul=\E&d@,
717	sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
718	sgr0=\E&d@,
719	smacs=^N,
720	smir=\EQ,
721	smkx=\E&s1A,
722	smln=\E&jB,
723	smso=\E&dJ,
724	smul=\E&dD,
725	tbc=\E3,
726	vpa=\E&a%p1%dY,
727
728# This entry describes an xterm with Sun-style function keys enabled
729# via the X resource setting "xterm*sunFunctionKeys:true"
730# To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
731# The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
732# because we want it to be seen as <kcpy>.
733# The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
734# with their Sun keyboard labels instead.
735# From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
736xterm-sun|xterm with sunFunctionKeys true,
737	kb2=\E[218z,
738	kcpy=\E[197z,
739	kend=\E[220z,
740	kf1=\E[224z,
741	kf10=\E[233z,
742	kf11=\E[192z,
743	kf12=\E[193z,
744	kf13=\E[194z,
745	kf14=\E[195z,
746	kf15=\E[196z,
747	kf17=\E[198z,
748	kf18=\E[199z,
749	kf19=\E[200z,
750	kf2=\E[225z,
751	kf20=\E[201z,
752	kf3=\E[226z,
753	kf31=\E[208z,
754	kf32=\E[209z,
755	kf33=\E[210z,
756	kf34=\E[211z,
757	kf35=\E[212z,
758	kf36=\E[213z,
759	kf38=\E[215z,
760	kf4=\E[227z,
761	kf40=\E[217z,
762	kf42=\E[219z,
763	kf44=\E[221z,
764	kf5=\E[228z,
765	kf6=\E[229z,
766	kf7=\E[230z,
767	kf8=\E[231z,
768	kf9=\E[232z,
769	kfnd=\E[200z,
770	khlp=\E[196z,
771	khome=\E[214z,
772	kich1=\E[2z,
773	knp=\E[222z,
774	kpp=\E[216z,
775	kund=\E[195z,
776	use=xterm,
777xterms-sun|small (80x24) xterm with sunFunctionKeys true,
778	cols#80,
779	lines#24,
780	use=xterm-sun,
781
782# This is for the extensible terminal emulator on the X11R6 contrib tape.
783emu|emu native mode,
784	mir,
785	msgr,
786	xon,
787	colors#15,
788	cols#80,
789	it#8,
790	lines#24,
791	pairs#64,
792	vt#200,
793	acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
794	bel=^G,
795	blink=\ES\EW,
796	bold=\ES\EU,
797	civis=\EZ,
798	clear=\EP\EE0;0;,
799	cnorm=\Ea,
800	cr=^M,
801	csr=\Ek%p1%d;%p2%d;,
802	cub=\Eq-%p1%d;,
803	cub1=^H,
804	cud=\Ep%p1%d;,
805	cud1=\EB,
806	cuf=\Eq%p1%d;,
807	cuf1=\ED,
808	cup=\EE%p1%d;%p2%d;,
809	cuu=\Ep-%p1%d;,
810	cuu1=\EA,
811	dch=\EI%p1%d;,
812	dch1=\EI1;,
813	dl=\ER%p1%d;,
814	dl1=\ER1;,
815	ech=\Ej%p1%d;,
816	ed=\EN,
817	el=\EK,
818	el1=\EL,
819	enacs=\0,
820	home=\EE0;0;,
821	ht=^I,
822	hts=\Eh,
823	il=\EQ%p1%d;,
824	il1=\EQ1;,
825	ind=\EG,
826	is2=\ES\Er0;\Es0;,
827	kbs=^H,
828	kcub1=\EC,
829	kcud1=\EB,
830	kcuf1=\ED,
831	kcuu1=\EA,
832	kdch1=\177,
833	kent=^M,
834	kf0=\EF00,
835	kf1=\EF01,
836	kf10=\EF10,
837	kf11=\EF11,
838	kf12=\EF12,
839	kf13=\EF13,
840	kf14=\EF14,
841	kf15=\EF15,
842	kf16=\EF16,
843	kf17=\EF17,
844	kf18=\EF18,
845	kf19=\EF19,
846	kf2=\EF02,
847	kf20=\EF20,
848	kf3=\EF03,
849	kf4=\EF04,
850	kf5=\EF05,
851	kf6=\EF06,
852	kf7=\EF07,
853	kf8=\EF08,
854	kf9=\EF09,
855	kfnd=\Efind,
856	kich1=\Eins,
857	knp=\Enext,
858	kpp=\Eprior,
859	kslt=\Esel,
860	oc=\Es0;\Er0;,
861	rev=\ES\ET,
862	ri=\EF,
863	rmacs=\0,
864	rmir=\EX,
865	rmso=\ES,
866	rmul=\ES,
867	rs2=\ES\Es0;\Er0;,
868	setab=\Es%i%p1%d;,
869	setaf=\Er%i%p1%d;,
870	sgr0=\ES,
871	smacs=\0,
872	smir=\EY,
873	smso=\ES\ET,
874	smul=\ES\EV,
875	tbc=\Ej,
876###############################################################################
877# Aliases which conflict with terminfo.src
878ansi|ANSI.SYS color,
879	use=ansi-emx,
880ansi-color-2|ANSI.SYS color 2,
881	use=ansi-color-2-emx,
882ansi-color-3|ANSI.SYS color 3,
883	use=ansi-color-3-emx,
884xterm|vs100|xterm terminal emulator (X11R6 Window System),
885	use=xterm-r6,
886