xref: /onnv-gate/usr/src/cmd/lp/terminfo/dec.ti (revision 0:68f95e015346)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
23#	  All Rights Reserved
24
25
26#ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.1	*/
27
28######################################################################
29#
30# Generic entries for the various DEC printers and emulations.
31#
32#	The Gdec+... entries are really for any ANSI X3.64 printer,
33#	but "ansi" is already used for terminals. It would be more
34#	work to do "use=ansi" because there are too many screen
35#	oriented caps that would have to be removed.
36#
37
38#
39# Basic capabilities:
40#
41Gdec+basic,
42
43	cols#132,
44	lines#66,
45	it#8,
46
47	cpix,
48	orc#1,
49	orhi#10,
50	orl#2,
51	orvi#12,
52
53#
54# FIX? Are xhpa and xvpa really needed?
55	xhpa,
56	xvpa,
57
58	cr=^M,
59	ff=^L,
60	ht=^I,
61	cud1=^J,
62	cuf1=\s,
63	cuu1=\EM,
64	cud=\E[%p1%de,
65	cuf=\E[%p1%da,
66	hpa=\E[%p1%d`,
67	vpa=\E[%p1%dd,
68	nel=\EE,
69
70	is1=\Ec,
71	is2=\E[20l,
72
73	cpi=%?%p1%{10}%=%t\E[w%e%p1%{12}%=%t\E[2w%e%p1%{5}%=%t\E[5w%e%p1%{13}%=%p1%{14}%=%O%t\E[3w%e%p1%{16}%=%p1%{17}%=%O%t\E[4w%e%p1%{6}%=%t\E[6w%e%p1%{7}%=%t\E[7w%e%p1%{8}%=%t\E[8w%;,
74	lpi=%?%p1%{2}%=%t\E[4z%e%p1%{3}%=%t\E[5z%e%p1%{4}%=%t\E[6z%e%p1%{6}%=%t\E[z%e%p1%{8}%=%t\E[2z%e%p1%{12}%=%t\E[3z%;,
75
76	csnm=%?%p1%{0}%=%tusascii%e%p1%{1}%=%tenglish%e%p1%{2}%=%tfinnish%e%p1%{3}%=%tjapanese%e%p1%{4}%=%tnorwegian%e%p1%{5}%=%tswedish%e%p1%{6}%=%tgermanic%e%p1%{7}%=%tfrench%e%p1%{8}%=%tcanadian_french%e%p1%{9}%=%titalian%e%p1%{10}%=%tspanish%e%p1%{11}%=%tline%e%p1%{12}%=%tsecurity%e%p1%{13}%=%tebcdic%e%p1%{14}%=%tapl%e%p1%{15}%=%tmosaic%;,
77	scs=%?%p1%{0}%=%t\E(B%e%p1%{1}%=%t\E(A%e%p1%{2}%=%t\E(C%e%p1%{3}%=%t\E(D%e%p1%{4}%=%t\E(E%e%p1%{5}%=%t\E(H%e%p1%{6}%=%t\E(K%e%p1%{7}%=%t\E(R%e%p1%{8}%=%t\E(Q%e%p1%{9}%=%t\E(Y%e%p1%{10}%=%t\E(Z%e%p1%{11}%=%t\E(0%e%p1%{12}%=%t\E(1%e%p1%{13}%=%t\E(3%e%p1%{14}%=%t\E(8%e%p1%{15}%=%t\E(}%;,
78
79	sshm=\E[5m,
80	rshm=\E[m,
81
82	smgtp=\E[%p1%dr,
83	smgbp=\E[;%p1%dr,
84	smglp=\E[%{1}%p1%+%ds,
85	smgrp=\E[;%{1}%p1%+%ds,
86
87#   slines=
88	u9=\E[%p1%dt,
89	slines=\E[%p1%dt,
90
91#
92# Graphics capabilities (low resolution, 6-pin):
93#
94Gdec+low,
95
96	npins#6,
97	spinv#72,
98	spinh#75,
99
100	porder=o\,o\,6\,5\,4\,3\,2\,1;63,
101
102        bitwin#1,
103	u1=1,
104        bitype#1,
105	u2=1,
106
107#   birep=
108	u4=!%p2%d%p3%c,
109	birep=!%p2%d%p3%c,
110
111#   defbi=
112#	X is in 1/75 increments; set char spacing to 1/16.7
113#	increments to allow us to get close; column is X*16.7/75.
114#	Y is in 1/72 increments; set line spacing to 1/12
115#	increments to allow us to get close; line is Y/6.
116	u6=%?%p5%{1}%=%t\E[4w\E[%p1%{167}%*%{750}%/%d`\E[w\E[3z\E[%p2%{6}%/%dd\E[z\EP0q%;,
117	defbi=%?%p5%{1}%=%t\E[4w\E[%p1%{167}%*%{750}%/%d`\E[w\E[3z\E[%p2%{6}%/%dd\E[z\EP0q%;,
118
119#   endbi=
120	u7=^X,
121	endbi=^X,
122
123#   binel=
124	u5=-,
125	binel=-,
126
127#   bicr=
128	u3=$,
129	bicr=$,
130
131