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