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 #----------------------------------------------------------------------------
7 # This section describes terminal classes and maker brands that are still
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.
18 dumb|80-column dumb tty,
25 unknown|unknown terminal type,
28 lpr|printer|line printer,
39 glasstty|classic glass tty interpreting ASCII control characters,
53 #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
55 # See the end-of-file comment for more on these.
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,
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,
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,
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),
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,
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,
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,
119 #### ANSI/ECMA-48 terminals and terminal emulators
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!
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.
128 ansi-mini|any ansi terminal with pessimistic assumptions,
133 clear=\E[H\E[2J$<50>,
137 cup=\E[%i%p1%d;%p2%dH,
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,
163 cup=\E[%i%p1%d;%p2%dH,
173 pfkey=\E[0;%p1%{58}%+%d;%p2"%s",
183 ansi.sys|ANSI.SYS 3.1 and later versions,
187 ### EMX termcap.dat compatibility modes
189 # Keypad: Home=\0G Up=\0H PrPag=\0I
190 # ka1,kh kcuu1 kpp,ka3
192 # Left=\0K 5=\0L Right=\0M
195 # End=\0O Down=\0P NxPag=\0Q
196 # kc1,kend kcud1 kc3,knp
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.
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,
282 # To properly translate termcap.dat -> terminfo.src remember these
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
295 # On my terminal, \E[4m looks dim.
309 window|ANSI.SYS window,
333 # same as mono, but use reverse video for standout (nice for Emacs)
334 rmono|ANSI.SYS reverse mono,
337 # same as mono, but use a readable color for underlining
338 mono2|ANSI.SYS mono2,
342 # nice colors for Emacs (white on blue, mode line white on cyan)
343 ansi-color-2|ANSI.SYS color 2,
352 # nice colors for Emacs (white on black, mode line black on cyan)
353 ansi-color-3|ANSI.SYS color 3,
363 #### X terminal emulators
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),
381 csr=\E[%i%p1%d;%p2%dr,
385 cup=\E[%i%p1%d;%p2%dH,
398 is2=\E\E[m\E[?7h\E[?1;4l,
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),
437 acsc=++\,\,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
442 csr=\E[%i%p1%d;%p2%dr,
449 cup=\E[%i%p1%d;%p2%dH,
466 is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
496 rmcup=\E[2J\E[?47l\E8,
502 rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
517 xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
520 xterms|vs100s|xterm terminal emulator (small screen 24x80),
524 # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
525 kterm|kterm kanji terminal emulator (X window system),
528 csr=\E[%i%p1%d;%p2%dr,
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,
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,
550 # From: Thomas Dickey <dickey@clark.net> 13 Dec 1995
551 rxvt|rxvt terminal emulator,
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,
575 # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
576 hpterm|X-hpterm|hp X11 terminal emulator,
598 cup=\E&a%p1%dy%p2%dC,
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,
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%;,
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,
714 xterms-sun|small (80x24) xterm with sunFunctionKeys true,
719 # This is for the extensible terminal emulator on the X11R6 contrib tape.
730 acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
806 setab=\Es%i%p1%d; setaf=\Er%i%p1%d;,