📄 caps
字号:
enter_left_hl_mode elhlm str Xl - - ----- Enter left highlight modeenter_low_hl_mode elohlm str Xo - - ----- Enter low highlight modeenter_right_hl_mode erhlm str Xr - - ----- Enter right highlight modeenter_top_hl_mode ethlm str Xt - - ----- Enter top highlight modeenter_vertical_hl_mode evhlm str Xv - - ----- Enter vertical highlight modeset_a_attributes sgr1 str sA - - ----- Define second set of video attributes #1-#6set_pglen_inch slength str sL - - ----- YI Set page length to #1 hundredth of an inch#%.TE#%.ad## The magic token below tells the tic compiler-generator code that all the caps# past it should be ignored (not written out) when dumping terminfo objects. It# also tells the man page table generator not to pass through following lines# This means we can have obsolete capabilities and pseudo-capabilities that are# recognized for termcap or terminfo compilation, but not output.## %%-STOP-HERE-%%## Don't move this casually! In fact, don't move it at all unless you're# either doing it to add System V or XPG4 extensions, or have decided you# don't care about SVr4 binary compatibility.################################################################################ TERMCAP EXTENSION CAPABILITIES## The capabilities below are either obsolete or extensions on certain systems.# They are not used by SVR4 terminfo. Some are used by captoinfo to translate# termcap sources; the rest are listed for completeness, and in case somebody# cares about them enough to hack in code that will translate them into# terminfo capabilities.## The first part of the list is from Ross Ridge's `mytinfo' package# (comp.sources.unix, volume 26); the variable names and terminfo names (as# well as the termcap codes) match his list.## This group of codes is not marked obsolete in 4.4BSD, but have no direct# terminfo equivalents. The rs capability is specially translated to terminfo# r2, and vice versa, if an entry does not already have an r2. Similarly,# i2 is translated to r3 if there is no r3 (because SV terminfo maps is to i2).# The ug capability is thrown away, but assumed to be whatever sg is if the# latter is nonzero and we're dumping in termcap format.#termcap_init2 OTi2 str i2 - - YB--- secondary initialization stringtermcap_reset OTrs str rs - - YB-G- terminal reset stringmagic_cookie_glitch_ul OTug num ug - - YBCGE number of blanks left by ul## Obsolete termcap capabilities. Some are used for termcap translation. The# code uses the 'OT' prefix we put on obsolete capabilities to suppress# printing them in terminfo source dumps of compiled entries.#backspaces_with_bs OTbs bool bs - - YBCGE uses ^H to move leftcrt_no_scrolling OTns bool ns - - YBCG- crt cannot scrollno_correctly_working_cr OTnc bool nc - - YBCG- no way to go to start of linecarriage_return_delay OTdC num dC - - YB-G- pad needed for CRnew_line_delay OTdN num dN - - YB-G- pad needed for LFlinefeed_if_not_lf OTnl str nl - - YBCGE use to move downbackspace_if_not_bs OTbc str bc - - YBCGE move left, if not ^H## GNU termcap library extensions. The GNU termcap file distributed with# Emacs no longer uses these, but MT showed up in pre-9.0 versions of the# BSD termcap file. The name clash with terminfo MT is resolved by type# info; MT is converted to km.#gnu_has_meta_key OTMT bool MT - - ----E has meta key# gnu_tab_width OTtw num tw - - ----E tab width in spaces## GNU termcap *does* include the following extended capability, Only the# now-obsolete Ann Arbor terminals used it.## gnu_change_scroll_region OTcS str cS - - ---GE alternate set scrolling region ## The following comments describe capnames so ancient that I believe no# software uses them any longer. Some of these have to go because they# clash with terminfo names in ways that cannot be resolved by type# information.## These mytinfo codes are not used in the 4.4BSD curses code. They are# marked obsolete in the 4.4BSD manual pages.## There is one conflict with terminfo; ma is in both. This conflict is# resolved by type information.## The `ko' capability is translated by special code. It should contain a# comma-separated list of capabilities for which there are corresponding keys.# The `kn' code is accepted but ignored.## The `ma' capability seems to have been designed to map between the rogue(2)# motion keys (including jkhl) and characters emitted by arrow keys on some# primitive pre-ANSI terminals. It's so obsolete it's fossilized...## Here is a description of memory_lock_above and memory_unlock:# "You can 'freeze' data on the screen by turning on Memory Lock in a line of# text. All lines above the cursor's current line become locked in place on# the screen. Then enter data normally. When the screen fills up, any# further data entered forces the first line of unfrozen line text to scroll# under the frozen data. Lines scrolled off the screen are inserted into# memory immediately preceding the first frozen line." (from the HP 700/96# User's manual). VT100/ANSI memory lock set is \E[>2h, reset is \E[>2l.## Applications that use terminfo are supposed to behave as though xr is# always true.#linefeed_is_newline OTNL bool NL - - YB--- move down with \n# even_parity OTEP bool EP - - -B--- terminal requires even parity# odd_parity OTOP bool OP - - -B--- terminal requires odd parity# half_duplex OTHD bool HD - - -B--- terminal is half-duplex# lower_case_only OTLC bool LC - - -B--- terminal has only lower case# upper_case_only OTUC bool UC - - -B--- terminal has only upper casebackspace_delay OTdB num dB - - YB-G- padding required for ^H# form_feed_delay OTdF num dF - - -B-G- padding required for ^Lhorizontal_tab_delay OTdT num dT - - YB-G- padding required for ^I# vertical_tab_delay OTdV num dV - - -B--- padding required for ^Vnumber_of_function_keys OTkn num kn - - -B-G- count of function keysother_non_function_keys OTko str ko - - -B-G- list of self-mapped keycapsarrow_key_map OTma str ma - - YBC-- map arrow keys rogue(1) motion keys# memory_lock_above OTml str ml - - -B--- lock visible screen memory above the current line# memory_unlock OTmu str mu - - -B--- unlock visible screen memory above the current linehas_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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -