diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-05-31 05:40:03 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-05-31 05:40:03 +0000 |
commit | 839cb2ba6a15ccd5e074d855db52b1f5eb1dd210 (patch) | |
tree | 04a2d3fb760bd3e7c427a15bce955771f34f033d /lib/libtermlib/Capabilities | |
parent | 0b9e76142c4ba9e39793706de41a4d37280cdb8c (diff) |
Terminfo emulation library; currently understands only about reading from
termcap database using cgetent(3)
Diffstat (limited to 'lib/libtermlib/Capabilities')
-rw-r--r-- | lib/libtermlib/Capabilities | 565 |
1 files changed, 565 insertions, 0 deletions
diff --git a/lib/libtermlib/Capabilities b/lib/libtermlib/Capabilities new file mode 100644 index 00000000000..d5874c19eb4 --- /dev/null +++ b/lib/libtermlib/Capabilities @@ -0,0 +1,565 @@ +# $OpenBSD: Capabilities,v 1.1 1996/05/31 05:40:02 tholo Exp $ +# +# Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com> +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# 3. All advertising materials mentioning features or use of this software +# must display the following acknowledgement: +# This product includes software developed by SigmaSoft, Th. Lockert. +# 4. The name of the author may not be used to endorse or promote products +# derived from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, +# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL +# THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# +# The following is a list of terminfo capabilities with their +# corresponding termcap alias. All entries up to the marker +# "#endbinary" are found in compiled terminfo files IN THE ORDER +# SPECIFIED. Do NOT reorder or add capabilities before the +# marker. +# +# type variable capname termcap +# +# Standard terminfo capabilities: +# +bool auto_left_margin bw bw +bool auto_right_margin am am +bool no_esc_ctlc xsb xb +bool ceol_standout_glitch xhp xs +bool eat_newline_glitch xenl xn +bool erase_overstrike eo eo +bool generic_type gn gn +bool hard_copy hc hc +bool has_meta_key km km +bool has_status_line hs hs +bool insert_null_glitch in in +bool memory_above da da +bool memory_below db db +bool move_insert_mode mir mi +bool move_standout_mode msgr ms +bool over_strike os os +bool status_line_esc_ok eslok es +bool dest_tabs_magic_smso xt xt +bool tilde_glitch hz hz +bool transparent_underline ul ul +bool xon_xoff xon xo +bool needs_xon_xoff nxon nx +bool prtr_silent mc5i 5i +bool hard_cursor chts HC +bool non_rev_rmcup nrrmc NR +bool no_pad_char npc NP +bool non_dest_scroll_region ndscr ND +bool can_change ccc cc +bool back_color_erase bce ut +bool hue_lightness_saturation hls hl +bool cool_addr_glitch xhpa YA +bool cr_cancels_micro_mode crxm YB +bool has_print_wheel daisy YC +bool row_addr_glitch xvpa YD +bool semi_auto_right_margin sam YE +bool cpi_changes_res cpix YF +bool lpi_changes_res lpix YG +# +num columns cols co +num init_tabs it it +num lines lines li +num lines_of_memory lm lm +num magic_cookie_glitch xmc sg +num padding_baud_rate pb pb +num virtual_terminal vt vt +num width_status_line wsl ws +num num_labels nlab Nl +num label_height lh lh +num label_width lw lw +num max_attributes ma ma +num maximum_windows wnum MW +num max_colors colors Co +num max_pairs pairs pa +num no_color_video ncv NC +# +str back_tab cbt bt +str bell bel bl +str carriage_return cr cr +str change_scroll_region csr cs +str clear_all_tabs tbc ct +str clear_screen clear cl +str clr_eol el ce +str clr_eos ed cd +str column_address hpa ch +str command_character cmdch CC +str cursor_address cup cm +str cursor_down cud1 do +str cursor_home home ho +str cursor_invisible civis vi +str cursor_left cub1 le +str cursor_mem_address mrcup CM +str cursor_normal cnorm ve +str cursor_right cuf1 nd +str cursor_to_ll ll ll +str cursor_up cuu1 up +str cursor_visible cvvis vs +str delete_character dch1 dc +str delete_line dl1 dl +str dis_status_line dsl ds +str down_half_line hd hd +str enter_alt_charset_mode smacs as +str enter_blink_mode blink mb +str enter_bold_mode bold md +str enter_ca_mode smcup ti +str enter_delete_mode smdc dm +str enter_dim_mode dim mh +str enter_insert_mode smir im +str enter_secure_mode invis mk +str enter_protected_mode prot mp +str enter_reverse_mode rev mr +str enter_standout_mode smso so +str enter_underline_mode smul us +str erase_chars ech ec +str exit_alt_charset_mode rmacs ae +str exit_attribute_mode sgr0 me +str exit_ca_mode rmcup te +str exit_delete_mode rmdc ed +str exit_insert_mode rmir ei +str exit_standout_mode rmso se +str exit_underline_mode rmul ue +str flash_screen flash vb +str form_feed ff ff +str from_status_line fsl fs +str init_1string is1 i1 +str init_2string is2 is +str init_3string is3 i3 +str init_file if if +str insert_character ich1 ic +str insert_line il1 al +str insert_padding ip ip +str key_backspace kbs kb +str key_catab ktbc ka +str key_clear kclr kC +str key_ctab kctab kt +str key_dc kdch1 kD +str key_dl kdl1 kL +str key_down kcud1 kd +str key_eic krmir kM +str key_eol kel kE +str key_eos ked kS +str key_f0 kf0 k0 +str key_f1 kf1 k1 +str key_f10 kf10 k; +str key_f2 kf2 k2 +str key_f3 kf3 k3 +str key_f4 kf4 k4 +str key_f5 kf5 k5 +str key_f6 kf6 k6 +str key_f7 kf7 k7 +str key_f8 kf8 k8 +str key_f9 kf9 k9 +str key_home khome kh +str key_ic kich1 kI +str key_il kil1 kA +str key_left kcub1 kl +str key_ll kll kH +str key_npage knp kN +str key_ppage kpp kP +str key_right kcuf1 kr +str key_sf kind kF +str key_sr kri kR +str key_stab khts kT +str key_up kcuu1 ku +str keypad_local rmkx ke +str keypad_xmit smkx ks +str lab_f0 lf0 l0 +str lab_f1 lf1 l1 +str lab_f10 lf10 la +str lab_f2 lf2 l2 +str lab_f3 lf3 l3 +str lab_f4 lf4 l4 +str lab_f5 lf5 l5 +str lab_f6 lf6 l6 +str lab_f7 lf7 l7 +str lab_f8 lf8 l8 +str lab_f9 lf9 l9 +str meta_off rmm mo +str meta_on smm mm +str newline nel nw +str pad_char pad pc +str parm_dch dch DC +str parm_delete_line dl DL +str parm_down_cursor cud DO +str parm_ich ich IC +str parm_index indn SF +str parm_insert_line il AL +str parm_left_cursor cub LE +str parm_right_cursor cuf RI +str parm_rindex rin SR +str parm_up_cursor cuu UP +str pkey_key pfkey pk +str pkey_local pfloc pl +str pkey_xmit pfx px +str print_screen mc0 ps +str prtr_off mc4 pf +str prtr_on mc5 po +str repeat_char rep rp +str reset_1string rs1 r1 +str reset_2string rs2 r2 +str reset_3string rs3 r3 +str reset_file rf rf +str restore_cursor rc rc +str row_address vpa cv +str save_cursor sc sc +str scroll_forward ind sf +str scroll_reverse ri sr +str set_attributes sgr sa +str set_tab hts st +str set_window wind wi +str tab ht ta +str to_status_line tsl ts +str underline_char uc uc +str up_half_line hu hu +str init_prog iprog iP +str key_a1 ka1 K1 +str key_a3 ka3 K3 +str key_b2 kb2 K2 +str key_c1 kc1 K4 +str key_c3 kc3 K5 +str prtr_non mc5p pO +# +# Release 4 capabilities +# +num buffer_capacity bufsz Ya +num dot_vert_spacing spinv Yb +num dot_horz_spacing spinh Yc +num max_micro_address maddr Yd +num max_micro_jump mjump Ye +num micro_char_size mcs Yf +num micro_line_size mls Yg +num number_of_pins npins Yh +num output_res_char orc Yi +num output_res_line orl Yj +num output_res_horz_inch orhi Yk +num output_res_vert_inch orvi Yl +num print_rate cps Ym +num wide_char_size widcs Yn +num buttons btns BT +num bit_image_entwining bitwin Yo +num bit_image_type bitype Yp +# +str char_padding rmp rP +str acs_chars acsc ac +str plab_norm pln pn +str key_btab kcbt kB +str enter_xon_mode smxon SX +str exit_xon_mode rmxon RX +str enter_am_mode smam SA +str exit_am_mode rmam RA +str xon_character xonc XN +str xoff_character xoffc XF +str ena_acs enacs eA +str label_on smln LO +str label_off rmln LF +str key_beg kbeg @1 +str key_cancel kcan @2 +str key_close kclo @3 +str key_command kcmd @4 +str key_copy kcpy @5 +str key_create kcrt @6 +str key_end kend @7 +str key_enter kent @8 +str key_exit kext @9 +str key_find kfnd @0 +str key_help khlp %1 +str key_mark kmrk %2 +str key_message kmsg %3 +str key_move kmov %4 +str key_next knxt %5 +str key_open kopn %6 +str key_options kopt %7 +str key_previous kprv %8 +str key_print kprt %9 +str key_redo krdo %0 +str key_reference kref &1 +str key_refresh krfr &2 +str key_replace krpl &3 +str key_restart krst &4 +str key_resume kres &5 +str key_save ksav &6 +str key_suspend kspd &7 +str key_undo kund &8 +str key_sbeg kBEG &9 +str key_scancel kCAN &0 +str key_scommand kCMD *1 +str key_scopy kCPY *2 +str key_screate kCRT *3 +str key_sdc kDC *4 +str key_sdl kDL *5 +str key_select kslt *6 +str key_send kEND *7 +str key_seol kEOL *8 +str key_sexit kEXT *9 +str key_sfind kFND *0 +str key_shelp kHLP #1 +str key_shome kHOM #2 +str key_sic kIC #3 +str key_sleft kLFT #4 +str key_smessage kMSG %a +str key_smove kMOV %b +str key_snext kNXT %c +str key_soptions kOPT %d +str key_sprevious kPRV %e +str key_sprint kPRT %f +str key_sredo kRDO %g +str key_sreplace kRPL %h +str key_sright kRIT %i +str key_srsume kRES %j +str key_ssave kSAV !1 +str key_ssuspend kSPD !2 +str key_sundo kUND !3 +str req_for_input rfi RF +str key_f11 kf11 F1 +str key_f12 kf12 F2 +str key_f13 kf13 F3 +str key_f14 kf14 F4 +str key_f15 kf15 F5 +str key_f16 kf16 F6 +str key_f17 kf17 F7 +str key_f18 kf18 F8 +str key_f19 kf19 F9 +str key_f20 kf20 FA +str key_f21 kf21 FB +str key_f22 kf22 FC +str key_f23 kf23 FD +str key_f24 kf24 FE +str key_f25 kf25 FF +str key_f26 kf26 FG +str key_f27 kf27 FH +str key_f28 kf28 FI +str key_f29 kf29 FJ +str key_f30 kf30 FK +str key_f31 kf31 FL +str key_f32 kf32 FM +str key_f33 kf33 FN +str key_f34 kf34 FO +str key_f35 kf35 FP +str key_f36 kf36 FQ +str key_f37 kf37 FR +str key_f38 kf38 FS +str key_f39 kf39 FT +str key_f40 kf40 FU +str key_f41 kf41 FV +str key_f42 kf42 FW +str key_f43 kf43 FX +str key_f44 kf44 FY +str key_f45 kf45 FZ +str key_f46 kf46 Fa +str key_f47 kf47 Fb +str key_f48 kf48 Fc +str key_f49 kf49 Fd +str key_f50 kf50 Fe +str key_f51 kf51 Ff +str key_f52 kf52 Fg +str key_f53 kf53 Fh +str key_f54 kf54 Fi +str key_f55 kf55 Fj +str key_f56 kf56 Fk +str key_f57 kf57 Fl +str key_f58 kf58 Fm +str key_f59 kf59 Fn +str key_f60 kf60 Fo +str key_f61 kf61 Fp +str key_f62 kf62 Fq +str key_f63 kf63 Fr +str clr_bol el1 cb +str clear_margins mgc MC +str set_left_margin smgl ML +str set_right_margin smgr MR +str label_format fln Lf +str set_clock sclk SC +str display_clock dclk DK +str remove_clock rmclk RC +str create_window cwin CW +str goto_window wingo WG +str hangup hup HU +str dial_phone dial DI +str quick_dial qdial QD +str tone tone TO +str pulse pulse PU +str flash_hook hook fh +str fixed_pause pause PA +str wait_tone wait WA +str user0 u0 u0 +str user1 u1 u1 +str user2 u2 u2 +str user3 u3 u3 +str user4 u4 u4 +str user5 u5 u5 +str user6 u6 u6 +str user7 u7 u7 +str user8 u8 u8 +str user9 u9 u9 +str orig_colors oc oc +str orig_pair op op +str initialize_color initc Ic +str initialize_pair initp Ip +str set_color_pair scp sp +str set_foreground setf Sf +str set_background setb Sb +str change_char_pitch cpi ZA +str change_line_pitch lpi ZB +str change_res_horz chr ZC +str change_res_vert cvr ZD +str define_char defc ZE +str enter_doublewide_mode swidm ZF +str enter_draft_quality sdrfq ZG +str enter_italics_mode sitm ZH +str enter_leftward_mode slm ZI +str enter_micro_mode smicm ZJ +str enter_near_letter_quality snlq ZK +str enter_normal_quality snrmq ZL +str enter_shadow_mode sshm ZM +str enter_subscript_mode ssubm ZN +str enter_superscript_mode ssupm ZO +str enter_upward_mode sum ZP +str exit_doublewide_mode rwidm ZQ +str exit_italics_mode ritm ZR +str exit_leftward_mode rlm ZS +str exit_micro_mode rmicm ZT +str exit_shadow_mode rshm ZU +str exit_subscript_mode rsubm ZV +str exit_superscript_mode rsupm ZW +str exit_upward_mode rum ZX +str micro_column_address mhpa ZY +str micro_down mcud1 ZZ +str micro_left mcub1 Za +str micro_right mcuf1 Zb +str micro_row_address mvpa Zc +str micro_up mcuu1 Zd +str order_of_pins porder Ze +str parm_down_micro mcud Zf +str parm_left_micro mcub Zg +str parm_right_micro mcuf Zh +str parm_up_micro mcuu Zi +str select_char_set scs Zj +str set_bottom_margin smgb Zk +str set_bottom_margin_parm smgbp Zl +str set_left_margin_parm smglp Zm +str set_right_margin_parm smgrp Zn +str set_top_margin smgt Zo +str set_top_margin_parm smgtp Zp +str start_bit_image sbim Zq +str start_char_set_def scsd Zr +str stop_bit_image rbim Zs +str stop_char_set_def rcsd Zt +str subscript_characters subcs Zu +str superscript_characters supcs Zv +str these_cause_cr docr Zw +str zero_motion zerom Zx +str char_set_names csnm Zy +str key_mouse kmous Km +str mouse_info minfo Mi +str req_mouse_pos reqmp RQ +str get_mouse getm Gm +str set_a_foreground setaf AF +str set_a_background setab AB +str pkey_plab pfxl xl +str device_type devt dv +str code_set_init csin ci +str set0_des_seq s0ds s0 +str set1_des_seq s1ds s1 +str set2_des_seq s2ds s2 +str set3_des_seq s3ds s3 +str set_lr_margin smglr ML +str set_tb_margin smgtb MT +str bit_image_repeat birep Xy +str bit_image_newline binel Zz +str bit_image_carriage_return bicr Yv +str color_names colornm Yw +str define_bit_image_region defbi Yx +str end_bit_image_region endbi Yy +str set_color_band setcolor Yz +str set_page_length slines YZ +str display_pc_char dispc S1 +str enter_pc_charset_mode smpch S2 +str exit_pc_charset_mode rmpch S3 +str enter_scancode_mode smsc S4 +str exit_scancode_mode rmsc S5 +str pc_term_options pctrm S6 +str scancode_escape scesc S7 +str alt_scancode_esc scesa S8 +# +#endbinary +# +# XSI Curses capabilities +# +str enter_horizontal_hl_mode ehhlm Xh +str enter_left_hl_mode elhlm Xl +str enter_low_hl_mode elohlm Xo +str enter_right_hl_mode erhlm Xr +str enter_top_hl_mode ethlm Xt +str enter_vertical_hl_mode evhlm Xv +# +# Termcap capabilities with no Terminfo equivalent, for compatibility +# +bool backspaces_with_bs OTbs bs +bool crt_no_scrolling OTns ns +bool no_correctly_working_cr OTnc nc +# +num carriage_return_delay OTdC dC +num magic_cookie_glitch_ul OTug ug +num new_line_delay OTdN dN +# +str backspace_if_not_bs OTbc bc +str linefeed_if_not_lf OTnl nl +str termcap_init2 OTi2 i2 +str termcap_reset OTrs rs +# +# GNU Termcap capabilities with no Terminfo equivalent, for compatability +# +bool gnu_has_meta_key OTMT MT +# +# Ancient Termcap capabilites; should not be in use +# +bool has_hardware_tabs OTpt pt +bool linefeed_is_newline OTNL NL +bool return_does_clr_eol OTxr xr +# +num backspace_delay OTdB dB +num horizontal_tab_delay OTdT dT +num number_of_function_keys OTkn kn +num other_non_function_keys OTko ko +# +str arrow_key_map OTma ma +# +# Xenix Termcap capabilities +# +str acs_btee OTGU GU +str acs_hline OTGH GH +str acs_llcorner OTG3 G3 +str acs_lrcorner OTG4 G4 +str acs_ltee OTGR GR +str acs_plus OTGC GC +str acs_rtee OTGL GL +str acs_ttee OTGD GD +str acs_ulcorner OTG2 G2 +str acs_urcorner OTG1 G1 +str acs_vline OTGV GV +# +# HP Terminfo extensions +# +str memory_lock meml ml +str memory_unlock memu mu |