⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 termcap.src

📁 windows版本的emacs
💻 SRC
📖 第 1 页 / 共 5 页
字号:
	:bs:\	:bl=^G:cr=^M:do=^J:sf=^J:#### ANSI.SYS/ISO 6429/ECMA-48 Capabilities## See the end-of-file comment for more on these.## ANSI capabilities are broken up into pieces, so that a terminal# implementing some ANSI subset can use many of them.ansi+local1:\	:do=\E[B:le=\E[D:nd=\E[C:up=\E[A:ansi+local:\	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:tc=ansi+local1:ansi+tabs:\	:bt=\E[Z:ct=\E[2g:st=\EH:ta=^I:ansi+inittabs:\	:it#8:tc=ansi+tabs:ansi+erase:\	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:ansi+rca:\	:ch=\E[%+^AG:cv=\E[%+^Ad:ansi+cup:\	:cm=\E[%i%d;%dH:ho=\E[H:ansi+rep:\	:..rp=%p1%c\E[%p2%{1}%-%db:ansi+idl1:\	:al=\E[L:dl=\E[M:ansi+idl:\	:AL=\E[%dL:DL=\E[%dM:tc=ansi+idl1:ansi+idc:\	:IC=\E[%d@:dc=\E[P:ei=\E6:ic=\E[@:im=\E6:ansi+arrows:\	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:ansi+sgr|ansi graphic renditions:\	:mb=\E[5m:me=\E[0m:mk=\E[8m:mr=\E[7m:ansi+sgrso|ansi standout only:\	:se=\E[m:so=\E[7m:ansi+sgrul|ansi underline only:\	:ue=\E[m:us=\E[4m:ansi+sgrbold|ansi graphic renditions; assuming terminal has bold; not dim:\	:md=\E[1m:\	:..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\	:tc=ansi+sgr:tc=ansi+sgrso:tc=ansi+sgrul:ansi+sgrdim|ansi graphic renditions; assuming terminal has dim; not bold:\	:mh=\E[2m:\	:..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p5%t2;%;%?%p7%t8;%;m:\	:tc=ansi+sgr:tc=ansi+sgrso:tc=ansi+sgrul:ansi+pp|ansi printer port:\	:pf=\E[4i:po=\E[5i:ps=\E[0i:ansi+csr|ansi scroll-region plus cursor save & restore:\	:cs=\E[%i%d;%dr:rc=\E8:sc=\E7:# 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:\	:ac=+\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:\	:ae=\E[10m:as=\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 :se=\E[27m:,# :ue=\E[24m:, but this isn't a documented feature of ANSI.SYS.klone+sgr|attribute control for ansi.sys displays:\	:S2=\E[11m:S3=\E[10m:mb=\E[5m:md=\E[1m:me=\E[0;10m:\	:mk=\E[8m:mr=\E[7m:\	:..sa=\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:\	:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:tc=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):\	:as=\E[12m:mb=\E[5m:md=\E[1m:me=\E[0;10m:mk=\E[8m:\	:mr=\E[7m:\	:..sa=\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:\	:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:tc=klone+acs:# KOI8-R (RFC1489) acs (alternate character set)# From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset:\	:ac=+\020,\021-\036.^_0\215`\004a\237f\234g\232h\222i\220j\205k\203l\202m\204n\212o\213p\216q\0r\217s\214t\206u\207v\210w\211x\201y\230z\231{\267|\274}L~\225:\	:ae=\E[10m:as=\E[11m:# ANSI.SYS color control.  The setab/setaf caps depend on the coincidence# between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer# but equivalent strings that don't rely on that coincidence:# setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,# setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,# The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.# They match a subset of ECMA-48.klone+color|color control for ansi.sys and ISO6429-compatible displays:\	:Co#8:NC#3:pa#64:\	:AB=\E[4%dm:AF=\E[3%dm:op=\E[37;40m:# 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:\	:Co#8:NC#3:pa#64:\	:AB=\E[4%dm:AF=\E[3%dm:op=\E[39;49m:# Attribute control for ECMA-48-compatible terminalsecma+sgr|attribute capabilities for true ECMA-48 terminals:\	:se=\E[27m:ue=\E[24m:tc=klone+sgr:# For comparison, here are all the capabilities implied by the Intel# Binary Compatibility Standard (level 2) that fit within terminfo.# For more detail on this rather pathetic standard, see the comments# near the end of this file.ibcs2|Intel Binary Compatibility Standard prescriptions:\	:AL=\E[%dL:DC=\E[%dP:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\	:RA=\E[?7l:RI=\E[%dC:S1=\E=%dg:SA=\E[?7h:SF=\E[%dS:\	:SR=\E[%dT:UP=\E[%dA:bt=\E[Z:ch=\E[%i%dG:cl=\Ec:\	:cm=\E[%i%d;%dH:ct=\E[g:cv=\E[%i%dd:ec=\E[%dX:ei=:im=:\	:rc=\E7:sc=\E7:st=\EH:#### 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-mr is for ANSI terminals with ONLY relative cursor addressing# and more than one page of memory.  It uses local motions instead of# direct cursor addressing, and makes almost no assumptions. It does# assume auto margins, no padding and/or xon/xoff, and a 24x80 screen.ansi-mr|mem rel cup ansi:\	:am:xo:\	:co#80:li#24:tc=vanilla:tc=ansi+erase:tc=ansi+local1:# ansi-mini is a bare minimum ANSI terminal. This should work on anything, but # beware of screen size problems and memory relative cursor addressing.ansi-mini|any ansi terminal with pessimistic assumptions:\	:am:xo:\	:co#80:li#24:tc=vanilla:tc=ansi+cup:tc=ansi+erase:# ansi-mtabs adds relative addressing and minimal tab support ansi-mtabs|any ansi terminal with pessimistic assumptions:\	:it#8:\	:ta=^I:tc=ansi+local1:tc=ansi-mini:# ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL## The following is an entry for the full ANSI 3.64 (1977).  It lacks# padding, but most terminals using the standard are "fast" enough# not to require any -- even at 9600 bps.  If you encounter problems,# try including the padding specifications.## Note: the :as: and :ae: specifications are not implemented here, for# the available termcap documentation does not make clear WHICH alternate# character set to specify.  ANSI 3.64 seems to make allowances for several.# Please make the appropriate adjustments to fit your needs -- that is# if you will be using alternate character sets.## There are very few terminals running the full ANSI 3.64 standard,# so I could only test this entry on one verified terminal (Visual 102).# I would appreciate the results on other terminals sent to me.## Please report comments, changes, and problems to:## U.S. MAIL:   Hugh Hansard#              Box: 22830#              Emory University#              Atlanta, GA. 30322.## USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.## (Added vt100 :rc:,:sc: to quiet a tic warning --esr)ansi77|ansi 3.64 standard 1977 version:\	:am:bs:mi:\	:co#80:it#8:li#24:\	:al=5*\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=5*\E[M:\	:do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOR:k4=\EOS:\	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\	:nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\	:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:# Procomm and some other ANSI emulations don't recognize all of the ANSI-# standard capabilities.  This entry deletes :UP:, :RI:, :DO:, :LE:, and # <vpa>/<hpa> capabilities, forcing curses to use repetitions of :up:, # :nd:, :do: and :le:.  Also deleted :IC: and :ic:, as QModem up to # 5.03 doesn't recognize these.  Finally, we delete :rp: and :sr:, which seem# to confuse many emulators.  On the other hand, we can count on these programs# doing :ae:/:as:/:sa:. Older versions of this entry featured # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under# ANSI.SYS influence.# From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode):\	:am:bs:mi:ms:\	:co#80:it#8:li#24:\	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\	:cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:dl=\E[M:do=\E[B:\	:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\	:le=\E[D:nd=\E[C:sf=^J:st=\EH:ta=^I:up=\E[A:\	:tc=klone+sgr-dumb:pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode):\	:li#25:tc=pcansi-m:pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode):\	:li#33:tc=pcansi-m:pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode):\	:li#43:tc=pcansi-m:# The color versions.  All PC emulators do color...pcansi|ibm-pc terminal programs claiming to be ansi:\	:tc=klone+color:tc=pcansi-m:pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines:\	:li#25:tc=pcansi:pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines:\	:li#33:tc=pcansi:pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines:\	:li#43:tc=pcansi:# ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.# If you want pound signs rather than dollars, replace `B' with `A'# in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes:\	:5i:\	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\	:cb=\E[1K:ch=\E[%i%dG:ct=\E[2g:cv=\E[%i%dd:ec=\E[%dX:ei=:\	:im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\	:nw=\r\E[S:pf=\E[4i:po=\E[5i:..rp=%p1%c\E[%p2%{1}%-%db:\	:s0=\E(B:s1=\E)B:s2=\E*B:s3=\E+B:ta=\E[I:tc=pcansi-m:# ansi -- this terminfo expresses the largest subset of X3.64 that will fit in# standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995ansi|ansi/pc-term compatible with color:\	:u6=\E[%i%d;%dR:u7=\E[6n:..u8=\E[?%[;0123456789]c:\	:u9=\E[c:tc=ecma+color:tc=klone+sgr:tc=ansi-m:# ansi-generic is a vanilla ANSI terminal. This is assumed to implement # all the normal ANSI stuff with no extensions. It assumes # insert/delete line/char is there, so it won't work with # vt100 clones. It assumes video attributes for bold, blink, # underline, and reverse, which won't matter much if the terminal # can't do some of those. Padding is assumed to be zero, which # shouldn't hurt since xon/xoff is assumed.ansi-generic|generic ansi standard terminal:\	:am:xo:\	:co#80:li#24:tc=vanilla:tc=ansi+csr:tc=ansi+cup:\	:tc=ansi+rca:tc=ansi+erase:tc=ansi+tabs:tc=ansi+local:\	:tc=ansi+idc:tc=ansi+idl:tc=ansi+rep:tc=ansi+sgrbold:\	:tc=ansi+arrows:#### DOS ANSI.SYS variants## 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:bs:mi:ms:xo:\	:co#80:li#25:\	:RA=\E[?7l:SA=\E[?7h:ce=\E[k:cl=\E[2J:cm=\E[%i%d;%dH:\	:do=\E[B:ho=\E[H:is=\E[m\E[?7h:kd=^J:kh=^^:kl=^H:kr=^L:\	:ku=^K:le=^H:nd=\E[C:pk=\E[0;%+\:;"%s":rc=\E[u:sc=\E[s:\	:u6=\E[%i%d;%dR:u7=\E[6n:up=\E[A:tc=klone+color:\	:tc=klone+sgr:ansi.sys|ANSI.SYS 3.1 and later versions:\	:ce=\E[K:tc=ansi.sys-old:## Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.# This should only be used when the terminal emulator cannot redefine the keys.# Since redefining keys with ansi.sys also affects PC-DOS programs, the key# definitions must be restored.  If the terminal emulator is quit while in vi# or others using :ks:/:ke:, the keypad will not be defined as per PC-DOS.# The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix# (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it# does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.# Note that :kl: is always BS, because PC-dos can tolerate this change.# Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.# Consequently the End keypad key could not be set (it is relatively safe and# actually useful because it sends ^@ O, which beeps and opens a line above).ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\	:is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\	:ke=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p:\	:ks=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p:\	:tc=ansi.sys:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -