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