13 |
|
#include <sys/uio.h> |
14 |
|
|
15 |
|
#ifndef HDSUF |
16 |
< |
#define HDSUF ".hdisp" |
16 |
> |
#define HDSUF ".hdi" |
17 |
|
#endif |
18 |
|
|
19 |
|
static int inp_flags; |
53 |
|
if (readinp) |
54 |
|
close(atoi(fd0)); |
55 |
|
close(atoi(fd1)); |
56 |
+ |
/* check if outside */ |
57 |
+ |
if (vdef(OBSTRUCTIONS) && vbool(OBSTRUCTIONS)) |
58 |
+ |
disp_result(DS_OUTSECT, 0, NULL); |
59 |
|
/* write out hologram grids */ |
60 |
|
for (i = 0; hdlist[i] != NULL; i++) |
61 |
|
disp_result(DS_ADDHOLO, sizeof(HDGRID), (char *)hdlist[i]); |
127 |
|
disp_result(DS_STARTIMM, 0, NULL); |
128 |
|
bundle_set(BS_ADD, (PACKHEAD *)buf, msg.nbytes/sizeof(PACKHEAD)); |
129 |
|
disp_result(DS_ENDIMM, 0, NULL); |
130 |
< |
disp_check(0); /* hack -- delete usu. follows add */ |
130 |
> |
disp_flush(); |
131 |
|
break; |
132 |
|
case DR_ADJSET: /* adjust calculation set members */ |
133 |
|
if (msg.nbytes % sizeof(PACKHEAD)) |