📄 caps.osf1r5
字号:
orig_colors oc str oc - - ----- Set all color pairs to the original onesorig_pair op str op - - ----- Set default pair to its original valueparm_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 modepc_term_options pctrm str S6 - - ----- PC terminal optionspkey_plab pfxl str xl - - ----- Program function key #1 to type string #2 and show string #3plab_norm pln str pn - - ----- program label #1 to show string #2pulse pulse str PU - - ----- select pulse dialingquick_dial qdial str QD - - ----- dial number #1 without checkingreq_for_input rfi str RF - - ----- send next input char (for ptys)req_mouse_pos reqmp str RQ - - ----- Request mouse positionremove_clock rmclk str RC - - ----- remove clockscancode_escape scesc str S7 - - ----- Escape for scancode emulationselect_char_set scs str Zj - - ----- Select character set, #1set0_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_a_background setab str AB - - ----- Set background color to #1, using ANSI escapeset_a_foreground setaf str AF - - ----- Set foreground color to #1, using ANSI escapeset_background setb str Sb - - ----- Set background color #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_clock sclk str SC - - ----- set clock, #1 hrs #2 mins #3 secsset_color_band setcolor str Yz - - ----- Change to ribbon color #1set_color_pair scp str sp - - ----- Set current color pair to #1set_foreground setf str Sf - - ----- Set foreground color #1set_left_margin smgl str ML - - ----- set left soft margin at current column. See smgl. (ML is not in BSD termcap).set_left_margin_parm smglp str Zm - - ----- Set left (right) margin at column #1set_lr_margin smglr str ML - - ----- Set both left and right margins to #1, #2. (ML is not in BSD termcap).set_page_length slines str YZ - - ----- Set page length to #1 linesset_right_margin smgr str MR - - ----- set right soft margin at current columnset_right_margin_parm smgrp str Zn - - ----- Set right margin at column #1set_tb_margin smgtb str MT - - ----- Sets both top and bottom margins to #1, #2set_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 CRtone tone str TO - - ----- select touch tone dialinguser0 u0 str u0 - - ----- User string #0user1 u1 str u1 - - ----- User string #1user2 u2 str u2 - - ----- User string #2user3 u3 str u3 - - ----- User string #3user4 u4 str u4 - - ----- User string #4user5 u5 str u5 - - ----- User string #5user6 u6 str u6 - - ----- User string #6user7 u7 str u7 - - ----- User string #7user8 u8 str u8 - - ----- User string #8user9 u9 str u9 - - ----- User string #9wait_tone wait str WA - - ----- wait for dial-tonexoff_character xoffc str XF - - ----- XOFF characterxon_character xonc str XN - - ----- XON characterzero_motion zerom str Zx - - ----- No motion for subsequent characterset_pglen_inch slength str sL - - ----- YI Set page length to #1 hundredth of an inchenter_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-#6#### %%-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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -