5
* NOTE: THE FOLLOWING #define MAY NEED ADJUSTMENT.
6
* u16 should be an unsigned type of 16 bit length (two octets).
7
* u8 should be an unsigned type of 8 bit length (one octet).
10
#define u16 unsigned short
15
#define u8 unsigned char
19
struct consolefontdesc {
20
u_short charcount; /* characters in font (256 or 512) */
21
u_short charheight; /* scan lines per character (1-32) */
22
char *chardata; /* font data in expanded form */
24
#endif /* NOTDEFINED */
25
typedef char scrnmap_t;
34
CONST char * replace_str;
38
struct unipair *entries;
40
struct unimapdesc_str {
42
struct unipair_str *entries;
48
#define UNI_DIRECT_BASE 0xF000 /* start of Direct Font Region */
49
#define UNI_DIRECT_MASK 0x01FF /* Direct Font Region bitmask */
51
#define UC_MAXLEN_ID_APPEND 20
52
#define UC_MAXLEN_MIMECSNAME 40
53
#define UC_MAXLEN_LYNXCSNAME 40
54
#define UC_LEN_LYNXCSNAME 20
56
#undef EX_OK /* may be defined in system headers */
57
#define EX_OK 0 /* successful termination */
58
#define EX_USAGE 64 /* command line usage error */
59
#define EX_DATAERR 65 /* data format error */
60
#define EX_NOINPUT 66 /* cannot open input */