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