add Berkeley specific header
[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
6 * provided that this notice is preserved and that due credit is given
7 * to the University of California at Berkeley. The name of the University
8 * may not be used to endorse or promote products derived from this
9 * software without specific prior written permission. This software
10 * is provided ``as is'' without express or implied warranty.
47babc50
GM
11 */
12
ee01fcaa
KB
13#ifndef lint
14static char sccsid[] = "@(#)ebctab.c 1.3 (Berkeley) %G%";
15#endif /* not lint */
16
17/*
18 * ebcdic to ascii translation tables
19 */
47babc50
GM
20
21#include "ascebc.h"
22
23unsigned char ebcasc[NEBCASC][NEBC] = {
24/* 00 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
25/* 08 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
26/* 10 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
27/* 18 */ ' ', ' ', ' ', ' ', '*', ' ', ';', ' ',
28/* 20 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
29/* 28 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
30/* 30 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
31/* 38 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
32/* 40 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
33
34/* 48 */ ' ', ' ',
aad9524b 35#if !defined(MSDOS)
47babc50 36 /* 4A */ '\\',
aad9524b 37#else /* !defined(MSDOS) */
47babc50 38 /* 4A */ '\233', /* PC cent sign */
aad9524b 39#endif /* !defined(MSDOS) */
47babc50
GM
40 /* 4B */ '.', '<', '(', '+', '|',
41
42/* 50 */ '&', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
43/* 58 */ ' ', ' ', '!', '$', '*', ')', ';', '^',
44/* 60 */ '-', '/', ' ', ' ', ' ', ' ', ' ', ' ',
45/* 68 */ ' ', ' ', '|', ',', '%', '_', '>', '?',
46/* 70 */ ' ', '^', ' ', ' ', ' ', ' ', ' ', ' ',
47/* 78 */ ' ', '`', ':', '#', '@', '\'', '=', '"',
48/* 80 */ ' ', 'a', 'b', 'c', 'd', 'e', 'f', 'g',
49/* 88 */ 'h', 'i', ' ', ' ', ' ', ' ', ' ', ' ',
50/* 90 */ ' ', 'j', 'k', 'l', 'm', 'n', 'o', 'p',
51/* 98 */ 'q', 'r', ' ', ' ', ' ', ' ', ' ', ' ',
52/* A0 */ ' ', '~', 's', 't', 'u', 'v', 'w', 'x',
53/* A8 */ 'y', 'z', ' ', ' ', ' ', '[', ' ', ' ',
54/* B0 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
55/* B8 */ ' ', ' ', ' ', ' ', ' ', ']', ' ', ' ',
56/* C0 */ '{', 'A', 'B', 'C', 'D', 'E', 'F', 'G',
57/* C8 */ 'H', 'I', ' ', ' ', ' ', ' ', ' ', ' ',
58/* D0 */ '}', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
59/* D8 */ 'Q', 'R', ' ', ' ', ' ', ' ', ' ', ' ',
60/* E0 */ '\\', ' ', 'S', 'T', 'U', 'V', 'W', 'X',
61/* E8 */ 'Y', 'Z', ' ', ' ', ' ', ' ', ' ', ' ',
62/* F0 */ '0', '1', '2', '3', '4', '5', '6', '7',
63/* F8 */ '8', '9', ' ', ' ', ' ', ' ', ' ', ' ',
64};