530 lines
13 KiB
Plaintext
530 lines
13 KiB
Plaintext
cap_list
|
|
|
|
By Ross Ridge
|
|
Public Domain
|
|
92/02/01 07:29:44
|
|
|
|
@(#) mytinfo cap_list 3.2 92/02/01 public domain, By Ross Ridge
|
|
|
|
types: ! = boolean, # = number, $ = string, $G = string with parameters,
|
|
$K = string that never is outputed (with tputs).
|
|
|
|
type variable capname termcap
|
|
|
|
Standard terminfo capabilities:
|
|
|
|
! auto_left_margin bw bw
|
|
! auto_right_margin am am
|
|
! ceol_standout_glitch xhp xs
|
|
! dest_tabs_magic_smso xt xt
|
|
! eat_newline_glitch xenl xn
|
|
! erase_overstrike eo eo
|
|
! generic_type gn gn
|
|
! hard_copy hc hc
|
|
! hard_cursor chts HC
|
|
! has_meta_key km km
|
|
! has_status_line hs hs
|
|
! insert_null_glitch in in
|
|
! memory_above da da
|
|
! memory_below db db
|
|
! move_insert_mode mir mi
|
|
! move_standout_mode msgr ms
|
|
! needs_xon_xoff nxon nx
|
|
! no_esc_ctlc xsb xb
|
|
! no_pad_char npc NP
|
|
! non_rev_rmcup nrrmc NR
|
|
! over_strike os os
|
|
! prtr_silent mc5i 5i
|
|
! status_line_esc_ok eslok es
|
|
! tilde_glitch hz hz
|
|
! transparent_underline ul ul
|
|
! xon_xoff xon xo
|
|
# columns cols co
|
|
# init_tabs it it
|
|
# label_height lh lh
|
|
# label_width lw lw
|
|
# lines lines li
|
|
# lines_of_memory lm lm
|
|
# magic_cookie_glitch xmc sg
|
|
# num_labels nlab Nl
|
|
# padding_baud_rate pb pb
|
|
# virtual_terminal vt vt
|
|
# width_status_line wsl ws
|
|
$K acs_chars acsc ac
|
|
$ back_tab cbt bt
|
|
$ bell bel bl
|
|
$ carriage_return cr cr
|
|
$G change_scroll_region csr cs
|
|
$ char_padding rmp rP
|
|
$ clear_all_tabs tbc ct
|
|
$ clear_margins mgc MC
|
|
$ clear_screen clear cl
|
|
$ clr_bol el1 cb
|
|
$ clr_eol el ce
|
|
$ clr_eos ed cd
|
|
$G column_address hpa ch
|
|
$K command_character cmdch CC
|
|
$G cursor_address cup cm
|
|
$ cursor_down cud1 do
|
|
$ cursor_home home ho
|
|
$ cursor_invisible civis vi
|
|
$ cursor_left cub1 le
|
|
$G cursor_mem_address mrcup CM
|
|
$ cursor_normal cnorm ve
|
|
$ cursor_right cuf1 nd
|
|
$ cursor_to_ll ll ll
|
|
$ cursor_up cuu1 up
|
|
$ cursor_visible cvvis vs
|
|
$ delete_character dch1 dc
|
|
$ delete_line dl1 dl
|
|
$ dis_status_line dsl ds
|
|
$ down_half_line hd hd
|
|
$ ena_acs enacs eA
|
|
$ enter_alt_charset_mode smacs as
|
|
$ enter_am_mode smam SA
|
|
$ enter_blink_mode blink mb
|
|
$ enter_bold_mode bold md
|
|
$ enter_ca_mode smcup ti
|
|
$ enter_delete_mode smdc dm
|
|
$ enter_dim_mode dim mh
|
|
$ enter_insert_mode smir im
|
|
$ enter_protected_mode prot mp
|
|
$ enter_reverse_mode rev mr
|
|
$ enter_secure_mode invis mk
|
|
$ enter_standout_mode smso so
|
|
$ enter_underline_mode smul us
|
|
$ enter_xon_mode smxon SX
|
|
$G erase_chars ech ec
|
|
$ exit_alt_charset_mode rmacs ae
|
|
$ exit_am_mode rmam RA
|
|
$ exit_attribute_mode sgr0 me
|
|
$ exit_ca_mode rmcup te
|
|
$ exit_delete_mode rmdc ed
|
|
$ exit_insert_mode rmir ei
|
|
$ exit_standout_mode rmso se
|
|
$ exit_underline_mode rmul ue
|
|
$ exit_xon_mode rmxon RX
|
|
$ flash_screen flash vb
|
|
$ form_feed ff ff
|
|
$ from_status_line fsl fs
|
|
$ init_1string is1 i1
|
|
$ init_2string is2 is
|
|
$ init_3string is3 i3
|
|
$K init_file if if
|
|
$K init_prog iprog iP
|
|
$ insert_character ich1 ic
|
|
$ insert_line il1 al
|
|
$ insert_padding ip ip
|
|
$K key_a1 ka1 K1
|
|
$K key_a3 ka3 K3
|
|
$K key_b2 kb2 K2
|
|
$K key_backspace kbs kb
|
|
$K key_beg kbeg @1
|
|
$K key_btab kcbt kB
|
|
$K key_c1 kc1 K4
|
|
$K key_c3 kc3 K5
|
|
$K key_cancel kcan @2
|
|
$K key_catab ktbc ka
|
|
$K key_clear kclr kC
|
|
$K key_close kclo @3
|
|
$K key_command kcmd @4
|
|
$K key_copy kcpy @5
|
|
$K key_create kcrt @6
|
|
$K key_ctab kctab kt
|
|
$K key_dc kdch1 kD
|
|
$K key_dl kdl1 kL
|
|
$K key_down kcud1 kd
|
|
$K key_eic krmir kM
|
|
$K key_end kend @7
|
|
$K key_enter kent @8
|
|
$K key_eol kel kE
|
|
$K key_eos ked kS
|
|
$K key_exit kext @9
|
|
$K key_f0 kf0 k0
|
|
$K key_f1 kf1 k1
|
|
$K key_f10 kf10 k;
|
|
$K key_f11 kf11 F1
|
|
$K key_f12 kf12 F2
|
|
$K key_f13 kf13 F3
|
|
$K key_f14 kf14 F4
|
|
$K key_f15 kf15 F5
|
|
$K key_f16 kf16 F6
|
|
$K key_f17 kf17 F7
|
|
$K key_f18 kf18 F8
|
|
$K key_f19 kf19 F9
|
|
$K key_f2 kf2 k2
|
|
$K key_f20 kf20 FA
|
|
$K key_f21 kf21 FB
|
|
$K key_f22 kf22 FC
|
|
$K key_f23 kf23 FD
|
|
$K key_f24 kf24 FE
|
|
$K key_f25 kf25 FF
|
|
$K key_f26 kf26 FG
|
|
$K key_f27 kf27 FH
|
|
$K key_f28 kf28 FI
|
|
$K key_f29 kf29 FJ
|
|
$K key_f3 kf3 k3
|
|
$K key_f30 kf30 FK
|
|
$K key_f31 kf31 FL
|
|
$K key_f32 kf32 FM
|
|
$K key_f33 kf33 FN
|
|
$K key_f34 kf34 FO
|
|
$K key_f35 kf35 FP
|
|
$K key_f36 kf36 FQ
|
|
$K key_f37 kf37 FR
|
|
$K key_f38 kf38 FS
|
|
$K key_f39 kf39 FT
|
|
$K key_f4 kf4 k4
|
|
$K key_f40 kf40 FU
|
|
$K key_f41 kf41 FV
|
|
$K key_f42 kf42 FW
|
|
$K key_f43 kf43 FX
|
|
$K key_f44 kf44 FY
|
|
$K key_f45 kf45 FZ
|
|
$K key_f46 kf46 Fa
|
|
$K key_f47 kf47 Fb
|
|
$K key_f48 kf48 Fc
|
|
$K key_f49 kf49 Fd
|
|
$K key_f5 kf5 k5
|
|
$K key_f50 kf50 Fe
|
|
$K key_f51 kf51 Ff
|
|
$K key_f52 kf52 Fg
|
|
$K key_f53 kf53 Fh
|
|
$K key_f54 kf54 Fi
|
|
$K key_f55 kf55 Fj
|
|
$K key_f56 kf56 Fk
|
|
$K key_f57 kf57 Fl
|
|
$K key_f58 kf58 Fm
|
|
$K key_f59 kf59 Fn
|
|
$K key_f6 kf6 k6
|
|
$K key_f60 kf60 Fo
|
|
$K key_f61 kf61 Fp
|
|
$K key_f62 kf62 Fq
|
|
$K key_f63 kf63 Fr
|
|
$K key_f7 kf7 k7
|
|
$K key_f8 kf8 k8
|
|
$K key_f9 kf9 k9
|
|
$K key_find kfnd @0
|
|
$K key_help khlp %1
|
|
$K key_home khome kh
|
|
$K key_ic kich1 kI
|
|
$K key_il kil1 kA
|
|
$K key_left kcub1 kl
|
|
$K key_ll kll kH
|
|
$K key_mark kmrk %2
|
|
$K key_message kmsg %3
|
|
$K key_move kmov %4
|
|
$K key_next knxt %5
|
|
$K key_npage knp kN
|
|
$K key_open kopn %6
|
|
$K key_options kopt %7
|
|
$K key_ppage kpp kP
|
|
$K key_previous kprv %8
|
|
$K key_print kprt %9
|
|
$K key_redo krdo %0
|
|
$K key_reference kref &1
|
|
$K key_refresh krfr &2
|
|
$K key_replace krpl &3
|
|
$K key_restart krst &4
|
|
$K key_resume kres &5
|
|
$K key_right kcuf1 kr
|
|
$K key_save ksav &6
|
|
$K key_sbeg kBEG &9
|
|
$K key_scancel kCAN &0
|
|
$K key_scommand kCMD *1
|
|
$K key_scopy kCPY *2
|
|
$K key_screate kCRT *3
|
|
$K key_sdc kDC *4
|
|
$K key_sdl kDL *5
|
|
$K key_select kslt *6
|
|
$K key_send kEND *7
|
|
$K key_seol kEOL *8
|
|
$K key_sexit kEXT *9
|
|
$K key_sf kind kF
|
|
$K key_sfind kFND *0
|
|
$K key_shelp kHLP #1
|
|
$K key_shome kHOM #2
|
|
$K key_sic kIC #3
|
|
$K key_sleft kLFT #4
|
|
$K key_smessage kMSG %a
|
|
$K key_smove kMOV %b
|
|
$K key_snext kNXT %c
|
|
$K key_soptions kOPT %d
|
|
$K key_sprevious kPRV %e
|
|
$K key_sprint kPRT %f
|
|
$K key_sr kri kR
|
|
$K key_sredo kRDO %g
|
|
$K key_sreplace kRPL %h
|
|
$K key_sright kRIT %i
|
|
$K key_srsume kRES %j
|
|
$K key_ssave kSAV !1
|
|
$K key_ssuspend kSPD !2
|
|
$K key_stab khts kT
|
|
$K key_sundo kUND !3
|
|
$K key_suspend kspd &7
|
|
$K key_undo kund &8
|
|
$K key_up kcuu1 ku
|
|
$ keypad_local rmkx ke
|
|
$ keypad_xmit smkx ks
|
|
$K lab_f0 lf0 l0
|
|
$K lab_f1 lf1 l1
|
|
$K lab_f10 lf10 la
|
|
$K lab_f2 lf2 l2
|
|
$K lab_f3 lf3 l3
|
|
$K lab_f4 lf4 l4
|
|
$K lab_f5 lf5 l5
|
|
$K lab_f6 lf6 l6
|
|
$K lab_f7 lf7 l7
|
|
$K lab_f8 lf8 l8
|
|
$K lab_f9 lf9 l9
|
|
$ label_off rmln LF
|
|
$ label_on smln LO
|
|
$ meta_off rmm mo
|
|
$ meta_on smm mm
|
|
$ newline nel nw
|
|
$K pad_char pad pc
|
|
$G parm_dch dch DC
|
|
$G parm_delete_line dl DL
|
|
$G parm_down_cursor cud DO
|
|
$G parm_ich ich IC
|
|
$G parm_index indn SF
|
|
$G parm_insert_line il AL
|
|
$G parm_left_cursor cub LE
|
|
$G parm_right_cursor cuf RI
|
|
$G parm_rindex rin SR
|
|
$G parm_up_cursor cuu UP
|
|
$G pkey_key pfkey pk
|
|
$G pkey_local pfloc pl
|
|
$G pkey_xmit pfx px
|
|
$G plab_norm pln pn
|
|
$ print_screen mc0 ps
|
|
$G prtr_non mc5p pO
|
|
$ prtr_off mc4 pf
|
|
$ prtr_on mc5 po
|
|
$G repeat_char rep rp
|
|
$ req_for_input rfi RF
|
|
$ reset_1string rs1 r1
|
|
$ reset_2string rs2 r2
|
|
$ reset_3string rs3 r3
|
|
$K reset_file rf rf
|
|
$ restore_cursor rc rc
|
|
$G row_address vpa cv
|
|
$ save_cursor sc sc
|
|
$ scroll_forward ind sf
|
|
$ scroll_reverse ri sr
|
|
$G set_attributes sgr sa
|
|
$ set_left_margin smgl ML
|
|
$ set_right_margin smgr MR
|
|
$ set_tab hts st
|
|
$G set_window wind wi
|
|
$ tab ht ta
|
|
$G to_status_line tsl ts
|
|
$ underline_char uc uc
|
|
$ up_half_line hu hu
|
|
$ xoff_character xoffc XF
|
|
$ xon_character xonc XN
|
|
|
|
Release 3.2 and 4 capabilities (AMIX)
|
|
(some of the string attributes are guesses...)
|
|
|
|
! back_color_erase bce ut
|
|
! can_change ccc cc
|
|
! col_addr_glitch xhpa YA
|
|
! cpi_changes_res cpix YF
|
|
! cr_cancels_micro_mode crxm YB
|
|
! has_print_wheel daisy YC
|
|
! hue_lightness_saturation hls hl
|
|
! lpi_changes_res lpix YG
|
|
! non_dest_scroll_region ndscr ND
|
|
! row_addr_glitch xvpa YD
|
|
! semi_auto_right_margin sam YE
|
|
# bit_image_entwining bitwin Yo
|
|
# bit_image_type bitype Yp
|
|
# buffer_capacity bufsz Ya
|
|
# buttons btns BT
|
|
# dot_horz_spacing spinh Yc
|
|
# dot_vert_spacing spinv Yb
|
|
# max_attributes ma ma
|
|
# max_colors colors Co
|
|
# max_micro_address maddr Yd
|
|
# max_micro_jump mjump Ye
|
|
# max_pairs pairs pa
|
|
# maximum_windows wnum MW
|
|
# micro_char_size mcs Yf
|
|
# micro_line_size mls Yg
|
|
# no_color_video ncv NC
|
|
# number_of_pins npins Yh
|
|
# output_res_char orc Yi
|
|
# output_res_horz_inch orhi Yk
|
|
# output_res_line orl Yj
|
|
# output_res_vert_inch orvi Yl
|
|
# print_rate cps Ym
|
|
# wide_char_size widcs Yn
|
|
$ alt_scancode_esc scesa S8
|
|
$G bit_image_carriage_return bicr Yv
|
|
$G bit_image_newline binel Zz
|
|
$G bit_image_repeat birep Xy
|
|
$G change_char_pitch cpi ZA
|
|
$G change_line_pitch lpi ZB
|
|
$G change_res_horz chr ZC
|
|
$G change_res_vert cvr ZD
|
|
$G char_set_names csnm Zy
|
|
$ code_set_init csin ci
|
|
$G color_names colornm Yw
|
|
$G create_window cwin CW
|
|
$G define_bit_image_region defbi Yx
|
|
$G define_char defc ZE
|
|
$ device_type devt dv
|
|
$G dial_phone dial DI
|
|
$ display_clock dclk DK
|
|
$ display_pc_char dispc S1
|
|
$ end_bit_image_region endbi Yy
|
|
$ enter_doublewide_mode swidm ZF
|
|
$ enter_draft_quality sdrfq ZG
|
|
$ enter_italics_mode sitm ZH
|
|
$ enter_leftward_mode slm ZI
|
|
$ enter_micro_mode smicm ZJ
|
|
$ enter_near_letter_quality snlq ZK
|
|
$ enter_normal_quality snrmq ZL
|
|
$ enter_pc_charset_mode smpch S2
|
|
$ enter_scancode_mode smsc S4
|
|
$ enter_shadow_mode sshm ZM
|
|
$ enter_subscript_mode ssubm ZN
|
|
$ enter_superscript_mode ssupm ZO
|
|
$ enter_upward_mode sum ZP
|
|
$ exit_doublewide_mode rwidm ZQ
|
|
$ exit_italics_mode ritm ZR
|
|
$ exit_leftward_mode rlm ZS
|
|
$ exit_micro_mode rmicm ZT
|
|
$ exit_pc_charset_mode rmpch S3
|
|
$ exit_scancode_mode rmsc S5
|
|
$ exit_shadow_mode rshm ZU
|
|
$ exit_subscript_mode rsubm ZV
|
|
$ exit_superscript_mode rsupm ZW
|
|
$ exit_upward_mode rum ZX
|
|
$ fixed_pause pause PA
|
|
$ flash_hook hook fh
|
|
$ get_mouse getm Gm
|
|
$G goto_window wingo WG
|
|
$ hangup hup HU
|
|
$G initialize_color initc Ic
|
|
$G initialize_pair initp Ip
|
|
$ key_mouse kmous Km
|
|
$ label_format fln Lf
|
|
$G micro_column_address mhpa ZY
|
|
$ micro_down mcud1 ZZ
|
|
$ micro_left mcub1 Za
|
|
$ micro_right mcuf1 Zb
|
|
$G micro_row_address mvpa Zc
|
|
$ micro_up mcuu1 Zd
|
|
$ mouse_info minfo Mi
|
|
$K order_of_pins porder Ze
|
|
$ orig_colors oc oc
|
|
$ orig_pair op op
|
|
$G parm_down_micro mcud Zf
|
|
$G parm_left_micro mcub Zg
|
|
$G parm_right_micro mcuf Zh
|
|
$G parm_up_micro mcuu Zi
|
|
$ pc_term_options pctrm S6
|
|
$G pkey_plab pfxl xl
|
|
$ pulse pulse PU
|
|
$ quick_dial qdial QD
|
|
$ remove_clock rmclk RC
|
|
$ req_mouse_pos reqmp RQ
|
|
$ scancode_escape scesc S7
|
|
$G select_char_set scs Zj
|
|
$ set0_des_seq s0ds s0
|
|
$ set1_des_seq s1ds s1
|
|
$ set2_des_seq s2ds s2
|
|
$ set3_des_seq s3ds s3
|
|
$G set_a_background setab AB
|
|
$G set_a_foreground setaf AF
|
|
$G set_background setb Sb
|
|
$ set_bottom_margin smgb Zk
|
|
$G set_bottom_margin_parm smgbp Zl
|
|
$G set_clock sclk SC
|
|
$G set_color_band setcolor Yz
|
|
$G set_color_pair scp sp
|
|
$G set_foreground setf Sf
|
|
$G set_left_margin_parm smglp Zm
|
|
$G set_lr_margin smglr ML
|
|
$G set_page_length slines YZ
|
|
$G set_right_margin_parm smgrp Zn
|
|
$G set_tb_margin smgtb MT
|
|
$ set_top_margin smgt Zo
|
|
$G set_top_margin_parm smgtp Zp
|
|
$G start_bit_image sbim Zq
|
|
$G start_char_set_def scsd Zr
|
|
$ stop_bit_image rbim Zs
|
|
$G stop_char_set_def rcsd Zt
|
|
$K subscript_characters subcs Zu
|
|
$K superscript_characters supcs Zv
|
|
$K these_cause_cr docr Zw
|
|
$ tone tone TO
|
|
$ user0 u0 u0
|
|
$ user1 u1 u1
|
|
$ user2 u2 u2
|
|
$ user3 u3 u3
|
|
$ user4 u4 u4
|
|
$ user5 u5 u5
|
|
$ user6 u6 u6
|
|
$ user7 u7 u7
|
|
$ user8 u8 u8
|
|
$ user9 u9 u9
|
|
$ wait_tone wait WA
|
|
$ zero_motion zerom Zx
|
|
|
|
"Obsolete" termcap capabilities (variable and terminfo names are mine)
|
|
|
|
$ backspace_if_not_bs OTbc bc
|
|
! backspaces_with_bs OTbs bs
|
|
# backspace_delay OTdB dB
|
|
# carriage_return_delay OTdC dC
|
|
# form_feed_delay OTdF dF
|
|
# new_line_delay OTdN dN
|
|
# horizontal_tab_delay OTdT dT
|
|
# vertical_tab_delay OTdV dV
|
|
! even_parity OTEP EP
|
|
! half_duplex OTHD HD
|
|
# number_of_function_keys OTkn kn
|
|
$K other_non_function_keys OTko ko
|
|
! lower_case_only OTLC LC
|
|
$K arrow_key_map OTma ma
|
|
$ memory_lock_above OTml ml
|
|
$ memory_unlock OTmu mu
|
|
! no_correctly_working_cr OTnc nc
|
|
! linefeed_is_newline OTNL NL
|
|
$ linefeed_if_not_lf OTnl nl
|
|
! crt_without_scrolling OTns ns
|
|
! odd_parity OTOP OP
|
|
! has_hardware_tabs OTpt pt
|
|
! uppercase_only OTUC UC
|
|
! return_does_clr_eol OTxr xr
|
|
! tek_4025_insert_line OTxx xx
|
|
# magic_cookie_glitch_ul OTug ug
|
|
|
|
Caps used by the University of Waterloo (variable and terminfo names are mine)
|
|
|
|
$K key_interrupt_char UWki ki
|
|
$K key_kill_char UWkk kk
|
|
$K key_suspend_char UWkz kz
|
|
! initialization_messy UWxc xc
|
|
! index_at_bottom_does_cr UWxl xl
|
|
|
|
! rind_only_at_top OTxq xq
|
|
|
|
Different names for existing terminfo caps used by GNU Emacs:
|
|
! GNU_has_meta_key GNUMT MT
|
|
# GNU_tab_width GNUtw tw
|
|
|
|
Non standard capabilities:
|
|
|
|
$ scroll_left sl1 Sl
|
|
$ scroll_right sr1 Sr
|
|
$G parm_scroll_left sl SL
|
|
$G parm_scroll_right sr SR
|
|
|
|
Dummy (must be present and last):
|
|
|
|
$K _get_other use tc
|