* Copyright (c) 1984-1987 by the Regents of the
* University of California and by Gregory Glenn Minshall.
* Permission to use, copy, modify, and distribute these
* programs and their documentation for any purpose and
* without fee is hereby granted, provided that this
* copyright and permission appear on all copies and
* supporting documentation, the name of the Regents of
* the University of California not be used in advertising
* or publicity pertaining to distribution of the programs
* without specific prior permission, and notice be given in
* supporting documentation that copying and distribution is
* by permission of the Regents of the University of California
* and by Gregory Glenn Minshall. Neither the Regents of the
* University of California nor Gregory Glenn Minshall make
* representations about the suitability of this software
* for any purpose. It is provided "as is" without
* express or implied warranty.
static char sccsid
[] = "@(#)mkdctype.c 1.5 (Berkeley) %G%";
#include "../api/ebc_disp.h"
extern unsigned char ectype
[256];
static unsigned char dctype
[192] = { 0 };
for (i
= 0; i
< sizeof ectype
; i
++) {
dctype
[ebc_disp
[i
]] = ectype
[i
];
for (i
= 0; i
< sizeof dctype
; i
++) {
printf("%sD_LOWER", orbar
);
printf("%sD_DIGIT", orbar
);
printf("%sD_SPACE", orbar
);
printf("%sD_PUNCT", orbar
);
printf("%sD_PRINT", orbar
);