?? emx.src
字號:
# $Id: emx.src,v 1.8 2003/01/26 01:17:55 tom Exp $# This is a reformatted copy of the terminfo source for OS/2 EMX from# Juan Jose Garcia Ripoll <worm@arrakis.es>.# http://www.arrakis.es/~worm/#----------------------------------------------------------------------------## This section describes terminal classes and maker brands that are still# quite common.##### Specials## Special "terminals". These are used to label tty lines when you don't# know what kind of terminal is on it. The characteristics of an unknown# terminal are the lowest common denominator - they look about like a ti 700.#dumb|80-column dumb tty, am, cols#80, bel=^G, cr=^M, cud1=^J, ind=^J,unknown|unknown terminal type, gn, use=dumb,lpr|printer|line printer, hc, os, cols#132, lines#66, bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ind=^J,glasstty|classic glass tty interpreting ASCII control characters, am, cols#80, bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,#### ANSI.SYS/ISO 6429/ECMA-48 Capabilities## See the end-of-file comment for more on these.## The IBM PC alternate character set. Plug this into any Intel console entry.# We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the# ROM graphics for control characters such as the diamond, up- and down-arrow.# This works with the System V, Linux, and BSDI consoles. It's a safe bet this# will work with any Intel console, they all seem to have inherited \E[11m# from the ANSI.SYS de-facto standard.klone+acs|alternate character set for ansi.sys displays, 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, rmacs=\E[10m, smacs=\E[11m,# Highlight controls corresponding to the ANSI.SYS standard. Most# console drivers for Intel boxes obey these. Makes the same assumption# about \E[11m as klone+acs. True ANSI/ECMA-48 would have <rmso=\E[27m>,# <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.klone+sgr|attribute control for ansi.sys displays, blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmacs=\E[10m, rmpch=\E[10m, rmso=\E[m, rmul=\E[m, 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, sgr0=\E[0;10m, smacs=\E[11m, smpch=\E[11m, smso=\E[7m, smul=\E[4m, use=klone+acs,# Highlight controls corresponding to the ANSI.SYS standard. *All*# console drivers for Intel boxes obey these. Does not assume \E[11m will# work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS# diamond and arrow characters under curses.klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m), blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 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, sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, use=klone+acs,# ANSI.SYS color control.# The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.klone+color|color control for ansi.sys and ISO6429-compatible displays, colors#8, ncv#3, pairs#64, op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,# This is better than klone+color, it doesn't assume white-on-black as the# default color pair, but many `ANSI' terminals don't grok the <op> cap.ecma+color|color control for ECMA-48-compatible terminals, AX, colors#8, ncv#3, pairs#64, op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,#### ANSI/ECMA-48 terminals and terminal emulators## See near the end of this file for details on ANSI conformance.# Don't mess with these entries! Lots of other entries depend on them!## This section lists entries in a least-capable to most-capable order.# if you're in doubt about what `ANSI' matches yours, try them in that# order and back off from the first that breaks.ansi-mini|any ansi terminal with pessimistic assumptions, am, cols#80, it#8, lines#24, clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, ht=^I,## ANSI.SYS entries## This completely describes the sequences specified in the DOS 2.1 ANSI.SYS# documentation (except for the keyboard key reassignment feature, which# doen't fit the <pfkey> model well). The klone+acs sequences were valid# though undocumented. The <pfkey> capability is untested but should work for# keys F1-F10 (%p1 values outside this range will yield unpredictable results).# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995ansi.sys-old|ANSI.SYS under PC-DOS 2.1, am, mir, msgr, xon, cols#80, lines#25, clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H, is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u, rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR, u7=\E[6n, use=klone+color, use=klone+acs, use=klone+sgr,ansi.sys|ANSI.SYS 3.1 and later versions, el=\E[K, use=ansi.sys-old,### EMX termcap.dat compatibility modes## Keypad: Home=\0G Up=\0H PrPag=\0I# ka1,kh kcuu1 kpp,ka3## Left=\0K 5=\0L Right=\0M# kcub1 kb2 kcuf1## End=\0O Down=\0P NxPag=\0Q# kc1,kend kcud1 kc3,knp## Ins=\0R Del=\0S# kich1 kdch1## On keyboard with 12 function keys,# shifted f-keys: F13-F24# control f-keys: F25-F36# alt f-keys: F37-F48# The shift/control/alt keys do not modify each other, but alt overrides both,# and control overrides shift.## Also (possibly only EMX, so we don't put it in ansi.sys, etc): set the# no_color_video to inform the application that standout(1), underline(2)# reverse(4) and invisible(64) don't work with color.emx-base|DOS special keys, bce, bw, it#8, ncv#71, bel=^G, ka1=\0G, ka3=\0I, kb2=\0L, kbs=^H, kc1=\0O, kc3=\0Q, kcbt=\0^O, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, kdch1=\0S, kend=\0O, kf1=\0;, kf10=\0D, kf11=\0\205, kf12=\0\206, kf13=\0T, kf14=\0U, kf15=\0V, kf16=\0W, kf17=\0X, kf18=\0Y, kf19=\0Z, kf2=\0<, kf20=\0[, kf21=\0\\, kf22=\0], kf23=\0\207, kf24=\0\210, kf25=\0\^, kf26=\0_, kf27=\0`, kf28=\0a, kf29=\0b, kf3=\0=, kf30=\0c, kf31=\0d, kf32=\0e, kf33=\0f, kf34=\0g, kf35=\0\211, kf36=\0\212, kf37=\0h, kf38=\0i, kf39=\0j, kf4=\0>, kf40=\0k, kf41=\0l, kf42=\0m, kf43=\0n, kf44=\0o, kf45=\0p, kf46=\0q, kf47=\0\213, kf48=\0\214, kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, knp=\0Q, kpp=\0I, use=ansi.sys,## To properly translate termcap.dat -> terminfo.src remember these# equivalences:# ti <-> smcup string to start programs using cup(termcap)# te <-> rmcup string to end programs using cup# so <-> smso begin standout mode# se <-> rmso exit standout mode# us <-> smul begin underline mode# ue <-> rmul exit underline mode# mb <-> blink turn on blinking# md <-> bold turn on extra bright (bold) mode# mr <-> rev turn on reverse video mode# me <-> sgr0 turn off all atributes## On my terminal, \E[4m looks dim.ansi-emx|ANSI.SYS color, blink=\E[5m, bold=\E[1m, kmous=\E[M, rev=\E[7m, rmcup=\E[0m, rmso=\E[0m, rmul@, sgr0=\E[0m, smcup=\E[0;37;40m, smso=\E[7m, smul@, use=emx-base,window|ANSI.SYS window, blink=\E[5m, bold=\E[1;37;47m, rev=\E[1;37;47m, rmcup=\E[0m, rmso=\E[0;37;40m, rmul=\E[0;37;40m, sgr0=\E[0;37;40m, smcup=\E[0;37;40m, smso=\E[1;37;47m, smul=\E[1;31;47m, use=emx-base,os2|OS/2-emx ANSI.SYS, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, cuu=\E[%p1%dA, cuu1=\E[A, rc=\E[u, sc=\E[s, use=ansi-emx, use=mono,mono|ANSI.SYS mono, blink=\E[5m, bold=\E[1m, rev=\E[7m, rmcup=\E[0m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smcup=\E[0m, smso=\E[1m, smul=\E[4m, use=emx-base,# same as mono, but use reverse video for standout (nice for Emacs)rmono|ANSI.SYS reverse mono, smso=\E[7m, use=mono,# same as mono, but use a readable color for underliningmono2|ANSI.SYS mono2, rmul=\E[0m, smul=\E[1;31;40m, use=mono,# nice colors for Emacs (white on blue, mode line white on cyan)ansi-color-2-emx|ANSI.SYS color 2, rmcup=\E[0m, rmso=\E[0;37;44m, rmul=\E[0m, sgr0=\E[0;37;44m, smcup=\E[0;37;44m, smso=\E[1;37;46m, smul=\E[1;31;40m, use=ansi-emx,# nice colors for Emacs (white on black, mode line black on cyan)ansi-color-3-emx|ANSI.SYS color 3, rmcup=\E[0m, rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smcup=\E[0m, smso=\E[30;46m, smul=\E[1;31;40m, use=ansi-emx,#### X terminal emulators## X10/6.6 11/7/86, minus alternate screen, plus (csr)# (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;# removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)# as these seem not to work -- esr)x10term|vs100-x10|xterm terminal emulator (X10 window system), am, km, mir, msgr, xenl, xon, cols#80, it#8, lines#65, bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -