📄 terminfo.src
字号:
# documentation (except for the keyboard key reassignment feature, which# doesn'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, OTbs, 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+sgr, ansi.sys|ANSI.SYS 3.1 and later versions, el=\E[K, use=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 <smkx>/<rmkx>, 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 <kcub1> 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, is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, rmkx=\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, smkx=\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, use=ansi.sys, ## Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS, dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, use=ansi.sys, ## See ansi.sysk and nansi.sys above.nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi, dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, use=ansi.sysk, #### ANSI console types##### BeOS## BeOS entry for Terminal program Seems to be almost ANSIbeterm|BeOS Terminal, am, eo, mir, msgr, xenl, xon, colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64, bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\E[11~, kf10=\E[20~, kf11=\E[21~, kf12=\E[22~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~, kf9=\E[19~, khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E[?4l, rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, setb=\E[%p1%{40}%+%cm, setf=\E[%p1%{30}%+%cm, sgr0=\E[0;10m, smir=\E[4h, smkx=\E[?4h, smso=\E[7m, smul=\E[4m, u6=\E[%i%p1%d;%p2%dR, u7=\E[6n, vpa=\E[%i%p1%dd, #### 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. *# * *# ***************************************************************************## 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. *# * *# ***************************************************************************## All linux kernels since 1.2.13 (at least) set the screen size# themselves; this entry assumes that capability.#linux-basic|linux console, am, bce, eo, mir, msgr, xenl, xon, it#8, ncv#18, acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, bel=^G, clear=\E[H\E[J, cr=^M, 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, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, kb2=\E[G, kbs=\177, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, sc=\E7, sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, smam=\E[?7h, smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd, use=klone+sgr, use=ecma+color, linux-m|Linux console no color, colors@, pairs@, setab@, setaf@, setb@, setf@, use=linux, # 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 supposedly back-portable to older SV curses (although it has worked fine# on Solaris for several years) and not supported in ncurses versions before# 1.9.9.linux-c-nc|linux console with color-change, ccc, initc=\E]P%p1%x%p2%{256}%*%{1000}%/%02x%p3%{256}%*%{1000}%/%02x%p4%{256}%*%{1000}%/%02x, oc=\E]R, use=linux-basic, # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996linux-c|linux console 1.3.6+ for older ncurses, ccc, initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%'a'%+%c%e%p1%d%;%p2%{256}%*%{1000}%/%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%{256}%*%{1000}%/%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%{256}%*%{1000}%/%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, use=linux-basic, # 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>.linux|linux console, civis=\E[?25l\E[?1c, cnorm=\E[?25h\E[?0c, cvvis=\E[?25h\E[?8c, use=linux-c-nc, # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of filelinux-nic|linux with ich/ich1 suppressed for non-curses programs, ich@, ich1@, use=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, acsc=+\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, use=linux, use=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, use=linux, use=klone+koi8acs, # Entry for the latin1 and latin2 fontslinux-lat|linux with latin1 or latin2 alternate character set, acsc=+\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, use=linux, # This uses graphics from VT codeset instead of from cp437.# reason: cp437 (aka "straight to font") is not functional under luit.# from: Andrey V Lukyanov <land@long.yar.ru>.linux-vt|linux console using VT codes for graphics, acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~, rmacs=\E(K, rmpch@, sgr@, sgr0=\E[0m\E(K\017, smacs=\E(0, smpch@, use=linux, #### Mach## From: Matthew Vernon <mcv21@pick.sel.cam.ac.uk>mach|Mach Console, am, km, cols#80, it#8, lines#25, bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 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, kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[9, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@, kll=\E[F, knp=\E[U, kpp=\E[V, rev=\E[7m, rmso=\E[0m, rmul=\E[24m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, mach-bold|Mach Console with bold instead of underline, rmul=\E[0m, smul=\E[1m, use=mach, mach-color|Mach Console with ANSI color, colors#8, pairs#64, dim=\E[2m, invis=\E[8m, op=\E[37;40m, rmso=\E[27m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=mach, # From: Marcus Brinkmann# http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/hurd/hurd/console/## Comments in the original are summarized here:## hurd uses 8-bit characters (km).## Although it doesn't do XON/XOFF, we don't want padding characters (xon).## Regarding compatibility to vt100: hurd doesn't specify <xenl>, as we don't# have the eat_newline_glitch. It doesn't support setting or removing tab# stops (hts/tbc).## hurd uses ^H instead of \E[D for cub1, as only ^H implements <bw> and it is# one byte instead three.## <ich1> is not included because hurd has insert mode.## hurd doesn't use ^J for scrolling, because this could put things into the# scrollback buffer.## gsbom/grbom are used to enable/disable real bold (not intensity bright) mode. # This is a GNU extension.## The original has commented-out ncv, but is restored here.## Reading the source, RIS resets cnorm, but not xmous.hurd|The GNU Hurd console server, am, bce, bw, eo, km, mir, msgr, xon, colors#8, it#8, ncv#18, pairs#64, acsc=++\,\,--..00ii``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, clear=\Ec, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, flash=\Eg, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS, invis=\E[8m, kb2=\E[G, kbs=\177, kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, ritm=\E[23m, rmacs=\E[10m, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, rs1=\EM\E[?1000l, sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, sgr0=\E[0m, sitm=\E[3m, smacs=\E[11m, smir=\E[4h, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd, grbom=\E[>1l, gsbom=\E[>1h,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -