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