📄 caps.keys
字号:
back_color_erase bce bool ut - - ----- screen erased with background colorhue_lightness_saturation hls bool hl - - ----- terminal uses only HLS color notation (Tektronix)col_addr_glitch xhpa bool YA - - ----- only positive motion for hpa/mhpa capscr_cancels_micro_mode crxm bool YB - - ----- using cr turns off micro modehas_print_wheel daisy bool YC - - ----- printer needs operator to change character setrow_addr_glitch xvpa bool YD - - ----- only positive motion for vpa/mvpa capssemi_auto_right_margin sam bool YE - - ----- printing in last column causes crcpi_changes_res cpix bool YF - - ----- changing character pitch changes resolutionlpi_changes_res lpix bool YG - - ----- changing line pitch changes resolution#%.TE#%.ad#%#%These are the numeric capabilities:#%#%.na#%.TS H#%center expand;#%c l l c#%c l l c#%lw25 lw6 lw2 lw20.#%\fBVariable Cap- TCap Description\fR#%\fBNumeric name Code\fRcolumns cols num co - - YBCGE number of columns in a lineinit_tabs it num it - - YB-G- tabs initially every # spaceslines lines num li - - YBCGE number of lines on screen or pagelines_of_memory lm num lm - - YB-G- lines of memory if > line. 0 means variesmagic_cookie_glitch xmc num sg - - YBCGE number of blank characters left by smso or rmsopadding_baud_rate pb num pb - - YB-GE lowest baud rate where padding neededvirtual_terminal vt num vt - - YB--- virtual terminal number (CB/unix)width_status_line wsl num ws - - YB-G- number of columns in status linenum_labels nlab num Nl - - ----- number of labels on screenlabel_height lh num lh - - ----- rows in each labellabel_width lw num lw - - ----- columns in each labelmax_attributes ma num ma - - YBC-- maximum combined attributes terminal can handlemaximum_windows wnum num MW - - ----- maximum number of defineable windows# These came in with SVr4's color supportmax_colors colors num Co - - ----- maximum number of colors on screenmax_pairs pairs num pa - - ----- maximum number of color-pairs on the screenno_color_video ncv num NC - - ----- video attributes that can't be used with colors#%.TE#%.ad#%#%The following numeric capabilities are present in the SVr4.0 term structure,#%but are not yet documented in the man page. They came in with SVr4's#%printer support.#%#%.na#%.TS H#%center expand;#%c l l c#%c l l c#%lw25 lw6 lw2 lw20.#%\fBVariable Cap- TCap Description\fR#%\fBNumeric name Code\fRbuffer_capacity bufsz num Ya - - ----- numbers of bytes buffered before printingdot_vert_spacing spinv num Yb - - ----- spacing of pins vertically in pins per inchdot_horz_spacing spinh num Yc - - ----- spacing of dots horizontally in dots per inchmax_micro_address maddr num Yd - - ----- maximum value in micro_..._addressmax_micro_jump mjump num Ye - - ----- maximum value in parm_..._micromicro_col_size mcs num Yf - - ----- character step size when in micro modemicro_line_size mls num Yg - - ----- line step size when in micro modenumber_of_pins npins num Yh - - ----- numbers of pins in print-headoutput_res_char orc num Yi - - ----- horizontal resolution in units per lineoutput_res_line orl num Yj - - ----- vertical resolution in units per lineoutput_res_horz_inch orhi num Yk - - ----- horizontal resolution in units per inchoutput_res_vert_inch orvi num Yl - - ----- vertical resolution in units per inchprint_rate cps num Ym - - ----- print rate in characters per secondwide_char_size widcs num Yn - - ----- character step size when in double wide modebuttons btns num BT - - ----- number of buttons on mousebit_image_entwining bitwin num Yo - - ----- number of passes for each bit-image rowbit_image_type bitype num Yp - - ----- type of bit-image device#%.TE#%.ad#%#%These are the string capabilities:#%#%.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\fRback_tab cbt str bt - - YBCGE back tab (P)bell bel str bl - - YB-GE audible signal (bell) (P)carriage_return cr str cr - - YBCGE carriage return (P*) (P*)change_scroll_region csr str cs - - YBCGE change region to line #1 to line #2 (P)clear_all_tabs tbc str ct - - YB-G- clear all tab stops (P)clear_screen clear str cl - - YBCGE clear screen and home cursor (P*)clr_eol el str ce - - YBCGE clear to end of line (P)clr_eos ed str cd - - YBCGE clear to end of screen (P*)column_address hpa str ch - - -B-GE* horizontal position #1, absolute (P)command_character cmdch str CC - - YB-G- terminal settable cmd character in prototype !?cursor_address cup str cm - - YBCGE move to row #1 columns #2cursor_down cud1 str do - - YBCGE down one linecursor_home home str ho - - YBCGE home cursor (if no cup)cursor_invisible civis str vi - - YB-G- make cursor invisiblecursor_left cub1 str le - - YBCGE move left one spacecursor_mem_address mrcup str CM - - YB-G- memory relative cursor addressing, move to row #1 columns #2cursor_normal cnorm str ve - - YBCGE make cursor appear normal (undo civis/cvvis)cursor_right cuf1 str nd - - YBCGE non-destructive space (move right one space)cursor_to_ll ll str ll - - YBCGE last line, first column (if no cup)cursor_up cuu1 str up - - YBCGE up one linecursor_visible cvvis str vs - - YBCGE make cursor very visibledelete_character dch1 str dc - - YBCGE delete character (P*)delete_line dl1 str dl - - YBCGE delete line (P*)dis_status_line dsl str ds - - YB-G- disable status linedown_half_line hd str hd - - YB-G- half a line downenter_alt_charset_mode smacs str as - - YB-G- start alternate character set (P)enter_blink_mode blink str mb - - YB-G- turn on blinkingenter_bold_mode bold str md - - YB-G- turn on bold (extra bright) modeenter_ca_mode smcup str ti - - YBCGE string to start programs using cupenter_delete_mode smdc str dm - - YBCGE enter delete modeenter_dim_mode dim str mh - - YB-G- turn on half-bright modeenter_insert_mode smir str im - - YBCGE enter insert modeenter_secure_mode invis str mk - - -B-G-* turn on blank mode (characters invisible)enter_protected_mode prot str mp - - -B-G-* turn on protected modeenter_reverse_mode rev str mr - - YB-G- turn on reverse video modeenter_standout_mode smso str so - - YBCGE begin standout modeenter_underline_mode smul str us - - YBCGE begin underline modeerase_chars ech str ec - - YB-G- erase #1 characters (P)exit_alt_charset_mode rmacs str ae - - YB-G- end alternate character set (P)exit_attribute_mode sgr0 str me - - YB-GE turn off all attributesexit_ca_mode rmcup str te - - YBCGE strings to end programs using cupexit_delete_mode rmdc str ed - - YBCGE end delete modeexit_insert_mode rmir str ei - - YBCGE exit insert modeexit_standout_mode rmso str se - - YBCGE exit standout modeexit_underline_mode rmul str ue - - YBCGE exit underline modeflash_screen flash str vb - - YBCGE visible bell (may not move cursor)form_feed ff str ff - - YB-G- hardcopy terminal page eject (P*)from_status_line fsl str fs - - YB-G- return from status lineinit_1string is1 str i1 - - YB-G- initialization stringinit_2string is2 str is - - YB-G- initialization stringinit_3string is3 str i3 - - YB-G- initialization stringinit_file if str if - - YB-G- name of initialization fileinsert_character ich1 str ic - - YBCGE insert character (P)insert_line il1 str al - - YBCGE insert line (P*)insert_padding ip str ip - - YBCGE insert padding after inserted characterkey_backspace kbs str kb KEY_BACKSPACE 0407 YB-G- backspace keykey_catab ktbc str ka KEY_CATAB 0526 -B-G-* clear-all-tabs keykey_clear kclr str kC KEY_CLEAR 0515 -B-G-* clear-screen or erase keykey_ctab kctab str kt KEY_CTAB 0525 -B-G-* clear-tab keykey_dc kdch1 str kD KEY_DC 0512 YB-G- delete-character keykey_dl kdl1 str kL KEY_DL 0510 -B-G-* delete-line keykey_down kcud1 str kd KEY_DOWN 0402 YBCGE down-arrow keykey_eic krmir str kM KEY_EIC 0514 -B-G-* sent by rmir or smir in insert modekey_eol kel str kE KEY_EOL 0517 -B-G-* clear-to-end-of-line keykey_eos ked str kS KEY_EOS 0516 -B-G-* clear-to-end-of-screen keykey_f0 kf0 str k0 KEY_F(0) 0410 YBCGE F0 function keykey_f1 kf1 str k1 KEY_F(1) - YBCGE F1 function keykey_f10 kf10 str k; KEY_F(10) - ----E F10 function keykey_f2 kf2 str k2 KEY_F(2) - YBCGE F2 function keykey_f3 kf3 str k3 KEY_F(3) - YBCGE F3 function keykey_f4 kf4 str k4 KEY_F(4) - YBCGE F4 function keykey_f5 kf5 str k5 KEY_F(5) - YBCGE F5 function keykey_f6 kf6 str k6 KEY_F(6) - YBCGE F6 function keykey_f7 kf7 str k7 KEY_F(7) - YBCGE F7 function keykey_f8 kf8 str k8 KEY_F(8) - YBCGE F8 function keykey_f9 kf9 str k9 KEY_F(9) - YBCGE F9 function keykey_home khome str kh KEY_HOME 0406 YBCGE home keykey_ic kich1 str kI KEY_IC 0513 YB-GE insert-character keykey_il kil1 str kA KEY_IL 0511 -B-G-* insert-line keykey_left kcub1 str kl KEY_LEFT 0404 YBCGE left-arrow keykey_ll kll str kH KEY_LL 0533 YB-G- lower-left key (home down)key_npage knp str kN KEY_NPAGE 0522 YB-GE next-page keykey_ppage kpp str kP KEY_PPAGE 0523 YB-GE previous-page keykey_right kcuf1 str kr KEY_RIGHT 0405 YBCGE right-arrow keykey_sf kind str kF KEY_SF 0520 -B-G-* scroll-forward keykey_sr kri str kR KEY_SR 0521 -B-G-* scroll-backward keykey_stab khts str kT KEY_STAB 0524 -B-G-* set-tab keykey_up kcuu1 str ku KEY_UP 0403 YBCGE up-arrow keykeypad_local rmkx str ke - - YBCGE leave 'keyboard_transmit' modekeypad_xmit smkx str ks - - YBCGE enter 'keyboard_transmit' modelab_f0 lf0 str l0 - - -B-G-* label on function key f0 if not f0lab_f1 lf1 str l1 - - -B-G-* label on function key f1 if not f1lab_f10 lf10 str la - - ----- label on function key f10 if not f10lab_f2 lf2 str l2 - - -B-G-* label on function key f2 if not f2lab_f3 lf3 str l3 - - -B-G-* label on function key f3 if not f3lab_f4 lf4 str l4 - - -B-G-* label on function key f4 if not f4lab_f5 lf5 str l5 - - -B-G-* label on function key f5 if not f5lab_f6 lf6 str l6 - - -B-G-* label on function key f6 if not f6lab_f7 lf7 str l7 - - -B-G-* label on function key f7 if not f7lab_f8 lf8 str l8 - - -B-G-* label on function key f8 if not f8lab_f9 lf9 str l9 - - -B-G-* label on function key f9 if not f9meta_off rmm str mo - - YB-G-* turn off meta modemeta_on smm str mm - - YB-G-* turn on meta mode (8th-bit on)newline nel str nw - - YB-G-* newline (behave like cr followed by lf)pad_char pad str pc - - YBCGE padding char (instead of null)parm_dch dch str DC - - YB-GE delete #1 characters (P*)parm_delete_line dl str DL - - YBCGE delete #1 lines (P*)parm_down_cursor cud str DO - - YBCGE down #1 lines (P*)parm_ich ich str IC - - YB-GE insert #1 characters (P*)parm_index indn str SF - - YBCG- scroll forward #1 lines (P)parm_insert_line il str AL - - YBCGE insert #1 lines (P*)parm_left_cursor cub str LE - - YBCGE move #1 characters to the left (P)parm_right_cursor cuf str RI - - YBCGE move #1 characters to the right (P*)parm_rindex rin str SR - - YBCG- scroll back #1 lines (P)parm_up_cursor cuu str UP - - YBCGE up #1 lines (P*)pkey_key pfkey str pk - - -B--- program function key #1 to type string #2pkey_local pfloc str pl - - -B--- program function key #1 to execute string #2pkey_xmit pfx str px - - -B--- program function key #1 to transmit string #2print_screen mc0 str ps - - -B-G-* print contents of screenprtr_off mc4 str pf - - -B-G-* turn off printerprtr_on mc5 str po - - -B-G-* turn on printerrepeat_char rep str rp - - YB-GE repeat char #1 #2 times (P*)reset_1string rs1 str r1 - - -B--- reset stringreset_2string rs2 str r2 - - -B--- reset stringreset_3string rs3 str r3 - - -B--- reset stringreset_file rf str rf - - -B--- name of reset filerestore_cursor rc str rc - - YBCG- restore cursor to position of last save_cursorrow_address vpa str cv - - -B-GE* vertical position #1 absolute (P)save_cursor sc str sc - - YBCG- save current cursor position (P)scroll_forward ind str sf - - YBCGE scroll text up (P)scroll_reverse ri str sr - - YBCGE scroll text down (P)set_attributes sgr str sa - - YB-G- define video attributes #1-#9 (PG9)set_tab hts str st - - YB-G- set a tab in every row, current columnsset_window wind str wi - - -B-GE current window is lines #1-#2 cols #3-#4tab ht str ta - - YBCGE tab to next 8-space hardware tab stopto_status_line tsl str ts - - YB-G- move to status line, column #1underline_char uc str uc - - YBCG- underline char and move past itup_half_line hu str hu - - YB-G- half a line upinit_prog iprog str iP - - -B--- path name of program for initializationkey_a1 ka1 str K1 KEY_A1 0534 YB-GE upper left of keypadkey_a3 ka3 str K3 KEY_A3 0535 YB-GE upper right of keypadkey_b2 kb2 str K2 KEY_B2 0536 YB-GE center of keypadkey_c1 kc1 str K4 KEY_C1 0537 YB-GE lower left of keypadkey_c3 kc3 str K5 KEY_C3 0540 YB-GE lower right of keypadprtr_non mc5p str pO - - -B-G-* turn on printer for #1 bytes## SVr1 capabilities stop here. IBM's version of terminfo is the same as# SVr4 up to this point, but has a different set afterwards.#char_padding rmp str rP - - ----- like ip but when in insert modeacs_chars acsc str ac - - ----- graphics charset pairs, based on vt100plab_norm pln str pn - - ----- program label #1 to show string #2key_btab kcbt str kB KEY_BTAB 0541 ----- back-tab keyenter_xon_mode smxon str SX - - ----- turn on xon/xoff handshakingexit_xon_mode rmxon str RX - - ----- turn off xon/xoff handshakingenter_am_mode smam str SA - - ----- turn on automatic marginsexit_am_mode rmam str RA - - ----- turn off automatic margins
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -