23 |
|
|
24 |
|
#include "platform.h" |
25 |
|
#include "rtprocess.h" |
26 |
– |
#include "paths.h" |
26 |
|
#include "standard.h" |
27 |
|
#include "view.h" |
28 |
|
#include "vars.h" |
101 |
|
int tnext; /* next frame to transfer */ |
102 |
|
} astat; /* animation status */ |
103 |
|
|
105 |
– |
char *progname; /* our program name */ |
104 |
|
char *cfname; /* our control file name */ |
105 |
|
|
106 |
|
int nowarn = 0; /* turn warnings off? */ |
167 |
|
{ |
168 |
|
int explicate = 0; |
169 |
|
int i; |
170 |
< |
|
171 |
< |
progname = argv[0]; /* get arguments */ |
170 |
> |
/* set global progname */ |
171 |
> |
fixargv0(argv[0]); |
172 |
> |
/* get arguments */ |
173 |
|
for (i = 1; i < argc && argv[i][0] == '-'; i++) |
174 |
|
switch (argv[i][1]) { |
175 |
|
case 'e': /* print variables */ |