386BSD 0.1 development
[unix-history] / usr / src / usr.bin / tn3270 / tools / ectype.c
CommitLineData
20cd9e53
WJ
1/*-
2 * Copyright (c) 1988 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 * 3. All advertising materials mentioning features or use of this software
14 * must display the following acknowledgement:
15 * This product includes software developed by the University of
16 * California, Berkeley and its contributors.
17 * 4. Neither the name of the University nor the names of its contributors
18 * may be used to endorse or promote products derived from this software
19 * without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
22 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 */
33
34#ifndef lint
35static char sccsid[] = "@(#)ectype.c 4.2 (Berkeley) 4/26/91";
36#endif /* not lint */
37
38#include "ectype.h"
39
40char ectype[] = {
41/* 0x00 */
42 E_SPACE,
43 0x00,
44 0x00,
45 0x00,
46 0x00,
47 0x00,
48 0x00,
49 0x00,
50 0x00,
51 0x00,
52 0x00,
53 0x00,
54 0x00,
55 0x00,
56 0x00,
57 0x00,
58/* 0x10 */
59 0x00,
60 0x00,
61 0x00,
62 0x00,
63 0x00,
64 0x00,
65 0x00,
66 0x00,
67 0x00,
68 0x00,
69 0x00,
70 0x00,
71 0x00,
72 0x00,
73 0x00,
74 0x00,
75/* 0x20 */
76 0x00,
77 0x00,
78 0x00,
79 0x00,
80 0x00,
81 0x00,
82 0x00,
83 0x00,
84 0x00,
85 0x00,
86 0x00,
87 0x00,
88 0x00,
89 0x00,
90 0x00,
91 0x00,
92/* 0x30 */
93 0x00,
94 0x00,
95 0x00,
96 0x00,
97 0x00,
98 0x00,
99 0x00,
100 0x00,
101 0x00,
102 0x00,
103 0x00,
104 0x00,
105 0x00,
106 0x00,
107 0x00,
108 0x00,
109/* 0x40 */
110 E_SPACE,
111 0x00,
112 0x00,
113 0x00,
114 0x00,
115 0x00,
116 0x00,
117 0x00,
118 0x00,
119 0x00,
120 E_PRINT|E_PUNCT,
121 E_PRINT|E_PUNCT,
122 E_PRINT|E_PUNCT,
123 E_PRINT|E_PUNCT,
124 E_PRINT|E_PUNCT,
125 E_PRINT|E_PUNCT,
126/* 0x50 */
127 E_PRINT|E_PUNCT,
128 0x00,
129 0x00,
130 0x00,
131 0x00,
132 0x00,
133 0x00,
134 0x00,
135 0x00,
136 0x00,
137 E_PRINT|E_PUNCT,
138 E_PRINT|E_PUNCT,
139 E_PRINT|E_PUNCT,
140 E_PRINT|E_PUNCT,
141 E_PRINT|E_PUNCT,
142 E_PRINT|E_PUNCT,
143/* 0x60 */
144 E_PRINT|E_PUNCT,
145 E_PRINT|E_PUNCT,
146 0x00,
147 0x00,
148 0x00,
149 0x00,
150 0x00,
151 0x00,
152 0x00,
153 0x00,
154 E_PRINT|E_PUNCT,
155 E_PRINT|E_PUNCT,
156 E_PRINT|E_PUNCT,
157 E_PRINT|E_PUNCT,
158 E_PRINT|E_PUNCT,
159 E_PRINT|E_PUNCT,
160/* 0x70 */
161 0x00,
162 0x00,
163 0x00,
164 0x00,
165 0x00,
166 0x00,
167 0x00,
168 0x00,
169 0x00,
170 E_PRINT|E_PUNCT,
171 E_PRINT|E_PUNCT,
172 E_PRINT|E_PUNCT,
173 E_PRINT|E_PUNCT,
174 E_PRINT|E_PUNCT,
175 E_PRINT|E_PUNCT,
176 E_PRINT|E_PUNCT,
177/* 0x80 */
178 0x00,
179 E_PRINT|E_LOWER,
180 E_PRINT|E_LOWER,
181 E_PRINT|E_LOWER,
182 E_PRINT|E_LOWER,
183 E_PRINT|E_LOWER,
184 E_PRINT|E_LOWER,
185 E_PRINT|E_LOWER,
186 E_PRINT|E_LOWER,
187 E_PRINT|E_LOWER,
188 0x00,
189 0x00,
190 0x00,
191 0x00,
192 0x00,
193 0x00,
194/* 0x90 */
195 0x00,
196 E_PRINT|E_LOWER,
197 E_PRINT|E_LOWER,
198 E_PRINT|E_LOWER,
199 E_PRINT|E_LOWER,
200 E_PRINT|E_LOWER,
201 E_PRINT|E_LOWER,
202 E_PRINT|E_LOWER,
203 E_PRINT|E_LOWER,
204 E_PRINT|E_LOWER,
205 0x00,
206 0x00,
207 0x00,
208 0x00,
209 0x00,
210 0x00,
211/* 0xA0 */
212 0x00,
213 E_PRINT|E_PUNCT,
214 E_PRINT|E_LOWER,
215 E_PRINT|E_LOWER,
216 E_PRINT|E_LOWER,
217 E_PRINT|E_LOWER,
218 E_PRINT|E_LOWER,
219 E_PRINT|E_LOWER,
220 E_PRINT|E_LOWER,
221 E_PRINT|E_LOWER,
222 0x00,
223 0x00,
224 0x00,
225 0x00,
226 0x00,
227 0x00,
228/* 0xB0 */
229 0x00,
230 0x00,
231 0x00,
232 0x00,
233 0x00,
234 0x00,
235 0x00,
236 0x00,
237 0x00,
238 0x00,
239 0x00,
240 0x00,
241 0x00,
242 0x00,
243 0x00,
244 0x00,
245/* 0xC0 */
246 E_PRINT|E_PUNCT,
247 E_PRINT|E_UPPER,
248 E_PRINT|E_UPPER,
249 E_PRINT|E_UPPER,
250 E_PRINT|E_UPPER,
251 E_PRINT|E_UPPER,
252 E_PRINT|E_UPPER,
253 E_PRINT|E_UPPER,
254 E_PRINT|E_UPPER,
255 E_PRINT|E_UPPER,
256 0x00,
257 0x00,
258 0x00,
259 0x00,
260 0x00,
261 0x00,
262/* 0xD0 */
263 E_PRINT|E_PUNCT,
264 E_PRINT|E_UPPER,
265 E_PRINT|E_UPPER,
266 E_PRINT|E_UPPER,
267 E_PRINT|E_UPPER,
268 E_PRINT|E_UPPER,
269 E_PRINT|E_UPPER,
270 E_PRINT|E_UPPER,
271 E_PRINT|E_UPPER,
272 E_PRINT|E_UPPER,
273 0x00,
274 0x00,
275 0x00,
276 0x00,
277 0x00,
278 0x00,
279/* 0xE0 */
280 E_PRINT|E_PUNCT,
281 0x00,
282 E_PRINT|E_UPPER,
283 E_PRINT|E_UPPER,
284 E_PRINT|E_UPPER,
285 E_PRINT|E_UPPER,
286 E_PRINT|E_UPPER,
287 E_PRINT|E_UPPER,
288 E_PRINT|E_UPPER,
289 E_PRINT|E_UPPER,
290 0x00,
291 0x00,
292 0x00,
293 0x00,
294 0x00,
295 0x00,
296/* 0xF0 */
297 E_PRINT|E_DIGIT,
298 E_PRINT|E_DIGIT,
299 E_PRINT|E_DIGIT,
300 E_PRINT|E_DIGIT,
301 E_PRINT|E_DIGIT,
302 E_PRINT|E_DIGIT,
303 E_PRINT|E_DIGIT,
304 E_PRINT|E_DIGIT,
305 E_PRINT|E_DIGIT,
306 E_PRINT|E_DIGIT,
307 0x00,
308 0x00,
309 0x00,
310 0x00,
311 0x00,
312 0x00
313};