1 ##############################################################################
2 # Copyright (c) 2019 Free Software Foundation, Inc. #
4 # Permission is hereby granted, free of charge, to any person obtaining a #
5 # copy of this software and associated documentation files (the "Software"), #
6 # to deal in the Software without restriction, including without limitation #
7 # the rights to use, copy, modify, merge, publish, distribute, distribute #
8 # with modifications, sublicense, and/or sell copies of the Software, and to #
9 # permit persons to whom the Software is furnished to do so, subject to the #
10 # following conditions: #
12 # The above copyright notice and this permission notice shall be included in #
13 # all copies or substantial portions of the Software. #
15 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
16 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
17 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL #
18 # THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
19 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #
20 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #
21 # DEALINGS IN THE SOFTWARE. #
23 # Except as contained in this notice, the name(s) of the above copyright #
24 # holders shall not be used in advertising or otherwise to promote the sale, #
25 # use or other dealings in this Software without prior written #
27 ##############################################################################
29 # Author: Thomas E. Dickey
31 # $Id: Caps-ncurses,v 1.2 2019/03/02 22:46:09 tom Exp $
33 # This is a table of ncurses user-definable capabilities which applications
34 # developers may have used. ncurses may use the table to check consistency of
35 # types/parameters. Applications may have defined others (such as screen's
36 # LP and NF), but where a standard capability is available, those alternatives
37 # are not listed here.
40 userdef E3 str - clears the terminal's scrollback buffer.
41 userdef RGB bool - use direct colors with 1/3 of color-pair bits per color.
42 userdef RGB num n use direct colors with given number of bits per color.
43 userdef RGB str nnn use direct colors with given bit-layout.
44 userdef TS str - like "tsl", but uses no parameter.
45 userdef U8 num n terminal does/does not support VT100 SI/SO when processing UTF-8 encoding.
46 userdef XM str - initialize alternate xterm mouse mode
47 userdef grbom str - disable real bold (not intensity bright) mode.
48 userdef gsbom str - enable real bold (not intensity bright) mode.
49 userdef xm str - mouse response, no parameters
50 userdef xm str n mouse response, p1 = y-ordinate
51 userdef xm str nn mouse response, p2 = x-ordinate
52 userdef xm str nnn mouse response, p3 = button
53 userdef xm str nnns mouse response, p4 = state, e.g., pressed or released
54 userdef xm str nnnsn mouse response, p6 = y-ordinate starting region
55 userdef xm str nnnsnn mouse response, p7 = x-ordinate starting region
56 userdef xm str nnnsnnn mouse response, p8 = y-ordinate ending region
57 userdef xm str nnnsnnnn mouse response, p9 = x-ordinate ending region
60 userdef AN bool - turn on autonuke.
61 userdef AX bool - understands ANSI set default fg/bg color (\E[39m / \E[49m).
62 userdef C0 str - use the string as a conversion table for font '0', like acsc.
63 userdef C8 bool - terminal shows bold as high-intensity colors.
64 userdef CE str - switch cursor-keys back to normal mode.
65 userdef CS str - switch cursor-keys to application mode.
66 userdef E0 str - switch charset 'G0' back to standard charset. Default is '\E(B'.
67 userdef G0 bool - terminal can deal with ISO 2022 font selection sequences.
68 userdef KJ str s set the encoding of the terminal.
69 userdef OL num n set the screen program's output buffer limit.
70 userdef S0 str s switch charset 'G0' to the specified charset. Default is '\E(%.'.
71 userdef TF bool - add missing capabilities to screen's termcap/info entry. (Set by default).
72 userdef WS str nn resize display. This capability has the desired width and height as arguments. SunView(tm) example: '\E[8;%d;%dt'.
73 userdef XC str s describe a translation of characters to strings depending on the current font.
74 userdef XT bool - terminal understands special xterm sequences (OSC, mouse tracking).
75 userdef Z0 str - change width to 132 columns.
76 userdef Z1 str - change width to 80 columns.
79 userdef Cr str - restore the default cursor color.
80 userdef Cs str s set the cursor color.
81 userdef Csr str n change the cursor style, overriding Ss.
82 userdef Ms str ss store the current buffer in the host terminal's selection (clipboard).
83 userdef Se str - reset the cursor style to the terminal initial state.
84 userdef Smulx str n modify the appearance of underlines in VTE.
85 userdef Ss str n change the cursor style.
86 userdef rmxx str - reset ECMA-48 strikeout/crossed-out attributes.
87 userdef smxx str - set ECMA-48 strikeout/crossed-out attributes.
90 userdef kDC3 str - alt delete-character
91 userdef kDC4 str - shift+alt delete-character
92 userdef kDC5 str - control delete-character
93 userdef kDC6 str - shift+control delete-character
94 userdef kDC7 str - alt+control delete-character
95 userdef kDN str - shift down-cursor
96 userdef kDN3 str - alt down-cursor
97 userdef kDN4 str - shift+alt down-cursor
98 userdef kDN5 str - control down-cursor
99 userdef kDN6 str - shift+control down-cursor
100 userdef kDN7 str - alt+control down-cursor
101 userdef kEND3 str - alt end
102 userdef kEND4 str - shift+alt end
103 userdef kEND5 str - control end
104 userdef kEND6 str - shift+control end
105 userdef kEND7 str - alt+control end
106 userdef kHOM3 str - alt home
107 userdef kHOM4 str - shift+alt home
108 userdef kHOM5 str - control home
109 userdef kHOM6 str - shift+control home
110 userdef kHOM7 str - alt+control home
111 userdef kIC3 str - alt insert-character
112 userdef kIC4 str - shift+alt insert-character
113 userdef kIC5 str - control insert-character
114 userdef kIC6 str - shift+control insert-character
115 userdef kIC7 str - alt+control insert-character
116 userdef kLFT3 str - alt left-cursor
117 userdef kLFT4 str - shift+alt left-cursor
118 userdef kLFT5 str - control left-cursor
119 userdef kLFT6 str - shift+control left-cursor
120 userdef kLFT7 str - alt+control left-cursor
121 userdef kNXT3 str - alt next
122 userdef kNXT4 str - shift+alt next
123 userdef kNXT5 str - control next
124 userdef kNXT6 str - shift+control next
125 userdef kNXT7 str - alt+control next
126 userdef kPRV3 str - alt previous
127 userdef kPRV4 str - shift+alt previous
128 userdef kPRV5 str - control previous
129 userdef kPRV6 str - shift+control previous
130 userdef kPRV7 str - alt+control previous
131 userdef kRIT3 str - alt right-cursor
132 userdef kRIT4 str - shift+alt right-cursor
133 userdef kRIT5 str - control right-cursor
134 userdef kRIT6 str - shift+control right-cursor
135 userdef kRIT7 str - alt+control right-cursor
136 userdef kUP str - shift up-cursor
137 userdef kUP3 str - alt up-cursor
138 userdef kUP4 str - shift+alt up-cursor
139 userdef kUP5 str - control up-cursor
140 userdef kUP6 str - shift+control up-cursor
141 userdef kUP7 str - alt+control up-cursor
142 userdef ka2 str - vt220-keypad extensions
143 userdef kb1 str - vt220-keypad extensions
144 userdef kb3 str - vt220-keypad extensions
145 userdef kc2 str - vt220-keypad extensions