📄 termcap.src
字号:
## Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\ :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\ :is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:\ :tc=ansi.sys:## See ansi.sysk and nansi.sys above.nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\ :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\ :is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\ :tc=ansi.sysk:#### ANSI console types##### BeOS## BeOS entry for Terminal program Seems to be almost ANSIbeterm|BeOS Terminal:\ :am:eo:mi:ms:xn:xo:\ :Co#8:NC#5:co#80:it#8:li#25:pa#64:\ :&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\ :DL=\E[%dM:DO=\E[%dB:F1=\E[21~:F2=\E[22~:IC=\E[%d@:\ :LE=\E[%dD:RI=\E[%dC:Sb=\E[%+(m:Sf=\E[%+^^m:UP=\E[%dA:\ :al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\ :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\ :cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:\ :ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[11~:k2=\E[12~:k3=\E[13~:\ :k4=\E[14~:k5=\E[15~:k6=\E[16~:k7=\E[17~:k8=\E[18~:\ :k9=\E[19~:k;=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\ :kb=^H:kd=\E[B:ke=\E[?4l:kh=\E[1~:kl=\E[D:kr=\E[C:\ :ks=\E[?4h:ku=\E[A:le=^H:md=\E[1m:me=\E[0;10m:mr=\E[7m:\ :nd=\E[C:nw=^M^J:op=\E[m:r1=\Ec:rc=\E8:sc=\E7:se=\E[m:sf=^J:\ :so=\E[7m:sr=\EM:st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:\ :ue=\E[24m:up=\E[A:us=\E[4m:#### Linux consoles## This entry is good for the 1.2.13 or later version of the Linux console.## ***************************************************************************# * *# * WARNING: *# * Linuxes come with a default keyboard mapping kcbt=^I. This entry, in *# * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *# * character. Here are the keymap replacement lines that will set this up: *# * *# keycode 15 = Tab Tab# alt keycode 15 = Meta_Tab# shift keycode 15 = F26# string F26 ="\033[Z"# * *# * This has to use a key slot which is unfortunate (any unused one will *# * do, F26 is the higher-numbered one). The change ought to be built *# * into the kernel tables. *# * *# ***************************************************************************## The 1.3.x kernels add color-change capabilities; if yours doesn't have this# and it matters, turn off <ccc>. The %02x escape used to implement this is# not back-portable to SV curses and not supported in ncurses versions before# 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size# themselves; this entry assumes that capability.## This entry is good for the 1.2.13 or later version of the Linux console.## ***************************************************************************# * *# * WARNING: *# * Linuxes come with a default keyboard mapping kcbt=^I. This entry, in *# * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *# * character. Here are the keymap replacement lines that will set this up: *# * *# keycode 15 = Tab Tab# alt keycode 15 = Meta_Tab# shift keycode 15 = F26# string F26 ="\033[Z"# * *# * This has to use a key slot which is unfortunate (any unused one will *# * do, F26 is the higher-numbered one). The change ought to be built *# * into the kernel tables. *# * *# ***************************************************************************## The 1.3.x kernels add color-change capabilities; if yours doesn't have this# and it matters, turn off <ccc>. The %02x escape used to implement this is# not back-portable to SV curses and not supported in ncurses versions before# 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size# themselves; this entry assumes that capability.## The 2.2.x kernels add a private mode that sets the cursor type; use that to# get a block cursor for cvvis.# reported by Frank Heckenbach <frank@g-n-u.de>.# (untranslatable capabilities removed to fit entry within 1023 bytes)# (sgr removed to fit entry within 1023 bytes)# (acsc removed to fit entry within 1023 bytes)linux|linux console:\ :am:eo:mi:ms:ut:xn:xo:\ :NC#18:it#8:\ :&7=^Z:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:F1=\E[23~:\ :F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\ :F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:\ :K2=\E[G:Km=\E[M:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\ :ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\ :cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\ :do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\ :k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\ :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\ :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\ :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mh=\E[2m:mr=\E[7m:nd=\E[C:\ :nw=^M^J:r1=\Ec\E]R:rc=\E8:sc=\E7:se=\E[27m:sf=^J:sr=\EM:\ :st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:\ :ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\ :ve=\E[?25h\E[?0c:vi=\E[?25l\E[?1c:vs=\E[?25h\E[?8c:\ :tc=klone+sgr:tc=ecma+color:linux-m|Linux console no color:\ :Co@:pa@:\ :AB@:AF@:Sb@:Sf@:tc=linux:linux-c-nc|linux console 1.3.x hack for ncurses only:\ :cc:\ :..Ic=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x:\ :oc=\E]R:tc=linux:# From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996linux-c|linux console 1.3.6+ with private palette for each virtual console:\ :cc:\ :Co#8:pa#64:\ :..Ic=\E]P%?%p1%{9}%>%t%p1%{10}%-%'a'%+%c%e%p1%d%;%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;:\ :oc=\E]R:tc=linux:# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of filelinux-nic|linux with ich/ich1 suppressed for non-curses programs:\ :IC@:ei=:ic@:im=:tc=linux:# This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.# acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.linux-koi8|linux with koi8 alternate character set:\ :ac=+\020,\021-\030.^Y0\215`\004a\221f\234g\237h\220i\276j\205k\203l\202m\204n\212o~p\0q\0r\0s_t\206u\207v\211w\210x\201y\230z\231{\267|\274~\224:\ :tc=linux:tc=klone+koi8acs:# Another entry for KOI8-r with Qing Long's acsc.# (which one better complies with the standard?)linux-koi8r|linux with koi8-r alternate character set:\ :tc=linux:tc=klone+koi8acs:# Entry for the latin1 and latin2 fontslinux-lat|linux with latin1 or latin2 alternate character set:\ :ac=+\020,\021-\030.^Y0\333`\004a\013f\370g\361h\260i\316j\211k\214l\206m\203n\305o~p\304q\212r\304s_t\207u\215v\301w\302x\205y\363z\362{\343|\330}\234~\376:\ :tc=linux:#### Mach## From: Matthew Vernon <mcv21@pick.sel.cam.ac.uk>mach|Mach Console:\ :am:km:\ :co#80:it#8:li#25:\ :@7=\E[Y:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\ :RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\ :cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:k1=\EOP:\ :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\ :k9=\EOX:k;=\EOY:kD=\E[9:kH=\E[F:kI=\E[@:kN=\E[U:kP=\E[V:\ :kb=\177:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\ :mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:se=\E[0m:\ :sf=^J:so=\E[7m:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:mach-bold|Mach Console with bold instead of underline:\ :ue=\E[0m:us=\E[1m:tc=mach:mach-color|Mach Console with ANSI color:\ :Co#8:pa#64:\ :AB=\E[4%dm:AF=\E[3%dm:mh=\E[2m:mk=\E[8m:op=\E[37;40m:\ :se=\E[27m:tc=mach:#### OSF Unix## OSF/1 1.1 Snapshot 2pmcons|pmconsole|PMAX console:\ :am:\ :co#128:li#57:\ :bl=^G:cl=^L:cr=^M:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\ :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:sf=^J:ta=^I:up=^K:# SCO console and SOS-Syscons console for 386bsd# (scoansi: had unknown capabilities# :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\# :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:# :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\# :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\# :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\# I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based# on the :as:=\E[12m -- esr)## klone+sgr-dumb is an error since the acsc does not match -TD## In this description based on SCO's keyboard(HW) manpage list of default function key# values:# F13-F24 are shifted F1-F12# F25-F36 are control F1-F12# F37-F48 are shift+control F1-F12## hpa/vpa work in the console, but not in scoterm:# hpa=\E[%p1%dG,# vpa=\E[%p1%dd,## SCO's terminfo uses# kLFT=\E[d,# kRIT=\E[c,# which do not work (console or scoterm).## Console documents only 3 attributes can be set with SGR (so we don't use sgr).# (untranslatable capabilities removed to fit entry within 1023 bytes)# (sgr removed to fit entry within 1023 bytes)# (acsc removed to fit entry within 1023 bytes)# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)scoansi|SCO Extended ANSI standard crt:\ :am:bs:eo:xo:\ :co#80:it#8:li#25:\ :AL=\E[%dL:DL=\E[%dM:SF=\E[%dS:SR=\E[%dT:ae=\E[10m:\ :al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[m\E[J:ce=\E[m\E[K:\ :cl=\E[2J\E[H:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\ :ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\ :k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:kD=^_:kI=\E[L:\ :kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\ :ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0;10m:mr=\E[7m:\ :nd=\E[C:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:\ :up=\E[A:us=\E[4m:ve=\E[=10;12C:vi=\E[=14;12C:\ :vs=\E[=0;12C:# This actually describes the generic SVr4 display driver for Intel boxes.# The :mh=\E[2m: isn't documented and therefore may not be reliable.# From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995att6386|at386|386at|AT&T WGS 6386 console:\ :am:bw:eo:xo:\ :co#80:it#8:li#25:\ :@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\EOZ:\ :F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\ :SR=\E[%dT:UP=\E[%dA:\ :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\ :ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:\ :ce=\E[K:ch=\E[%i%dG:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\ :ct=\E[2g:cv=\E[%i%dd:dc=\E[P:dl=\E[1M:do=\E[B:ec=\E[%dX:\ :ei=:ho=\E[H:ic=\E[1@:im=:is=\E[0;10;39m:k1=\EOP:k2=\EOQ:\ :k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\ :k;=\EOY:kB=^]:kD=\E[P:kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=^H:\ :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\ :md=\E[1m:me=\E[0;10m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:\ :nw=\r\E[S:rc=\E8:\ :..sa=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p9%t;12%e;10%;%?%p7%t;9%;m:\ :sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:st=\EH:ta=^I:\ :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:\ :tc=klone+color:# (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)pc6300plus|AT&T 6300 plus:\ :am:bs:xo:\ :co#80:li#24:\ :al=\E[1L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:\ :cm=\E[%i%2;%2H:cr=^M:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\ :ei=:ho=\E[H:ic=\E[1@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:\ :k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\EOk:k;=\EOu:kb=^H:\ :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\ :me=\E[m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:nw=^M^J:\ :se=\E[m:sf=^J:so=\E[7m:st=\EH:ue=\E[m:up=\E[A:us=\E[4m:\ :ve=\E[=1C:vi=\E[=C:# From: Benjamin C. W. Sittler <bsittler@nmt.edu>## I have a UNIX PC which I use as a terminal attached to my Linux PC.# Unfortunately, the UNIX PC terminfo entry that comes with ncurses# is broken. All the special key sequences are broken, making it unusable# with Emacs. The problem stems from the following:# # The UNIX PC has a plethora of keys (103 of them, and there's no numeric# keypad!), loadable fonts, and strange highlighting modes ("dithered"# half-intensity, "smeared" bold, and real strike-out, for example.) It also# uses resizable terminal windows, but the bundled terminal program always# uses an 80x24 window (and doesn't support seem to support a 132-column# mode.) # # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a# library which was a superset of SVr3.5 curses (called tam, for "terminal# access method".) tam includes support for real, overlapping windows,# onscreen function key labels, and bitmap graphics. But since the primary# user interface on the UNIX PC was a GUI program (ua, for "user# assistant",) and remote administration was considered important for the# machine, tam also supported VT100-compatible terminals attached to the# serial port or used across the StarLan network. To simulate the extra keys# not present on a VT100, users could press ESC and a two-letter sequence,# such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,# however, were not the same as those sent by the actual Undo key. The# actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.# (If you're interested in adding some of the tam calls to ncurses, btw, I
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -