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