ncurses 5.1
[ncurses.git] / misc / emx.src
1 # $Id: emx.src,v 1.6 1999/08/15 01:56:54 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         bw,
213         ncv#71,
214         bel=^G,
215         ka1=\0G,
216         ka3=\0I,
217         kb2=\0L,
218         kbs=^H,
219         kc1=\0O,
220         kc3=\0Q,
221         kcbt=\0^O,
222         kcub1=\0K,
223         kcud1=\0P,
224         kcuf1=\0M,
225         kcuu1=\0H,
226         kdch1=\0S,
227         kend=\0O,
228         kf1=\0;,
229         kf10=\0D,
230         kf11=\0\205,
231         kf12=\0\206,
232         kf13=\0T,
233         kf14=\0U,
234         kf15=\0V,
235         kf16=\0W,
236         kf17=\0X,
237         kf18=\0Y,
238         kf19=\0Z,
239         kf2=\0<,
240         kf20=\0[,
241         kf21=\0\\,
242         kf22=\0],
243         kf23=\0\207,
244         kf24=\0\210,
245         kf25=\0\^,
246         kf26=\0_,
247         kf27=\0`,
248         kf28=\0a,
249         kf29=\0b,
250         kf3=\0=,
251         kf30=\0c,
252         kf31=\0d,
253         kf32=\0e,
254         kf33=\0f,
255         kf34=\0g,
256         kf35=\0\211,
257         kf36=\0\212,
258         kf37=\0h,
259         kf38=\0i,
260         kf39=\0j,
261         kf4=\0>,
262         kf40=\0k,
263         kf41=\0l,
264         kf42=\0m,
265         kf43=\0n,
266         kf44=\0o,
267         kf45=\0p,
268         kf46=\0q,
269         kf47=\0\213,
270         kf48=\0\214,
271         kf5=\0?,
272         kf6=\0@,
273         kf7=\0A,
274         kf8=\0B,
275         kf9=\0C,
276         khome=\0G,
277         kich1=\0R,
278         knp=\0Q,
279         kpp=\0I,
280         use=ansi.sys,
281 #
282 # To properly translate termcap.dat -> terminfo.src remember these
283 # equivalences:
284 #       ti      <->     smcup   string to start programs using cup(termcap)
285 #       te      <->     rmcup   string to end programs using cup
286 #       so      <->     smso    begin standout mode
287 #       se      <->     rmso    exit standout mode
288 #       us      <->     smul    begin underline mode
289 #       ue      <->     rmul    exit underline mode
290 #       mb      <->     blink   turn on blinking
291 #       md      <->     bold    turn on extra bright (bold) mode
292 #       mr      <->     rev     turn on reverse video mode
293 #       me      <->     sgr0    turn off all atributes
294 #
295 # On my terminal, \E[4m looks dim.
296 ansi|ANSI.SYS color,
297         blink=\E[5m,
298         bold=\E[1m,
299         kmous=\E[M,
300         rev=\E[7m,
301         rmcup=\E[0m,
302         rmso=\E[0m,
303         rmul@,
304         sgr0=\E[0m,
305         smcup=\E[0;37;40m,
306         smso=\E[7m,
307         smul@,
308         use=emx-base,
309 window|ANSI.SYS window,
310         blink=\E[5m,
311         bold=\E[1;37;47m,
312         rev=\E[1;37;47m,
313         rmcup=\E[0m,
314         rmso=\E[0;37;40m,
315         rmul=\E[0;37;40m,
316         sgr0=\E[0;37;40m,
317         smcup=\E[0;37;40m,
318         smso=\E[1;37;47m,
319         smul=\E[1;31;47m,
320         use=emx-base,
321 mono|ANSI.SYS mono,
322         blink=\E[5m,
323         bold=\E[1m,
324         rev=\E[7m,
325         rmcup=\E[0m,
326         rmso=\E[m,
327         rmul=\E[m,
328         sgr0=\E[m,
329         smcup=\E[0m,
330         smso=\E[1m,
331         smul=\E[4m,
332         use=emx-base,
333 # same as mono, but use reverse video for standout (nice for Emacs)
334 rmono|ANSI.SYS reverse mono,
335         smso=\E[7m,
336         use=mono,
337 # same as mono, but use a readable color for underlining
338 mono2|ANSI.SYS mono2,
339         rmul=\E[0m,
340         smul=\E[1;31;40m,
341         use=mono,
342 # nice colors for Emacs (white on blue, mode line white on cyan)
343 ansi-color-2|ANSI.SYS color 2,
344         rmcup=\E[0m,
345         rmso=\E[0;37;44m,
346         rmul=\E[0m,
347         sgr0=\E[0;37;44m,
348         smcup=\E[0;37;44m,
349         smso=\E[1;37;46m,
350         smul=\E[1;31;40m,
351         use=ansi,
352 # nice colors for Emacs (white on black, mode line black on cyan)
353 ansi-color-3|ANSI.SYS color 3,
354         rmcup=\E[0m,
355         rmso=\E[0m,
356         rmul=\E[0m,
357         sgr0=\E[0m,
358         smcup=\E[0m,
359         smso=\E[30;46m,
360         smul=\E[1;31;40m,
361         use=ansi,
362
363 #### X terminal emulators
364 #
365 # X10/6.6       11/7/86, minus alternate screen, plus (csr)
366 # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
367 # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
368 # as these seem not to work -- esr)
369 x10term|vs100-x10|xterm terminal emulator (X10 window system),
370         am,
371         km,
372         mir,
373         msgr,
374         xenl,
375         xon,
376         cols#80,
377         it#8,
378         lines#65,
379         bold=\E[1m,
380         clear=\E[H\E[2J,
381         csr=\E[%i%p1%d;%p2%dr,
382         cub1=^H,
383         cud1=^J,
384         cuf1=\E[C,
385         cup=\E[%i%p1%d;%p2%dH,
386         cuu1=\E[A,
387         dch=\E[%p1%dP,
388         dch1=\E[P,
389         dl=\E[%p1%dM,
390         dl1=\E[M,
391         ed=\E[J,
392         el=\E[K,
393         home=\E[H,
394         ht=^I,
395         il=\E[%p1%dL,
396         il1=\E[L,
397         ind=^J,
398         is2=\E\E[m\E[?7h\E[?1;4l,
399         kbs=^H,
400         kcub1=\EOD,
401         kcud1=\EOB,
402         kcuf1=\EOC,
403         kcuu1=\EOA,
404         kf1=\EOP,
405         kf2=\EOQ,
406         kf3=\EOR,
407         kf4=\EOS,
408         rev=\E[7m,
409         ri=\EM,
410         rmam=\E[?7l,
411         rmir=\E[4l,
412         rmkx=\E[?1l\E>,
413         rmso=\E[m,
414         rmul=\E[m,
415         sgr0=\E[m,
416         smam=\E[?7h,
417         smir=\E[4h,
418         smkx=\E[?1h\E=,
419         smso=\E[7m,
420         smul=\E[4m,
421 # X11R6 xterm.  This is known good for the XFree86 version under Linux.
422 # It is *way* more featureful than the stock X consortium entry (has acsc,
423 # for starters).  The <kmous> key is actually the \E[M prefix returned by
424 # xterm's internal mouse-tracking facility; ncurses will interpret the
425 # following three bytes of mouse status information.
426 # From: Eric S. Raymond <esr@snark.thyrsus.com> 14 Dec 1995
427 xterm|vs100|xterm terminal emulator (X11R6 Window System),
428         am,
429         km,
430         mir,
431         msgr,
432         xenl,
433         xon,
434         cols#80,
435         it#8,
436         lines#65,
437         acsc=++\,\,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
438         bel=^G,
439         bold=\E[1m,
440         clear=\E[H\E[2J,
441         cr=^M,
442         csr=\E[%i%p1%d;%p2%dr,
443         cub=\E[%p1%dD,
444         cub1=^H,
445         cud=\E[%p1%dB,
446         cud1=^J,
447         cuf=\E[%p1%dC,
448         cuf1=\E[C,
449         cup=\E[%i%p1%d;%p2%dH,
450         cuu=\E[%p1%dA,
451         cuu1=\E[A,
452         dch=\E[%p1%dP,
453         dch1=\E[P,
454         dl=\E[%p1%dM,
455         dl1=\E[M,
456         ed=\E[J,
457         el=\E[K,
458         enacs=\E(B\E)0,
459         home=\E[H,
460         ht=^I,
461         ich=\E[%p1%d@,
462         ich1=\E[@,
463         il=\E[%p1%dL,
464         il1=\E[L,
465         ind=^J,
466         is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
467         kbs=^H,
468         kcub1=\EOD,
469         kcud1=\EOB,
470         kcuf1=\EOC,
471         kcuu1=\EOA,
472         kend=\EOe,
473         kent=\EOM,
474         kf1=\E[11~,
475         kf10=\E[21~,
476         kf11=\E[23~,
477         kf12=\E[24~,
478         kf2=\E[12~,
479         kf3=\E[13~,
480         kf4=\E[14~,
481         kf5=\E[15~,
482         kf6=\E[17~,
483         kf7=\E[18~,
484         kf8=\E[19~,
485         kf9=\E[20~,
486         khome=\EO\0,
487         kich1=\E[2~,
488         kmous=\E[M,
489         knp=\E[6~,
490         kpp=\E[5~,
491         rc=\E8,
492         rev=\E[7m,
493         ri=\EM,
494         rmacs=^O,
495         rmam=\E[?7l,
496         rmcup=\E[2J\E[?47l\E8,
497         rmir=\E[4l,
498         rmkx=\E[?1l\E>,
499         rmso=\E[m,
500         rmul=\E[m,
501         rs1=^O,
502         rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
503         sc=\E7,
504         sgr0=\E[m,
505         smacs=^N,
506         smam=\E[?7h,
507         smcup=\E7\E[?47h,
508         smir=\E[4h,
509         smkx=\E[?1h\E=,
510         smso=\E[7m,
511         smul=\E[4m,
512         tbc=\E[3k,
513         u6=\E[%i%d;%dR,
514         u7=\E[6n,
515         u8=\E[?1;2c,
516         u9=\E[c,
517 xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
518         smso=\E[1m,
519         use=xterm,
520 xterms|vs100s|xterm terminal emulator (small screen 24x80),
521         cols#80,
522         lines#24,
523         use=xterm,
524 # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
525 kterm|kterm kanji terminal emulator (X window system),
526         eslok,
527         hs,
528         csr=\E[%i%p1%d;%p2%dr,
529         dsl=\E[?H,
530         fsl=\E[?F,
531         rc=\E8,
532         sc=\E7,
533         tsl=\E[?E\E[?%i%dT,
534         use=xterm,
535
536 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
537 xterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
538         ich@,
539         ich1@,
540         use=xterm,
541
542 # Should work with the color xterm on the X11R6 contrib tape.
543 # Assumes the xterm attribute default is black on white.
544 # From: Eric S. Raymond <esr@snark.thyrsus.com> March 4 1996
545 xterm-color|xterm with color support,
546         op=\E[30;47m,
547         use=xterm,
548         use=klone+color,
549
550 # From: Thomas Dickey <dickey@clark.net> 13 Dec 1995
551 rxvt|rxvt terminal emulator,
552         kend=\EOw,
553         khome=\E[H,
554         kmous@,
555         use=xterm,
556         use=klone+color,
557
558 # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
559 # Here's a termcap entry I've been using for xterm_color, which comes
560 # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
561 # color stuff, I also have a status line defined as the window manager
562 # title bar. [I have translated it to terminfo -- ESR]
563 xterm-pcolor|xterm with color used for highlights and status line,
564         hs,
565         wsl#40,
566         bold=\E[1m\E[43m,
567         dsl=\E]0;\007,
568         fsl=^G,
569         rev=\E[7m\E[34m,
570         smso=\E[7m\E[31m,
571         smul=\E[4m\E[42m,
572         tsl=\E]0;,
573         use=xterm,
574
575 # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
576 hpterm|X-hpterm|hp X11 terminal emulator,
577         am,
578         da,
579         db,
580         mir,
581         xhp,
582         cols#80,
583         lh#2,
584         lines#24,
585         lm#0,
586         lw#8,
587         nlab#8,
588         pb#9600,
589         xmc#0,
590         bel=^G,
591         bold=\E&dB,
592         cbt=\Ei,
593         clear=\E&a0y0C\EJ,
594         cr=^M,
595         cub1=^H,
596         cud1=\EB,
597         cuf1=\EC,
598         cup=\E&a%p1%dy%p2%dC,
599         cuu1=\EA,
600         dch1=\EP,
601         dim=\E&dH,
602         dl1=\EM,
603         ed=\EJ$<1>,
604         el=\EK,
605         hpa=\E&a%p1%dC,
606         ht=^I,
607         hts=\E1,
608         il1=\EL,
609         ind=^J,
610         kbs=^H,
611         kclr=\EJ,
612         kctab=\E2,
613         kcub1=\ED,
614         kcud1=\EB,
615         kcuf1=\EC,
616         kcuu1=\EA,
617         kdch1=\EP,
618         kdl1=\EM,
619         ked=\EJ,
620         kel=\EK,
621         kf1=\Ep,
622         kf2=\Eq,
623         kf3=\Er,
624         kf4=\Es,
625         kf5=\Et,
626         kf6=\Eu,
627         kf7=\Ev,
628         kf8=\Ew,
629         khome=\Eh,
630         khts=\E1,
631         kich1=\EQ,
632         kil1=\EL,
633         kind=\ES,
634         kll=\EF,
635         knp=\EU,
636         kpp=\EV,
637         kri=\ET,
638         krmir=\ER,
639         ktbc=\E3,
640         meml=\El,
641         memu=\Em,
642         pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
643         pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
644         pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
645         pln=\E&f%p1%dk%p2%l%dd0L%p2%s,
646         rev=\E&dB,
647         ri=\ET,
648         rmacs=^O,
649         rmir=\ER,
650         rmkx=\E&s0A,
651         rmln=\E&j@,
652         rmso=\E&d@,
653         rmul=\E&d@,
654         sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
655         sgr0=\E&d@,
656         smacs=^N,
657         smir=\EQ,
658         smkx=\E&s1A,
659         smln=\E&jB,
660         smso=\E&dJ,
661         smul=\E&dD,
662         tbc=\E3,
663         vpa=\E&a%p1%dY,
664
665 # This entry describes an xterm with Sun-style function keys enabled
666 # via the X resource setting "xterm*sunFunctionKeys:true"
667 # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
668 # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
669 # because we want it to be seen as <kcpy>.
670 # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
671 # with their Sun keyboard labels instead.
672 # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
673 xterm-sun|xterm with sunFunctionKeys true,
674         kb2=\E[218z,
675         kcpy=\E[197z,
676         kend=\E[220z,
677         kf1=\E[224z,
678         kf10=\E[233z,
679         kf11=\E[192z,
680         kf12=\E[193z,
681         kf13=\E[194z,
682         kf14=\E[195z,
683         kf15=\E[196z,
684         kf17=\E[198z,
685         kf18=\E[199z,
686         kf19=\E[200z,
687         kf2=\E[225z,
688         kf20=\E[201z,
689         kf3=\E[226z,
690         kf31=\E[208z,
691         kf32=\E[209z,
692         kf33=\E[210z,
693         kf34=\E[211z,
694         kf35=\E[212z,
695         kf36=\E[213z,
696         kf38=\E[215z,
697         kf4=\E[227z,
698         kf40=\E[217z,
699         kf42=\E[219z,
700         kf44=\E[221z,
701         kf5=\E[228z,
702         kf6=\E[229z,
703         kf7=\E[230z,
704         kf8=\E[231z,
705         kf9=\E[232z,
706         kfnd=\E[200z,
707         khlp=\E[196z,
708         khome=\E[214z,
709         kich1=\E[2z,
710         knp=\E[222z,
711         kpp=\E[216z,
712         kund=\E[195z,
713         use=xterm,
714 xterms-sun|small (80x24) xterm with sunFunctionKeys true,
715         cols#80,
716         lines#24,
717         use=xterm-sun,
718
719 # This is for the extensible terminal emulator on the X11R6 contrib tape.
720 emu|emu native mode,
721         mir,
722         msgr,
723         xon,
724         colors#15,
725         cols#80,
726         it#8,
727         lines#24,
728         pairs#64,
729         vt#200,
730         acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
731         bel=^G,
732         blink=\ES\EW,
733         bold=\ES\EU,
734         civis=\EZ,
735         clear=\EP\EE0;0;,
736         cnorm=\Ea,
737         cr=^M,
738         csr=\Ek%p1%d;%p2%d;,
739         cub=\Eq-%p1%d;,
740         cub1=^H,
741         cud=\Ep%p1%d;,
742         cud1=\EB,
743         cuf=\Eq%p1%d;,
744         cuf1=\ED,
745         cup=\EE%p1%d;%p2%d;,
746         cuu=\Ep-%p1%d;,
747         cuu1=\EA,
748         cvvis=\Ea,
749         dch=\EI%p1%d;,
750         dch1=\EI1;,
751         dl=\ER%p1%d;,
752         dl1=\ER1;,
753         ech=\Ej%p1%d;,
754         ed=\EN,
755         el=\EK,
756         el1=\EL,
757         enacs=\0,
758         home=\EE0;0;,
759         ht=^I,
760         hts=\Eh,
761         il=\EQ%p1%d;,
762         il1=\EQ1;,
763         ind=\EG,
764         is2=\ES\Er0;\Es0;,
765         kbs=^H,
766         kcub1=\EC,
767         kcud1=\EB,
768         kcuf1=\ED,
769         kcuu1=\EA,
770         kdch1=\177,
771         kent=^M,
772         kf0=\EF00,
773         kf1=\EF01,
774         kf10=\EF10,
775         kf11=\EF11,
776         kf12=\EF12,
777         kf13=\EF13,
778         kf14=\EF14,
779         kf15=\EF15,
780         kf16=\EF16,
781         kf17=\EF17,
782         kf18=\EF18,
783         kf19=\EF19,
784         kf2=\EF02,
785         kf20=\EF20,
786         kf3=\EF03,
787         kf4=\EF04,
788         kf5=\EF05,
789         kf6=\EF06,
790         kf7=\EF07,
791         kf8=\EF08,
792         kf9=\EF09,
793         kfnd=\Efind,
794         kich1=\Eins,
795         knp=\Enext,
796         kpp=\Eprior,
797         kslt=\Esel,
798         oc=\Es0;\Er0;,
799         rev=\ES\ET,
800         ri=\EF,
801         rmacs=\0,
802         rmir=\EX,
803         rmso=\ES,
804         rmul=\ES,
805         rs2=\ES\Es0;\Er0;,
806         setab=\Es%i%p1%d; setaf=\Er%i%p1%d;,
807         sgr0=\ES,
808         smacs=\0,
809         smir=\EY,
810         smso=\ES\ET,
811         smul=\ES\EV,
812         tbc=\Ej,