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