9 |
|
|
10 |
|
#include "platform.h" |
11 |
|
#include "standard.h" |
12 |
– |
#include "paths.h" |
12 |
|
#include "color.h" |
13 |
|
#include "calcomp.h" |
14 |
|
#include "view.h" |
69 |
|
|
70 |
|
int xpos, ypos; /* output position */ |
71 |
|
|
73 |
– |
char *progname; /* global argv[0] */ |
74 |
– |
|
72 |
|
int echoheader = 1; |
73 |
|
int wrongformat = 0; |
74 |
|
int gotview; |
101 |
|
SET_DEFAULT_BINARY(); |
102 |
|
SET_FILE_BINARY(stdin); |
103 |
|
SET_FILE_BINARY(stdout); |
104 |
< |
progname = argv[0]; |
104 |
> |
fixargv0(argv[0]); /* sets global progname */ |
105 |
|
esupport |= E_VARIABLE|E_FUNCTION|E_RCONST; |
106 |
|
esupport &= ~(E_OUTCHAN|E_INCHAN); |
107 |
|
/* scan options */ |