📄 caps.keys
字号:
set_background setb str Sb - - ----- Set background color #1## SVr4 added these capabilities to support printers#change_char_pitch cpi str ZA - - ----- Change number of characters per inch to #1change_line_pitch lpi str ZB - - ----- Change number of lines per inch to #1change_res_horz chr str ZC - - ----- Change horizontal resolution to #1change_res_vert cvr str ZD - - ----- Change vertical resolution to #1define_char defc str ZE - - ----- Define a character #1, #2 dots wide, descender #3enter_doublewide_mode swidm str ZF - - ----- Enter double-wide modeenter_draft_quality sdrfq str ZG - - ----- Enter draft-quality modeenter_italics_mode sitm str ZH - - ----- Enter italic modeenter_leftward_mode slm str ZI - - ----- Start leftward carriage motionenter_micro_mode smicm str ZJ - - ----- Start micro-motion modeenter_near_letter_quality snlq str ZK - - ----- Enter NLQ modeenter_normal_quality snrmq str ZL - - ----- Enter normal-quality modeenter_shadow_mode sshm str ZM - - ----- Enter shadow-print modeenter_subscript_mode ssubm str ZN - - ----- Enter subscript modeenter_superscript_mode ssupm str ZO - - ----- Enter superscript modeenter_upward_mode sum str ZP - - ----- Start upward carriage motionexit_doublewide_mode rwidm str ZQ - - ----- End double-wide modeexit_italics_mode ritm str ZR - - ----- End italic modeexit_leftward_mode rlm str ZS - - ----- End left-motion modeexit_micro_mode rmicm str ZT - - ----- End micro-motion modeexit_shadow_mode rshm str ZU - - ----- End shadow-print modeexit_subscript_mode rsubm str ZV - - ----- End subscript modeexit_superscript_mode rsupm str ZW - - ----- End superscript modeexit_upward_mode rum str ZX - - ----- End reverse character motionmicro_column_address mhpa str ZY - - ----- Like column_address in micro modemicro_down mcud1 str ZZ - - ----- Like cursor_down in micro modemicro_left mcub1 str Za - - ----- Like cursor_left in micro modemicro_right mcuf1 str Zb - - ----- Like cursor_right in micro modemicro_row_address mvpa str Zc - - ----- Like row_address #1 in micro modemicro_up mcuu1 str Zd - - ----- Like cursor_up in micro modeorder_of_pins porder str Ze - - ----- Match software bits to print-head pinsparm_down_micro mcud str Zf - - ----- Like parm_down_cursor in micro modeparm_left_micro mcub str Zg - - ----- Like parm_left_cursor in micro modeparm_right_micro mcuf str Zh - - ----- Like parm_right_cursor in micro modeparm_up_micro mcuu str Zi - - ----- Like parm_up_cursor in micro modeselect_char_set scs str Zj - - ----- Select character set, #1set_bottom_margin smgb str Zk - - ----- Set bottom margin at current lineset_bottom_margin_parm smgbp str Zl - - ----- Set bottom margin at line #1 or (if smgtp is not given) #2 lines from bottomset_left_margin_parm smglp str Zm - - ----- Set left (right) margin at column #1set_right_margin_parm smgrp str Zn - - ----- Set right margin at column #1set_top_margin smgt str Zo - - ----- Set top margin at current lineset_top_margin_parm smgtp str Zp - - ----- Set top (bottom) margin at row #1start_bit_image sbim str Zq - - ----- Start printing bit image graphicsstart_char_set_def scsd str Zr - - ----- Start character set definition #1, with #2 characters in the setstop_bit_image rbim str Zs - - ----- Stop printing bit image graphicsstop_char_set_def rcsd str Zt - - ----- End definition of character set #1subscript_characters subcs str Zu - - ----- List of subscriptable characterssuperscript_characters supcs str Zv - - ----- List of superscriptable charactersthese_cause_cr docr str Zw - - ----- Printing any of these characters causes CRzero_motion zerom str Zx - - ----- No motion for subsequent character#%.TE#%.ad#%#%The following string capabilities are present in the SVr4.0 term structure,#%but were originally not documented in the man page.#%#%.na#%.TS H#%center expand;#%c l l c#%c l l c#%lw25 lw6 lw2 lw18.#%\fBVariable Cap- TCap Description\fR#%\fBString name Code\fRchar_set_names csnm str Zy - - ----- Produce #1'th item from list of character set nameskey_mouse kmous str Km KEY_MOUSE 0631 ----- Mouse event has occurredmouse_info minfo str Mi - - ----- Mouse status informationreq_mouse_pos reqmp str RQ - - ----- Request mouse positionget_mouse getm str Gm - - ----- Curses should get button events, parameter #1 not documented.set_a_foreground setaf str AF - - ----- Set foreground color to #1, using ANSI escapeset_a_background setab str AB - - ----- Set background color to #1, using ANSI escapepkey_plab pfxl str xl - - ----- Program function key #1 to type string #2 and show string #3device_type devt str dv - - ----- Indicate language/codeset supportcode_set_init csin str ci - - ----- Init sequence for multiple codesetsset0_des_seq s0ds str s0 - - ----- Shift to codeset 0 (EUC set 0, ASCII)set1_des_seq s1ds str s1 - - ----- Shift to codeset 1set2_des_seq s2ds str s2 - - ----- Shift to codeset 2set3_des_seq s3ds str s3 - - ----- Shift to codeset 3set_lr_margin smglr str ML - - ----- Set both left and right margins to #1, #2. (ML is not in BSD termcap).set_tb_margin smgtb str MT - - ----- Sets both top and bottom margins to #1, #2bit_image_repeat birep str Xy - - ----- Repeat bit image cell #1 #2 timesbit_image_newline binel str Zz - - ----- Move to next row of the bit imagebit_image_carriage_return bicr str Yv - - ----- Move to beginning of same rowcolor_names colornm str Yw - - ----- Give name for color #1define_bit_image_region defbi str Yx - - ----- Define rectangualar bit image regionend_bit_image_region endbi str Yy - - ----- End a bit-image regionset_color_band setcolor str Yz - - ----- Change to ribbon color #1set_page_length slines str YZ - - ----- Set page length to #1 lines## SVr4 added these capabilities for direct PC-clone support#display_pc_char dispc str S1 - - ----- Display PC character #1enter_pc_charset_mode smpch str S2 - - ----- Enter PC character display modeexit_pc_charset_mode rmpch str S3 - - ----- Exit PC character display modeenter_scancode_mode smsc str S4 - - ----- Enter PC scancode modeexit_scancode_mode rmsc str S5 - - ----- Exit PC scancode modepc_term_options pctrm str S6 - - ----- PC terminal optionsscancode_escape scesc str S7 - - ----- Escape for scancode emulationalt_scancode_esc scesa str S8 - - ----- Alternate escape for scancode emulation#%.TE#%.ad#%#%.in .8i#%The XSI Curses standard added these. They are some post-4.1 #%versions of System V curses, e.g., Solaris 2.5 and IRIX 6.x.#%The \fBncurses\fR termcap names for them are invented; according to the#%XSI Curses standard, they have no termcap names. If your compiled terminfo#%entries use these, they may not be binary-compatible with System V terminfo#%entries after SVr4.1; beware!#%#%.na#%.TS H#%center expand;#%c l l c#%c l l c#%lw25 lw6 lw2 lw20.#%\fBVariable Cap- TCap Description\fR#%\fBString name Code\fRenter_horizontal_hl_mode ehhlm str Xh - - ----- Enter horizontal highlight modeenter_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 line
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -