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