xref: /original-bsd/old/roff/nroff_term/tabqume.c (revision 5e5b7b99)
1 /*-
2  * %sccs.include.proprietary.c%
3  *
4  *	@(#)tabqume.c	4.3 (Berkeley) 04/18/91
5  */
6 
7 #define INCH 240
8 /*
9  * QUME 10 Pitch
10  * nroff driving table
11  * WP Courier 10 97-602
12  * by Albert Einstein College of Medicine
13  */
14 struct {
15 	int bset;
16 	int breset;
17 	int Hor;
18 	int Vert;
19 	int Newline;
20 	int Char;
21 	int Em;
22 	int Halfline;
23 	int Adj;
24 	char *twinit;
25 	char *twrest;
26 	char *twnl;
27 	char *hlr;
28 	char *hlf;
29 	char *flr;
30 	char *bdon;
31 	char *bdoff;
32 	char *ploton;
33 	char *plotoff;
34 	char *up;
35 	char *down;
36 	char *right;
37 	char *left;
38 	char *codetab[256-32];
39 	int zzz;
40 	} t = {
41 /*bset*/	0,
42 /*breset*/	0177420,
43 /*Hor*/		INCH/120,
44 /*Vert*/	INCH/48,
45 /*Newline*/	INCH/6,
46 /*Char*/	INCH/10,
47 /*Em*/		INCH/10,
48 /*Halfline*/	INCH/12,
49 /*Adj*/		INCH/10,
50 /*twinit*/	"\0334\033\037\015", /*plot off, horiz. motion = 10/120 inch*/
51 /*twrest*/	"\0334\033\037\013",
52 /*twnl*/	"\r\n",
53 /*hlr*/		"\033D",
54 /*hlf*/		"\033U",
55 /*flr*/		"\033\n",
56 /*bdon*/	"",
57 /*bdoff*/	"",
58 /*ploton*/	"\033G",
59 /*plotoff*/	"\0334",
60 /*up*/		"\033\n",
61 /*down*/	"\n",
62 /*right*/	" ",
63 /*left*/	"\b",
64 /*codetab*/
65 "\001 ",	/*space*/
66 "\001!",	/*!*/
67 "\001\"",	/*"*/
68 "\001#",	/*#*/
69 "\001$",	/*$*/
70 "\001%",	/*%*/
71 "\001&",	/*&*/
72 "\001'",	/*' close*/
73 "\001(",	/*(*/
74 "\001)",	/*)*/
75 "\001*",	/***/
76 "\001+",	/*+*/
77 "\001,",	/*,*/
78 "\001-",	/*- hyphen*/
79 "\001.",	/*.*/
80 "\001/",	/*/*/
81 "\2010",	/*0*/
82 "\2011",	/*1*/
83 "\2012",	/*2*/
84 "\2013",	/*3*/
85 "\2014",	/*4*/
86 "\2015",	/*5*/
87 "\2016",	/*6*/
88 "\2017",	/*7*/
89 "\2018",	/*8*/
90 "\2019",	/*9*/
91 "\001:",	/*:*/
92 "\001;",	/*;*/
93 "\001<",	/*<*/
94 "\001=",	/*=*/
95 "\001>",	/*>*/
96 "\001?",	/*?*/
97 "\001@",	/*@*/
98 "\201A",	/*A*/
99 "\201B",	/*B*/
100 "\201C",	/*C*/
101 "\201D",	/*D*/
102 "\201E",	/*E*/
103 "\201F",	/*F*/
104 "\201G",	/*G*/
105 "\201H",	/*H*/
106 "\201I",	/*I*/
107 "\201J",	/*J*/
108 "\201K",	/*K*/
109 "\201L",	/*L*/
110 "\201M",	/*M*/
111 "\201N",	/*N*/
112 "\201O",	/*O*/
113 "\201P",	/*P*/
114 "\201Q",	/*Q*/
115 "\201R",	/*R*/
116 "\201S",	/*S*/
117 "\201T",	/*T*/
118 "\201U",	/*U*/
119 "\201V",	/*V*/
120 "\201W",	/*W*/
121 "\201X",	/*X*/
122 "\201Y",	/*Y*/
123 "\201Z",	/*Z*/
124 "\001[",	/*[*/
125 "\000\0",	/*\*/
126 "\001]",	/*]*/
127 "\000\0",	 /*^*/
128 "\001_",	/*_ dash*/
129 "\001'",	/*` open*/
130 "\201a",	/*a*/
131 "\201b",	/*b*/
132 "\201c",	/*c*/
133 "\201d",	/*d*/
134 "\201e",	/*e*/
135 "\201f",	/*f*/
136 "\201g",	/*g*/
137 "\201h",	/*h*/
138 "\201i",	/*i*/
139 "\201j",	/*j*/
140 "\201k",	/*k*/
141 "\201l",	/*l*/
142 "\201m",	/*m*/
143 "\201n",	/*n*/
144 "\201o",	/*o*/
145 "\201p",	/*p*/
146 "\201q",	/*q*/
147 "\201r",	/*r*/
148 "\201s",	/*s*/
149 "\201t",	/*t*/
150 "\201u",	/*u*/
151 "\201v",	/*v*/
152 "\201w",	/*w*/
153 "\201x",	/*x*/
154 "\201y",	/*y*/
155 "\201z",	/*z*/
156 "\001[",	/*{*/
157 "\001\033 ",	/*|*/
158 "\001]",	/*}*/
159 "\000\0",	/*~*/
160 "\000\0",	/*narrow sp*/
161 "\001-",	/*hyphen*/
162 "\0010\b+",	/*bullet*/
163 "\000\0",	/*square*/
164 "\001-",	/*3/4 em*/
165 "\001_",	/*rule*/
166 "\000\0",	/*1/4*/
167 "\000\0",	/*1/2*/
168 "\000\0",	/*3/4*/
169 "\001-",	/*minus*/
170 "\202fi",	/*fi*/
171 "\202fl",	/*fl*/
172 "\202ff",	/*ff*/
173 "\203ffi",	/*ffi*/
174 "\203ffl",	/*ffl*/
175 "\001`",	/*degree*/
176 "\001}",	/*dagger*/
177 "\001{",	/*section*/
178 "\001'",	/*foot mark*/
179 "\001'",	/*acute accent*/
180 "\001'",	/*grave accent*/
181 "\001_",	/*underrule*/
182 "\001/",	/*slash (longer)*/
183 "\000\0",	/*half narrow space*/
184 "\001 ",	/*unpaddable space*/
185 "\000\0",	/*alpha*/
186 "\000\0",	/*beta*/
187 "\000\0",	/*gamma*/
188 "\000\0",	/*delta*/
189 "\000\0",	/*epsilon*/
190 "\000\0",	/*zeta*/
191 "\000\0",	/*eta*/
192 "\000\0",	/*theta*/
193 "\000\0",	/*iota*/
194 "\000\0",	/*kappa*/
195 "\000\0",	/*lambda*/
196 "\000\0",	/*mu*/
197 "\000\0",	/*nu*/
198 "\000\0",	/*xi*/
199 "\000\0",	/*omicron*/
200 "\001|",	/*pi*/
201 "\000\0",	/*rho*/
202 "\000\0",	/*sigma*/
203 "\000\0",	/*tau*/
204 "\000\0",	/*upsilon*/
205 "\000\0",	/*phi*/
206 "\000\0",	/*chi*/
207 "\000\0",	/*psi*/
208 "\000\0",	/*omega*/
209 "\000\0",	/*Gamma*/
210 "\000\0",	/*Delta*/
211 "\000\0",	/*Theta*/
212 "\000\0",	/*Lambda*/
213 "\000\0",	/*Xi*/
214 "\000\0",	/*Pi*/
215 "\000\0",	/*Sigma*/
216 "\000\0",	/**/
217 "\000\0",	/*Upsilon*/
218 "\000\0",	/*Phi*/
219 "\000\0",	/*Psi*/
220 "\000\0",	/*Omega*/
221 "\000\0",	/*square root*/
222 "\000\0",	/*terminal sigma*/
223 "\000\0",	/*root en*/
224 "\001>\b_",	/*>=*/
225 "\001<\b_",	/*<=*/
226 "\000\0",	/*identically equal*/
227 "\001-",	/*equation minus*/
228 "\000\0",	/*approx =*/
229 "\000\0",	/*approximates*/
230 "\001=\b/",	/*not equal*/
231 "\002->",	/*right arrow*/
232 "\002<-",	/*left arrow*/
233 "\000\0",	/*up arrow*/
234 "\000\0",	/*down arrow*/
235 "\001=",	/*equation equal*/
236 "\001*",	/*multiply*/
237 "\001/",	/*divide*/
238 "\001+\b_",	/*plus-minus*/
239 "\001U",	/*cup (union)*/
240 "\000\0",	/*cap (intersection)*/
241 "\000\0",	/*subset of*/
242 "\000\0",	/*superset of*/
243 "\000\0",	/*improper subset*/
244 "\000\0",	/* improper superset*/
245 "\000\0",	/*infinity*/
246 "\000\0",	/*partial derivative*/
247 "\000\0",	/*gradient*/
248 "\000\0",	/*not*/
249 "\000\0",	/*integral sign*/
250 "\000\0",	/*proportional to*/
251 "\0010\b/",	/*empty set*/
252 "\001<\b-",	/*member of*/
253 "\001+",	/*equation plus*/
254 "\001\134",	/*registered*/
255 "\001^",	/*copyright*/
256 "\001\033 ",	/*box rule */
257 "\001c\b/",	/*cent sign*/
258 "\000\0",	/*dbl dagger*/
259 "\000\0",	/*right hand*/
260 "\000\0",	/*left hand*/
261 "\001*",	/*math * */
262 "\000\0",	/*bell system sign*/
263 "\001\033 ",	/*or (was star)*/
264 "\000\0",	/*circle*/
265 "\000\0",	/*left top (of big curly)*/
266 "\000\0",	/*left bottom*/
267 "\000\0",	/*right top*/
268 "\000\0",	/*right bot*/
269 "\000\0",	/*left center of big curly bracket*/
270 "\000\0",	/*right center of big curly bracket*/
271 "\000\0",	/*bold vertical*/
272 "\000\0",	/*left floor (left bot of big sq bract)*/
273 "\000\0",	/*right floor (rb of ")*/
274 "\000\0",	/*left ceiling (lt of ")*/
275 "\000\0",	/*right ceiling (rt of ")*/
276 "\000\0",	/*superscript 0	 */
277 "\000\0",	/*superscript 1	 */
278 "\000\0",	/*superscript 2	 */
279 "\000\0",	/*superscript 3	 */
280 "\000\0",	/*superscript 4	 */
281 "\000\0",	/*superscript 5	 */
282 "\000\0",	/*superscript 6	 */
283 "\000\0",	/*superscript 7	 */
284 "\000\0",	/*superscript 8	 */
285 0,0,0,		/*0374, 0375, 0376 cannot be accessed */
286 "\000\0",	/*superscript 9	 */
287 /*"\001\016;\017",		umlaut	dotdot	*/
288 };
289