21 |
|
#define DC_LASTVIEW 2 /* restore previous view */ |
22 |
|
#define DC_PAUSE 3 /* pause the current calculation */ |
23 |
|
#define DC_RESUME 4 /* resume the calculation */ |
24 |
< |
#define DC_REDRAW 5 /* redraw from server */ |
25 |
< |
#define DC_QUIT 6 /* quit the program */ |
24 |
> |
#define DC_REDRAW 5 /* redraw from server */ |
25 |
> |
#define DC_KILL 6 /* kill rtrace process(es) */ |
26 |
> |
#define DC_RESTART 7 /* restart rtrace process(es) */ |
27 |
> |
#define DC_CLOBBER 8 /* clobber holodeck file */ |
28 |
> |
#define DC_QUIT 9 /* quit the program */ |
29 |
|
|
30 |
< |
#define DC_NCMDS 7 /* number of commands */ |
30 |
> |
#define DC_NCMDS 10 /* number of commands */ |
31 |
|
|
32 |
|
/* dev_input() returns flags from above */ |
33 |
|
#define DFL(dc) (1<<(dc)) |
34 |
|
|
35 |
|
#define CTRL(c) ((c)-'@') |
36 |
|
/* commands entered in display window */ |
37 |
< |
#define DV_INIT {'\0','v','l','p','\r',CTRL('R'),'q'} |
37 |
> |
#define DV_INIT {'\0','v','l','p','\r',CTRL('R'),'K','R','C','q'} |
38 |
|
/* commands entered on stdin */ |
39 |
|
#define DC_INIT {"VIEW=","where","last","pause","resume","redraw",\ |
40 |
< |
"quit"} |
40 |
> |
"kill","restart","clobber","quit"} |
41 |
|
|
42 |
|
|
43 |
|
/************************************************************************ |