xref: /illumos-gate/usr/src/lib/libcurses/screen/caps (revision 7c478bd9)
1*7c478bd9Sstevel@tonic-gate#
2*7c478bd9Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3*7c478bd9Sstevel@tonic-gate# Use is subject to license terms.
4*7c478bd9Sstevel@tonic-gate#
5*7c478bd9Sstevel@tonic-gate# CDDL HEADER START
6*7c478bd9Sstevel@tonic-gate#
7*7c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
8*7c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only
9*7c478bd9Sstevel@tonic-gate# (the "License").  You may not use this file except in compliance
10*7c478bd9Sstevel@tonic-gate# with the License.
11*7c478bd9Sstevel@tonic-gate#
12*7c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13*7c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
14*7c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
15*7c478bd9Sstevel@tonic-gate# and limitations under the License.
16*7c478bd9Sstevel@tonic-gate#
17*7c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
18*7c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19*7c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
20*7c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
21*7c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
22*7c478bd9Sstevel@tonic-gate#
23*7c478bd9Sstevel@tonic-gate# CDDL HEADER END
24*7c478bd9Sstevel@tonic-gate#
25*7c478bd9Sstevel@tonic-gate
26*7c478bd9Sstevel@tonic-gate#	Copyright (c) 1988 AT&T
27*7c478bd9Sstevel@tonic-gate#	  All Rights Reserved
28*7c478bd9Sstevel@tonic-gate
29*7c478bd9Sstevel@tonic-gate#
30*7c478bd9Sstevel@tonic-gate# University Copyright- Copyright (c) 1982, 1986, 1988
31*7c478bd9Sstevel@tonic-gate# The Regents of the University of California
32*7c478bd9Sstevel@tonic-gate# All Rights Reserved
33*7c478bd9Sstevel@tonic-gate#
34*7c478bd9Sstevel@tonic-gate# University Acknowledgment- Portions of this document are derived from
35*7c478bd9Sstevel@tonic-gate# software developed by the University of California, Berkeley, and its
36*7c478bd9Sstevel@tonic-gate# contributors.
37*7c478bd9Sstevel@tonic-gate#
38*7c478bd9Sstevel@tonic-gate
39*7c478bd9Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"
40*7c478bd9Sstevel@tonic-gate
41*7c478bd9Sstevel@tonic-gate# Be sure to add new capabilties at the END of the appropriate section!
42*7c478bd9Sstevel@tonic-gate--- begin bool
43*7c478bd9Sstevel@tonic-gateauto_left_margin,	"bw"	"bw"	cub1 wraps from column 0 to last column
44*7c478bd9Sstevel@tonic-gateauto_right_margin,	"am"	"am"	Terminal has automatic margins
45*7c478bd9Sstevel@tonic-gateno_esc_ctlc,		"xsb"	"xb"	Beehive (f1=escape, f2=ctrl C)
46*7c478bd9Sstevel@tonic-gateceol_standout_glitch,	"xhp"	"xs"	Standout not erased by overwriting (hp)
47*7c478bd9Sstevel@tonic-gateeat_newline_glitch,	"xenl"	"xn"	newline ignored after 80 cols (Concept)
48*7c478bd9Sstevel@tonic-gateerase_overstrike,	"eo"	"eo"	Can erase overstrikes with a blank
49*7c478bd9Sstevel@tonic-gategeneric_type,		"gn"	"gn"	Generic line type (e.g. dialup, switch).
50*7c478bd9Sstevel@tonic-gatehard_copy,		"hc"	"hc"	Hardcopy terminal
51*7c478bd9Sstevel@tonic-gatehas_meta_key,		"km"	"km"	Has a meta key (shift, sets parity bit)
52*7c478bd9Sstevel@tonic-gatehas_status_line,	"hs"	"hs"	Has extra "status line"
53*7c478bd9Sstevel@tonic-gateinsert_null_glitch,	"in"	"in"	Insert mode distinguishes nulls
54*7c478bd9Sstevel@tonic-gatememory_above,		"da"	"da"	Display may be retained above the screen
55*7c478bd9Sstevel@tonic-gatememory_below,		"db"	"db"	Display may be retained below the screen
56*7c478bd9Sstevel@tonic-gatemove_insert_mode,	"mir"	"mi"	Safe to move while in insert mode
57*7c478bd9Sstevel@tonic-gatemove_standout_mode,	"msgr"	"ms"	Safe to move in standout modes
58*7c478bd9Sstevel@tonic-gateover_strike,		"os"	"os"	Terminal overstrikes
59*7c478bd9Sstevel@tonic-gatestatus_line_esc_ok,	"eslok"	"es"	Escape can be used on the status line
60*7c478bd9Sstevel@tonic-gatedest_tabs_magic_smso,	"xt"	"xt"	Tabs destructive, magic so char (t1061)
61*7c478bd9Sstevel@tonic-gatetilde_glitch,		"hz"	"hz"	Hazeltine; can't print ~'s
62*7c478bd9Sstevel@tonic-gatetransparent_underline,	"ul"	"ul"	underline character overstrikes
63*7c478bd9Sstevel@tonic-gatexon_xoff,		"xon"	"xo"	Terminal uses xon/xoff handshaking
64*7c478bd9Sstevel@tonic-gateneeds_xon_xoff,		"nxon"	"nx"	Padding won't work, xon/xoff required
65*7c478bd9Sstevel@tonic-gateprtr_silent,		"mc5i"	"5i"	Printer won't echo on screen.
66*7c478bd9Sstevel@tonic-gatehard_cursor,		"chts"	"HC"	Cursor is hard to see.
67*7c478bd9Sstevel@tonic-gatenon_rev_rmcup,		"nrrmc"	"NR"	Smcup does not reverse rmcup.
68*7c478bd9Sstevel@tonic-gateno_pad_char,		"npc"	"NP"	Pad character doesn't exist.
69*7c478bd9Sstevel@tonic-gatenon_dest_scroll_region,	"ndscr"	"ND"	Scrolling region is non-destructive.
70*7c478bd9Sstevel@tonic-gatecan_change,		"ccc"	"cc"	Can re-define existing color
71*7c478bd9Sstevel@tonic-gateback_color_erase,	"bce"	"ut"	Erases screen with current background
72*7c478bd9Sstevel@tonic-gatehue_lightness_saturation,	"hls"	"hl"	HLS color notation is used (Tek)
73*7c478bd9Sstevel@tonic-gate#
74*7c478bd9Sstevel@tonic-gate# printer specific
75*7c478bd9Sstevel@tonic-gate#
76*7c478bd9Sstevel@tonic-gatecol_addr_glitch,	"xhpa"	"YA"	Only positive motion for hpa/mhpa caps
77*7c478bd9Sstevel@tonic-gatecr_cancels_micro_mode,	"crxm"	"YB"	Using cr turns off micro mode
78*7c478bd9Sstevel@tonic-gatehas_print_wheel,	"daisy"	"YC"	Printer needs operator to change character set
79*7c478bd9Sstevel@tonic-gaterow_addr_glitch,	"xvpa"	"YD"	Only positive motion for vpa/mvpa caps
80*7c478bd9Sstevel@tonic-gatesemi_auto_right_margin,	"sam"	"YE"	Printing in last column causes cr
81*7c478bd9Sstevel@tonic-gatecpi_changes_res,	"cpix"	"YF"	Changing char. pitch changes resolution
82*7c478bd9Sstevel@tonic-gatelpi_changes_res,	"lpix"	"YG"	Changing line pitch changes resolution
83*7c478bd9Sstevel@tonic-gate# Add new Booleans before this line.
84*7c478bd9Sstevel@tonic-gate--- end bool
85*7c478bd9Sstevel@tonic-gate
86*7c478bd9Sstevel@tonic-gate--- begin num
87*7c478bd9Sstevel@tonic-gatecolumns,		"cols"	"co"	Number of columns in a line
88*7c478bd9Sstevel@tonic-gateinit_tabs,		"it"	"it"	Tabs initially every # spaces.
89*7c478bd9Sstevel@tonic-gatelines,			"lines"	"li"	Number of lines on screen or page
90*7c478bd9Sstevel@tonic-gatelines_of_memory,	"lm"	"lm"	Lines of memory if > lines.  0 => varies
91*7c478bd9Sstevel@tonic-gatemagic_cookie_glitch,	"xmc"	"sg"	Number blank chars left by smso or rmso
92*7c478bd9Sstevel@tonic-gatepadding_baud_rate,	"pb"	"pb"	Lowest baud rate where padding needed
93*7c478bd9Sstevel@tonic-gatevirtual_terminal,	"vt"	"vt"	Virtual terminal number (CB/Unix)
94*7c478bd9Sstevel@tonic-gatewidth_status_line,	"wsl"	"ws"	# columns in status line
95*7c478bd9Sstevel@tonic-gatenum_labels,		"nlab"	"Nl"	# of labels on screen (start at 1)
96*7c478bd9Sstevel@tonic-gatelabel_height,		"lh"	"lh"	# rows in each label
97*7c478bd9Sstevel@tonic-gatelabel_width,		"lw"	"lw"	# cols in each label
98*7c478bd9Sstevel@tonic-gatemax_attributes,		"ma"	"ma"	max combined video attributes terminal can display
99*7c478bd9Sstevel@tonic-gate#
100*7c478bd9Sstevel@tonic-gate#
101*7c478bd9Sstevel@tonic-gate#
102*7c478bd9Sstevel@tonic-gatemaximum_windows,	"wnum"	"MW"	Maximum number of defineable windows
103*7c478bd9Sstevel@tonic-gatemax_colors,		"colors"	"Co"	max # of color on the screen
104*7c478bd9Sstevel@tonic-gatemax_pairs,		"pairs"	"pa"	max # of color pairs on the screen
105*7c478bd9Sstevel@tonic-gateno_color_video,		"ncv"	"NC"	Video attributes that cannot be used with colors
106*7c478bd9Sstevel@tonic-gate#
107*7c478bd9Sstevel@tonic-gate# printer specific
108*7c478bd9Sstevel@tonic-gate#
109*7c478bd9Sstevel@tonic-gatebuffer_capacity,	"bufsz"	"Ya"	Number of bytes buffered before printing
110*7c478bd9Sstevel@tonic-gatedot_vert_spacing,	"spinv"	"Yb"	Spacing of pins vertically in pins per inch
111*7c478bd9Sstevel@tonic-gatedot_horz_spacing,	"spinh"	"Yc"	Spacing of dots horizontally in dots per inch
112*7c478bd9Sstevel@tonic-gatemax_micro_address,	"maddr"	"Yd"	Maximum value in micro_..._address
113*7c478bd9Sstevel@tonic-gatemax_micro_jump,		"mjump"	"Ye"	Maximum value in parm_..._micro
114*7c478bd9Sstevel@tonic-gatemicro_char_size,	"mcs"	"Yf"	Character step size when in micro mode
115*7c478bd9Sstevel@tonic-gatemicro_line_size,	"mls"	"Yg"	Line step size when in micro mode
116*7c478bd9Sstevel@tonic-gatenumber_of_pins,		"npins"	"Yh"	Number of pins in print-head
117*7c478bd9Sstevel@tonic-gateoutput_res_char,	"orc"	"Yi"	Horizontal resolution in units per character
118*7c478bd9Sstevel@tonic-gateoutput_res_line,	"orl"	"Yj"	Vertical resolution in units per line
119*7c478bd9Sstevel@tonic-gateoutput_res_horz_inch,	"orhi"	"Yk"	Horizontal resolution in units per inch
120*7c478bd9Sstevel@tonic-gateoutput_res_vert_inch,	"orvi"	"Yl"	Vertical resolution in units per inch
121*7c478bd9Sstevel@tonic-gateprint_rate,		"cps"	"Ym"	Print rate in characters per second
122*7c478bd9Sstevel@tonic-gatewide_char_size,		"widcs"	"Yn"	Character step size when in double wide mode
123*7c478bd9Sstevel@tonic-gate#
124*7c478bd9Sstevel@tonic-gate# mouse support
125*7c478bd9Sstevel@tonic-gate#
126*7c478bd9Sstevel@tonic-gatebuttons,		"btns"	"BT"	Number of buttons on the mouse
127*7c478bd9Sstevel@tonic-gate#
128*7c478bd9Sstevel@tonic-gate# Additional printer nums
129*7c478bd9Sstevel@tonic-gate#
130*7c478bd9Sstevel@tonic-gatebit_image_entwining,	"bitwin"	"Yo"	Number of passes for each bit-image row
131*7c478bd9Sstevel@tonic-gatebit_image_type,		"bitype"	"Yp"	Type of bit-image device
132*7c478bd9Sstevel@tonic-gate# Add new numbers before this line.
133*7c478bd9Sstevel@tonic-gate--- end num
134*7c478bd9Sstevel@tonic-gate
135*7c478bd9Sstevel@tonic-gate--- begin str
136*7c478bd9Sstevel@tonic-gateback_tab,		"cbt"	"bt"	Back tab
137*7c478bd9Sstevel@tonic-gatebell,			"bel"	"bl"	Audible signal (bell)
138*7c478bd9Sstevel@tonic-gatecarriage_return,	"cr"	"cr"	Carriage return (*)
139*7c478bd9Sstevel@tonic-gatechange_scroll_region,	"csr"	"cs"	change to lines #1 thru #2 (vt100) (G)
140*7c478bd9Sstevel@tonic-gateclear_all_tabs,		"tbc"	"ct"	Clear all tab stops.
141*7c478bd9Sstevel@tonic-gateclear_screen,		"clear"	"cl"	Clear screen (*)
142*7c478bd9Sstevel@tonic-gateclr_eol,		"el"	"ce"	Clear to end of line
143*7c478bd9Sstevel@tonic-gateclr_eos,		"ed"	"cd"	Clear to end of display (*)
144*7c478bd9Sstevel@tonic-gatecolumn_address,		"hpa"	"ch"	Set cursor column (G)
145*7c478bd9Sstevel@tonic-gatecommand_character,	"cmdch"	"CC"	Term. settable cmd char in prototype
146*7c478bd9Sstevel@tonic-gatecursor_address,		"cup"	"cm"	Cursor motion to row #1 col #2 (G)
147*7c478bd9Sstevel@tonic-gatecursor_down,		"cud1"	"do"	Down one line
148*7c478bd9Sstevel@tonic-gatecursor_home,		"home"	"ho"	Home cursor (if no cup)
149*7c478bd9Sstevel@tonic-gatecursor_invisible,	"civis"	"vi"	Make cursor invisible
150*7c478bd9Sstevel@tonic-gatecursor_left,		"cub1"	"le"	Move cursor left one space.
151*7c478bd9Sstevel@tonic-gatecursor_mem_address,	"mrcup"	"CM"	Memory relative cursor addressing.
152*7c478bd9Sstevel@tonic-gatecursor_normal,		"cnorm"	"ve"	Make cursor appear normal (undo vs/vi)
153*7c478bd9Sstevel@tonic-gatecursor_right,		"cuf1"	"nd"	Non-destructive space (cursor right)
154*7c478bd9Sstevel@tonic-gatecursor_to_ll,		"ll"	"ll"	Last line, first column (if no cup)
155*7c478bd9Sstevel@tonic-gatecursor_up,		"cuu1"	"up"	Upline (cursor up)
156*7c478bd9Sstevel@tonic-gatecursor_visible,		"cvvis"	"vs"	Make cursor very visible
157*7c478bd9Sstevel@tonic-gatedelete_character,	"dch1"	"dc"	Delete character (*)
158*7c478bd9Sstevel@tonic-gatedelete_line,		"dl1"	"dl"	Delete line (*)
159*7c478bd9Sstevel@tonic-gatedis_status_line,	"dsl"	"ds"	Disable status line
160*7c478bd9Sstevel@tonic-gatedown_half_line,		"hd"	"hd"	Half-line down (forward 1/2 linefeed)
161*7c478bd9Sstevel@tonic-gateenter_alt_charset_mode,	"smacs"	"as"	Start alternate character set
162*7c478bd9Sstevel@tonic-gateenter_blink_mode,	"blink"	"mb"	Turn on blinking
163*7c478bd9Sstevel@tonic-gateenter_bold_mode,	"bold"	"md"	Turn on bold (extra bright) mode
164*7c478bd9Sstevel@tonic-gateenter_ca_mode,		"smcup"	"ti"	String to begin programs that use cup
165*7c478bd9Sstevel@tonic-gateenter_delete_mode,	"smdc"	"dm"	Delete mode (enter)
166*7c478bd9Sstevel@tonic-gateenter_dim_mode,		"dim"	"mh"	Turn on half-bright mode
167*7c478bd9Sstevel@tonic-gateenter_insert_mode,	"smir"	"im"	Insert mode (enter);
168*7c478bd9Sstevel@tonic-gateenter_secure_mode,	"invis"	"mk"	Turn on blank mode (chars invisible)
169*7c478bd9Sstevel@tonic-gateenter_protected_mode,	"prot"	"mp"	Turn on protected mode
170*7c478bd9Sstevel@tonic-gateenter_reverse_mode,	"rev"	"mr"	Turn on reverse video mode
171*7c478bd9Sstevel@tonic-gateenter_standout_mode,	"smso"	"so"	Begin stand out mode
172*7c478bd9Sstevel@tonic-gateenter_underline_mode,	"smul"	"us"	Start underscore mode
173*7c478bd9Sstevel@tonic-gateerase_chars,		"ech"	"ec"	Erase #1 characters (G)
174*7c478bd9Sstevel@tonic-gateexit_alt_charset_mode,	"rmacs"	"ae"	End alternate character set
175*7c478bd9Sstevel@tonic-gateexit_attribute_mode,	"sgr0"	"me"	Turn off all attributes
176*7c478bd9Sstevel@tonic-gateexit_ca_mode,		"rmcup"	"te"	String to end programs that use cup
177*7c478bd9Sstevel@tonic-gateexit_delete_mode,	"rmdc"	"ed"	End delete mode
178*7c478bd9Sstevel@tonic-gateexit_insert_mode,	"rmir"	"ei"	End insert mode;
179*7c478bd9Sstevel@tonic-gateexit_standout_mode,	"rmso"	"se"	End stand out mode
180*7c478bd9Sstevel@tonic-gateexit_underline_mode,	"rmul"	"ue"	End underscore mode
181*7c478bd9Sstevel@tonic-gateflash_screen,		"flash"	"vb"	Visible bell (may not move cursor)
182*7c478bd9Sstevel@tonic-gateform_feed,		"ff"	"ff"	Hardcopy terminal page eject (*)
183*7c478bd9Sstevel@tonic-gatefrom_status_line,	"fsl"	"fs"	Return from status line
184*7c478bd9Sstevel@tonic-gateinit_1string,		"is1"	"i1"	Terminal initialization string
185*7c478bd9Sstevel@tonic-gateinit_2string,		"is2"	"is"	Terminal initialization string
186*7c478bd9Sstevel@tonic-gateinit_3string,		"is3"	"i3"	Terminal initialization string
187*7c478bd9Sstevel@tonic-gateinit_file,		"if"	"if"	Name of file containing is
188*7c478bd9Sstevel@tonic-gateinsert_character,	"ich1"	"ic"	Insert character
189*7c478bd9Sstevel@tonic-gateinsert_line,		"il1"	"al"	Add new blank line (*)
190*7c478bd9Sstevel@tonic-gateinsert_padding,		"ip"	"ip"	Insert pad after character inserted (*)
191*7c478bd9Sstevel@tonic-gatekey_backspace,		"kbs"	"kb"	KEY_BACKSPACE, 0407, Sent by backspace key
192*7c478bd9Sstevel@tonic-gatekey_catab,		"ktbc"	"ka"	KEY_CATAB, 0526, Sent by clear-all-tabs key.
193*7c478bd9Sstevel@tonic-gatekey_clear,		"kclr"	"kC"	KEY_CLEAR, 0515, Sent by clear screen or erase key.
194*7c478bd9Sstevel@tonic-gatekey_ctab,		"kctab"	"kt"	KEY_CTAB, 0525, Sent by clear-tab key
195*7c478bd9Sstevel@tonic-gatekey_dc,			"kdch1"	"kD"	KEY_DC, 0512, Sent by delete character key.
196*7c478bd9Sstevel@tonic-gatekey_dl,			"kdl1"	"kL"	KEY_DL, 0510, Sent by delete line key.
197*7c478bd9Sstevel@tonic-gatekey_down,		"kcud1"	"kd"	KEY_DOWN, 0402, Sent by terminal down arrow key
198*7c478bd9Sstevel@tonic-gatekey_eic,		"krmir"	"kM"	KEY_EIC, 0514, Sent by rmir or smir in ins mode.
199*7c478bd9Sstevel@tonic-gatekey_eol,		"kel"	"kE"	KEY_EOL, 0517, Sent by clear-to-end-of-line key.
200*7c478bd9Sstevel@tonic-gatekey_eos,		"ked"	"kS"	KEY_EOS, 0516, Sent by clear-to-end-of-screen.
201*7c478bd9Sstevel@tonic-gatekey_f0,			"kf0"	"k0"	KEY_F(0), 0410, function key f0.
202*7c478bd9Sstevel@tonic-gatekey_f1,			"kf1"	"k1"	KEY_F(1), 0411, function key f1.
203*7c478bd9Sstevel@tonic-gatekey_f10,		"kf10"	"k;"	KEY_F(10), 0422, function key f10.
204*7c478bd9Sstevel@tonic-gatekey_f2,			"kf2"	"k2"	KEY_F(2), 0412, function key f2.
205*7c478bd9Sstevel@tonic-gatekey_f3,			"kf3"	"k3"	KEY_F(3), 0413, function key f3.
206*7c478bd9Sstevel@tonic-gatekey_f4,			"kf4"	"k4"	KEY_F(4), 0414, function key f4.
207*7c478bd9Sstevel@tonic-gatekey_f5,			"kf5"	"k5"	KEY_F(5), 0415, function key f5.
208*7c478bd9Sstevel@tonic-gatekey_f6,			"kf6"	"k6"	KEY_F(6), 0416, function key f6.
209*7c478bd9Sstevel@tonic-gatekey_f7,			"kf7"	"k7"	KEY_F(7), 0417, function key f7.
210*7c478bd9Sstevel@tonic-gatekey_f8,			"kf8"	"k8"	KEY_F(8), 0420, function key f8.
211*7c478bd9Sstevel@tonic-gatekey_f9,			"kf9"	"k9"	KEY_F(9), 0421, function key f9.
212*7c478bd9Sstevel@tonic-gatekey_home,		"khome"	"kh"	KEY_HOME, 0406, Sent by home key.
213*7c478bd9Sstevel@tonic-gatekey_ic,			"kich1"	"kI"	KEY_IC, 0513, Sent by ins char/enter mode key.
214*7c478bd9Sstevel@tonic-gatekey_il,			"kil1"	"kA"	KEY_IL, 0511, Sent by insert line.
215*7c478bd9Sstevel@tonic-gatekey_left,		"kcub1"	"kl"	KEY_LEFT, 0404, Sent by terminal left arrow key
216*7c478bd9Sstevel@tonic-gatekey_ll,			"kll"	"kH"	KEY_LL, 0533, Sent by home-down key
217*7c478bd9Sstevel@tonic-gatekey_npage,		"knp"	"kN"	KEY_NPAGE, 0522, Sent by next-page key
218*7c478bd9Sstevel@tonic-gatekey_ppage,		"kpp"	"kP"	KEY_PPAGE, 0523, Sent by previous-page key
219*7c478bd9Sstevel@tonic-gatekey_right,		"kcuf1"	"kr"	KEY_RIGHT, 0405, Sent by terminal right arrow key
220*7c478bd9Sstevel@tonic-gatekey_sf,			"kind"	"kF"	KEY_SF, 0520, Sent by scroll-forward/down key
221*7c478bd9Sstevel@tonic-gatekey_sr,			"kri"	"kR"	KEY_SR, 0521, Sent by scroll-backward/up key
222*7c478bd9Sstevel@tonic-gatekey_stab,		"khts"	"kT"	KEY_STAB, 0524, Sent by set-tab key
223*7c478bd9Sstevel@tonic-gatekey_up,			"kcuu1"	"ku"	KEY_UP, 0403, Sent by terminal up arrow key
224*7c478bd9Sstevel@tonic-gatekeypad_local,		"rmkx"	"ke"	Out of "keypad transmit" mode
225*7c478bd9Sstevel@tonic-gatekeypad_xmit,		"smkx"	"ks"	Put terminal in "keypad transmit" mode
226*7c478bd9Sstevel@tonic-gatelab_f0,			"lf0"	"l0"	Labels on function key f0 if not f0
227*7c478bd9Sstevel@tonic-gatelab_f1,			"lf1"	"l1"	Labels on function key f1 if not f1
228*7c478bd9Sstevel@tonic-gatelab_f10,		"lf10"	"la"	Labels on function key f10 if not f10
229*7c478bd9Sstevel@tonic-gatelab_f2,			"lf2"	"l2"	Labels on function key f2 if not f2
230*7c478bd9Sstevel@tonic-gatelab_f3,			"lf3"	"l3"	Labels on function key f3 if not f3
231*7c478bd9Sstevel@tonic-gatelab_f4,			"lf4"	"l4"	Labels on function key f4 if not f4
232*7c478bd9Sstevel@tonic-gatelab_f5,			"lf5"	"l5"	Labels on function key f5 if not f5
233*7c478bd9Sstevel@tonic-gatelab_f6,			"lf6"	"l6"	Labels on function key f6 if not f6
234*7c478bd9Sstevel@tonic-gatelab_f7,			"lf7"	"l7"	Labels on function key f7 if not f7
235*7c478bd9Sstevel@tonic-gatelab_f8,			"lf8"	"l8"	Labels on function key f8 if not f8
236*7c478bd9Sstevel@tonic-gatelab_f9,			"lf9"	"l9"	Labels on function key f9 if not f9
237*7c478bd9Sstevel@tonic-gatemeta_off,		"rmm"	"mo"	Turn off "meta mode"
238*7c478bd9Sstevel@tonic-gatemeta_on,		"smm"	"mm"	Turn on "meta mode" (8th bit)
239*7c478bd9Sstevel@tonic-gatenewline,		"nel"	"nw"	Newline (behaves like cr followed by lf)
240*7c478bd9Sstevel@tonic-gatepad_char,		"pad"	"pc"	Pad character (rather than null)
241*7c478bd9Sstevel@tonic-gateparm_dch,		"dch"	"DC"	Delete #1 chars (G*)
242*7c478bd9Sstevel@tonic-gateparm_delete_line,	"dl"	"DL"	Delete #1 lines (G*)
243*7c478bd9Sstevel@tonic-gateparm_down_cursor,	"cud"	"DO"	Move cursor down #1 lines. (G*)
244*7c478bd9Sstevel@tonic-gateparm_ich,		"ich"	"IC"	Insert #1 blank chars (G*)
245*7c478bd9Sstevel@tonic-gateparm_index,		"indn"	"SF"	Scroll forward #1 lines. (G)
246*7c478bd9Sstevel@tonic-gateparm_insert_line,	"il"	"AL"	Add #1 new blank lines (G*)
247*7c478bd9Sstevel@tonic-gateparm_left_cursor,	"cub"	"LE"	Move cursor left #1 spaces (G)
248*7c478bd9Sstevel@tonic-gateparm_right_cursor,	"cuf"	"RI"	Move cursor right #1 spaces. (G*)
249*7c478bd9Sstevel@tonic-gateparm_rindex,		"rin"	"SR"	Scroll backward #1 lines. (G)
250*7c478bd9Sstevel@tonic-gateparm_up_cursor,		"cuu"	"UP"	Move cursor up #1 lines. (G*)
251*7c478bd9Sstevel@tonic-gatepkey_key,		"pfkey"	"pk"	Prog funct key #1 to type string #2
252*7c478bd9Sstevel@tonic-gatepkey_local,		"pfloc"	"pl"	Prog funct key #1 to execute string #2
253*7c478bd9Sstevel@tonic-gatepkey_xmit,		"pfx"	"px"	Prog funct key #1 to xmit string #2
254*7c478bd9Sstevel@tonic-gateprint_screen,		"mc0"	"ps"	Print contents of the screen
255*7c478bd9Sstevel@tonic-gateprtr_off,		"mc4"	"pf"	Turn off the printer
256*7c478bd9Sstevel@tonic-gateprtr_on,		"mc5"	"po"	Turn on the printer
257*7c478bd9Sstevel@tonic-gaterepeat_char,		"rep"	"rp"	Repeat char #1 #2 times.  (G*)
258*7c478bd9Sstevel@tonic-gatereset_1string,		"rs1"	"r1"	Reset terminal completely to sane modes.
259*7c478bd9Sstevel@tonic-gatereset_2string,		"rs2"	"r2"	Reset terminal completely to sane modes.
260*7c478bd9Sstevel@tonic-gatereset_3string,		"rs3"	"r3"	Reset terminal completely to sane modes.
261*7c478bd9Sstevel@tonic-gatereset_file,		"rf"	"rf"	Name of file containing reset string.
262*7c478bd9Sstevel@tonic-gaterestore_cursor,		"rc"	"rc"	Restore cursor to position of last sc.
263*7c478bd9Sstevel@tonic-gaterow_address,		"vpa"	"cv"	Like hpa but sets row. (G)
264*7c478bd9Sstevel@tonic-gatesave_cursor,		"sc"	"sc"	Save cursor position.
265*7c478bd9Sstevel@tonic-gatescroll_forward,		"ind"	"sf"	Scroll text up
266*7c478bd9Sstevel@tonic-gatescroll_reverse,		"ri"	"sr"	Scroll text down
267*7c478bd9Sstevel@tonic-gateset_attributes,		"sgr"	"sa"	Define the video attributes (G9)
268*7c478bd9Sstevel@tonic-gateset_tab,		"hts"	"st"	Set a tab in all rows, current column.
269*7c478bd9Sstevel@tonic-gateset_window,		"wind"	"wi"	Current window is lines #1-#2 cols #3-#4
270*7c478bd9Sstevel@tonic-gatetab,			"ht"	"ta"	Tab to next 8 space hardware tab stop.
271*7c478bd9Sstevel@tonic-gateto_status_line,		"tsl"	"ts"	Go to status line, col #1
272*7c478bd9Sstevel@tonic-gateunderline_char,		"uc"	"uc"	Underscore one char and move past it
273*7c478bd9Sstevel@tonic-gateup_half_line,		"hu"	"hu"	Half-line up (reverse 1/2 linefeed)
274*7c478bd9Sstevel@tonic-gateinit_prog,		"iprog"	"iP"	Path name of program for init.
275*7c478bd9Sstevel@tonic-gatekey_a1,			"ka1"	"K1"	KEY_A1, 0534, Upper left of keypad
276*7c478bd9Sstevel@tonic-gatekey_a3,			"ka3"	"K3"	KEY_A3, 0535, Upper right of keypad
277*7c478bd9Sstevel@tonic-gatekey_b2,			"kb2"	"K2"	KEY_B2, 0536, Center of keypad
278*7c478bd9Sstevel@tonic-gatekey_c1,			"kc1"	"K4"	KEY_C1, 0537, Lower left of keypad
279*7c478bd9Sstevel@tonic-gatekey_c3,			"kc3"	"K5"	KEY_C3, 0540, Lower right of keypad
280*7c478bd9Sstevel@tonic-gateprtr_non,		"mc5p"	"pO"	Turn on the printer for #1 bytes.
281*7c478bd9Sstevel@tonic-gatechar_padding,		"rmp"	"rP"	Like ip but when in replace mode
282*7c478bd9Sstevel@tonic-gateacs_chars,		"acsc"	"ac"	Graphic charset pairs aAbBcC - def=vt100
283*7c478bd9Sstevel@tonic-gateplab_norm,		"pln"	"pn"	Prog label #1 to show string #2
284*7c478bd9Sstevel@tonic-gatekey_btab,		"kcbt"	"kB"	KEY_BTAB, 0541, Back tab key
285*7c478bd9Sstevel@tonic-gateenter_xon_mode,		"smxon"	"SX"	Turn on xon/xoff handshaking
286*7c478bd9Sstevel@tonic-gateexit_xon_mode,		"rmxon"	"RX"	Turn off xon/xoff handshaking
287*7c478bd9Sstevel@tonic-gateenter_am_mode,		"smam"	"SA"	Turn on automatic margins
288*7c478bd9Sstevel@tonic-gateexit_am_mode,		"rmam"	"RA"	Turn off automatic margins
289*7c478bd9Sstevel@tonic-gatexon_character,		"xonc"	"XN"	X-on character
290*7c478bd9Sstevel@tonic-gatexoff_character,		"xoffc"	"XF"	X-off character
291*7c478bd9Sstevel@tonic-gateena_acs,		"enacs"	"eA"	Enable alternate char set
292*7c478bd9Sstevel@tonic-gatelabel_on,		"smln"	"LO"	Turn on soft labels
293*7c478bd9Sstevel@tonic-gatelabel_off,		"rmln"	"LF"	Turn off soft labels
294*7c478bd9Sstevel@tonic-gatekey_beg,		"kbeg"	"@1"	KEY_BEG, 0542, beg(inning) key
295*7c478bd9Sstevel@tonic-gatekey_cancel,		"kcan"	"@2"	KEY_CANCEL, 0543, cancel key
296*7c478bd9Sstevel@tonic-gatekey_close,		"kclo"	"@3"	KEY_CLOSE, 0544, close key
297*7c478bd9Sstevel@tonic-gatekey_command,		"kcmd"	"@4"	KEY_COMMAND, 0545, cmd (command) key
298*7c478bd9Sstevel@tonic-gatekey_copy,		"kcpy"	"@5"	KEY_COPY, 0546, copy key
299*7c478bd9Sstevel@tonic-gatekey_create,		"kcrt"	"@6"	KEY_CREATE, 0547, create key
300*7c478bd9Sstevel@tonic-gatekey_end,		"kend"	"@7"	KEY_END, 0550, end key
301*7c478bd9Sstevel@tonic-gatekey_enter,		"kent"	"@8"	KEY_ENTER, 0527, Enter/send (unreliable)
302*7c478bd9Sstevel@tonic-gatekey_exit,		"kext"	"@9"	KEY_EXIT, 0551, exit key
303*7c478bd9Sstevel@tonic-gatekey_find,		"kfnd"	"@0"	KEY_FIND, 0552, find key
304*7c478bd9Sstevel@tonic-gatekey_help,		"khlp"	"%1"	KEY_HELP, 0553, help key
305*7c478bd9Sstevel@tonic-gatekey_mark,		"kmrk"	"%2"	KEY_MARK, 0554, mark key
306*7c478bd9Sstevel@tonic-gatekey_message,		"kmsg"	"%3"	KEY_MESSAGE, 0555, message key
307*7c478bd9Sstevel@tonic-gatekey_move,		"kmov"	"%4"	KEY_MOVE, 0556, move key
308*7c478bd9Sstevel@tonic-gatekey_next,		"knxt"	"%5"	KEY_NEXT, 0557, next object key
309*7c478bd9Sstevel@tonic-gatekey_open,		"kopn"	"%6"	KEY_OPEN, 0560, open key
310*7c478bd9Sstevel@tonic-gatekey_options,		"kopt"	"%7"	KEY_OPTIONS, 0561, options key
311*7c478bd9Sstevel@tonic-gatekey_previous,		"kprv"	"%8"	KEY_PREVIOUS, 0562, previous object key
312*7c478bd9Sstevel@tonic-gatekey_print,		"kprt"	"%9"	KEY_PRINT, 0532, print or copy
313*7c478bd9Sstevel@tonic-gatekey_redo,		"krdo"	"%0"	KEY_REDO, 0563, redo key
314*7c478bd9Sstevel@tonic-gatekey_reference,		"kref"	"&1"	KEY_REFERENCE, 0564, ref(erence) key
315*7c478bd9Sstevel@tonic-gatekey_refresh,		"krfr"	"&2"	KEY_REFRESH, 0565, refresh key
316*7c478bd9Sstevel@tonic-gatekey_replace,		"krpl"	"&3"	KEY_REPLACE, 0566, replace key
317*7c478bd9Sstevel@tonic-gatekey_restart,		"krst"	"&4"	KEY_RESTART, 0567, restart key
318*7c478bd9Sstevel@tonic-gatekey_resume,		"kres"	"&5"	KEY_RESUME, 0570, resume key
319*7c478bd9Sstevel@tonic-gatekey_save,		"ksav"	"&6"	KEY_SAVE, 0571, save key
320*7c478bd9Sstevel@tonic-gatekey_suspend,		"kspd"	"&7"	KEY_SUSPEND, 0627, suspend key
321*7c478bd9Sstevel@tonic-gatekey_undo,		"kund"	"&8"	KEY_UNDO, 0630, undo key
322*7c478bd9Sstevel@tonic-gatekey_sbeg,		"kBEG"	"&9"	KEY_SBEG, 0572, shifted beginning key
323*7c478bd9Sstevel@tonic-gatekey_scancel,		"kCAN"	"&0"	KEY_SCANCEL, 0573, shifted cancel key
324*7c478bd9Sstevel@tonic-gatekey_scommand,		"kCMD"	"*1"	KEY_SCOMMAND, 0574, shifted command key
325*7c478bd9Sstevel@tonic-gatekey_scopy,		"kCPY"	"*2"	KEY_SCOPY, 0575, shifted copy key
326*7c478bd9Sstevel@tonic-gatekey_screate,		"kCRT"	"*3"	KEY_SCREATE, 0576, shifted create key
327*7c478bd9Sstevel@tonic-gatekey_sdc,		"kDC"	"*4"	KEY_SDC, 0577, shifted delete char key
328*7c478bd9Sstevel@tonic-gatekey_sdl,		"kDL"	"*5"	KEY_SDL, 0600, shifted delete line key
329*7c478bd9Sstevel@tonic-gatekey_select,		"kslt"	"*6"	KEY_SELECT, 0601, select key
330*7c478bd9Sstevel@tonic-gatekey_send,		"kEND"	"*7"	KEY_SEND, 0602, shifted end key
331*7c478bd9Sstevel@tonic-gatekey_seol,		"kEOL"	"*8"	KEY_SEOL, 0603, shifted clear line key
332*7c478bd9Sstevel@tonic-gatekey_sexit,		"kEXT"	"*9"	KEY_SEXIT, 0604, shifted exit key
333*7c478bd9Sstevel@tonic-gatekey_sfind,		"kFND"	"*0"	KEY_SFIND, 0605, shifted find key
334*7c478bd9Sstevel@tonic-gatekey_shelp,		"kHLP"	"#1"	KEY_SHELP, 0606, shifted help key
335*7c478bd9Sstevel@tonic-gatekey_shome,		"kHOM"	"#2"	KEY_SHOME, 0607, shifted home key
336*7c478bd9Sstevel@tonic-gatekey_sic,		"kIC"	"#3"	KEY_SIC, 0610, shifted input key
337*7c478bd9Sstevel@tonic-gatekey_sleft,		"kLFT"	"#4"	KEY_SLEFT, 0611, shifted left arrow key
338*7c478bd9Sstevel@tonic-gatekey_smessage,		"kMSG"	"%a"	KEY_SMESSAGE, 0612, shifted message key
339*7c478bd9Sstevel@tonic-gatekey_smove,		"kMOV"	"%b"	KEY_SMOVE, 0613, shifted move key
340*7c478bd9Sstevel@tonic-gatekey_snext,		"kNXT"	"%c"	KEY_SNEXT, 0614, shifted next key
341*7c478bd9Sstevel@tonic-gatekey_soptions,		"kOPT"	"%d"	KEY_SOPTIONS, 0615, shifted options key
342*7c478bd9Sstevel@tonic-gatekey_sprevious,		"kPRV"	"%e"	KEY_SPREVIOUS, 0616, shifted prev key
343*7c478bd9Sstevel@tonic-gatekey_sprint,		"kPRT"	"%f"	KEY_SPRINT, 0617, shifted print key
344*7c478bd9Sstevel@tonic-gatekey_sredo,		"kRDO"	"%g"	KEY_SREDO, 0620, shifted redo key
345*7c478bd9Sstevel@tonic-gatekey_sreplace,		"kRPL"	"%h"	KEY_SREPLACE, 0621, shifted replace key
346*7c478bd9Sstevel@tonic-gatekey_sright,		"kRIT"	"%i"	KEY_SRIGHT, 0622, shifted right arrow
347*7c478bd9Sstevel@tonic-gatekey_srsume,		"kRES"	"%j"	KEY_SRSUME, 0623, shifted resume key
348*7c478bd9Sstevel@tonic-gatekey_ssave,		"kSAV"	"!1"	KEY_SSAVE, 0624, shifted save key
349*7c478bd9Sstevel@tonic-gatekey_ssuspend,		"kSPD"	"!2"	KEY_SSUSPEND, 0625, shifted suspend key
350*7c478bd9Sstevel@tonic-gatekey_sundo,		"kUND"	"!3"	KEY_SUNDO, 0626, shifted undo key
351*7c478bd9Sstevel@tonic-gatereq_for_input,		"rfi"	"RF"	send next input char (for ptys)
352*7c478bd9Sstevel@tonic-gatekey_f11,		"kf11"	"F1"	KEY_F(11), 0423, function key f11.
353*7c478bd9Sstevel@tonic-gatekey_f12,		"kf12"	"F2"	KEY_F(12), 0424, function key f12.
354*7c478bd9Sstevel@tonic-gatekey_f13,		"kf13"	"F3"	KEY_F(13), 0425, function key f13.
355*7c478bd9Sstevel@tonic-gatekey_f14,		"kf14"	"F4"	KEY_F(14), 0426, function key f14.
356*7c478bd9Sstevel@tonic-gatekey_f15,		"kf15"	"F5"	KEY_F(15), 0427, function key f15.
357*7c478bd9Sstevel@tonic-gatekey_f16,		"kf16"	"F6"	KEY_F(16), 0430, function key f16.
358*7c478bd9Sstevel@tonic-gatekey_f17,		"kf17"	"F7"	KEY_F(17), 0431, function key f17.
359*7c478bd9Sstevel@tonic-gatekey_f18,		"kf18"	"F8"	KEY_F(18), 0432, function key f18.
360*7c478bd9Sstevel@tonic-gatekey_f19,		"kf19"	"F9"	KEY_F(19), 0433, function key f19.
361*7c478bd9Sstevel@tonic-gatekey_f20,		"kf20"	"FA"	KEY_F(20), 0434, function key f20.
362*7c478bd9Sstevel@tonic-gatekey_f21,		"kf21"	"FB"	KEY_F(21), 0435, function key f21.
363*7c478bd9Sstevel@tonic-gatekey_f22,		"kf22"	"FC"	KEY_F(22), 0436, function key f22.
364*7c478bd9Sstevel@tonic-gatekey_f23,		"kf23"	"FD"	KEY_F(23), 0437, function key f23.
365*7c478bd9Sstevel@tonic-gatekey_f24,		"kf24"	"FE"	KEY_F(24), 0440, function key f24.
366*7c478bd9Sstevel@tonic-gatekey_f25,		"kf25"	"FF"	KEY_F(25), 0441, function key f25.
367*7c478bd9Sstevel@tonic-gatekey_f26,		"kf26"	"FG"	KEY_F(26), 0442, function key f26.
368*7c478bd9Sstevel@tonic-gatekey_f27,		"kf27"	"FH"	KEY_F(27), 0443, function key f27.
369*7c478bd9Sstevel@tonic-gatekey_f28,		"kf28"	"FI"	KEY_F(28), 0444, function key f28.
370*7c478bd9Sstevel@tonic-gatekey_f29,		"kf29"	"FJ"	KEY_F(29), 0445, function key f29.
371*7c478bd9Sstevel@tonic-gatekey_f30,		"kf30"	"FK"	KEY_F(30), 0446, function key f30.
372*7c478bd9Sstevel@tonic-gatekey_f31,		"kf31"	"FL"	KEY_F(31), 0447, function key f31.
373*7c478bd9Sstevel@tonic-gatekey_f32,		"kf32"	"FM"	KEY_F(32), 0450, function key f32.
374*7c478bd9Sstevel@tonic-gatekey_f33,		"kf33"	"FN"	KEY_F(33), 0451, function key f33.
375*7c478bd9Sstevel@tonic-gatekey_f34,		"kf34"	"FO"	KEY_F(34), 0452, function key f34.
376*7c478bd9Sstevel@tonic-gatekey_f35,		"kf35"	"FP"	KEY_F(35), 0453, function key f35.
377*7c478bd9Sstevel@tonic-gatekey_f36,		"kf36"	"FQ"	KEY_F(36), 0454, function key f36.
378*7c478bd9Sstevel@tonic-gatekey_f37,		"kf37"	"FR"	KEY_F(37), 0455, function key f37.
379*7c478bd9Sstevel@tonic-gatekey_f38,		"kf38"	"FS"	KEY_F(38), 0456, function key f38.
380*7c478bd9Sstevel@tonic-gatekey_f39,		"kf39"	"FT"	KEY_F(39), 0457, function key f39.
381*7c478bd9Sstevel@tonic-gatekey_f40,		"kf40"	"FU"	KEY_F(40), 0460, function key f40.
382*7c478bd9Sstevel@tonic-gatekey_f41,		"kf41"	"FV"	KEY_F(41), 0461, function key f41.
383*7c478bd9Sstevel@tonic-gatekey_f42,		"kf42"	"FW"	KEY_F(42), 0462, function key f42.
384*7c478bd9Sstevel@tonic-gatekey_f43,		"kf43"	"FX"	KEY_F(43), 0463, function key f43.
385*7c478bd9Sstevel@tonic-gatekey_f44,		"kf44"	"FY"	KEY_F(44), 0464, function key f44.
386*7c478bd9Sstevel@tonic-gatekey_f45,		"kf45"	"FZ"	KEY_F(45), 0465, function key f45.
387*7c478bd9Sstevel@tonic-gatekey_f46,		"kf46"	"Fa"	KEY_F(46), 0466, function key f46.
388*7c478bd9Sstevel@tonic-gatekey_f47,		"kf47"	"Fb"	KEY_F(47), 0467, function key f47.
389*7c478bd9Sstevel@tonic-gatekey_f48,		"kf48"	"Fc"	KEY_F(48), 0470, function key f48.
390*7c478bd9Sstevel@tonic-gatekey_f49,		"kf49"	"Fd"	KEY_F(49), 0471, function key f49.
391*7c478bd9Sstevel@tonic-gatekey_f50,		"kf50"	"Fe"	KEY_F(50), 0472, function key f50.
392*7c478bd9Sstevel@tonic-gatekey_f51,		"kf51"	"Ff"	KEY_F(51), 0473, function key f51.
393*7c478bd9Sstevel@tonic-gatekey_f52,		"kf52"	"Fg"	KEY_F(52), 0474, function key f52.
394*7c478bd9Sstevel@tonic-gatekey_f53,		"kf53"	"Fh"	KEY_F(53), 0475, function key f53.
395*7c478bd9Sstevel@tonic-gatekey_f54,		"kf54"	"Fi"	KEY_F(54), 0476, function key f54.
396*7c478bd9Sstevel@tonic-gatekey_f55,		"kf55"	"Fj"	KEY_F(55), 0477, function key f55.
397*7c478bd9Sstevel@tonic-gatekey_f56,		"kf56"	"Fk"	KEY_F(56), 0500, function key f56.
398*7c478bd9Sstevel@tonic-gatekey_f57,		"kf57"	"Fl"	KEY_F(57), 0501, function key f57.
399*7c478bd9Sstevel@tonic-gatekey_f58,		"kf58"	"Fm"	KEY_F(58), 0502, function key f58.
400*7c478bd9Sstevel@tonic-gatekey_f59,		"kf59"	"Fn"	KEY_F(59), 0503, function key f59.
401*7c478bd9Sstevel@tonic-gatekey_f60,		"kf60"	"Fo"	KEY_F(60), 0504, function key f60.
402*7c478bd9Sstevel@tonic-gatekey_f61,		"kf61"	"Fp"	KEY_F(61), 0505, function key f61.
403*7c478bd9Sstevel@tonic-gatekey_f62,		"kf62"	"Fq"	KEY_F(62), 0506, function key f62.
404*7c478bd9Sstevel@tonic-gatekey_f63,		"kf63"	"Fr"	KEY_F(63), 0507, function key f63.
405*7c478bd9Sstevel@tonic-gateclr_bol,		"el1"	"cb"	Clear to beginning of line, inclusive
406*7c478bd9Sstevel@tonic-gateclear_margins,		"mgc"	"MC"	Clear left and right soft margins
407*7c478bd9Sstevel@tonic-gateset_left_margin,	"smgl"	"ML"	Set soft left margin
408*7c478bd9Sstevel@tonic-gateset_right_margin,	"smgr"	"MR"	Set soft right margin
409*7c478bd9Sstevel@tonic-gatelabel_format,		"fln"	"Lf"	Label format
410*7c478bd9Sstevel@tonic-gate#
411*7c478bd9Sstevel@tonic-gate#
412*7c478bd9Sstevel@tonic-gate#
413*7c478bd9Sstevel@tonic-gateset_clock,		"sclk"	"SC"	Set time-of-day clock
414*7c478bd9Sstevel@tonic-gatedisplay_clock,		"dclk"	"DK"	Display time-of-day clock
415*7c478bd9Sstevel@tonic-gateremove_clock,		"rmclk"	"RC"	Remove time-of-day clock
416*7c478bd9Sstevel@tonic-gatecreate_window,		"cwin"	"CW"	Define win #1 to go from #2,#3 to #4,#5
417*7c478bd9Sstevel@tonic-gategoto_window,		"wingo"	"WG"	Got to window #1
418*7c478bd9Sstevel@tonic-gatehangup,			"hup"	"HU"	Hang-up phone
419*7c478bd9Sstevel@tonic-gatedial_phone,		"dial"	"DI"	Dial phone number #1
420*7c478bd9Sstevel@tonic-gatequick_dial,		"qdial"	"QD"	Dial phone number #1, without progress detection
421*7c478bd9Sstevel@tonic-gatetone,			"tone"	"TO"	Select touch tone dialing
422*7c478bd9Sstevel@tonic-gatepulse,			"pulse"	"PU"	Select pulse dialing
423*7c478bd9Sstevel@tonic-gateflash_hook,		"hook"	"fh"	Flash the switch hook
424*7c478bd9Sstevel@tonic-gatefixed_pause,		"pause"	"PA"	Pause for 2-3 seconds
425*7c478bd9Sstevel@tonic-gatewait_tone,		"wait"	"WA"	Wait for dial tone
426*7c478bd9Sstevel@tonic-gateuser0,			"u0"	"u0"	User string 0
427*7c478bd9Sstevel@tonic-gateuser1,			"u1"	"u1"	User string 1
428*7c478bd9Sstevel@tonic-gateuser2,			"u2"	"u2"	User string 2
429*7c478bd9Sstevel@tonic-gateuser3,			"u3"	"u3"	User string 3
430*7c478bd9Sstevel@tonic-gateuser4,			"u4"	"u4"	User string 4
431*7c478bd9Sstevel@tonic-gateuser5,			"u5"	"u5"	User string 5
432*7c478bd9Sstevel@tonic-gateuser6,			"u6"	"u6"	User string 6
433*7c478bd9Sstevel@tonic-gateuser7,			"u7"	"u7"	User string 7
434*7c478bd9Sstevel@tonic-gateuser8,			"u8"	"u8"	User string 8
435*7c478bd9Sstevel@tonic-gateuser9,			"u9"	"u9"	User string 9
436*7c478bd9Sstevel@tonic-gateorig_pair,		"op"	"op"	Original color-pair
437*7c478bd9Sstevel@tonic-gateorig_colors,		"oc"	"oc"	Original colors
438*7c478bd9Sstevel@tonic-gateinitialize_color,	"initc"	"Ic"	Initialize the definition of color
439*7c478bd9Sstevel@tonic-gateinitialize_pair,	"initp"	"Ip"	Initialize color pair
440*7c478bd9Sstevel@tonic-gateset_color_pair,		"scp"	"sp"	Set color pair
441*7c478bd9Sstevel@tonic-gateset_foreground,		"setf"	"Sf"	Set foreground color using RGB escape
442*7c478bd9Sstevel@tonic-gateset_background,		"setb"	"Sb"	Set background color using RGB escape
443*7c478bd9Sstevel@tonic-gate#
444*7c478bd9Sstevel@tonic-gate# printer specific
445*7c478bd9Sstevel@tonic-gate#
446*7c478bd9Sstevel@tonic-gatechange_char_pitch,	"cpi"	"ZA"	Change no. characters per inch
447*7c478bd9Sstevel@tonic-gatechange_line_pitch,	"lpi"	"ZB"	Change no. lines per inch
448*7c478bd9Sstevel@tonic-gatechange_res_horz,	"chr"	"ZC"	Change horizontal resolution
449*7c478bd9Sstevel@tonic-gatechange_res_vert,	"cvr"	"ZD"	Change vertical resolution
450*7c478bd9Sstevel@tonic-gatedefine_char,		"defc"	"ZE"	Define a character in a character set
451*7c478bd9Sstevel@tonic-gateenter_doublewide_mode,	"swidm"	"ZF"	Enable double wide printing
452*7c478bd9Sstevel@tonic-gateenter_draft_quality,	"sdrfq"	"ZG"	Set draft quality print
453*7c478bd9Sstevel@tonic-gateenter_italics_mode,	"sitm"	"ZH"	Enable italics
454*7c478bd9Sstevel@tonic-gateenter_leftward_mode,	"slm"	"ZI"	Enable leftward carriage motion
455*7c478bd9Sstevel@tonic-gateenter_micro_mode,	"smicm"	"ZJ"	Enable micro motion capabilities
456*7c478bd9Sstevel@tonic-gateenter_near_letter_quality,	"snlq"	"ZK"	Set near-letter quality print
457*7c478bd9Sstevel@tonic-gateenter_normal_quality,	"snrmq"	"ZL"	Set normal quality print
458*7c478bd9Sstevel@tonic-gateenter_shadow_mode,	"sshm"	"ZM"	Enable shadow printing
459*7c478bd9Sstevel@tonic-gateenter_subscript_mode,	"ssubm"	"ZN"	Enable subscript printing
460*7c478bd9Sstevel@tonic-gateenter_superscript_mode,	"ssupm"	"ZO"	Enable superscript printing
461*7c478bd9Sstevel@tonic-gateenter_upward_mode,	"sum"	"ZP"	Enable upward carriage motion
462*7c478bd9Sstevel@tonic-gateexit_doublewide_mode,	"rwidm"	"ZQ"	Disable double wide printing
463*7c478bd9Sstevel@tonic-gateexit_italics_mode,	"ritm"	"ZR"	Disable italics
464*7c478bd9Sstevel@tonic-gateexit_leftward_mode,	"rlm"	"ZS"	Enable rightward (normal) carriage motion
465*7c478bd9Sstevel@tonic-gateexit_micro_mode,	"rmicm"	"ZT"	Disable micro motion capabilities
466*7c478bd9Sstevel@tonic-gateexit_shadow_mode,	"rshm"	"ZU"	Disable shadow printing
467*7c478bd9Sstevel@tonic-gateexit_subscript_mode,	"rsubm"	"ZV"	Disable subscript printing
468*7c478bd9Sstevel@tonic-gateexit_superscript_mode,	"rsupm"	"ZW"	Disable superscript printing
469*7c478bd9Sstevel@tonic-gateexit_upward_mode,	"rum"	"ZX"	Enable downward (normal) carriage motion
470*7c478bd9Sstevel@tonic-gatemicro_column_address,	"mhpa"	"ZY"	Like column_address for micro adjustment
471*7c478bd9Sstevel@tonic-gatemicro_down,		"mcud1"	"ZZ"	Like cursor_down for micro adjustment
472*7c478bd9Sstevel@tonic-gatemicro_left,		"mcub1"	"Za"	Like cursor_left for micro adjustment
473*7c478bd9Sstevel@tonic-gatemicro_right,		"mcuf1"	"Zb"	Like cursor_right for micro adjustment
474*7c478bd9Sstevel@tonic-gatemicro_row_address,	"mvpa"	"Zc"	Like row_address for micro adjustment
475*7c478bd9Sstevel@tonic-gatemicro_up,		"mcuu1"	"Zd"	Like cursor_up for micro adjustment
476*7c478bd9Sstevel@tonic-gateorder_of_pins,		"porder"	"Ze"	Matches software bits to print-head pins
477*7c478bd9Sstevel@tonic-gateparm_down_micro,	"mcud"	"Zf"	Like parm_down_cursor for micro adjust.
478*7c478bd9Sstevel@tonic-gateparm_left_micro,	"mcub"	"Zg"	Like parm_left_cursor for micro adjust.
479*7c478bd9Sstevel@tonic-gateparm_right_micro,	"mcuf"	"Zh"	Like parm_right_cursor for micro adjust.
480*7c478bd9Sstevel@tonic-gateparm_up_micro,		"mcuu"	"Zi"	Like parm_up_cursor for micro adjust.
481*7c478bd9Sstevel@tonic-gateselect_char_set,	"scs"	"Zj"	Select character set
482*7c478bd9Sstevel@tonic-gateset_bottom_margin,	"smgb"	"Zk"	Set soft bottom margin at current line
483*7c478bd9Sstevel@tonic-gateset_bottom_margin_parm,	"smgbp"	"Zl"	Set soft bottom margin
484*7c478bd9Sstevel@tonic-gateset_left_margin_parm,	"smglp"	"Zm"	Set soft left margin
485*7c478bd9Sstevel@tonic-gateset_right_margin_parm,	"smgrp"	"Zn"	Set soft right margin
486*7c478bd9Sstevel@tonic-gateset_top_margin,		"smgt"	"Zo"	Set soft top margin at current line
487*7c478bd9Sstevel@tonic-gateset_top_margin_parm,	"smgtp"	"Zp"	Set soft top margin
488*7c478bd9Sstevel@tonic-gatestart_bit_image,	"sbim"	"Zq"	Start printing bit image graphics
489*7c478bd9Sstevel@tonic-gatestart_char_set_def,	"scsd"	"Zr"	Start definition of a character set
490*7c478bd9Sstevel@tonic-gatestop_bit_image,		"rbim"	"Zs"	End printing bit image graphics (use tputs)
491*7c478bd9Sstevel@tonic-gatestop_char_set_def,	"rcsd"	"Zt"	End definition of a character set
492*7c478bd9Sstevel@tonic-gatesubscript_characters,	"subcs"	"Zu"	List of ``subscript-able'' characters
493*7c478bd9Sstevel@tonic-gatesuperscript_characters,	"supcs"	"Zv"	List of ``superscript-able'' characters
494*7c478bd9Sstevel@tonic-gatethese_cause_cr,		"docr"	"Zw"	Printing any of these chars causes cr
495*7c478bd9Sstevel@tonic-gatezero_motion,		"zerom"	"Zx"	No motion for the subsequent character
496*7c478bd9Sstevel@tonic-gatechar_set_names,		"csnm"	"Zy"	List of character set names
497*7c478bd9Sstevel@tonic-gate#
498*7c478bd9Sstevel@tonic-gate# end of SVR3.2 strings
499*7c478bd9Sstevel@tonic-gate#
500*7c478bd9Sstevel@tonic-gate# mouse support
501*7c478bd9Sstevel@tonic-gate#
502*7c478bd9Sstevel@tonic-gatekey_mouse,		"kmous"	"Km"	KEY_MOUSE, 0631, Mouse event has occured
503*7c478bd9Sstevel@tonic-gatemouse_info,		"minfo"	"Mi"	Mouse status information
504*7c478bd9Sstevel@tonic-gatereq_mouse_pos,		"reqmp"	"RQ"	Request mouse position report
505*7c478bd9Sstevel@tonic-gateget_mouse,		"getm"	"Gm"	Curses should get button events
506*7c478bd9Sstevel@tonic-gate#
507*7c478bd9Sstevel@tonic-gate# ANSI color strings and FK x-mit plus label
508*7c478bd9Sstevel@tonic-gate#
509*7c478bd9Sstevel@tonic-gateset_a_foreground,	"setaf"	"AF"	Set foreground color using ANSI escape
510*7c478bd9Sstevel@tonic-gateset_a_background,	"setab"	"AB"	Set background color using ANSI escape
511*7c478bd9Sstevel@tonic-gatepkey_plab,		"pfxl"	"xl"	Prog key #1 to xmit string #2 and show string #3
512*7c478bd9Sstevel@tonic-gate#
513*7c478bd9Sstevel@tonic-gate# multiple codeset support
514*7c478bd9Sstevel@tonic-gate#
515*7c478bd9Sstevel@tonic-gatedevice_type,		"devt"	"dv"	Indicate language/codeset support
516*7c478bd9Sstevel@tonic-gatecode_set_init,		"csin"	"ci"	Init sequence for multiple codesets
517*7c478bd9Sstevel@tonic-gateset0_des_seq,		"s0ds"	"s0"	Shift into codeset 0 (EUC set 0, ASCII)
518*7c478bd9Sstevel@tonic-gateset1_des_seq,		"s1ds"	"s1"	Shift into codeset 1
519*7c478bd9Sstevel@tonic-gateset2_des_seq,		"s2ds"	"s2"	Shift into codeset 2
520*7c478bd9Sstevel@tonic-gateset3_des_seq,		"s3ds"	"s3"	Shift into codeset 3
521*7c478bd9Sstevel@tonic-gate#
522*7c478bd9Sstevel@tonic-gate# Additional printer support
523*7c478bd9Sstevel@tonic-gate#
524*7c478bd9Sstevel@tonic-gateset_lr_margin,		"smglr"	"ML"	Sets both left and right margins
525*7c478bd9Sstevel@tonic-gateset_tb_margin,		"smgtb"	"MT"	Sets both top and bottom margins
526*7c478bd9Sstevel@tonic-gatebit_image_repeat,	"birep"	"Xy"	Repeat bit-image cell #1 #2 times (use tparm)
527*7c478bd9Sstevel@tonic-gatebit_image_newline,	"binel"	"Zz"	Move to next row of the bit image (use tparm)
528*7c478bd9Sstevel@tonic-gatebit_image_carriage_return,	"bicr"	"Yv"	Move to beginning of same row (use tparm)
529*7c478bd9Sstevel@tonic-gatecolor_names,		"colornm"	"Yw"	Give name for color #1
530*7c478bd9Sstevel@tonic-gatedefine_bit_image_region,	"defbi"	"Yx"	Define rectangular bit-image region (use tparm)
531*7c478bd9Sstevel@tonic-gateend_bit_image_region,	"endbi"	"Yy"	End a bit-image region (use tparm)
532*7c478bd9Sstevel@tonic-gateset_color_band,		"setcolor"	"Yz"	Change to ribbon color #1
533*7c478bd9Sstevel@tonic-gateset_page_length,	"slines"	"YZ"	Set page length to #1 lines (use tparm)
534*7c478bd9Sstevel@tonic-gate#
535*7c478bd9Sstevel@tonic-gate# Locus Merge terminfo strings required for PC scancode devices
536*7c478bd9Sstevel@tonic-gate#
537*7c478bd9Sstevel@tonic-gatedisplay_pc_char,	"dispc"	"S1"	Display PC character
538*7c478bd9Sstevel@tonic-gateenter_pc_charset_mode,	"smpch"	"S2"	Enter PC character display mode
539*7c478bd9Sstevel@tonic-gateexit_pc_charset_mode,	"rmpch"	"S3"	Disable PC character display mode
540*7c478bd9Sstevel@tonic-gateenter_scancode_mode,	"smsc"	"S4"	Enter PC scancode mode
541*7c478bd9Sstevel@tonic-gateexit_scancode_mode,	"rmsc"	"S5"	Disable PC scancode mode
542*7c478bd9Sstevel@tonic-gatepc_term_options,	"pctrm"	"S6"	PC terminal options
543*7c478bd9Sstevel@tonic-gatescancode_escape,	"scesc"	"S7"	Escape for scancode emulation
544*7c478bd9Sstevel@tonic-gatealt_scancode_esc,	"scesa"	"S8"	Alternate escape for scancode emulation
545*7c478bd9Sstevel@tonic-gate#
546*7c478bd9Sstevel@tonic-gate# Addition capabilities needed for X/Curses
547*7c478bd9Sstevel@tonic-gate#
548*7c478bd9Sstevel@tonic-gateenter_horizontal_hl_mode,	"ehhlm"	"??"	Horizontal highlight mode
549*7c478bd9Sstevel@tonic-gateenter_left_hl_mode,	"elhlm"	"??"	Left highlight mode
550*7c478bd9Sstevel@tonic-gateenter_low_hl_mode,	"elohlm"	"??"	Low highlight mode
551*7c478bd9Sstevel@tonic-gateenter_right_hl_mode,	"erhlm"	"??"	Right highlight mode
552*7c478bd9Sstevel@tonic-gateenter_top_hl_mode,	"ethlm"	"??"	Top highlight mode
553*7c478bd9Sstevel@tonic-gateenter_vertical_hl_mode,	"evhlm"	"??"	Vertical highlight mode
554*7c478bd9Sstevel@tonic-gateset_a_attributes,	"sgr1"	"??"	Define second set of attributes #1-#6
555*7c478bd9Sstevel@tonic-gateset_pglen_inch,	"slength"	"YI"	Set page length to #1/100 of an inch
556*7c478bd9Sstevel@tonic-gate# Add new Strings before this line.
557*7c478bd9Sstevel@tonic-gate--- end str
558