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