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