summaryrefslogtreecommitdiff
path: root/lib/libtermlib/Capabilities
blob: d5874c19eb43de45792f1ec8292f05daf8cad40d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
#	$OpenBSD: Capabilities,v 1.1 1996/05/31 05:40:02 tholo Exp $
#
# Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#    must display the following acknowledgement:
#	This product includes software developed by SigmaSoft, Th.  Lockert.
# 4. The name of the author may not be used to endorse or promote products
#    derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
# THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
#
# The following is a list of terminfo capabilities with their
# corresponding termcap alias.  All entries up to the marker
# "#endbinary" are found in compiled terminfo files IN THE ORDER
# SPECIFIED.  Do NOT reorder or add capabilities before the
# marker.
#
# type	variable			capname termcap 
#
# Standard terminfo capabilities:
#
bool	auto_left_margin		bw	bw
bool	auto_right_margin		am	am
bool	no_esc_ctlc			xsb	xb
bool	ceol_standout_glitch		xhp	xs
bool	eat_newline_glitch		xenl	xn
bool	erase_overstrike		eo	eo
bool	generic_type			gn	gn
bool	hard_copy			hc	hc
bool	has_meta_key			km	km
bool	has_status_line			hs	hs
bool	insert_null_glitch		in	in
bool	memory_above			da	da
bool	memory_below			db	db
bool	move_insert_mode		mir	mi
bool	move_standout_mode		msgr	ms
bool	over_strike			os	os
bool	status_line_esc_ok		eslok	es
bool	dest_tabs_magic_smso		xt	xt
bool	tilde_glitch			hz	hz
bool	transparent_underline		ul	ul
bool	xon_xoff			xon	xo
bool	needs_xon_xoff			nxon	nx
bool	prtr_silent			mc5i	5i
bool	hard_cursor			chts	HC
bool	non_rev_rmcup			nrrmc	NR
bool	no_pad_char			npc	NP
bool	non_dest_scroll_region		ndscr	ND
bool	can_change			ccc	cc
bool	back_color_erase		bce	ut
bool	hue_lightness_saturation	hls	hl
bool	cool_addr_glitch		xhpa	YA
bool	cr_cancels_micro_mode		crxm	YB
bool	has_print_wheel			daisy	YC
bool	row_addr_glitch			xvpa	YD
bool	semi_auto_right_margin		sam	YE
bool	cpi_changes_res			cpix	YF
bool	lpi_changes_res			lpix	YG
#
num	columns				cols	co
num	init_tabs			it	it
num	lines				lines	li
num	lines_of_memory			lm	lm
num	magic_cookie_glitch		xmc	sg
num	padding_baud_rate		pb	pb
num	virtual_terminal		vt	vt
num	width_status_line		wsl	ws
num	num_labels			nlab	Nl
num	label_height			lh	lh
num	label_width			lw	lw
num	max_attributes			ma	ma
num	maximum_windows			wnum	MW
num	max_colors			colors	Co
num	max_pairs			pairs	pa
num	no_color_video			ncv	NC
#
str	back_tab			cbt	bt
str	bell				bel	bl
str	carriage_return			cr	cr
str	change_scroll_region		csr	cs
str	clear_all_tabs			tbc	ct
str	clear_screen			clear	cl
str	clr_eol				el	ce
str	clr_eos				ed	cd
str	column_address			hpa	ch
str	command_character		cmdch	CC
str	cursor_address			cup	cm
str	cursor_down			cud1	do
str	cursor_home			home	ho
str	cursor_invisible		civis	vi
str	cursor_left			cub1	le
str	cursor_mem_address		mrcup	CM
str	cursor_normal			cnorm	ve
str	cursor_right			cuf1	nd
str	cursor_to_ll			ll	ll
str	cursor_up			cuu1	up
str	cursor_visible			cvvis	vs
str	delete_character		dch1	dc
str	delete_line			dl1	dl
str	dis_status_line			dsl	ds
str	down_half_line			hd	hd
str	enter_alt_charset_mode		smacs	as
str	enter_blink_mode		blink	mb
str	enter_bold_mode			bold	md
str	enter_ca_mode			smcup	ti
str	enter_delete_mode		smdc	dm
str	enter_dim_mode			dim	mh
str	enter_insert_mode		smir	im
str	enter_secure_mode		invis	mk
str	enter_protected_mode		prot	mp
str	enter_reverse_mode		rev	mr
str	enter_standout_mode		smso	so
str	enter_underline_mode		smul	us
str	erase_chars			ech	ec
str	exit_alt_charset_mode		rmacs	ae
str	exit_attribute_mode		sgr0	me
str	exit_ca_mode			rmcup	te
str	exit_delete_mode		rmdc	ed
str	exit_insert_mode		rmir	ei
str	exit_standout_mode		rmso	se
str	exit_underline_mode		rmul	ue
str	flash_screen			flash	vb
str	form_feed			ff	ff
str	from_status_line		fsl	fs
str 	init_1string			is1	i1
str 	init_2string			is2	is
str 	init_3string			is3	i3
str	init_file			if	if
str	insert_character		ich1	ic
str	insert_line			il1	al
str	insert_padding			ip	ip
str	key_backspace			kbs	kb
str	key_catab			ktbc	ka
str	key_clear			kclr	kC
str	key_ctab			kctab	kt
str	key_dc				kdch1	kD
str	key_dl				kdl1	kL
str	key_down			kcud1	kd
str	key_eic				krmir	kM
str	key_eol				kel	kE
str	key_eos				ked	kS
str	key_f0				kf0	k0
str	key_f1				kf1	k1
str	key_f10				kf10	k;
str	key_f2				kf2	k2
str	key_f3				kf3	k3
str	key_f4				kf4	k4
str	key_f5				kf5	k5
str	key_f6				kf6	k6
str	key_f7				kf7	k7
str	key_f8				kf8	k8
str	key_f9				kf9	k9
str	key_home			khome	kh
str	key_ic				kich1	kI
str	key_il				kil1	kA
str	key_left			kcub1	kl
str	key_ll				kll	kH
str	key_npage			knp	kN
str	key_ppage			kpp	kP
str	key_right			kcuf1	kr
str	key_sf				kind	kF
str	key_sr				kri	kR
str	key_stab			khts	kT
str	key_up				kcuu1	ku
str	keypad_local			rmkx	ke
str	keypad_xmit			smkx	ks
str	lab_f0				lf0	l0
str	lab_f1				lf1	l1
str	lab_f10				lf10	la
str	lab_f2				lf2	l2
str	lab_f3				lf3	l3
str	lab_f4				lf4	l4
str	lab_f5				lf5	l5
str	lab_f6				lf6	l6
str	lab_f7				lf7	l7
str	lab_f8				lf8	l8
str	lab_f9				lf9	l9
str	meta_off			rmm	mo
str	meta_on				smm	mm
str	newline				nel	nw
str	pad_char			pad	pc
str	parm_dch			dch	DC
str	parm_delete_line		dl	DL
str	parm_down_cursor		cud	DO
str	parm_ich			ich	IC
str	parm_index			indn	SF
str	parm_insert_line		il	AL
str	parm_left_cursor		cub	LE
str	parm_right_cursor		cuf	RI
str	parm_rindex			rin	SR
str	parm_up_cursor			cuu	UP
str	pkey_key			pfkey	pk
str	pkey_local			pfloc	pl
str	pkey_xmit			pfx	px
str	print_screen			mc0	ps
str	prtr_off			mc4	pf
str	prtr_on				mc5	po
str	repeat_char			rep	rp
str 	reset_1string			rs1	r1
str 	reset_2string			rs2	r2
str 	reset_3string			rs3	r3
str	reset_file			rf	rf
str	restore_cursor			rc	rc
str	row_address			vpa	cv
str	save_cursor			sc	sc
str	scroll_forward			ind	sf
str	scroll_reverse			ri	sr
str	set_attributes			sgr	sa
str	set_tab				hts	st
str	set_window			wind	wi
str	tab				ht	ta
str	to_status_line			tsl	ts
str	underline_char			uc	uc
str	up_half_line			hu	hu
str	init_prog			iprog	iP
str	key_a1				ka1	K1
str	key_a3				ka3	K3
str	key_b2				kb2	K2
str	key_c1				kc1	K4
str	key_c3				kc3	K5
str	prtr_non			mc5p	pO
#
# Release 4 capabilities
#
num	buffer_capacity			bufsz	Ya
num	dot_vert_spacing		spinv	Yb
num	dot_horz_spacing		spinh	Yc
num	max_micro_address		maddr	Yd
num	max_micro_jump			mjump	Ye
num	micro_char_size			mcs	Yf
num	micro_line_size			mls	Yg
num	number_of_pins			npins	Yh
num	output_res_char			orc	Yi
num	output_res_line			orl	Yj
num	output_res_horz_inch		orhi	Yk
num	output_res_vert_inch		orvi	Yl
num	print_rate			cps	Ym
num	wide_char_size			widcs	Yn
num	buttons				btns	BT
num	bit_image_entwining		bitwin	Yo
num	bit_image_type			bitype	Yp
#
str	char_padding			rmp	rP
str	acs_chars			acsc	ac
str	plab_norm			pln	pn
str	key_btab			kcbt	kB
str	enter_xon_mode			smxon	SX
str	exit_xon_mode			rmxon	RX
str	enter_am_mode			smam	SA
str	exit_am_mode			rmam	RA
str	xon_character			xonc	XN
str	xoff_character			xoffc	XF
str	ena_acs				enacs	eA
str	label_on			smln	LO
str	label_off			rmln	LF
str	key_beg				kbeg	@1
str	key_cancel			kcan	@2
str	key_close			kclo	@3
str	key_command			kcmd	@4
str	key_copy			kcpy	@5
str	key_create			kcrt	@6
str	key_end				kend	@7
str	key_enter			kent	@8
str	key_exit			kext	@9
str	key_find			kfnd	@0
str	key_help			khlp	%1
str	key_mark			kmrk	%2
str	key_message			kmsg	%3
str	key_move			kmov	%4
str	key_next			knxt	%5
str	key_open			kopn	%6
str	key_options			kopt	%7
str	key_previous			kprv	%8
str	key_print			kprt	%9
str	key_redo			krdo	%0
str	key_reference			kref	&1
str	key_refresh			krfr	&2
str	key_replace			krpl	&3
str	key_restart			krst	&4
str	key_resume			kres	&5
str	key_save			ksav	&6
str	key_suspend			kspd	&7
str	key_undo			kund	&8
str	key_sbeg			kBEG	&9
str	key_scancel			kCAN	&0
str	key_scommand			kCMD	*1
str	key_scopy			kCPY	*2
str	key_screate			kCRT	*3
str	key_sdc				kDC	*4
str	key_sdl				kDL	*5
str	key_select			kslt	*6
str	key_send			kEND	*7
str	key_seol			kEOL	*8
str	key_sexit			kEXT	*9
str	key_sfind			kFND	*0
str	key_shelp			kHLP	#1
str	key_shome			kHOM	#2
str	key_sic				kIC	#3
str	key_sleft			kLFT	#4
str	key_smessage			kMSG	%a
str	key_smove			kMOV	%b
str	key_snext			kNXT	%c
str	key_soptions			kOPT	%d
str	key_sprevious			kPRV	%e
str	key_sprint			kPRT	%f
str	key_sredo			kRDO	%g
str	key_sreplace			kRPL	%h
str	key_sright			kRIT	%i
str	key_srsume			kRES	%j
str	key_ssave			kSAV	!1
str	key_ssuspend			kSPD	!2
str	key_sundo			kUND	!3
str	req_for_input			rfi	RF
str	key_f11				kf11	F1
str	key_f12				kf12	F2
str	key_f13				kf13	F3
str	key_f14				kf14	F4
str	key_f15				kf15	F5
str	key_f16				kf16	F6
str	key_f17				kf17	F7
str	key_f18				kf18	F8
str	key_f19				kf19	F9
str	key_f20				kf20	FA
str	key_f21				kf21	FB
str	key_f22				kf22	FC
str	key_f23				kf23	FD
str	key_f24				kf24	FE
str	key_f25				kf25	FF
str	key_f26				kf26	FG
str	key_f27				kf27	FH
str	key_f28				kf28	FI
str	key_f29				kf29	FJ
str	key_f30				kf30	FK
str	key_f31				kf31	FL
str	key_f32				kf32	FM
str	key_f33				kf33	FN
str	key_f34				kf34	FO
str	key_f35				kf35	FP
str	key_f36				kf36	FQ
str	key_f37				kf37	FR
str	key_f38				kf38	FS
str	key_f39				kf39	FT
str	key_f40				kf40	FU
str	key_f41				kf41	FV
str	key_f42				kf42	FW
str	key_f43				kf43	FX
str	key_f44				kf44	FY
str	key_f45				kf45	FZ
str	key_f46				kf46	Fa
str	key_f47				kf47	Fb
str	key_f48				kf48	Fc
str	key_f49				kf49	Fd
str	key_f50				kf50	Fe
str	key_f51				kf51	Ff
str	key_f52				kf52	Fg
str	key_f53				kf53	Fh
str	key_f54				kf54	Fi
str	key_f55				kf55	Fj
str	key_f56				kf56	Fk
str	key_f57				kf57	Fl
str	key_f58				kf58	Fm
str	key_f59				kf59	Fn
str	key_f60				kf60	Fo
str	key_f61				kf61	Fp
str	key_f62				kf62	Fq
str	key_f63				kf63	Fr
str	clr_bol				el1	cb
str	clear_margins			mgc	MC
str	set_left_margin			smgl	ML
str	set_right_margin		smgr	MR
str	label_format			fln	Lf
str	set_clock			sclk	SC
str	display_clock			dclk	DK
str	remove_clock			rmclk	RC
str	create_window			cwin	CW
str	goto_window			wingo	WG
str	hangup				hup	HU
str	dial_phone			dial	DI
str	quick_dial			qdial	QD
str	tone				tone	TO
str	pulse				pulse	PU
str	flash_hook			hook	fh
str	fixed_pause			pause	PA
str	wait_tone			wait	WA
str	user0				u0	u0
str	user1				u1	u1
str	user2				u2	u2
str	user3				u3	u3
str	user4				u4	u4
str	user5				u5	u5
str	user6				u6	u6
str	user7				u7	u7
str	user8				u8	u8
str	user9				u9	u9
str	orig_colors			oc	oc
str	orig_pair			op	op
str	initialize_color		initc	Ic
str	initialize_pair			initp	Ip
str	set_color_pair			scp	sp
str	set_foreground			setf	Sf
str	set_background			setb	Sb
str	change_char_pitch		cpi	ZA
str	change_line_pitch		lpi	ZB
str	change_res_horz			chr	ZC
str	change_res_vert			cvr	ZD
str	define_char			defc	ZE
str	enter_doublewide_mode		swidm	ZF
str	enter_draft_quality		sdrfq	ZG
str	enter_italics_mode		sitm	ZH
str	enter_leftward_mode		slm	ZI
str	enter_micro_mode		smicm	ZJ
str	enter_near_letter_quality	snlq	ZK
str	enter_normal_quality		snrmq	ZL
str	enter_shadow_mode		sshm	ZM
str	enter_subscript_mode		ssubm	ZN
str	enter_superscript_mode		ssupm	ZO
str	enter_upward_mode		sum	ZP
str	exit_doublewide_mode		rwidm	ZQ
str	exit_italics_mode		ritm	ZR
str	exit_leftward_mode		rlm	ZS
str	exit_micro_mode			rmicm	ZT
str	exit_shadow_mode		rshm	ZU
str	exit_subscript_mode		rsubm	ZV
str	exit_superscript_mode		rsupm	ZW
str	exit_upward_mode		rum	ZX
str	micro_column_address		mhpa	ZY
str	micro_down			mcud1	ZZ
str	micro_left			mcub1	Za
str	micro_right			mcuf1	Zb
str	micro_row_address		mvpa	Zc
str	micro_up			mcuu1	Zd
str	order_of_pins			porder	Ze
str	parm_down_micro			mcud	Zf
str	parm_left_micro			mcub	Zg
str	parm_right_micro		mcuf	Zh
str	parm_up_micro			mcuu	Zi
str	select_char_set			scs	Zj
str	set_bottom_margin		smgb	Zk
str	set_bottom_margin_parm		smgbp	Zl
str	set_left_margin_parm		smglp	Zm
str	set_right_margin_parm		smgrp	Zn
str	set_top_margin			smgt	Zo
str	set_top_margin_parm		smgtp	Zp
str	start_bit_image			sbim	Zq
str	start_char_set_def		scsd	Zr
str	stop_bit_image			rbim	Zs
str	stop_char_set_def		rcsd	Zt
str	subscript_characters		subcs	Zu
str	superscript_characters		supcs	Zv
str	these_cause_cr			docr	Zw
str	zero_motion			zerom	Zx
str	char_set_names			csnm	Zy
str	key_mouse			kmous	Km
str	mouse_info			minfo	Mi
str	req_mouse_pos			reqmp	RQ
str	get_mouse			getm	Gm
str	set_a_foreground		setaf	AF
str	set_a_background		setab	AB
str	pkey_plab			pfxl	xl
str	device_type			devt	dv
str	code_set_init			csin	ci
str	set0_des_seq			s0ds	s0
str	set1_des_seq			s1ds	s1
str	set2_des_seq			s2ds	s2
str	set3_des_seq			s3ds	s3
str	set_lr_margin			smglr	ML
str	set_tb_margin			smgtb	MT
str	bit_image_repeat		birep	Xy
str	bit_image_newline		binel	Zz
str	bit_image_carriage_return	bicr	Yv
str	color_names			colornm	Yw
str	define_bit_image_region		defbi	Yx
str	end_bit_image_region		endbi	Yy
str	set_color_band			setcolor Yz
str	set_page_length			slines	YZ
str	display_pc_char			dispc	S1
str	enter_pc_charset_mode		smpch	S2
str	exit_pc_charset_mode		rmpch	S3
str	enter_scancode_mode		smsc	S4
str	exit_scancode_mode		rmsc	S5
str	pc_term_options			pctrm	S6
str	scancode_escape			scesc	S7
str	alt_scancode_esc		scesa	S8
#
#endbinary
#
# XSI Curses capabilities
#
str	enter_horizontal_hl_mode	ehhlm	Xh
str	enter_left_hl_mode		elhlm	Xl
str	enter_low_hl_mode		elohlm	Xo
str	enter_right_hl_mode		erhlm	Xr
str	enter_top_hl_mode		ethlm	Xt
str	enter_vertical_hl_mode		evhlm	Xv
#
# Termcap capabilities with no Terminfo equivalent, for compatibility
#
bool	backspaces_with_bs		OTbs	bs
bool	crt_no_scrolling		OTns	ns
bool	no_correctly_working_cr		OTnc	nc
#
num	carriage_return_delay		OTdC	dC
num	magic_cookie_glitch_ul		OTug	ug
num	new_line_delay			OTdN	dN
#
str	backspace_if_not_bs		OTbc	bc
str	linefeed_if_not_lf		OTnl	nl
str	termcap_init2			OTi2	i2
str	termcap_reset			OTrs	rs
#
# GNU Termcap capabilities with no Terminfo equivalent, for compatability
#
bool	gnu_has_meta_key		OTMT	MT
#
# Ancient Termcap capabilites; should not be in use
#
bool	has_hardware_tabs		OTpt	pt
bool	linefeed_is_newline		OTNL	NL
bool	return_does_clr_eol		OTxr	xr
#
num	backspace_delay			OTdB	dB
num	horizontal_tab_delay		OTdT	dT
num	number_of_function_keys		OTkn	kn
num	other_non_function_keys		OTko	ko
#
str	arrow_key_map			OTma	ma
#
# Xenix Termcap capabilities
#
str	acs_btee			OTGU	GU
str	acs_hline			OTGH	GH
str	acs_llcorner			OTG3	G3
str	acs_lrcorner			OTG4	G4
str	acs_ltee			OTGR	GR
str	acs_plus			OTGC	GC
str	acs_rtee			OTGL	GL
str	acs_ttee			OTGD	GD
str	acs_ulcorner			OTG2	G2
str	acs_urcorner			OTG1	G1
str	acs_vline			OTGV	GV
#
# HP Terminfo extensions
#
str	memory_lock			meml	ml
str	memory_unlock			memu	mu