xref: /illumos-gate/usr/src/lib/libcurses/screen/caps (revision 8226594fdd4479be135127f43632f1f995074654)
1#
2# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# CDDL HEADER START
6#
7# The contents of this file are subject to the terms of the
8# Common Development and Distribution License, Version 1.0 only
9# (the "License").  You may not use this file except in compliance
10# with the License.
11#
12# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13# or http://www.opensolaris.org/os/licensing.
14# See the License for the specific language governing permissions
15# and limitations under the License.
16#
17# When distributing Covered Code, include this CDDL HEADER in each
18# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19# If applicable, add the following below this CDDL HEADER, with the
20# fields enclosed by brackets "[]" replaced with your own identifying
21# information: Portions Copyright [yyyy] [name of copyright owner]
22#
23# CDDL HEADER END
24#
25
26#	Copyright (c) 1988 AT&T
27#	  All Rights Reserved
28
29#
30# University Copyright- Copyright (c) 1982, 1986, 1988
31# The Regents of the University of California
32# All Rights Reserved
33#
34# University Acknowledgment- Portions of this document are derived from
35# software developed by the University of California, Berkeley, and its
36# contributors.
37#
38
39# Be sure to add new capabilties at the END of the appropriate section!
40--- begin bool
41auto_left_margin,	"bw"	"bw"	cub1 wraps from column 0 to last column
42auto_right_margin,	"am"	"am"	Terminal has automatic margins
43no_esc_ctlc,		"xsb"	"xb"	Beehive (f1=escape, f2=ctrl C)
44ceol_standout_glitch,	"xhp"	"xs"	Standout not erased by overwriting (hp)
45eat_newline_glitch,	"xenl"	"xn"	newline ignored after 80 cols (Concept)
46erase_overstrike,	"eo"	"eo"	Can erase overstrikes with a blank
47generic_type,		"gn"	"gn"	Generic line type (e.g. dialup, switch).
48hard_copy,		"hc"	"hc"	Hardcopy terminal
49has_meta_key,		"km"	"km"	Has a meta key (shift, sets parity bit)
50has_status_line,	"hs"	"hs"	Has extra "status line"
51insert_null_glitch,	"in"	"in"	Insert mode distinguishes nulls
52memory_above,		"da"	"da"	Display may be retained above the screen
53memory_below,		"db"	"db"	Display may be retained below the screen
54move_insert_mode,	"mir"	"mi"	Safe to move while in insert mode
55move_standout_mode,	"msgr"	"ms"	Safe to move in standout modes
56over_strike,		"os"	"os"	Terminal overstrikes
57status_line_esc_ok,	"eslok"	"es"	Escape can be used on the status line
58dest_tabs_magic_smso,	"xt"	"xt"	Tabs destructive, magic so char (t1061)
59tilde_glitch,		"hz"	"hz"	Hazeltine; can't print ~'s
60transparent_underline,	"ul"	"ul"	underline character overstrikes
61xon_xoff,		"xon"	"xo"	Terminal uses xon/xoff handshaking
62needs_xon_xoff,		"nxon"	"nx"	Padding won't work, xon/xoff required
63prtr_silent,		"mc5i"	"5i"	Printer won't echo on screen.
64hard_cursor,		"chts"	"HC"	Cursor is hard to see.
65non_rev_rmcup,		"nrrmc"	"NR"	Smcup does not reverse rmcup.
66no_pad_char,		"npc"	"NP"	Pad character doesn't exist.
67non_dest_scroll_region,	"ndscr"	"ND"	Scrolling region is non-destructive.
68can_change,		"ccc"	"cc"	Can re-define existing color
69back_color_erase,	"bce"	"ut"	Erases screen with current background
70hue_lightness_saturation,	"hls"	"hl"	HLS color notation is used (Tek)
71#
72# printer specific
73#
74col_addr_glitch,	"xhpa"	"YA"	Only positive motion for hpa/mhpa caps
75cr_cancels_micro_mode,	"crxm"	"YB"	Using cr turns off micro mode
76has_print_wheel,	"daisy"	"YC"	Printer needs operator to change character set
77row_addr_glitch,	"xvpa"	"YD"	Only positive motion for vpa/mvpa caps
78semi_auto_right_margin,	"sam"	"YE"	Printing in last column causes cr
79cpi_changes_res,	"cpix"	"YF"	Changing char. pitch changes resolution
80lpi_changes_res,	"lpix"	"YG"	Changing line pitch changes resolution
81# Add new Booleans before this line.
82--- end bool
83
84--- begin num
85columns,		"cols"	"co"	Number of columns in a line
86init_tabs,		"it"	"it"	Tabs initially every # spaces.
87lines,			"lines"	"li"	Number of lines on screen or page
88lines_of_memory,	"lm"	"lm"	Lines of memory if > lines.  0 => varies
89magic_cookie_glitch,	"xmc"	"sg"	Number blank chars left by smso or rmso
90padding_baud_rate,	"pb"	"pb"	Lowest baud rate where padding needed
91virtual_terminal,	"vt"	"vt"	Virtual terminal number (CB/Unix)
92width_status_line,	"wsl"	"ws"	# columns in status line
93num_labels,		"nlab"	"Nl"	# of labels on screen (start at 1)
94label_height,		"lh"	"lh"	# rows in each label
95label_width,		"lw"	"lw"	# cols in each label
96max_attributes,		"ma"	"ma"	max combined video attributes terminal can display
97#
98#
99#
100maximum_windows,	"wnum"	"MW"	Maximum number of defineable windows
101max_colors,		"colors"	"Co"	max # of color on the screen
102max_pairs,		"pairs"	"pa"	max # of color pairs on the screen
103no_color_video,		"ncv"	"NC"	Video attributes that cannot be used with colors
104#
105# printer specific
106#
107buffer_capacity,	"bufsz"	"Ya"	Number of bytes buffered before printing
108dot_vert_spacing,	"spinv"	"Yb"	Spacing of pins vertically in pins per inch
109dot_horz_spacing,	"spinh"	"Yc"	Spacing of dots horizontally in dots per inch
110max_micro_address,	"maddr"	"Yd"	Maximum value in micro_..._address
111max_micro_jump,		"mjump"	"Ye"	Maximum value in parm_..._micro
112micro_char_size,	"mcs"	"Yf"	Character step size when in micro mode
113micro_line_size,	"mls"	"Yg"	Line step size when in micro mode
114number_of_pins,		"npins"	"Yh"	Number of pins in print-head
115output_res_char,	"orc"	"Yi"	Horizontal resolution in units per character
116output_res_line,	"orl"	"Yj"	Vertical resolution in units per line
117output_res_horz_inch,	"orhi"	"Yk"	Horizontal resolution in units per inch
118output_res_vert_inch,	"orvi"	"Yl"	Vertical resolution in units per inch
119print_rate,		"cps"	"Ym"	Print rate in characters per second
120wide_char_size,		"widcs"	"Yn"	Character step size when in double wide mode
121#
122# mouse support
123#
124buttons,		"btns"	"BT"	Number of buttons on the mouse
125#
126# Additional printer nums
127#
128bit_image_entwining,	"bitwin"	"Yo"	Number of passes for each bit-image row
129bit_image_type,		"bitype"	"Yp"	Type of bit-image device
130# Add new numbers before this line.
131--- end num
132
133--- begin str
134back_tab,		"cbt"	"bt"	Back tab
135bell,			"bel"	"bl"	Audible signal (bell)
136carriage_return,	"cr"	"cr"	Carriage return (*)
137change_scroll_region,	"csr"	"cs"	change to lines #1 thru #2 (vt100) (G)
138clear_all_tabs,		"tbc"	"ct"	Clear all tab stops.
139clear_screen,		"clear"	"cl"	Clear screen (*)
140clr_eol,		"el"	"ce"	Clear to end of line
141clr_eos,		"ed"	"cd"	Clear to end of display (*)
142column_address,		"hpa"	"ch"	Set cursor column (G)
143command_character,	"cmdch"	"CC"	Term. settable cmd char in prototype
144cursor_address,		"cup"	"cm"	Cursor motion to row #1 col #2 (G)
145cursor_down,		"cud1"	"do"	Down one line
146cursor_home,		"home"	"ho"	Home cursor (if no cup)
147cursor_invisible,	"civis"	"vi"	Make cursor invisible
148cursor_left,		"cub1"	"le"	Move cursor left one space.
149cursor_mem_address,	"mrcup"	"CM"	Memory relative cursor addressing.
150cursor_normal,		"cnorm"	"ve"	Make cursor appear normal (undo vs/vi)
151cursor_right,		"cuf1"	"nd"	Non-destructive space (cursor right)
152cursor_to_ll,		"ll"	"ll"	Last line, first column (if no cup)
153cursor_up,		"cuu1"	"up"	Upline (cursor up)
154cursor_visible,		"cvvis"	"vs"	Make cursor very visible
155delete_character,	"dch1"	"dc"	Delete character (*)
156delete_line,		"dl1"	"dl"	Delete line (*)
157dis_status_line,	"dsl"	"ds"	Disable status line
158down_half_line,		"hd"	"hd"	Half-line down (forward 1/2 linefeed)
159enter_alt_charset_mode,	"smacs"	"as"	Start alternate character set
160enter_blink_mode,	"blink"	"mb"	Turn on blinking
161enter_bold_mode,	"bold"	"md"	Turn on bold (extra bright) mode
162enter_ca_mode,		"smcup"	"ti"	String to begin programs that use cup
163enter_delete_mode,	"smdc"	"dm"	Delete mode (enter)
164enter_dim_mode,		"dim"	"mh"	Turn on half-bright mode
165enter_insert_mode,	"smir"	"im"	Insert mode (enter);
166enter_secure_mode,	"invis"	"mk"	Turn on blank mode (chars invisible)
167enter_protected_mode,	"prot"	"mp"	Turn on protected mode
168enter_reverse_mode,	"rev"	"mr"	Turn on reverse video mode
169enter_standout_mode,	"smso"	"so"	Begin stand out mode
170enter_underline_mode,	"smul"	"us"	Start underscore mode
171erase_chars,		"ech"	"ec"	Erase #1 characters (G)
172exit_alt_charset_mode,	"rmacs"	"ae"	End alternate character set
173exit_attribute_mode,	"sgr0"	"me"	Turn off all attributes
174exit_ca_mode,		"rmcup"	"te"	String to end programs that use cup
175exit_delete_mode,	"rmdc"	"ed"	End delete mode
176exit_insert_mode,	"rmir"	"ei"	End insert mode;
177exit_standout_mode,	"rmso"	"se"	End stand out mode
178exit_underline_mode,	"rmul"	"ue"	End underscore mode
179flash_screen,		"flash"	"vb"	Visible bell (may not move cursor)
180form_feed,		"ff"	"ff"	Hardcopy terminal page eject (*)
181from_status_line,	"fsl"	"fs"	Return from status line
182init_1string,		"is1"	"i1"	Terminal initialization string
183init_2string,		"is2"	"is"	Terminal initialization string
184init_3string,		"is3"	"i3"	Terminal initialization string
185init_file,		"if"	"if"	Name of file containing is
186insert_character,	"ich1"	"ic"	Insert character
187insert_line,		"il1"	"al"	Add new blank line (*)
188insert_padding,		"ip"	"ip"	Insert pad after character inserted (*)
189key_backspace,		"kbs"	"kb"	KEY_BACKSPACE, 0407, Sent by backspace key
190key_catab,		"ktbc"	"ka"	KEY_CATAB, 0526, Sent by clear-all-tabs key.
191key_clear,		"kclr"	"kC"	KEY_CLEAR, 0515, Sent by clear screen or erase key.
192key_ctab,		"kctab"	"kt"	KEY_CTAB, 0525, Sent by clear-tab key
193key_dc,			"kdch1"	"kD"	KEY_DC, 0512, Sent by delete character key.
194key_dl,			"kdl1"	"kL"	KEY_DL, 0510, Sent by delete line key.
195key_down,		"kcud1"	"kd"	KEY_DOWN, 0402, Sent by terminal down arrow key
196key_eic,		"krmir"	"kM"	KEY_EIC, 0514, Sent by rmir or smir in ins mode.
197key_eol,		"kel"	"kE"	KEY_EOL, 0517, Sent by clear-to-end-of-line key.
198key_eos,		"ked"	"kS"	KEY_EOS, 0516, Sent by clear-to-end-of-screen.
199key_f0,			"kf0"	"k0"	KEY_F(0), 0410, function key f0.
200key_f1,			"kf1"	"k1"	KEY_F(1), 0411, function key f1.
201key_f10,		"kf10"	"k;"	KEY_F(10), 0422, function key f10.
202key_f2,			"kf2"	"k2"	KEY_F(2), 0412, function key f2.
203key_f3,			"kf3"	"k3"	KEY_F(3), 0413, function key f3.
204key_f4,			"kf4"	"k4"	KEY_F(4), 0414, function key f4.
205key_f5,			"kf5"	"k5"	KEY_F(5), 0415, function key f5.
206key_f6,			"kf6"	"k6"	KEY_F(6), 0416, function key f6.
207key_f7,			"kf7"	"k7"	KEY_F(7), 0417, function key f7.
208key_f8,			"kf8"	"k8"	KEY_F(8), 0420, function key f8.
209key_f9,			"kf9"	"k9"	KEY_F(9), 0421, function key f9.
210key_home,		"khome"	"kh"	KEY_HOME, 0406, Sent by home key.
211key_ic,			"kich1"	"kI"	KEY_IC, 0513, Sent by ins char/enter mode key.
212key_il,			"kil1"	"kA"	KEY_IL, 0511, Sent by insert line.
213key_left,		"kcub1"	"kl"	KEY_LEFT, 0404, Sent by terminal left arrow key
214key_ll,			"kll"	"kH"	KEY_LL, 0533, Sent by home-down key
215key_npage,		"knp"	"kN"	KEY_NPAGE, 0522, Sent by next-page key
216key_ppage,		"kpp"	"kP"	KEY_PPAGE, 0523, Sent by previous-page key
217key_right,		"kcuf1"	"kr"	KEY_RIGHT, 0405, Sent by terminal right arrow key
218key_sf,			"kind"	"kF"	KEY_SF, 0520, Sent by scroll-forward/down key
219key_sr,			"kri"	"kR"	KEY_SR, 0521, Sent by scroll-backward/up key
220key_stab,		"khts"	"kT"	KEY_STAB, 0524, Sent by set-tab key
221key_up,			"kcuu1"	"ku"	KEY_UP, 0403, Sent by terminal up arrow key
222keypad_local,		"rmkx"	"ke"	Out of "keypad transmit" mode
223keypad_xmit,		"smkx"	"ks"	Put terminal in "keypad transmit" mode
224lab_f0,			"lf0"	"l0"	Labels on function key f0 if not f0
225lab_f1,			"lf1"	"l1"	Labels on function key f1 if not f1
226lab_f10,		"lf10"	"la"	Labels on function key f10 if not f10
227lab_f2,			"lf2"	"l2"	Labels on function key f2 if not f2
228lab_f3,			"lf3"	"l3"	Labels on function key f3 if not f3
229lab_f4,			"lf4"	"l4"	Labels on function key f4 if not f4
230lab_f5,			"lf5"	"l5"	Labels on function key f5 if not f5
231lab_f6,			"lf6"	"l6"	Labels on function key f6 if not f6
232lab_f7,			"lf7"	"l7"	Labels on function key f7 if not f7
233lab_f8,			"lf8"	"l8"	Labels on function key f8 if not f8
234lab_f9,			"lf9"	"l9"	Labels on function key f9 if not f9
235meta_off,		"rmm"	"mo"	Turn off "meta mode"
236meta_on,		"smm"	"mm"	Turn on "meta mode" (8th bit)
237newline,		"nel"	"nw"	Newline (behaves like cr followed by lf)
238pad_char,		"pad"	"pc"	Pad character (rather than null)
239parm_dch,		"dch"	"DC"	Delete #1 chars (G*)
240parm_delete_line,	"dl"	"DL"	Delete #1 lines (G*)
241parm_down_cursor,	"cud"	"DO"	Move cursor down #1 lines. (G*)
242parm_ich,		"ich"	"IC"	Insert #1 blank chars (G*)
243parm_index,		"indn"	"SF"	Scroll forward #1 lines. (G)
244parm_insert_line,	"il"	"AL"	Add #1 new blank lines (G*)
245parm_left_cursor,	"cub"	"LE"	Move cursor left #1 spaces (G)
246parm_right_cursor,	"cuf"	"RI"	Move cursor right #1 spaces. (G*)
247parm_rindex,		"rin"	"SR"	Scroll backward #1 lines. (G)
248parm_up_cursor,		"cuu"	"UP"	Move cursor up #1 lines. (G*)
249pkey_key,		"pfkey"	"pk"	Prog funct key #1 to type string #2
250pkey_local,		"pfloc"	"pl"	Prog funct key #1 to execute string #2
251pkey_xmit,		"pfx"	"px"	Prog funct key #1 to xmit string #2
252print_screen,		"mc0"	"ps"	Print contents of the screen
253prtr_off,		"mc4"	"pf"	Turn off the printer
254prtr_on,		"mc5"	"po"	Turn on the printer
255repeat_char,		"rep"	"rp"	Repeat char #1 #2 times.  (G*)
256reset_1string,		"rs1"	"r1"	Reset terminal completely to sane modes.
257reset_2string,		"rs2"	"r2"	Reset terminal completely to sane modes.
258reset_3string,		"rs3"	"r3"	Reset terminal completely to sane modes.
259reset_file,		"rf"	"rf"	Name of file containing reset string.
260restore_cursor,		"rc"	"rc"	Restore cursor to position of last sc.
261row_address,		"vpa"	"cv"	Like hpa but sets row. (G)
262save_cursor,		"sc"	"sc"	Save cursor position.
263scroll_forward,		"ind"	"sf"	Scroll text up
264scroll_reverse,		"ri"	"sr"	Scroll text down
265set_attributes,		"sgr"	"sa"	Define the video attributes (G9)
266set_tab,		"hts"	"st"	Set a tab in all rows, current column.
267set_window,		"wind"	"wi"	Current window is lines #1-#2 cols #3-#4
268tab,			"ht"	"ta"	Tab to next 8 space hardware tab stop.
269to_status_line,		"tsl"	"ts"	Go to status line, col #1
270underline_char,		"uc"	"uc"	Underscore one char and move past it
271up_half_line,		"hu"	"hu"	Half-line up (reverse 1/2 linefeed)
272init_prog,		"iprog"	"iP"	Path name of program for init.
273key_a1,			"ka1"	"K1"	KEY_A1, 0534, Upper left of keypad
274key_a3,			"ka3"	"K3"	KEY_A3, 0535, Upper right of keypad
275key_b2,			"kb2"	"K2"	KEY_B2, 0536, Center of keypad
276key_c1,			"kc1"	"K4"	KEY_C1, 0537, Lower left of keypad
277key_c3,			"kc3"	"K5"	KEY_C3, 0540, Lower right of keypad
278prtr_non,		"mc5p"	"pO"	Turn on the printer for #1 bytes.
279char_padding,		"rmp"	"rP"	Like ip but when in replace mode
280acs_chars,		"acsc"	"ac"	Graphic charset pairs aAbBcC - def=vt100
281plab_norm,		"pln"	"pn"	Prog label #1 to show string #2
282key_btab,		"kcbt"	"kB"	KEY_BTAB, 0541, Back tab key
283enter_xon_mode,		"smxon"	"SX"	Turn on xon/xoff handshaking
284exit_xon_mode,		"rmxon"	"RX"	Turn off xon/xoff handshaking
285enter_am_mode,		"smam"	"SA"	Turn on automatic margins
286exit_am_mode,		"rmam"	"RA"	Turn off automatic margins
287xon_character,		"xonc"	"XN"	X-on character
288xoff_character,		"xoffc"	"XF"	X-off character
289ena_acs,		"enacs"	"eA"	Enable alternate char set
290label_on,		"smln"	"LO"	Turn on soft labels
291label_off,		"rmln"	"LF"	Turn off soft labels
292key_beg,		"kbeg"	"@1"	KEY_BEG, 0542, beg(inning) key
293key_cancel,		"kcan"	"@2"	KEY_CANCEL, 0543, cancel key
294key_close,		"kclo"	"@3"	KEY_CLOSE, 0544, close key
295key_command,		"kcmd"	"@4"	KEY_COMMAND, 0545, cmd (command) key
296key_copy,		"kcpy"	"@5"	KEY_COPY, 0546, copy key
297key_create,		"kcrt"	"@6"	KEY_CREATE, 0547, create key
298key_end,		"kend"	"@7"	KEY_END, 0550, end key
299key_enter,		"kent"	"@8"	KEY_ENTER, 0527, Enter/send (unreliable)
300key_exit,		"kext"	"@9"	KEY_EXIT, 0551, exit key
301key_find,		"kfnd"	"@0"	KEY_FIND, 0552, find key
302key_help,		"khlp"	"%1"	KEY_HELP, 0553, help key
303key_mark,		"kmrk"	"%2"	KEY_MARK, 0554, mark key
304key_message,		"kmsg"	"%3"	KEY_MESSAGE, 0555, message key
305key_move,		"kmov"	"%4"	KEY_MOVE, 0556, move key
306key_next,		"knxt"	"%5"	KEY_NEXT, 0557, next object key
307key_open,		"kopn"	"%6"	KEY_OPEN, 0560, open key
308key_options,		"kopt"	"%7"	KEY_OPTIONS, 0561, options key
309key_previous,		"kprv"	"%8"	KEY_PREVIOUS, 0562, previous object key
310key_print,		"kprt"	"%9"	KEY_PRINT, 0532, print or copy
311key_redo,		"krdo"	"%0"	KEY_REDO, 0563, redo key
312key_reference,		"kref"	"&1"	KEY_REFERENCE, 0564, ref(erence) key
313key_refresh,		"krfr"	"&2"	KEY_REFRESH, 0565, refresh key
314key_replace,		"krpl"	"&3"	KEY_REPLACE, 0566, replace key
315key_restart,		"krst"	"&4"	KEY_RESTART, 0567, restart key
316key_resume,		"kres"	"&5"	KEY_RESUME, 0570, resume key
317key_save,		"ksav"	"&6"	KEY_SAVE, 0571, save key
318key_suspend,		"kspd"	"&7"	KEY_SUSPEND, 0627, suspend key
319key_undo,		"kund"	"&8"	KEY_UNDO, 0630, undo key
320key_sbeg,		"kBEG"	"&9"	KEY_SBEG, 0572, shifted beginning key
321key_scancel,		"kCAN"	"&0"	KEY_SCANCEL, 0573, shifted cancel key
322key_scommand,		"kCMD"	"*1"	KEY_SCOMMAND, 0574, shifted command key
323key_scopy,		"kCPY"	"*2"	KEY_SCOPY, 0575, shifted copy key
324key_screate,		"kCRT"	"*3"	KEY_SCREATE, 0576, shifted create key
325key_sdc,		"kDC"	"*4"	KEY_SDC, 0577, shifted delete char key
326key_sdl,		"kDL"	"*5"	KEY_SDL, 0600, shifted delete line key
327key_select,		"kslt"	"*6"	KEY_SELECT, 0601, select key
328key_send,		"kEND"	"*7"	KEY_SEND, 0602, shifted end key
329key_seol,		"kEOL"	"*8"	KEY_SEOL, 0603, shifted clear line key
330key_sexit,		"kEXT"	"*9"	KEY_SEXIT, 0604, shifted exit key
331key_sfind,		"kFND"	"*0"	KEY_SFIND, 0605, shifted find key
332key_shelp,		"kHLP"	"#1"	KEY_SHELP, 0606, shifted help key
333key_shome,		"kHOM"	"#2"	KEY_SHOME, 0607, shifted home key
334key_sic,		"kIC"	"#3"	KEY_SIC, 0610, shifted input key
335key_sleft,		"kLFT"	"#4"	KEY_SLEFT, 0611, shifted left arrow key
336key_smessage,		"kMSG"	"%a"	KEY_SMESSAGE, 0612, shifted message key
337key_smove,		"kMOV"	"%b"	KEY_SMOVE, 0613, shifted move key
338key_snext,		"kNXT"	"%c"	KEY_SNEXT, 0614, shifted next key
339key_soptions,		"kOPT"	"%d"	KEY_SOPTIONS, 0615, shifted options key
340key_sprevious,		"kPRV"	"%e"	KEY_SPREVIOUS, 0616, shifted prev key
341key_sprint,		"kPRT"	"%f"	KEY_SPRINT, 0617, shifted print key
342key_sredo,		"kRDO"	"%g"	KEY_SREDO, 0620, shifted redo key
343key_sreplace,		"kRPL"	"%h"	KEY_SREPLACE, 0621, shifted replace key
344key_sright,		"kRIT"	"%i"	KEY_SRIGHT, 0622, shifted right arrow
345key_srsume,		"kRES"	"%j"	KEY_SRSUME, 0623, shifted resume key
346key_ssave,		"kSAV"	"!1"	KEY_SSAVE, 0624, shifted save key
347key_ssuspend,		"kSPD"	"!2"	KEY_SSUSPEND, 0625, shifted suspend key
348key_sundo,		"kUND"	"!3"	KEY_SUNDO, 0626, shifted undo key
349req_for_input,		"rfi"	"RF"	send next input char (for ptys)
350key_f11,		"kf11"	"F1"	KEY_F(11), 0423, function key f11.
351key_f12,		"kf12"	"F2"	KEY_F(12), 0424, function key f12.
352key_f13,		"kf13"	"F3"	KEY_F(13), 0425, function key f13.
353key_f14,		"kf14"	"F4"	KEY_F(14), 0426, function key f14.
354key_f15,		"kf15"	"F5"	KEY_F(15), 0427, function key f15.
355key_f16,		"kf16"	"F6"	KEY_F(16), 0430, function key f16.
356key_f17,		"kf17"	"F7"	KEY_F(17), 0431, function key f17.
357key_f18,		"kf18"	"F8"	KEY_F(18), 0432, function key f18.
358key_f19,		"kf19"	"F9"	KEY_F(19), 0433, function key f19.
359key_f20,		"kf20"	"FA"	KEY_F(20), 0434, function key f20.
360key_f21,		"kf21"	"FB"	KEY_F(21), 0435, function key f21.
361key_f22,		"kf22"	"FC"	KEY_F(22), 0436, function key f22.
362key_f23,		"kf23"	"FD"	KEY_F(23), 0437, function key f23.
363key_f24,		"kf24"	"FE"	KEY_F(24), 0440, function key f24.
364key_f25,		"kf25"	"FF"	KEY_F(25), 0441, function key f25.
365key_f26,		"kf26"	"FG"	KEY_F(26), 0442, function key f26.
366key_f27,		"kf27"	"FH"	KEY_F(27), 0443, function key f27.
367key_f28,		"kf28"	"FI"	KEY_F(28), 0444, function key f28.
368key_f29,		"kf29"	"FJ"	KEY_F(29), 0445, function key f29.
369key_f30,		"kf30"	"FK"	KEY_F(30), 0446, function key f30.
370key_f31,		"kf31"	"FL"	KEY_F(31), 0447, function key f31.
371key_f32,		"kf32"	"FM"	KEY_F(32), 0450, function key f32.
372key_f33,		"kf33"	"FN"	KEY_F(33), 0451, function key f33.
373key_f34,		"kf34"	"FO"	KEY_F(34), 0452, function key f34.
374key_f35,		"kf35"	"FP"	KEY_F(35), 0453, function key f35.
375key_f36,		"kf36"	"FQ"	KEY_F(36), 0454, function key f36.
376key_f37,		"kf37"	"FR"	KEY_F(37), 0455, function key f37.
377key_f38,		"kf38"	"FS"	KEY_F(38), 0456, function key f38.
378key_f39,		"kf39"	"FT"	KEY_F(39), 0457, function key f39.
379key_f40,		"kf40"	"FU"	KEY_F(40), 0460, function key f40.
380key_f41,		"kf41"	"FV"	KEY_F(41), 0461, function key f41.
381key_f42,		"kf42"	"FW"	KEY_F(42), 0462, function key f42.
382key_f43,		"kf43"	"FX"	KEY_F(43), 0463, function key f43.
383key_f44,		"kf44"	"FY"	KEY_F(44), 0464, function key f44.
384key_f45,		"kf45"	"FZ"	KEY_F(45), 0465, function key f45.
385key_f46,		"kf46"	"Fa"	KEY_F(46), 0466, function key f46.
386key_f47,		"kf47"	"Fb"	KEY_F(47), 0467, function key f47.
387key_f48,		"kf48"	"Fc"	KEY_F(48), 0470, function key f48.
388key_f49,		"kf49"	"Fd"	KEY_F(49), 0471, function key f49.
389key_f50,		"kf50"	"Fe"	KEY_F(50), 0472, function key f50.
390key_f51,		"kf51"	"Ff"	KEY_F(51), 0473, function key f51.
391key_f52,		"kf52"	"Fg"	KEY_F(52), 0474, function key f52.
392key_f53,		"kf53"	"Fh"	KEY_F(53), 0475, function key f53.
393key_f54,		"kf54"	"Fi"	KEY_F(54), 0476, function key f54.
394key_f55,		"kf55"	"Fj"	KEY_F(55), 0477, function key f55.
395key_f56,		"kf56"	"Fk"	KEY_F(56), 0500, function key f56.
396key_f57,		"kf57"	"Fl"	KEY_F(57), 0501, function key f57.
397key_f58,		"kf58"	"Fm"	KEY_F(58), 0502, function key f58.
398key_f59,		"kf59"	"Fn"	KEY_F(59), 0503, function key f59.
399key_f60,		"kf60"	"Fo"	KEY_F(60), 0504, function key f60.
400key_f61,		"kf61"	"Fp"	KEY_F(61), 0505, function key f61.
401key_f62,		"kf62"	"Fq"	KEY_F(62), 0506, function key f62.
402key_f63,		"kf63"	"Fr"	KEY_F(63), 0507, function key f63.
403clr_bol,		"el1"	"cb"	Clear to beginning of line, inclusive
404clear_margins,		"mgc"	"MC"	Clear left and right soft margins
405set_left_margin,	"smgl"	"ML"	Set soft left margin
406set_right_margin,	"smgr"	"MR"	Set soft right margin
407label_format,		"fln"	"Lf"	Label format
408#
409#
410#
411set_clock,		"sclk"	"SC"	Set time-of-day clock
412display_clock,		"dclk"	"DK"	Display time-of-day clock
413remove_clock,		"rmclk"	"RC"	Remove time-of-day clock
414create_window,		"cwin"	"CW"	Define win #1 to go from #2,#3 to #4,#5
415goto_window,		"wingo"	"WG"	Got to window #1
416hangup,			"hup"	"HU"	Hang-up phone
417dial_phone,		"dial"	"DI"	Dial phone number #1
418quick_dial,		"qdial"	"QD"	Dial phone number #1, without progress detection
419tone,			"tone"	"TO"	Select touch tone dialing
420pulse,			"pulse"	"PU"	Select pulse dialing
421flash_hook,		"hook"	"fh"	Flash the switch hook
422fixed_pause,		"pause"	"PA"	Pause for 2-3 seconds
423wait_tone,		"wait"	"WA"	Wait for dial tone
424user0,			"u0"	"u0"	User string 0
425user1,			"u1"	"u1"	User string 1
426user2,			"u2"	"u2"	User string 2
427user3,			"u3"	"u3"	User string 3
428user4,			"u4"	"u4"	User string 4
429user5,			"u5"	"u5"	User string 5
430user6,			"u6"	"u6"	User string 6
431user7,			"u7"	"u7"	User string 7
432user8,			"u8"	"u8"	User string 8
433user9,			"u9"	"u9"	User string 9
434orig_pair,		"op"	"op"	Original color-pair
435orig_colors,		"oc"	"oc"	Original colors
436initialize_color,	"initc"	"Ic"	Initialize the definition of color
437initialize_pair,	"initp"	"Ip"	Initialize color pair
438set_color_pair,		"scp"	"sp"	Set color pair
439set_foreground,		"setf"	"Sf"	Set foreground color using RGB escape
440set_background,		"setb"	"Sb"	Set background color using RGB escape
441#
442# printer specific
443#
444change_char_pitch,	"cpi"	"ZA"	Change no. characters per inch
445change_line_pitch,	"lpi"	"ZB"	Change no. lines per inch
446change_res_horz,	"chr"	"ZC"	Change horizontal resolution
447change_res_vert,	"cvr"	"ZD"	Change vertical resolution
448define_char,		"defc"	"ZE"	Define a character in a character set
449enter_doublewide_mode,	"swidm"	"ZF"	Enable double wide printing
450enter_draft_quality,	"sdrfq"	"ZG"	Set draft quality print
451enter_italics_mode,	"sitm"	"ZH"	Enable italics
452enter_leftward_mode,	"slm"	"ZI"	Enable leftward carriage motion
453enter_micro_mode,	"smicm"	"ZJ"	Enable micro motion capabilities
454enter_near_letter_quality,	"snlq"	"ZK"	Set near-letter quality print
455enter_normal_quality,	"snrmq"	"ZL"	Set normal quality print
456enter_shadow_mode,	"sshm"	"ZM"	Enable shadow printing
457enter_subscript_mode,	"ssubm"	"ZN"	Enable subscript printing
458enter_superscript_mode,	"ssupm"	"ZO"	Enable superscript printing
459enter_upward_mode,	"sum"	"ZP"	Enable upward carriage motion
460exit_doublewide_mode,	"rwidm"	"ZQ"	Disable double wide printing
461exit_italics_mode,	"ritm"	"ZR"	Disable italics
462exit_leftward_mode,	"rlm"	"ZS"	Enable rightward (normal) carriage motion
463exit_micro_mode,	"rmicm"	"ZT"	Disable micro motion capabilities
464exit_shadow_mode,	"rshm"	"ZU"	Disable shadow printing
465exit_subscript_mode,	"rsubm"	"ZV"	Disable subscript printing
466exit_superscript_mode,	"rsupm"	"ZW"	Disable superscript printing
467exit_upward_mode,	"rum"	"ZX"	Enable downward (normal) carriage motion
468micro_column_address,	"mhpa"	"ZY"	Like column_address for micro adjustment
469micro_down,		"mcud1"	"ZZ"	Like cursor_down for micro adjustment
470micro_left,		"mcub1"	"Za"	Like cursor_left for micro adjustment
471micro_right,		"mcuf1"	"Zb"	Like cursor_right for micro adjustment
472micro_row_address,	"mvpa"	"Zc"	Like row_address for micro adjustment
473micro_up,		"mcuu1"	"Zd"	Like cursor_up for micro adjustment
474order_of_pins,		"porder"	"Ze"	Matches software bits to print-head pins
475parm_down_micro,	"mcud"	"Zf"	Like parm_down_cursor for micro adjust.
476parm_left_micro,	"mcub"	"Zg"	Like parm_left_cursor for micro adjust.
477parm_right_micro,	"mcuf"	"Zh"	Like parm_right_cursor for micro adjust.
478parm_up_micro,		"mcuu"	"Zi"	Like parm_up_cursor for micro adjust.
479select_char_set,	"scs"	"Zj"	Select character set
480set_bottom_margin,	"smgb"	"Zk"	Set soft bottom margin at current line
481set_bottom_margin_parm,	"smgbp"	"Zl"	Set soft bottom margin
482set_left_margin_parm,	"smglp"	"Zm"	Set soft left margin
483set_right_margin_parm,	"smgrp"	"Zn"	Set soft right margin
484set_top_margin,		"smgt"	"Zo"	Set soft top margin at current line
485set_top_margin_parm,	"smgtp"	"Zp"	Set soft top margin
486start_bit_image,	"sbim"	"Zq"	Start printing bit image graphics
487start_char_set_def,	"scsd"	"Zr"	Start definition of a character set
488stop_bit_image,		"rbim"	"Zs"	End printing bit image graphics (use tputs)
489stop_char_set_def,	"rcsd"	"Zt"	End definition of a character set
490subscript_characters,	"subcs"	"Zu"	List of ``subscript-able'' characters
491superscript_characters,	"supcs"	"Zv"	List of ``superscript-able'' characters
492these_cause_cr,		"docr"	"Zw"	Printing any of these chars causes cr
493zero_motion,		"zerom"	"Zx"	No motion for the subsequent character
494char_set_names,		"csnm"	"Zy"	List of character set names
495#
496# end of SVR3.2 strings
497#
498# mouse support
499#
500key_mouse,		"kmous"	"Km"	KEY_MOUSE, 0631, Mouse event has occured
501mouse_info,		"minfo"	"Mi"	Mouse status information
502req_mouse_pos,		"reqmp"	"RQ"	Request mouse position report
503get_mouse,		"getm"	"Gm"	Curses should get button events
504#
505# ANSI color strings and FK x-mit plus label
506#
507set_a_foreground,	"setaf"	"AF"	Set foreground color using ANSI escape
508set_a_background,	"setab"	"AB"	Set background color using ANSI escape
509pkey_plab,		"pfxl"	"xl"	Prog key #1 to xmit string #2 and show string #3
510#
511# multiple codeset support
512#
513device_type,		"devt"	"dv"	Indicate language/codeset support
514code_set_init,		"csin"	"ci"	Init sequence for multiple codesets
515set0_des_seq,		"s0ds"	"s0"	Shift into codeset 0 (EUC set 0, ASCII)
516set1_des_seq,		"s1ds"	"s1"	Shift into codeset 1
517set2_des_seq,		"s2ds"	"s2"	Shift into codeset 2
518set3_des_seq,		"s3ds"	"s3"	Shift into codeset 3
519#
520# Additional printer support
521#
522set_lr_margin,		"smglr"	"ML"	Sets both left and right margins
523set_tb_margin,		"smgtb"	"MT"	Sets both top and bottom margins
524bit_image_repeat,	"birep"	"Xy"	Repeat bit-image cell #1 #2 times (use tparm)
525bit_image_newline,	"binel"	"Zz"	Move to next row of the bit image (use tparm)
526bit_image_carriage_return,	"bicr"	"Yv"	Move to beginning of same row (use tparm)
527color_names,		"colornm"	"Yw"	Give name for color #1
528define_bit_image_region,	"defbi"	"Yx"	Define rectangular bit-image region (use tparm)
529end_bit_image_region,	"endbi"	"Yy"	End a bit-image region (use tparm)
530set_color_band,		"setcolor"	"Yz"	Change to ribbon color #1
531set_page_length,	"slines"	"YZ"	Set page length to #1 lines (use tparm)
532#
533# Locus Merge terminfo strings required for PC scancode devices
534#
535display_pc_char,	"dispc"	"S1"	Display PC character
536enter_pc_charset_mode,	"smpch"	"S2"	Enter PC character display mode
537exit_pc_charset_mode,	"rmpch"	"S3"	Disable PC character display mode
538enter_scancode_mode,	"smsc"	"S4"	Enter PC scancode mode
539exit_scancode_mode,	"rmsc"	"S5"	Disable PC scancode mode
540pc_term_options,	"pctrm"	"S6"	PC terminal options
541scancode_escape,	"scesc"	"S7"	Escape for scancode emulation
542alt_scancode_esc,	"scesa"	"S8"	Alternate escape for scancode emulation
543#
544# Addition capabilities needed for X/Curses
545#
546enter_horizontal_hl_mode,	"ehhlm"	"??"	Horizontal highlight mode
547enter_left_hl_mode,	"elhlm"	"??"	Left highlight mode
548enter_low_hl_mode,	"elohlm"	"??"	Low highlight mode
549enter_right_hl_mode,	"erhlm"	"??"	Right highlight mode
550enter_top_hl_mode,	"ethlm"	"??"	Top highlight mode
551enter_vertical_hl_mode,	"evhlm"	"??"	Vertical highlight mode
552set_a_attributes,	"sgr1"	"??"	Define second set of attributes #1-#6
553set_pglen_inch,	"slength"	"YI"	Set page length to #1/100 of an inch
554# Add new Strings before this line.
555--- end str
556