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