1 ##############################################################################
2 # Copyright (c) 1998-2003,2006 Free Software Foundation, Inc. #
4 # Permission is hereby granted, free of charge, to any person obtaining a #
5 # copy of this software and associated documentation files (the "Software"), #
6 # to deal in the Software without restriction, including without limitation #
7 # the rights to use, copy, modify, merge, publish, distribute, distribute #
8 # with modifications, sublicense, and/or sell copies of the Software, and to #
9 # permit persons to whom the Software is furnished to do so, subject to the #
10 # following conditions: #
12 # The above copyright notice and this permission notice shall be included in #
13 # all copies or substantial portions of the Software. #
15 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
16 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
17 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL #
18 # THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
19 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #
20 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #
21 # DEALINGS IN THE SOFTWARE. #
23 # Except as contained in this notice, the name(s) of the above copyright #
24 # holders shall not be used in advertising or otherwise to promote the sale, #
25 # use or other dealings in this Software without prior written #
27 ##############################################################################
28 # $Id: emx.src,v 1.9 2006/04/22 21:46:17 tom Exp $
29 # This is a reformatted copy of the terminfo source for OS/2 EMX from
30 # Juan Jose Garcia Ripoll <worm@arrakis.es>.
31 # http://www.arrakis.es/~worm/
32 #----------------------------------------------------------------------------
34 # This section describes terminal classes and maker brands that are still
40 # Special "terminals". These are used to label tty lines when you don't
41 # know what kind of terminal is on it. The characteristics of an unknown
42 # terminal are the lowest common denominator - they look about like a ti 700.
45 dumb|80-column dumb tty,
52 unknown|unknown terminal type,
55 lpr|printer|line printer,
66 glasstty|classic glass tty interpreting ASCII control characters,
80 #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
82 # See the end-of-file comment for more on these.
85 # The IBM PC alternate character set. Plug this into any Intel console entry.
86 # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
87 # ROM graphics for control characters such as the diamond, up- and down-arrow.
88 # This works with the System V, Linux, and BSDI consoles. It's a safe bet this
89 # will work with any Intel console, they all seem to have inherited \E[11m
90 # from the ANSI.SYS de-facto standard.
91 klone+acs|alternate character set for ansi.sys displays,
92 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,
96 # Highlight controls corresponding to the ANSI.SYS standard. Most
97 # console drivers for Intel boxes obey these. Makes the same assumption
98 # about \E[11m as klone+acs. True ANSI/ECMA-48 would have <rmso=\E[27m>,
99 # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
100 klone+sgr|attribute control for ansi.sys displays,
109 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,
117 # Highlight controls corresponding to the ANSI.SYS standard. *All*
118 # console drivers for Intel boxes obey these. Does not assume \E[11m will
119 # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
120 # diamond and arrow characters under curses.
121 klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m),
129 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,
136 # ANSI.SYS color control.
137 # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
138 klone+color|color control for ansi.sys and ISO6429-compatible displays,
146 # This is better than klone+color, it doesn't assume white-on-black as the
147 # default color pair, but many `ANSI' terminals don't grok the <op> cap.
148 ecma+color|color control for ECMA-48-compatible terminals,
157 #### ANSI/ECMA-48 terminals and terminal emulators
159 # See near the end of this file for details on ANSI conformance.
160 # Don't mess with these entries! Lots of other entries depend on them!
162 # This section lists entries in a least-capable to most-capable order.
163 # if you're in doubt about what `ANSI' matches yours, try them in that
164 # order and back off from the first that breaks.
166 ansi-mini|any ansi terminal with pessimistic assumptions,
171 clear=\E[H\E[2J$<50>,
175 cup=\E[%i%p1%d;%p2%dH,
184 # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
185 # documentation (except for the keyboard key reassignment feature, which
186 # doen't fit the <pfkey> model well). The klone+acs sequences were valid
187 # though undocumented. The <pfkey> capability is untested but should work for
188 # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
189 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
190 ansi.sys-old|ANSI.SYS under PC-DOS 2.1,
201 cup=\E[%i%p1%d;%p2%dH,
211 pfkey=\E[0;%p1%{58}%+%d;%p2"%s",
221 ansi.sys|ANSI.SYS 3.1 and later versions,
225 ### EMX termcap.dat compatibility modes
227 # Keypad: Home=\0G Up=\0H PrPag=\0I
228 # ka1,kh kcuu1 kpp,ka3
230 # Left=\0K 5=\0L Right=\0M
233 # End=\0O Down=\0P NxPag=\0Q
234 # kc1,kend kcud1 kc3,knp
239 # On keyboard with 12 function keys,
240 # shifted f-keys: F13-F24
241 # control f-keys: F25-F36
242 # alt f-keys: F37-F48
243 # The shift/control/alt keys do not modify each other, but alt overrides both,
244 # and control overrides shift.
246 # Also (possibly only EMX, so we don't put it in ansi.sys, etc): set the
247 # no_color_video to inform the application that standout(1), underline(2)
248 # reverse(4) and invisible(64) don't work with color.
249 emx-base|DOS special keys,
322 # To properly translate termcap.dat -> terminfo.src remember these
324 # ti <-> smcup string to start programs using cup(termcap)
325 # te <-> rmcup string to end programs using cup
326 # so <-> smso begin standout mode
327 # se <-> rmso exit standout mode
328 # us <-> smul begin underline mode
329 # ue <-> rmul exit underline mode
330 # mb <-> blink turn on blinking
331 # md <-> bold turn on extra bright (bold) mode
332 # mr <-> rev turn on reverse video mode
333 # me <-> sgr0 turn off all atributes
335 # On my terminal, \E[4m looks dim.
336 ansi-emx|ANSI.SYS color,
349 window|ANSI.SYS window,
361 os2|OS/2-emx ANSI.SYS,
386 # same as mono, but use reverse video for standout (nice for Emacs)
387 rmono|ANSI.SYS reverse mono,
390 # same as mono, but use a readable color for underlining
391 mono2|ANSI.SYS mono2,
395 # nice colors for Emacs (white on blue, mode line white on cyan)
396 ansi-color-2-emx|ANSI.SYS color 2,
405 # nice colors for Emacs (white on black, mode line black on cyan)
406 ansi-color-3-emx|ANSI.SYS color 3,
416 #### X terminal emulators
418 # X10/6.6 11/7/86, minus alternate screen, plus (csr)
419 # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
420 # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
421 # as these seem not to work -- esr)
422 x10term|vs100-x10|xterm terminal emulator (X10 window system),
434 csr=\E[%i%p1%d;%p2%dr,
438 cup=\E[%i%p1%d;%p2%dH,
451 is2=\E\E[m\E[?7h\E[?1;4l,
474 # X11R6 xterm. This is known good for the XFree86 version under Linux.
475 # It is *way* more featureful than the stock X consortium entry (has acsc,
476 # for starters). The <kmous> key is actually the \E[M prefix returned by
477 # xterm's internal mouse-tracking facility; ncurses will interpret the
478 # following three bytes of mouse status information.
479 # From: Eric S. Raymond <esr@snark.thyrsus.com> 14 Dec 1995
480 xterm-r6|xterm terminal emulator (X11R6 Window System),
490 acsc=++\,\,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
495 csr=\E[%i%p1%d;%p2%dr,
502 cup=\E[%i%p1%d;%p2%dH,
519 is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
558 rmcup=\E[2J\E[?47l\E8,
564 rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
579 xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
582 xterms|vs100s|xterm terminal emulator (small screen 24x80),
586 # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
587 kterm|kterm kanji terminal emulator (X window system),
590 csr=\E[%i%p1%d;%p2%dr,
599 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
600 xterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
605 # Should work with the color xterm on the X11R6 contrib tape.
606 # Assumes the xterm attribute default is black on white.
607 # From: Eric S. Raymond <esr@snark.thyrsus.com> March 4 1996
608 xterm-color|xterm with color support,
613 # From: Thomas Dickey <dickey@clark.net> 13 Dec 1995
614 rxvt|rxvt terminal emulator,
621 # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
622 # Here's a termcap entry I've been using for xterm_color, which comes
623 # with BSD/OS 2.0, and the X11R6 contrib tape too I think. Besides the
624 # color stuff, I also have a status line defined as the window manager
625 # title bar. [I have translated it to terminfo -- ESR]
626 xterm-pcolor|xterm with color used for highlights and status line,
638 # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
639 hpterm|X-hpterm|hp X11 terminal emulator,
661 cup=\E&a%p1%dy%p2%dC,
705 pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
706 pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
707 pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
708 pln=\E&f%p1%dk%p2%l%dd0L%p2%s,
717 sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
728 # This entry describes an xterm with Sun-style function keys enabled
729 # via the X resource setting "xterm*sunFunctionKeys:true"
730 # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
731 # The <kf13>...<kf20> keys are L3-L10. We don't set <kf16=\E[197z>
732 # because we want it to be seen as <kcpy>.
733 # The <kf31>...<kf45> keys are R1-R15. We treat some of these in accordance
734 # with their Sun keyboard labels instead.
735 # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
736 xterm-sun|xterm with sunFunctionKeys true,
777 xterms-sun|small (80x24) xterm with sunFunctionKeys true,
782 # This is for the extensible terminal emulator on the X11R6 contrib tape.
793 acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
876 ###############################################################################
877 # Aliases which conflict with terminfo.src
880 ansi-color-2|ANSI.SYS color 2,
881 use=ansi-color-2-emx,
882 ansi-color-3|ANSI.SYS color 3,
883 use=ansi-color-3-emx,
884 xterm|vs100|xterm terminal emulator (X11R6 Window System),