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