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