1 # $Id: emx.src,v 1.4 1998/02/01 00:03:44 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,
281 # To properly translate termcap.dat -> terminfo.src remember these
283 # ti <-> smcup string to start programs using cup(termcap)
284 # te <-> rmcup string to end programs using cup
285 # so <-> smso begin standout mode
286 # se <-> rmso exit standout mode
287 # us <-> smul begin underline mode
288 # ue <-> rmul exit underline mode
289 # mb <-> blink turn on blinking
290 # md <-> bold turn on extra bright (bold) mode
291 # mr <-> rev turn on reverse video mode
292 # me <-> sgr0 turn off all atributes
294 # On my terminal, \E[4m looks dim.
307 window|ANSI.SYS window,
331 # same as mono, but use reverse video for standout (nice for Emacs)
332 rmono|ANSI.SYS reverse mono,
335 # same as mono, but use a readable color for underlining
336 mono2|ANSI.SYS mono2,
340 # nice colors for Emacs (white on blue, mode line white on cyan)
341 ansi-color-2|ANSI.SYS color 2,
350 # nice colors for Emacs (white on black, mode line black on cyan)
351 ansi-color-3|ANSI.SYS color 3,
361 #### X terminal emulators
363 # X10/6.6 11/7/86, minus alternate screen, plus (csr)
364 # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
365 # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
366 # as these seem not to work -- esr)
367 x10term|vs100-x10|xterm terminal emulator (X10 window system),
379 csr=\E[%i%p1%d;%p2%dr,
383 cup=\E[%i%p1%d;%p2%dH,
396 is2=\E\E[m\E[?7h\E[?1;4l,
419 # X11R6 xterm. This is known good for the XFree86 version under Linux.
420 # It is *way* more featureful than the stock X consortium entry (has acsc,
421 # for starters). The <kmous> key is actually the \E[M prefix returned by
422 # xterm's internal mouse-tracking facility; ncurses will interpret the
423 # following three bytes of mouse status information.
424 # From: Eric S. Raymond <esr@snark.thyrsus.com> 14 Dec 1995
425 xterm|vs100|xterm terminal emulator (X11R6 Window System),
435 acsc=++\,\,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
440 csr=\E[%i%p1%d;%p2%dr,
447 cup=\E[%i%p1%d;%p2%dH,
464 is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
494 rmcup=\E[2J\E[?47l\E8,
500 rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
515 xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
518 xterms|vs100s|xterm terminal emulator (small screen 24x80),
522 # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
523 kterm|kterm kanji terminal emulator (X window system),
526 csr=\E[%i%p1%d;%p2%dr,
534 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
535 xterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
540 # Should work with the color xterm on the X11R6 contrib tape.
541 # Assumes the xterm attribute default is black on white.
542 # From: Eric S. Raymond <esr@snark.thyrsus.com> March 4 1996
543 xterm-color|xterm with color support,
548 # From: Thomas Dickey <dickey@clark.net> 13 Dec 1995
549 rxvt|rxvt terminal emulator,
556 # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
557 # Here's a termcap entry I've been using for xterm_color, which comes
558 # with BSD/OS 2.0, and the X11R6 contrib tape too I think. Besides the
559 # color stuff, I also have a status line defined as the window manager
560 # title bar. [I have translated it to terminfo -- ESR]
561 xterm-pcolor|xterm with color used for highlights and status line,
573 # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
574 hpterm|X-hpterm|hp X11 terminal emulator,
596 cup=\E&a%p1%dy%p2%dC,
640 pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
641 pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
642 pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
643 pln=\E&f%p1%dk%p2%l%dd0L%p2%s,
652 sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
663 # This entry describes an xterm with Sun-style function keys enabled
664 # via the X resource setting "xterm*sunFunctionKeys:true"
665 # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
666 # The <kf13>...<kf20> keys are L3-L10. We don't set <kf16=\E[197z>
667 # because we want it to be seen as <kcpy>.
668 # The <kf31>...<kf45> keys are R1-R15. We treat some of these in accordance
669 # with their Sun keyboard labels instead.
670 # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
671 xterm-sun|xterm with sunFunctionKeys true,
712 xterms-sun|small (80x24) xterm with sunFunctionKeys true,
717 # This is for the extensible terminal emulator on the X11R6 contrib tape.
728 acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
804 setab=\Es%i%p1%d; setaf=\Er%i%p1%d;,