12 |
|
|
13 |
|
#include <stdio.h> |
14 |
|
#include <stdlib.h> |
15 |
– |
|
15 |
|
#include <ctype.h> |
16 |
|
|
17 |
+ |
#include "rterror.h" |
18 |
|
|
19 |
+ |
|
20 |
|
#define TRUE 1 |
21 |
|
#define FALSE 0 |
22 |
|
|
23 |
|
#define PEOF 'F' /* end of file global */ |
24 |
|
#define PEOP 'E' /* end of page global */ |
25 |
< |
#define PPAUSE 'P' /* pause global */ |
25 |
> |
#define PPAUS 'P' /* pause global */ |
26 |
|
#define PDRAW 'D' /* draw global */ |
27 |
|
#define POPEN 'O' /* open segment */ |
28 |
|
#define PCLOSE 'C' /* close segment */ |
53 |
|
#define SPAT1 05 /* set pattern 1 */ |
54 |
|
#define SPAT2 06 /* set pattern 2 */ |
55 |
|
#define SPAT3 07 /* set pattern 3 */ |
55 |
– |
|
56 |
– |
#define SYSTEM 0 /* system error, internal, fatal */ |
57 |
– |
#define USER 1 /* user error, fatal */ |
58 |
– |
#define WARNING 2 /* user error, not fatal */ |
56 |
|
|
57 |
|
#ifdef UNIX |
58 |
|
#define TDIR "/tmp/" /* directory for temporary files */ |