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