Commit | Line | Data |
---|---|---|
dbc3594f GM |
1 | /* |
2 | * Copyright 1984, 1985 by the Regents of the University of | |
3 | * California and by Gregory Glenn Minshall. | |
4 | * | |
5 | * Permission to use, copy, modify, and distribute these | |
6 | * programs and their documentation for any purpose and | |
7 | * without fee is hereby granted, provided that this | |
8 | * copyright and permission appear on all copies and | |
9 | * supporting documentation, the name of the Regents of | |
10 | * the University of California not be used in advertising | |
11 | * or publicity pertaining to distribution of the programs | |
12 | * without specific prior permission, and notice be given in | |
13 | * supporting documentation that copying and distribution is | |
14 | * by permission of the Regents of the University of California | |
15 | * and by Gregory Glenn Minshall. Neither the Regents of the | |
16 | * University of California nor Gregory Glenn Minshall make | |
17 | * representations about the suitability of this software | |
18 | * for any purpose. It is provided "as is" without | |
19 | * express or implied warranty. | |
20 | */ | |
21 | ||
22 | #define INCLUDED_ASCEBC | |
23 | ||
24 | /* | |
25 | * ascii/ebcdic translation information | |
26 | */ | |
27 | ||
28 | #define NASCII 128 /* number of ascii characters */ | |
29 | #define NASCEBC 4 /* number of ascii to ebcdic tables */ | |
30 | ||
31 | #define AE_NO -1 /* no translation - user has already done it */ | |
32 | #define AE_PR 0 /* ascii to ebcdic "print" translation */ | |
33 | #define AE_IN 1 /* ascii to ebcdic "input" translation */ | |
34 | #define AE_SP 2 /* ascii to ebcdic special translation */ | |
35 | #define AE_TX 3 /* ascii to ebcdic pure text translation */ | |
36 | ||
37 | #define NEBC 256 /* number of ebcdic characters */ | |
38 | #define NEBCASC 1 /* number of ebcdic to ascii tables */ | |
39 | ||
40 | extern unsigned char | |
41 | ascebc[NASCEBC][NASCII], | |
42 | ebcasc[NEBCASC][NEBC]; |