131050Sminshall /* 233817Sbostic * Copyright (c) 1988 Regents of the University of California. 333817Sbostic * All rights reserved. 433817Sbostic * 533817Sbostic * Redistribution and use in source and binary forms are permitted 634890Sbostic * provided that the above copyright notice and this paragraph are 734890Sbostic * duplicated in all such forms and that any documentation, 834890Sbostic * advertising materials, and other materials related to such 934890Sbostic * distribution and use acknowledge that the software was developed 1034890Sbostic * by the University of California, Berkeley. The name of the 1134890Sbostic * University may not be used to endorse or promote products derived 1234890Sbostic * from this software without specific prior written permission. 1334890Sbostic * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 1434890Sbostic * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 1534890Sbostic * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 1633817Sbostic */ 1733817Sbostic 1833817Sbostic #ifndef lint 19*36284Sminshall static char sccsid[] = "@(#)ebctab.c 4.1 (Berkeley) 12/04/88"; 2033817Sbostic #endif /* not lint */ 2133817Sbostic 2233817Sbostic /* 2331050Sminshall * ebcdic to ascii translation tables 2431050Sminshall */ 2531050Sminshall 2631050Sminshall #include "ascebc.h" 2731050Sminshall 2831050Sminshall unsigned char ebcasc[NEBCASC][NEBC] = { 2931050Sminshall /* 00 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 3031050Sminshall /* 08 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 3131050Sminshall /* 10 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 3231050Sminshall /* 18 */ ' ', ' ', ' ', ' ', '*', ' ', ';', ' ', 3331050Sminshall /* 20 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 3431050Sminshall /* 28 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 3531050Sminshall /* 30 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 3631050Sminshall /* 38 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 3731050Sminshall /* 40 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 3831050Sminshall 3931050Sminshall /* 48 */ ' ', ' ', 4031093Sminshall #if !defined(MSDOS) 4131050Sminshall /* 4A */ '\\', 4231093Sminshall #else /* !defined(MSDOS) */ 4331050Sminshall /* 4A */ '\233', /* PC cent sign */ 4431093Sminshall #endif /* !defined(MSDOS) */ 4531050Sminshall /* 4B */ '.', '<', '(', '+', '|', 4631050Sminshall 4731050Sminshall /* 50 */ '&', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 4831050Sminshall /* 58 */ ' ', ' ', '!', '$', '*', ')', ';', '^', 4931050Sminshall /* 60 */ '-', '/', ' ', ' ', ' ', ' ', ' ', ' ', 5031050Sminshall /* 68 */ ' ', ' ', '|', ',', '%', '_', '>', '?', 5131050Sminshall /* 70 */ ' ', '^', ' ', ' ', ' ', ' ', ' ', ' ', 5231050Sminshall /* 78 */ ' ', '`', ':', '#', '@', '\'', '=', '"', 5331050Sminshall /* 80 */ ' ', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 5431050Sminshall /* 88 */ 'h', 'i', ' ', ' ', ' ', ' ', ' ', ' ', 5531050Sminshall /* 90 */ ' ', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 5631050Sminshall /* 98 */ 'q', 'r', ' ', ' ', ' ', ' ', ' ', ' ', 5731050Sminshall /* A0 */ ' ', '~', 's', 't', 'u', 'v', 'w', 'x', 5831050Sminshall /* A8 */ 'y', 'z', ' ', ' ', ' ', '[', ' ', ' ', 5931050Sminshall /* B0 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 6031050Sminshall /* B8 */ ' ', ' ', ' ', ' ', ' ', ']', ' ', ' ', 6131050Sminshall /* C0 */ '{', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 6231050Sminshall /* C8 */ 'H', 'I', ' ', ' ', ' ', ' ', ' ', ' ', 6331050Sminshall /* D0 */ '}', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 6431050Sminshall /* D8 */ 'Q', 'R', ' ', ' ', ' ', ' ', ' ', ' ', 6531050Sminshall /* E0 */ '\\', ' ', 'S', 'T', 'U', 'V', 'W', 'X', 6631050Sminshall /* E8 */ 'Y', 'Z', ' ', ' ', ' ', ' ', ' ', ' ', 6731050Sminshall /* F0 */ '0', '1', '2', '3', '4', '5', '6', '7', 6831050Sminshall /* F8 */ '8', '9', ' ', ' ', ' ', ' ', ' ', ' ', 6931050Sminshall }; 70