1*c7ef0cfcSnicm############################################################################## 2*c7ef0cfcSnicm# Copyright 2019-2022,2023 Thomas E. Dickey # 3*c7ef0cfcSnicm# # 4*c7ef0cfcSnicm# Permission is hereby granted, free of charge, to any person obtaining a # 5*c7ef0cfcSnicm# copy of this software and associated documentation files (the "Software"), # 6*c7ef0cfcSnicm# to deal in the Software without restriction, including without limitation # 7*c7ef0cfcSnicm# the rights to use, copy, modify, merge, publish, distribute, distribute # 8*c7ef0cfcSnicm# with modifications, sublicense, and/or sell copies of the Software, and to # 9*c7ef0cfcSnicm# permit persons to whom the Software is furnished to do so, subject to the # 10*c7ef0cfcSnicm# following conditions: # 11*c7ef0cfcSnicm# # 12*c7ef0cfcSnicm# The above copyright notice and this permission notice shall be included in # 13*c7ef0cfcSnicm# all copies or substantial portions of the Software. # 14*c7ef0cfcSnicm# # 15*c7ef0cfcSnicm# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # 16*c7ef0cfcSnicm# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # 17*c7ef0cfcSnicm# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # 18*c7ef0cfcSnicm# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # 19*c7ef0cfcSnicm# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # 20*c7ef0cfcSnicm# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # 21*c7ef0cfcSnicm# DEALINGS IN THE SOFTWARE. # 22*c7ef0cfcSnicm# # 23*c7ef0cfcSnicm# Except as contained in this notice, the name(s) of the above copyright # 24*c7ef0cfcSnicm# holders shall not be used in advertising or otherwise to promote the sale, # 25*c7ef0cfcSnicm# use or other dealings in this Software without prior written # 26*c7ef0cfcSnicm# authorization. # 27*c7ef0cfcSnicm############################################################################## 28*c7ef0cfcSnicm# 29*c7ef0cfcSnicm# Author: Thomas E. Dickey 30*c7ef0cfcSnicm# 31*c7ef0cfcSnicm# $Id: Caps-ncurses,v 1.1 2023/10/17 09:52:08 nicm Exp $ 32*c7ef0cfcSnicm# 33*c7ef0cfcSnicm############################################################################# 34*c7ef0cfcSnicm# 35*c7ef0cfcSnicm# TERMINFO EXTENSION CAPABILITIES 36*c7ef0cfcSnicm# 37*c7ef0cfcSnicm# This section is all comments (selected lines are copied/uncommented into 38*c7ef0cfcSnicm# specific "Caps" files). The section describes what capabilities need to be 39*c7ef0cfcSnicm# squeezed out to get down to the XSI Curses standard set. They are flagged 40*c7ef0cfcSnicm# with K. 41*c7ef0cfcSnicm# 42*c7ef0cfcSnicm# HP extensions 43*c7ef0cfcSnicm# 44*c7ef0cfcSnicm# These extensions follow ptr_non (replacing everything after it) in HP 45*c7ef0cfcSnicm# terminfo files. Except for memory_lock and memory_unlock, they are 46*c7ef0cfcSnicm# functionally identical to SVr4 extensions, but they make the binary format 47*c7ef0cfcSnicm# different. Grrr.... 48*c7ef0cfcSnicm# 49*c7ef0cfcSnicm#memory_lock meml str ml - - ----K lock memory above cursor 50*c7ef0cfcSnicm#memory_unlock memu str mu - - ----K unlock memory 51*c7ef0cfcSnicm#plab_norm pln str pn - - ----- program label #1 to show string #2 52*c7ef0cfcSnicm#label_on smln str LO - - ----- turn on soft labels 53*c7ef0cfcSnicm#label_off rmln str LF - - ----- turn off soft labels 54*c7ef0cfcSnicm#key_f11 kf11 str F1 - - ----- F11 function key 55*c7ef0cfcSnicm#key_f12 kf12 str F2 - - ----- F12 function key 56*c7ef0cfcSnicm#key_f13 kf13 str F3 - - ----- F13 function key 57*c7ef0cfcSnicm#key_f14 kf14 str F4 - - ----- F14 function key 58*c7ef0cfcSnicm#key_f15 kf15 str F5 - - ----- F15 function key 59*c7ef0cfcSnicm#key_f16 kf16 str F6 - - ----- F16 function key 60*c7ef0cfcSnicm#key_f17 kf17 str F7 - - ----- F17 function key 61*c7ef0cfcSnicm#key_f18 kf18 str F8 - - ----- F18 function key 62*c7ef0cfcSnicm#key_f19 kf19 str F9 - - ----- F19 function key 63*c7ef0cfcSnicm#key_f20 kf20 str FA - - ----- F20 function key 64*c7ef0cfcSnicm#key_f21 kf21 str FB - - ----- F21 function key 65*c7ef0cfcSnicm#key_f22 kf22 str FC - - ----- F22 function key 66*c7ef0cfcSnicm#key_f23 kf23 str FD - - ----- F23 function key 67*c7ef0cfcSnicm#key_f24 kf24 str FE - - ----- F24 function key 68*c7ef0cfcSnicm#key_f25 kf25 str FF - - ----- F25 function key 69*c7ef0cfcSnicm#key_f26 kf26 str FG - - ----- F26 function key 70*c7ef0cfcSnicm#key_f27 kf27 str FH - - ----- F27 function key 71*c7ef0cfcSnicm#key_f28 kf28 str FI - - ----- F28 function key 72*c7ef0cfcSnicm#key_f29 kf29 str FJ - - ----- F29 function key 73*c7ef0cfcSnicm#key_f30 kf30 str FK - - ----- F30 function key 74*c7ef0cfcSnicm#key_f31 kf31 str FL - - ----- F31 function key 75*c7ef0cfcSnicm#key_f32 kf32 str FM - - ----- F32 function key 76*c7ef0cfcSnicm#key_f33 kf33 str FN - - ----- F33 function key 77*c7ef0cfcSnicm#key_f34 kf34 str FO - - ----- F34 function key 78*c7ef0cfcSnicm#key_f35 kf35 str FP - - ----- F35 function key 79*c7ef0cfcSnicm#key_f36 kf36 str FQ - - ----- F36 function key 80*c7ef0cfcSnicm#key_f37 kf37 str FR - - ----- F37 function key 81*c7ef0cfcSnicm#key_f38 kf38 str FS - - ----- F38 function key 82*c7ef0cfcSnicm#key_f39 kf39 str FT - - ----- F39 function key 83*c7ef0cfcSnicm#key_f40 kf40 str FU - - ----- F40 function key 84*c7ef0cfcSnicm#key_f41 kf41 str FV - - ----- F41 function key 85*c7ef0cfcSnicm#key_f42 kf42 str FW - - ----- F42 function key 86*c7ef0cfcSnicm#key_f43 kf43 str FX - - ----- F43 function key 87*c7ef0cfcSnicm#key_f44 kf44 str FY - - ----- F44 function key 88*c7ef0cfcSnicm#key_f45 kf45 str FZ - - ----- F45 function key 89*c7ef0cfcSnicm#key_f46 kf46 str Fa - - ----- F46 function key 90*c7ef0cfcSnicm#key_f47 kf47 str Fb - - ----- F47 function key 91*c7ef0cfcSnicm#key_f48 kf48 str Fc - - ----- F48 function key 92*c7ef0cfcSnicm#key_f49 kf49 str Fd - - ----- F49 function key 93*c7ef0cfcSnicm#key_f50 kf50 str Fe - - ----- F50 function key 94*c7ef0cfcSnicm#key_f51 kf51 str Ff - - ----- F51 function key 95*c7ef0cfcSnicm#key_f52 kf52 str Fg - - ----- F52 function key 96*c7ef0cfcSnicm#key_f53 kf53 str Fh - - ----- F53 function key 97*c7ef0cfcSnicm#key_f54 kf54 str Fi - - ----- F54 function key 98*c7ef0cfcSnicm#key_f55 kf55 str Fj - - ----- F55 function key 99*c7ef0cfcSnicm#key_f56 kf56 str Fk - - ----- F56 function key 100*c7ef0cfcSnicm#key_f57 kf57 str Fl - - ----- F57 function key 101*c7ef0cfcSnicm#key_f58 kf58 str Fm - - ----- F58 function key 102*c7ef0cfcSnicm#key_f59 kf59 str Fn - - ----- F59 function key 103*c7ef0cfcSnicm#key_f60 kf60 str Fo - - ----- F60 function key 104*c7ef0cfcSnicm#key_f61 kf61 str Fp - - ----- F61 function key 105*c7ef0cfcSnicm#key_f62 kf62 str Fq - - ----- F62 function key 106*c7ef0cfcSnicm#key_f63 kf63 str Fr - - ----- F63 function key 107*c7ef0cfcSnicm# 108*c7ef0cfcSnicm# IBM extensions 109*c7ef0cfcSnicm# 110*c7ef0cfcSnicm# These extensions follow ptr_non (replacing everything after it) in IBM 111*c7ef0cfcSnicm# terminfo files. 112*c7ef0cfcSnicm# 113*c7ef0cfcSnicm# The places in the box[12] capabilities correspond to acsc characters, here is 114*c7ef0cfcSnicm# the mapping: 115*c7ef0cfcSnicm# 116*c7ef0cfcSnicm# box1[0] = ACS_ULCORNER 117*c7ef0cfcSnicm# box1[1] = ACS_HLINE 118*c7ef0cfcSnicm# box1[2] = ACS_URCORNER 119*c7ef0cfcSnicm# box1[3] = ACS_VLINE 120*c7ef0cfcSnicm# box1[4] = ACS_LRCORNER 121*c7ef0cfcSnicm# box1[5] = ACS_LLCORNER 122*c7ef0cfcSnicm# box1[6] = ACS_TTEE 123*c7ef0cfcSnicm# box1[7] = ACS_RTEE 124*c7ef0cfcSnicm# box1[8] = ACS_BTEE 125*c7ef0cfcSnicm# box1[9] = ACS_LTEE 126*c7ef0cfcSnicm# box1[10] = ACS_PLUS 127*c7ef0cfcSnicm# 128*c7ef0cfcSnicm# The box2 characters are the double-line versions of these forms graphics. 129*c7ef0cfcSnicm# 130*c7ef0cfcSnicm#box_chars_1 box1 str bx - - ----K box characters primary set 131*c7ef0cfcSnicm#box_chars_2 box2 str by - - ----K box characters secondary set 132*c7ef0cfcSnicm#box_attr_1 batt1 str Bx - - ----K attributes for box1 133*c7ef0cfcSnicm#box_attr_2 batt2 str By - - ----K attributes for box2 134*c7ef0cfcSnicm#color_bg_0 colb0 str d0 - - ----K background color 0 135*c7ef0cfcSnicm#color_bg_1 colb1 str d1 - - ----K background color 1 136*c7ef0cfcSnicm#color_bg_2 colb2 str d2 - - ----K background color 2 137*c7ef0cfcSnicm#color_bg_3 colb3 str d3 - - ----K background color 3 138*c7ef0cfcSnicm#color_bg_4 colb4 str d4 - - ----K background color 4 139*c7ef0cfcSnicm#color_bg_5 colb5 str d5 - - ----K background color 5 140*c7ef0cfcSnicm#color_bg_6 colb6 str d6 - - ----K background color 6 141*c7ef0cfcSnicm#color_bg_7 colb7 str d7 - - ----K background color 7 142*c7ef0cfcSnicm#color_fg_0 colf0 str c0 - - ----K foreground color 0 143*c7ef0cfcSnicm#color_fg_1 colf1 str c1 - - ----K foreground color 1 144*c7ef0cfcSnicm#color_fg_2 colf2 str c2 - - ----K foreground color 2 145*c7ef0cfcSnicm#color_fg_3 colf3 str c3 - - ----K foreground color 3 146*c7ef0cfcSnicm#color_fg_4 colf4 str c4 - - ----K foreground color 4 147*c7ef0cfcSnicm#color_fg_5 colf5 str c5 - - ----K foreground color 5 148*c7ef0cfcSnicm#color_fg_6 colf6 str c6 - - ----K foreground color 6 149*c7ef0cfcSnicm#color_fg_7 colf7 str c7 - - ----K foreground color 7 150*c7ef0cfcSnicm#font_0 font0 str f0 - - ----- select font 0 151*c7ef0cfcSnicm#font_1 font1 str f1 - - ----- select font 1 152*c7ef0cfcSnicm#font_2 font2 str f2 - - ----- select font 2 153*c7ef0cfcSnicm#font_3 font3 str f3 - - ----- select font 3 154*c7ef0cfcSnicm#font_4 font4 str f4 - - ----K select font 4 155*c7ef0cfcSnicm#font_5 font5 str f5 - - ----K select font 5 156*c7ef0cfcSnicm#font_6 font6 str f6 - - ----K select font 6 157*c7ef0cfcSnicm#font_7 font7 str f7 - - ----K select font 7 158*c7ef0cfcSnicm#key_back_tab kbtab str k0 - - ----- backtab key 159*c7ef0cfcSnicm#key_do kdo str ki - - ----K do request key 160*c7ef0cfcSnicm#key_command kcmd str kd - - ----K command-request key 161*c7ef0cfcSnicm#key_command_pane kcpn str kW - - ----K command-pane key 162*c7ef0cfcSnicm#key_end kend str kw - - ----- end key 163*c7ef0cfcSnicm#key_help khlp str kq - - ----- help key 164*c7ef0cfcSnicm#key_newline knl str nl - - ----K newline key 165*c7ef0cfcSnicm#key_next_pane knpn str kv - - ----K next-pane key 166*c7ef0cfcSnicm#key_prev_cmd kppn str kp - - ----K previous-command key 167*c7ef0cfcSnicm#key_prev_pane kppn str kV - - ----K previous-pane key 168*c7ef0cfcSnicm#key_quit kquit str kQ - - ----K quit key 169*c7ef0cfcSnicm#key_select ksel str kU - - ----- select key 170*c7ef0cfcSnicm#key_scroll_left kscl str kz - - ----K scroll left 171*c7ef0cfcSnicm#key_scroll_right kscr str kZ - - ----K scroll right 172*c7ef0cfcSnicm#key_tab ktab str ko - - ----K tab key 173*c7ef0cfcSnicm#key_smap_in1 kmpf1 str Kv - - ----K special mapped key 1 input 174*c7ef0cfcSnicm#key_smap_out1 kmpt1 str KV - - ----K special mapped key 1 output 175*c7ef0cfcSnicm#key_smap_in2 kmpf2 str Kw - - ----K special mapped key 2 input 176*c7ef0cfcSnicm#key_smap_out2 kmpt2 str KW - - ----K special mapped key 2 output 177*c7ef0cfcSnicm#key_smap_in3 kmpf3 str Kx - - ----K special mapped key 3 input 178*c7ef0cfcSnicm#key_smap_out3 kmpt3 str KX - - ----K special mapped key 3 output 179*c7ef0cfcSnicm#key_smap_in4 kmpf4 str Ky - - ----K special mapped key 4 input 180*c7ef0cfcSnicm#key_smap_out4 kmpt4 str KY - - ----K special mapped key 4 output 181*c7ef0cfcSnicm#key_smap_in5 kmpf5 str Kz - - ----K special mapped key 5 input 182*c7ef0cfcSnicm#key_smap_out5 kmpt5 str KZ - - ----K special mapped key 5 output 183*c7ef0cfcSnicm#appl_defined_str apstr str za - - ----K application-defined string 184*c7ef0cfcSnicm# The key_smap_in[6789] and key_smap_out[6789] capabilities aren't described in 185*c7ef0cfcSnicm# the IBM manual pages, so the cap name strings are guesses. The terminfo 186*c7ef0cfcSnicm# names are almost certainly right, the termcap ones almost certainly wrong. 187*c7ef0cfcSnicm#key_smap_in6 kmpf6 str k! - - ----K special mapped key 6 input 188*c7ef0cfcSnicm#key_smap_out6 kmpt6 str K@ - - ----K special mapped key 6 output 189*c7ef0cfcSnicm#key_smap_in7 kmpf7 str k# - - ----K special mapped key 7 input 190*c7ef0cfcSnicm#key_smap_out7 kmpt7 str K$ - - ----K special mapped key 7 output 191*c7ef0cfcSnicm#key_smap_in8 kmpf8 str k% - - ----K special mapped key 8 input 192*c7ef0cfcSnicm#key_smap_out8 kmpt8 str K^ - - ----K special mapped key 8 output 193*c7ef0cfcSnicm#key_smap_in9 kmpf9 str k& - - ----K special mapped key 9 input 194*c7ef0cfcSnicm#key_smap_out9 kmpt9 str K* - - ----K special mapped key 9 output 195*c7ef0cfcSnicm# Undocumented capabilities end here 196*c7ef0cfcSnicm#key_sf1 ksf1 str S1 - - ----K special function key 1 197*c7ef0cfcSnicm#key_sf2 ksf2 str S2 - - ----K special function key 2 198*c7ef0cfcSnicm#key_sf3 ksf3 str S3 - - ----K special function key 3 199*c7ef0cfcSnicm#key_sf4 ksf4 str S4 - - ----K special function key 4 200*c7ef0cfcSnicm#key_sf5 ksf5 str S5 - - ----K special function key 5 201*c7ef0cfcSnicm#key_sf6 ksf6 str S6 - - ----K special function key 6 202*c7ef0cfcSnicm#key_sf7 ksf7 str S7 - - ----K special function key 7 203*c7ef0cfcSnicm#key_sf8 ksf8 str S8 - - ----K special function key 8 204*c7ef0cfcSnicm#key_sf9 ksf9 str S9 - - ----K special function key 9 205*c7ef0cfcSnicm#key_sf10 ksf10 str SA - - ----K special function key 10 206*c7ef0cfcSnicm# AIX version 3 documents different codes for F11, F12 and does not mention 207*c7ef0cfcSnicm# F13-F64. AIX version 4 uses the same naming for F0-F63 as above. 208*c7ef0cfcSnicm#key_f11 kf11 str k< - - ----- function key 11 209*c7ef0cfcSnicm#key_f12 kf12 str k> - - ----- function key 12 210*c7ef0cfcSnicm# Undocumented capabilities end here. 211*c7ef0cfcSnicm#key_action kact str kJ - - ----K sent by action key 212*c7ef0cfcSnicm# The IBM docs say these capabilities are for table-drawing, and are 213*c7ef0cfcSnicm# valid only for aixterm descriptions. 214*c7ef0cfcSnicm#enter_topline_mode topl str tp - - ----K start top-line mode 215*c7ef0cfcSnicm#enter_bottom_mode btml str bm - - ----K start bottom-line mode 216*c7ef0cfcSnicm#enter_rvert_mode rvert str rv - - ----K start right-vertical mode 217*c7ef0cfcSnicm#enter_lvert_mode lvert str lv - - ----K start left-vertical mode 218*c7ef0cfcSnicm# 219*c7ef0cfcSnicm############################################################################# 220*c7ef0cfcSnicm# 221*c7ef0cfcSnicm# ALIAS DECLARATIONS 222*c7ef0cfcSnicm# 223*c7ef0cfcSnicm# Here we set up aliases for translating extensions into standard terminfo. 224*c7ef0cfcSnicm# 225*c7ef0cfcSnicm#---------------------------------- Termcap aliases ------------------------- 226*c7ef0cfcSnicm# 227*c7ef0cfcSnicm# BSD aliases: 228*c7ef0cfcSnicm# 229*c7ef0cfcSnicm# This is a common error in many termcap files. We'll get notified during 230*c7ef0cfcSnicm# translation when this (or any other alias) fires. 231*c7ef0cfcSnicm# 232*c7ef0cfcSnicmcapalias sb sr BSD scroll text down 233*c7ef0cfcSnicm# 234*c7ef0cfcSnicm# AT&T extensions: 235*c7ef0cfcSnicm# 236*c7ef0cfcSnicm# The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of 237*c7ef0cfcSnicm# nonstandard capabilities. Its signature is the KM capability, used to name 238*c7ef0cfcSnicm# some sort of keymap file. EE, BO, CI, CV, XS, DS, FL and FE are in this 239*c7ef0cfcSnicm# set. Comments in the original, and a little cross-checking with other AT&T 240*c7ef0cfcSnicm# documentation, seem to establish the following mappings: 241*c7ef0cfcSnicm# 242*c7ef0cfcSnicmcapalias BO mr AT&T enter_reverse_mode 243*c7ef0cfcSnicmcapalias CI vi AT&T cursor_invisible 244*c7ef0cfcSnicmcapalias CV ve AT&T cursor_normal 245*c7ef0cfcSnicmcapalias DS mh AT&T enter_dim_mode 246*c7ef0cfcSnicm#capalias EE me AT&T exit_attribute_mode 247*c7ef0cfcSnicmcapalias FE LF AT&T label_on 248*c7ef0cfcSnicmcapalias FL LO AT&T label_off 249*c7ef0cfcSnicmcapalias XS mk AT&T enter_secure_mode 250*c7ef0cfcSnicm# 251*c7ef0cfcSnicm# We comment out EE because the conflicting XENIX EE is more common in 252*c7ef0cfcSnicm# old entries. 253*c7ef0cfcSnicm# 254*c7ef0cfcSnicm# XENIX extensions: 255*c7ef0cfcSnicm# 256*c7ef0cfcSnicm# These are the ones we know how to translate directly: 257*c7ef0cfcSnicm# 258*c7ef0cfcSnicmcapalias EE mh XENIX exit_attribute_mode 259*c7ef0cfcSnicmcapalias GE ae XENIX exit_alt_charset_mode 260*c7ef0cfcSnicmcapalias GS as XENIX enter_alt_charset_mode 261*c7ef0cfcSnicmcapalias CF vi XENIX cursor_invis 262*c7ef0cfcSnicmcapalias CO ve XENIX cursor_normal 263*c7ef0cfcSnicmcapalias EN @7 XENIX key_end 264*c7ef0cfcSnicmcapalias HM kh XENIX key_home 265*c7ef0cfcSnicmcapalias LD kL XENIX key_dl 266*c7ef0cfcSnicmcapalias PD kN XENIX key_npage 267*c7ef0cfcSnicmcapalias PN po XENIX prtr_off 268*c7ef0cfcSnicmcapalias PS pf XENIX prtr_on 269*c7ef0cfcSnicmcapalias PU kP XENIX key_ppage 270*c7ef0cfcSnicmcapalias RT @8 XENIX kent 271*c7ef0cfcSnicmcapalias UP ku XENIX kcuu1 272*c7ef0cfcSnicmcapalias G6 IGNORE XENIX double-ACS_ULCORNER 273*c7ef0cfcSnicmcapalias G7 IGNORE XENIX double-ACS_LLCORNER 274*c7ef0cfcSnicmcapalias G5 IGNORE XENIX double-ACS_URCORNER 275*c7ef0cfcSnicmcapalias G8 IGNORE XENIX double-ACS_LRCORNER 276*c7ef0cfcSnicmcapalias Gr IGNORE XENIX double-ACS_LTEE 277*c7ef0cfcSnicmcapalias Gr IGNORE XENIX double-ACS_RTEE 278*c7ef0cfcSnicmcapalias Gu IGNORE XENIX double-ACS_BTEE 279*c7ef0cfcSnicmcapalias Gd IGNORE XENIX double ACS_TTEE 280*c7ef0cfcSnicmcapalias Gh IGNORE XENIX double-ACS_HLINE 281*c7ef0cfcSnicmcapalias Gv IGNORE XENIX double-ACS_VLINE 282*c7ef0cfcSnicmcapalias Gc IGNORE XENIX double-ACS_PLUS 283*c7ef0cfcSnicmcapalias GG IGNORE XENIX acs-glitch 284*c7ef0cfcSnicm# 285*c7ef0cfcSnicm# IBM extensions: 286*c7ef0cfcSnicm# 287*c7ef0cfcSnicmcapalias kq %1 IBM key_help 288*c7ef0cfcSnicm# 289*c7ef0cfcSnicm# Iris extensions: 290*c7ef0cfcSnicm# 291*c7ef0cfcSnicmcapalias HS mh IRIS enter_dim_mode 292*c7ef0cfcSnicm# 293*c7ef0cfcSnicm# Tektronix extensions: 294*c7ef0cfcSnicm# 295*c7ef0cfcSnicmcapalias KA k; Tek key_f10 296*c7ef0cfcSnicmcapalias KB F1 Tek key_f11 297*c7ef0cfcSnicmcapalias KC F2 Tek key_f12 298*c7ef0cfcSnicmcapalias KD F3 Tek key_f13 299*c7ef0cfcSnicmcapalias KE F4 Tek key_f14 300*c7ef0cfcSnicmcapalias KF F5 Tek key_f15 301*c7ef0cfcSnicmcapalias BC Sb Tek set_background 302*c7ef0cfcSnicmcapalias FC Sf Tek set_foreground 303*c7ef0cfcSnicm# 304*c7ef0cfcSnicm# There are also the following: 305*c7ef0cfcSnicm# 306*c7ef0cfcSnicm# XENIX XENIX variable name name clash with terminfo? 307*c7ef0cfcSnicm# ----- ------------------- ------------------------- 308*c7ef0cfcSnicm# CL key_char_left 309*c7ef0cfcSnicm# CR key_char_right 310*c7ef0cfcSnicm# CW key_change_window 311*c7ef0cfcSnicm# HP ?? 312*c7ef0cfcSnicm# LF key_linefeed label_off 313*c7ef0cfcSnicm# NU key_next_unlocked_cell 314*c7ef0cfcSnicm# PL ?? 315*c7ef0cfcSnicm# PR ?? 316*c7ef0cfcSnicm# RC key_recalc remove_clock 317*c7ef0cfcSnicm# RF key_toggle_ref req_for_input 318*c7ef0cfcSnicm# WL key_word_left 319*c7ef0cfcSnicm# WR key_word_right 320*c7ef0cfcSnicm# 321*c7ef0cfcSnicm# If you know what any of the question-marked ones mean, please tell us. 322*c7ef0cfcSnicm# 323*c7ef0cfcSnicm#--------------------------------- Terminfo aliases ------------------------ 324*c7ef0cfcSnicm# 325*c7ef0cfcSnicm# IBM extensions: 326*c7ef0cfcSnicm# 327*c7ef0cfcSnicminfoalias font0 s0ds IBM set0_des_seq 328*c7ef0cfcSnicminfoalias font1 s1ds IBM set1_des_seq 329*c7ef0cfcSnicminfoalias font2 s2ds IBM set2_des_seq 330*c7ef0cfcSnicminfoalias font3 s3ds IBM set3_des_seq 331*c7ef0cfcSnicminfoalias kbtab kcbt IBM key_backtab 332*c7ef0cfcSnicminfoalias ksel kslt IBM key_select 333*c7ef0cfcSnicm# 334*c7ef0cfcSnicm# Some others are identical to SVr4/XPG4 capabilities, in particular: 335*c7ef0cfcSnicm# kcmd, kend, khlp, and kf11...kf63. 336*c7ef0cfcSnicm# 337*c7ef0cfcSnicm############################################################################# 338*c7ef0cfcSnicm# This is a table of ncurses user-definable capabilities which applications 339*c7ef0cfcSnicm# developers may have used. ncurses may use the table to check consistency of 340*c7ef0cfcSnicm# types/parameters. Applications may have defined others (such as screen's 341*c7ef0cfcSnicm# LP and NF), but where a standard capability is available, those alternatives 342*c7ef0cfcSnicm# are not listed here. 343*c7ef0cfcSnicm# 344*c7ef0cfcSnicmused_by ncurses 345*c7ef0cfcSnicmuserdef CO num n number of indexed colors overlaying RGB space 346*c7ef0cfcSnicmuserdef E3 str - clears the terminal's scrollback buffer. 347*c7ef0cfcSnicmuserdef NQ bool - terminal does not support query/response 348*c7ef0cfcSnicmuserdef RGB bool - use direct colors with 1/3 of color-pair bits per color. 349*c7ef0cfcSnicmuserdef RGB num n use direct colors with given number of bits per color. 350*c7ef0cfcSnicmuserdef RGB str - use direct colors with given bit-layout. 351*c7ef0cfcSnicmuserdef TS str - like "tsl", but uses no parameter. 352*c7ef0cfcSnicmuserdef U8 num n terminal does/does not support VT100 SI/SO when processing UTF-8 encoding. 353*c7ef0cfcSnicmuserdef XM str n initialize alternate xterm mouse mode 354*c7ef0cfcSnicmuserdef grbom str - disable real bold (not intensity bright) mode. 355*c7ef0cfcSnicmuserdef gsbom str - enable real bold (not intensity bright) mode. 356*c7ef0cfcSnicmuserdef xm str - mouse response, no parameters 357*c7ef0cfcSnicmuserdef xm str n mouse response, p1 = y-ordinate 358*c7ef0cfcSnicmuserdef xm str nn mouse response, p2 = x-ordinate 359*c7ef0cfcSnicmuserdef xm str nnn mouse response, p3 = button 360*c7ef0cfcSnicmuserdef xm str nnns mouse response, p4 = state, e.g., pressed or released 361*c7ef0cfcSnicmuserdef xm str nnnsn mouse response, p5 = y-ordinate starting region 362*c7ef0cfcSnicmuserdef xm str nnnsnn mouse response, p6 = x-ordinate starting region 363*c7ef0cfcSnicmuserdef xm str nnnsnnn mouse response, p7 = y-ordinate ending region 364*c7ef0cfcSnicmuserdef xm str nnnsnnnn mouse response, p8 = x-ordinate ending region 365*c7ef0cfcSnicm# 366*c7ef0cfcSnicmused_by mintty 367*c7ef0cfcSnicmuserdef Rmol str - remove overline-mode 368*c7ef0cfcSnicmuserdef Smol str - set overline-mode 369*c7ef0cfcSnicmuserdef blink2 str - turn on rapid blinking 370*c7ef0cfcSnicmuserdef norm str - turn off bold and half-bright mode 371*c7ef0cfcSnicmuserdef opaq str - turn off blank mode 372*c7ef0cfcSnicmuserdef setal str n set underline-color 373*c7ef0cfcSnicmuserdef smul2 str - begin double underline mode 374*c7ef0cfcSnicm# 375*c7ef0cfcSnicmused_by screen 376*c7ef0cfcSnicmuserdef AN bool - turn on autonuke. 377*c7ef0cfcSnicmuserdef AX bool - understands ANSI set default fg/bg color (\E[39m / \E[49m). 378*c7ef0cfcSnicmuserdef C0 str - use the string as a conversion table for font '0', like acsc. 379*c7ef0cfcSnicmuserdef C8 bool - terminal shows bold as high-intensity colors. 380*c7ef0cfcSnicmuserdef CE str - switch cursor-keys back to normal mode. 381*c7ef0cfcSnicmuserdef CS str - switch cursor-keys to application mode. 382*c7ef0cfcSnicmuserdef E0 str - switch charset 'G0' back to standard charset. Default is '\E(B'. 383*c7ef0cfcSnicmuserdef G0 bool - terminal can deal with ISO 2022 font selection sequences. 384*c7ef0cfcSnicmuserdef KJ str s set the encoding of the terminal. 385*c7ef0cfcSnicmuserdef OL num n set the screen program's output buffer limit. 386*c7ef0cfcSnicmuserdef S0 str s switch charset 'G0' to the specified charset. Default is '\E(%.'. 387*c7ef0cfcSnicmuserdef TF bool - add missing capabilities to screen's termcap/info entry. (Set by default). 388*c7ef0cfcSnicmuserdef WS str nn resize display. This capability has the desired width and height as arguments. SunView(tm) example: '\E[8;%d;%dt'. 389*c7ef0cfcSnicmuserdef XC str s describe a translation of characters to strings depending on the current font. 390*c7ef0cfcSnicmuserdef XT bool - terminal understands special xterm sequences (OSC, mouse tracking). 391*c7ef0cfcSnicmuserdef Z0 str - change width to 132 columns. 392*c7ef0cfcSnicmuserdef Z1 str - change width to 80 columns. 393*c7ef0cfcSnicm# 394*c7ef0cfcSnicmused_by tmux 395*c7ef0cfcSnicmuserdef Cr str - restore the default cursor color. 396*c7ef0cfcSnicmuserdef Cs str s set the cursor color. 397*c7ef0cfcSnicmuserdef Csr str n change the cursor style, overriding Ss. 398*c7ef0cfcSnicmuserdef Ms str ss store the current buffer in the host terminal's selection (clipboard). 399*c7ef0cfcSnicmuserdef Se str - reset the cursor style to the terminal initial state. 400*c7ef0cfcSnicmuserdef Smulx str n modify the appearance of underlines in VTE. 401*c7ef0cfcSnicmuserdef Ss str n change the cursor style. 402*c7ef0cfcSnicmuserdef rmxx str - reset ECMA-48 strikeout/crossed-out attributes. 403*c7ef0cfcSnicmuserdef smxx str - set ECMA-48 strikeout/crossed-out attributes. 404*c7ef0cfcSnicm# 405*c7ef0cfcSnicmused_by vim 406*c7ef0cfcSnicmuserdef BD str - disables bracketed paste 407*c7ef0cfcSnicmuserdef BE str - enables bracketed paste 408*c7ef0cfcSnicmuserdef PE str - is sent after pasted text 409*c7ef0cfcSnicmuserdef PS str - is sent before pasted text 410*c7ef0cfcSnicmuserdef RV str - report terminal secondary device attributes 411*c7ef0cfcSnicmuserdef XR str - report terminal version as a free-format string. 412*c7ef0cfcSnicmuserdef XF bool - terminal supports xterm focus in/out 413*c7ef0cfcSnicmuserdef rv str - response to RV, regular expression 414*c7ef0cfcSnicmuserdef xr str - response to XR, regular expression 415*c7ef0cfcSnicm# 416*c7ef0cfcSnicmused_by xterm 417*c7ef0cfcSnicmuserdef csl str - clear status line 418*c7ef0cfcSnicmuserdef kDC3 str - alt delete-character 419*c7ef0cfcSnicmuserdef kDC4 str - shift+alt delete-character 420*c7ef0cfcSnicmuserdef kDC5 str - control delete-character 421*c7ef0cfcSnicmuserdef kDC6 str - shift+control delete-character 422*c7ef0cfcSnicmuserdef kDC7 str - alt+control delete-character 423*c7ef0cfcSnicmuserdef kDN str - shift down-cursor 424*c7ef0cfcSnicmuserdef kDN3 str - alt down-cursor 425*c7ef0cfcSnicmuserdef kDN4 str - shift+alt down-cursor 426*c7ef0cfcSnicmuserdef kDN5 str - control down-cursor 427*c7ef0cfcSnicmuserdef kDN6 str - shift+control down-cursor 428*c7ef0cfcSnicmuserdef kDN7 str - alt+control down-cursor 429*c7ef0cfcSnicmuserdef kEND3 str - alt end 430*c7ef0cfcSnicmuserdef kEND4 str - shift+alt end 431*c7ef0cfcSnicmuserdef kEND5 str - control end 432*c7ef0cfcSnicmuserdef kEND6 str - shift+control end 433*c7ef0cfcSnicmuserdef kEND7 str - alt+control end 434*c7ef0cfcSnicmuserdef kHOM3 str - alt home 435*c7ef0cfcSnicmuserdef kHOM4 str - shift+alt home 436*c7ef0cfcSnicmuserdef kHOM5 str - control home 437*c7ef0cfcSnicmuserdef kHOM6 str - shift+control home 438*c7ef0cfcSnicmuserdef kHOM7 str - alt+control home 439*c7ef0cfcSnicmuserdef kIC3 str - alt insert-character 440*c7ef0cfcSnicmuserdef kIC4 str - shift+alt insert-character 441*c7ef0cfcSnicmuserdef kIC5 str - control insert-character 442*c7ef0cfcSnicmuserdef kIC6 str - shift+control insert-character 443*c7ef0cfcSnicmuserdef kIC7 str - alt+control insert-character 444*c7ef0cfcSnicmuserdef kLFT3 str - alt left-cursor 445*c7ef0cfcSnicmuserdef kLFT4 str - shift+alt left-cursor 446*c7ef0cfcSnicmuserdef kLFT5 str - control left-cursor 447*c7ef0cfcSnicmuserdef kLFT6 str - shift+control left-cursor 448*c7ef0cfcSnicmuserdef kLFT7 str - alt+control left-cursor 449*c7ef0cfcSnicmuserdef kNXT3 str - alt next 450*c7ef0cfcSnicmuserdef kNXT4 str - shift+alt next 451*c7ef0cfcSnicmuserdef kNXT5 str - control next 452*c7ef0cfcSnicmuserdef kNXT6 str - shift+control next 453*c7ef0cfcSnicmuserdef kNXT7 str - alt+control next 454*c7ef0cfcSnicmuserdef kPRV3 str - alt previous 455*c7ef0cfcSnicmuserdef kPRV4 str - shift+alt previous 456*c7ef0cfcSnicmuserdef kPRV5 str - control previous 457*c7ef0cfcSnicmuserdef kPRV6 str - shift+control previous 458*c7ef0cfcSnicmuserdef kPRV7 str - alt+control previous 459*c7ef0cfcSnicmuserdef kRIT3 str - alt right-cursor 460*c7ef0cfcSnicmuserdef kRIT4 str - shift+alt right-cursor 461*c7ef0cfcSnicmuserdef kRIT5 str - control right-cursor 462*c7ef0cfcSnicmuserdef kRIT6 str - shift+control right-cursor 463*c7ef0cfcSnicmuserdef kRIT7 str - alt+control right-cursor 464*c7ef0cfcSnicmuserdef kUP str - shift up-cursor 465*c7ef0cfcSnicmuserdef kUP3 str - alt up-cursor 466*c7ef0cfcSnicmuserdef kUP4 str - shift+alt up-cursor 467*c7ef0cfcSnicmuserdef kUP5 str - control up-cursor 468*c7ef0cfcSnicmuserdef kUP6 str - shift+control up-cursor 469*c7ef0cfcSnicmuserdef kUP7 str - alt+control up-cursor 470*c7ef0cfcSnicmuserdef ka2 str - vt220-keypad extensions 471*c7ef0cfcSnicmuserdef kb1 str - vt220-keypad extensions 472*c7ef0cfcSnicmuserdef kb3 str - vt220-keypad extensions 473*c7ef0cfcSnicmuserdef kc2 str - vt220-keypad extensions 474*c7ef0cfcSnicmuserdef kxIN str - mouse response on focus-in 475*c7ef0cfcSnicmuserdef kxOUT str - mouse response on focus-out 476*c7ef0cfcSnicm############################################################################# 477