📄 caps.keys
字号:
has_hardware_tabs OTpt bool pt - - YB--- has 8-char tabs invoked with ^Ireturn_does_clr_eol OTxr bool xr - - YB--- return clears the line# tek_4025_insert_line OTxx bool xx - - -BC-- Tektronix 4025 insert-line glitch## mytinfo described this as a termcap capability, but it's not listed in the# 4.4BSD man pages, and not found in the 4.4BSD termcap file. The ncurses# package, like System V, behaves as though it is always true.## rind_only_at_top OTxq bool xq - - ----- reverse index only works from top line## University of Waterloo termcap extensions (as described in mytinfo).# The `xl' termcap file clashes with a terminfo name; this ambiguity cannot# be resolved by a type check. The descriptions are guesses from what was# in the mytinfo tables. ## key_interrupt_char OTki str ki - - ----- string set by interrupt key (?)# key_kill_char OTkk str kk - - ----- string set by kill key (?)# key_suspend_char OTkz str kz - - ----- string set by suspend key (?)# initialization_messy OTxc bool xc - - ----- initialization leaves garbage on the screen (?)# ind_at_bottom_does_cr OTxl bool xl - - ----- index does a carriage return## Nonstandard capabilities unique to Ross Ridge's `mytinfo' package.# SR clashes with a terminfo name; this ambiguity cannot be resolved by a type# check.## scroll_left OTsl1 str Sl - - ----- scroll screen leftward# scroll_right OTsr1 str Sr - - ----- scroll screen rightward# parm_scroll_left OTsl str SL - - ----- scroll screen leftward #1 characters# parm_scroll_right OTsr str SR - - ----- scroll screen rightward #1 characters## The mytinfo capabilities end here.## XENIX extensions:## Xenix defined its own set of forms-drawing capabilities:## cap IBM ASCII description ACS ASCII# --- ----------- -------------------- ------------- ------# G1 191 \277 M-? single upper right ACS_URCORNER# G2 218 \332 M-Z single upper left ACS_ULCORNER# G3 192 \300 M-@ single lower left ACS_LLCORNER# G4 217 \331 M-Y single lower right ACS_LRCORNER# G5 187 \273 M-; double upper right# G6 201 \311 M-I double upper left# G7 200 \310 M-H double lower left# G8 188 \274 M-< double lower right# GC 197 \305 M-E single intersection ACS_PLUS _ _# GD 194 \302 M-B single down-tick ACS_TTEE |# GH 196 \304 M-D single horizontal line ACS_HLINE# GL 180 \264 M-4 single left tick ACS_RTEE -|# GR 195 \303 M-C single right tick ACS_LTEE |-# GU 193 \301 M-A single up tick ACS_BTEE _|_# GV 179 \263 M-3 single vertical line ACS_VLINE# Gc 206 \316 M-N double intersection# Gd 203 \313 M-K double down tick# Gh 205 \315 M-M double horizontal line# Gl 204 \204 M-L double left tick# Gr 185 \271 M-9 double right tick# Gu 202 \312 M-J double up tick# Gv 186 \272 M-: double vertical line## The compiler will translate the single-line caps and discard the others# (via IGNORE aliases further down). We don't want to do normal pad # translation on these, they're often single-character printable ASCII# strings that happen to be numerics. There's awk code in parametrized.sh# that detects the acs_ prefix and uses it to suppress pad translation.# These terminfo names are invented.#acs_ulcorner OTG2 str G2 - - ----- single upper leftacs_llcorner OTG3 str G3 - - ----- single lower leftacs_urcorner OTG1 str G1 - - ----- single upper rightacs_lrcorner OTG4 str G4 - - ----- single lower rightacs_ltee OTGR str GR - - ----- tee pointing rightacs_rtee OTGL str GL - - ----- tee pointing leftacs_btee OTGU str GU - - ----- tee pointing upacs_ttee OTGD str GD - - ----- tee pointing downacs_hline OTGH str GH - - ----- single horizontal lineacs_vline OTGV str GV - - ----- single vertical lineacs_plus OTGC str GC - - ----- single intersection################################################################################ TERMINFO EXTENSION CAPABILITIES## This section is almost all comments. What it's mainly for is to describe# what capabilities need to be squeezed out to get down to the XSI Curses# standard set. They are flagged with K.## HP extensions## These extensions follow ptr_non (replacing everything after it) in HP# terminfo files. Except for memory_lock and memory_unlock, they are# functionally identical to SVr4 extensions, but they make the binary format# different. Grrr....#memory_lock meml str ml - - ----K memory lock abovememory_unlock memu str mu - - ----K memory unlock#plab_norm pln str pn - - ----- program label #1 to show string #2#label_on smln str LO - - ----- turn on soft labels#label_off rmln str LF - - ----- turn off soft labels#key_f11 kf11 str F1 - - ----- F11 function key#key_f12 kf12 str F2 - - ----- F12 function key#key_f13 kf13 str F3 - - ----- F13 function key#key_f14 kf14 str F4 - - ----- F14 function key#key_f15 kf15 str F5 - - ----- F15 function key#key_f16 kf16 str F6 - - ----- F16 function key#key_f17 kf17 str F7 - - ----- F17 function key#key_f18 kf18 str F8 - - ----- F18 function key#key_f19 kf19 str F9 - - ----- F19 function key#key_f20 kf20 str FA - - ----- F20 function key#key_f21 kf21 str FB - - ----- F21 function key#key_f22 kf22 str FC - - ----- F22 function key#key_f23 kf23 str FD - - ----- F23 function key#key_f24 kf24 str FE - - ----- F24 function key#key_f25 kf25 str FF - - ----- F25 function key#key_f26 kf26 str FG - - ----- F26 function key#key_f27 kf27 str FH - - ----- F27 function key#key_f28 kf28 str FI - - ----- F28 function key#key_f29 kf29 str FJ - - ----- F29 function key#key_f30 kf30 str FK - - ----- F30 function key#key_f31 kf31 str FL - - ----- F31 function key#key_f32 kf32 str FM - - ----- F32 function key#key_f33 kf33 str FN - - ----- F33 function key#key_f34 kf34 str FO - - ----- F34 function key#key_f35 kf35 str FP - - ----- F35 function key#key_f36 kf36 str FQ - - ----- F36 function key#key_f37 kf37 str FR - - ----- F37 function key#key_f38 kf38 str FS - - ----- F38 function key#key_f39 kf39 str FT - - ----- F39 function key#key_f40 kf40 str FU - - ----- F40 function key#key_f41 kf41 str FV - - ----- F41 function key#key_f42 kf42 str FW - - ----- F42 function key#key_f43 kf43 str FX - - ----- F43 function key#key_f44 kf44 str FY - - ----- F44 function key#key_f45 kf45 str FZ - - ----- F45 function key#key_f46 kf46 str Fa - - ----- F46 function key#key_f47 kf47 str Fb - - ----- F47 function key#key_f48 kf48 str Fc - - ----- F48 function key#key_f49 kf49 str Fd - - ----- F49 function key#key_f50 kf50 str Fe - - ----- F50 function key#key_f51 kf51 str Ff - - ----- F51 function key#key_f52 kf52 str Fg - - ----- F52 function key#key_f53 kf53 str Fh - - ----- F53 function key#key_f54 kf54 str Fi - - ----- F54 function key#key_f55 kf55 str Fj - - ----- F55 function key#key_f56 kf56 str Fk - - ----- F56 function key#key_f57 kf57 str Fl - - ----- F57 function key#key_f58 kf58 str Fm - - ----- F58 function key#key_f59 kf59 str Fn - - ----- F59 function key#key_f60 kf60 str Fo - - ----- F60 function key#key_f61 kf61 str Fp - - ----- F61 function key#key_f62 kf62 str Fq - - ----- F62 function key#key_f63 kf63 str Fr - - ----- F63 function key## IBM extensions## These extensions follow ptr_non (replacing everything after it) in IBM# terminfo files.## The places in the box[12] capabilities correspond to acsc characters, here is# the mapping:## box1[0] = ACS_ULCORNER# box1[1] = ACS_HLINE # box1[2] = ACS_URCORNER# box1[3] = ACS_VLINE# box1[4] = ACS_LRCORNER# box1[5] = ACS_LLCORNER# box1[6] = ACS_TTEE# box1[7] = ACS_RTEE# box1[8] = ACS_BTEE# box1[9] = ACS_LTEE# box1[10] = ACS_PLUS## The box2 characters are the double-line versions of these forms graphics.#box_chars_1 box1 str bx - - ----K box characters primary set#box_chars_2 box2 str by - - ----K box characters secondary set#box_attr_1 batt1 str Bx - - ----K attributes for box1#box_attr_2 batt2 str By - - ----K attributes for box2#color_bg_0 colb0 str d0 - - ----K background color 0#color_bg_1 colb1 str d1 - - ----K background color 1#color_bg_2 colb2 str d2 - - ----K background color 2#color_bg_3 colb3 str d3 - - ----K background color 3#color_bg_4 colb4 str d4 - - ----K background color 4#color_bg_5 colb5 str d5 - - ----K background color 5#color_bg_6 colb6 str d6 - - ----K background color 6#color_bg_7 colb7 str d7 - - ----K background color 7#color_fg_0 colf0 str c0 - - ----K foreground color 0#color_fg_1 colf1 str c1 - - ----K foreground color 1#color_fg_2 colf2 str c2 - - ----K foreground color 2#color_fg_3 colf3 str c3 - - ----K foreground color 3#color_fg_4 colf4 str c4 - - ----K foreground color 4#color_fg_5 colf5 str c5 - - ----K foreground color 5#color_fg_6 colf6 str c6 - - ----K foreground color 6#color_fg_7 colf7 str c7 - - ----K foreground color 7#font_0 font0 str f0 - - ----- select font 0#font_1 font1 str f1 - - ----- select font 1#font_2 font2 str f2 - - ----- select font 2#font_3 font3 str f3 - - ----- select font 3#font_4 font4 str f4 - - ----K select font 4#font_5 font5 str f5 - - ----K select font 5#font_6 font6 str f6 - - ----K select font 6#font_7 font7 str f7 - - ----K select font 7#key_back_tab kbtab str k0 - - ----- backtab key#key_do kdo str ki - - ----K do request key#key_command kcmd str kd - - ----K command-request key#key_command_pane kcpn str kW - - ----K command-pane key#key_end kend str kw - - ----- end key#key_help khlp str kq - - ----- help key#key_newline knl str nl - - ----K newline key#key_next_pane knpn str kv - - ----K next-pane key#key_prev_cmd kppn str kp - - ----K previous-command key#key_prev_pane kppn str kV - - ----K previous-pane key#key_quit kquit str kQ - - ----K quit key#key_select ksel str kU - - ----- select key#key_scroll_left kscl str kz - - ----K scroll left#key_scroll_right kscr str kZ - - ----K scroll right#key_tab ktab str ko - - ----K tab key#key_smap_in1 kmpf1 str Kv - - ----K special mapped key 1 input#key_smap_out1 kmpt1 str KV - - ----K special mapped key 1 output#key_smap_in2 kmpf2 str Kw - - ----K special mapped key 2 input#key_smap_out2 kmpt2 str KW - - ----K special mapped key 2 output#key_smap_in3 kmpf3 str Kx - - ----K special mapped key 3 input#key_smap_out3 kmpt3 str KX - - ----K special mapped key 3 output#key_smap_in4 kmpf4 str Ky - - ----K special mapped key 4 input#key_smap_out4 kmpt4 str KY - - ----K special mapped key 4 output#key_smap_in5 kmpf5 str Kz - - ----K special mapped key 5 input#key_smap_out5 kmpt5 str KZ - - ----K special mapped key 5 output#appl_defined_str apstr str za - - ----K application-defined string# The key_smap_in[6789] and key_smap_out[6789] capabilities aren't described in# the IBM manual pages, so the cap name strings are guesses. The terminfo# names are almost certainly right, the termcap ones almost certainly wrong.#key_smap_in6 kmpf6 str k! - - ----K special mapped key 6 input#key_smap_out6 kmpt6 str K@ - - ----K special mapped key 6 output#key_smap_in7 kmpf7 str k# - - ----K special mapped key 7 input#key_smap_out7 kmpt7 str K$ - - ----K special mapped key 7
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -