1 # $Id: emx.src,v 1.8 2003/01/26 01:17:55 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,
90 # Highlight controls corresponding to the ANSI.SYS standard. *All*
91 # console drivers for Intel boxes obey these. Does not assume \E[11m will
92 # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
93 # diamond and arrow characters under curses.
94 klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m),
102 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,
109 # ANSI.SYS color control.
110 # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
111 klone+color|color control for ansi.sys and ISO6429-compatible displays,
119 # This is better than klone+color, it doesn't assume white-on-black as the
120 # default color pair, but many `ANSI' terminals don't grok the <op> cap.
121 ecma+color|color control for ECMA-48-compatible terminals,
130 #### ANSI/ECMA-48 terminals and terminal emulators
132 # See near the end of this file for details on ANSI conformance.
133 # Don't mess with these entries! Lots of other entries depend on them!
135 # This section lists entries in a least-capable to most-capable order.
136 # if you're in doubt about what `ANSI' matches yours, try them in that
137 # order and back off from the first that breaks.
139 ansi-mini|any ansi terminal with pessimistic assumptions,
144 clear=\E[H\E[2J$<50>,
148 cup=\E[%i%p1%d;%p2%dH,
157 # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
158 # documentation (except for the keyboard key reassignment feature, which
159 # doen't fit the <pfkey> model well). The klone+acs sequences were valid
160 # though undocumented. The <pfkey> capability is untested but should work for
161 # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
162 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
163 ansi.sys-old|ANSI.SYS under PC-DOS 2.1,
174 cup=\E[%i%p1%d;%p2%dH,
184 pfkey=\E[0;%p1%{58}%+%d;%p2"%s",
194 ansi.sys|ANSI.SYS 3.1 and later versions,
198 ### EMX termcap.dat compatibility modes
200 # Keypad: Home=\0G Up=\0H PrPag=\0I
201 # ka1,kh kcuu1 kpp,ka3
203 # Left=\0K 5=\0L Right=\0M
206 # End=\0O Down=\0P NxPag=\0Q
207 # kc1,kend kcud1 kc3,knp
212 # On keyboard with 12 function keys,
213 # shifted f-keys: F13-F24
214 # control f-keys: F25-F36
215 # alt f-keys: F37-F48
216 # The shift/control/alt keys do not modify each other, but alt overrides both,
217 # and control overrides shift.
219 # Also (possibly only EMX, so we don't put it in ansi.sys, etc): set the
220 # no_color_video to inform the application that standout(1), underline(2)
221 # reverse(4) and invisible(64) don't work with color.
222 emx-base|DOS special keys,
295 # To properly translate termcap.dat -> terminfo.src remember these
297 # ti <-> smcup string to start programs using cup(termcap)
298 # te <-> rmcup string to end programs using cup
299 # so <-> smso begin standout mode
300 # se <-> rmso exit standout mode
301 # us <-> smul begin underline mode
302 # ue <-> rmul exit underline mode
303 # mb <-> blink turn on blinking
304 # md <-> bold turn on extra bright (bold) mode
305 # mr <-> rev turn on reverse video mode
306 # me <-> sgr0 turn off all atributes
308 # On my terminal, \E[4m looks dim.
309 ansi-emx|ANSI.SYS color,
322 window|ANSI.SYS window,
334 os2|OS/2-emx ANSI.SYS,
359 # same as mono, but use reverse video for standout (nice for Emacs)
360 rmono|ANSI.SYS reverse mono,
363 # same as mono, but use a readable color for underlining
364 mono2|ANSI.SYS mono2,
368 # nice colors for Emacs (white on blue, mode line white on cyan)
369 ansi-color-2-emx|ANSI.SYS color 2,
378 # nice colors for Emacs (white on black, mode line black on cyan)
379 ansi-color-3-emx|ANSI.SYS color 3,
389 #### X terminal emulators
391 # X10/6.6 11/7/86, minus alternate screen, plus (csr)
392 # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
393 # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
394 # as these seem not to work -- esr)
395 x10term|vs100-x10|xterm terminal emulator (X10 window system),
407 csr=\E[%i%p1%d;%p2%dr,
411 cup=\E[%i%p1%d;%p2%dH,
424 is2=\E\E[m\E[?7h\E[?1;4l,
447 # X11R6 xterm. This is known good for the XFree86 version under Linux.
448 # It is *way* more featureful than the stock X consortium entry (has acsc,
449 # for starters). The <kmous> key is actually the \E[M prefix returned by
450 # xterm's internal mouse-tracking facility; ncurses will interpret the
451 # following three bytes of mouse status information.
452 # From: Eric S. Raymond <esr@snark.thyrsus.com> 14 Dec 1995
453 xterm-r6|xterm terminal emulator (X11R6 Window System),
463 acsc=++\,\,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
468 csr=\E[%i%p1%d;%p2%dr,
475 cup=\E[%i%p1%d;%p2%dH,
492 is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
531 rmcup=\E[2J\E[?47l\E8,
537 rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
552 xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
555 xterms|vs100s|xterm terminal emulator (small screen 24x80),
559 # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
560 kterm|kterm kanji terminal emulator (X window system),
563 csr=\E[%i%p1%d;%p2%dr,
572 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
573 xterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
578 # Should work with the color xterm on the X11R6 contrib tape.
579 # Assumes the xterm attribute default is black on white.
580 # From: Eric S. Raymond <esr@snark.thyrsus.com> March 4 1996
581 xterm-color|xterm with color support,
586 # From: Thomas Dickey <dickey@clark.net> 13 Dec 1995
587 rxvt|rxvt terminal emulator,
594 # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
595 # Here's a termcap entry I've been using for xterm_color, which comes
596 # with BSD/OS 2.0, and the X11R6 contrib tape too I think. Besides the
597 # color stuff, I also have a status line defined as the window manager
598 # title bar. [I have translated it to terminfo -- ESR]
599 xterm-pcolor|xterm with color used for highlights and status line,
611 # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
612 hpterm|X-hpterm|hp X11 terminal emulator,
634 cup=\E&a%p1%dy%p2%dC,
678 pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
679 pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
680 pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
681 pln=\E&f%p1%dk%p2%l%dd0L%p2%s,
690 sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
701 # This entry describes an xterm with Sun-style function keys enabled
702 # via the X resource setting "xterm*sunFunctionKeys:true"
703 # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
704 # The <kf13>...<kf20> keys are L3-L10. We don't set <kf16=\E[197z>
705 # because we want it to be seen as <kcpy>.
706 # The <kf31>...<kf45> keys are R1-R15. We treat some of these in accordance
707 # with their Sun keyboard labels instead.
708 # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
709 xterm-sun|xterm with sunFunctionKeys true,
750 xterms-sun|small (80x24) xterm with sunFunctionKeys true,
755 # This is for the extensible terminal emulator on the X11R6 contrib tape.
766 acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
849 ###############################################################################
850 # Aliases which conflict with terminfo.src
853 ansi-color-2|ANSI.SYS color 2,
854 use=ansi-color-2-emx,
855 ansi-color-3|ANSI.SYS color 3,
856 use=ansi-color-3-emx,
857 xterm|vs100|xterm terminal emulator (X11R6 Window System),