Release 4.1
[unix-history] / usr / src / usr.bin / tn3270 / ascii / ebctab.c
CommitLineData
47babc50 1/*
ee01fcaa
KB
2 * Copyright (c) 1988 Regents of the University of California.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms are permitted
b36fc510
KB
6 * provided that the above copyright notice and this paragraph are
7 * duplicated in all such forms and that any documentation,
8 * advertising materials, and other materials related to such
9 * distribution and use acknowledge that the software was developed
10 * by the University of California, Berkeley. The name of the
11 * University may not be used to endorse or promote products derived
12 * from this software without specific prior written permission.
13 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
47babc50
GM
16 */
17
ee01fcaa 18#ifndef lint
d43d1075 19static char sccsid[] = "@(#)ebctab.c 4.1 (Berkeley) %G%";
ee01fcaa
KB
20#endif /* not lint */
21
22/*
23 * ebcdic to ascii translation tables
24 */
47babc50
GM
25
26#include "ascebc.h"
27
28unsigned char ebcasc[NEBCASC][NEBC] = {
29/* 00 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
30/* 08 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
31/* 10 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
32/* 18 */ ' ', ' ', ' ', ' ', '*', ' ', ';', ' ',
33/* 20 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
34/* 28 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
35/* 30 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
36/* 38 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
37/* 40 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
38
39/* 48 */ ' ', ' ',
aad9524b 40#if !defined(MSDOS)
47babc50 41 /* 4A */ '\\',
aad9524b 42#else /* !defined(MSDOS) */
47babc50 43 /* 4A */ '\233', /* PC cent sign */
aad9524b 44#endif /* !defined(MSDOS) */
47babc50
GM
45 /* 4B */ '.', '<', '(', '+', '|',
46
47/* 50 */ '&', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
48/* 58 */ ' ', ' ', '!', '$', '*', ')', ';', '^',
49/* 60 */ '-', '/', ' ', ' ', ' ', ' ', ' ', ' ',
50/* 68 */ ' ', ' ', '|', ',', '%', '_', '>', '?',
51/* 70 */ ' ', '^', ' ', ' ', ' ', ' ', ' ', ' ',
52/* 78 */ ' ', '`', ':', '#', '@', '\'', '=', '"',
53/* 80 */ ' ', 'a', 'b', 'c', 'd', 'e', 'f', 'g',
54/* 88 */ 'h', 'i', ' ', ' ', ' ', ' ', ' ', ' ',
55/* 90 */ ' ', 'j', 'k', 'l', 'm', 'n', 'o', 'p',
56/* 98 */ 'q', 'r', ' ', ' ', ' ', ' ', ' ', ' ',
57/* A0 */ ' ', '~', 's', 't', 'u', 'v', 'w', 'x',
58/* A8 */ 'y', 'z', ' ', ' ', ' ', '[', ' ', ' ',
59/* B0 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
60/* B8 */ ' ', ' ', ' ', ' ', ' ', ']', ' ', ' ',
61/* C0 */ '{', 'A', 'B', 'C', 'D', 'E', 'F', 'G',
62/* C8 */ 'H', 'I', ' ', ' ', ' ', ' ', ' ', ' ',
63/* D0 */ '}', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
64/* D8 */ 'Q', 'R', ' ', ' ', ' ', ' ', ' ', ' ',
65/* E0 */ '\\', ' ', 'S', 'T', 'U', 'V', 'W', 'X',
66/* E8 */ 'Y', 'Z', ' ', ' ', ' ', ' ', ' ', ' ',
67/* F0 */ '0', '1', '2', '3', '4', '5', '6', '7',
68/* F8 */ '8', '9', ' ', ' ', ' ', ' ', ' ', ' ',
69};