206 |
|
x11_driver.comin = x11_comin; |
207 |
|
x11_driver.comout = x11_comout; |
208 |
|
erract[COMMAND].pf = x11_comout; |
209 |
+ |
/* doesn't work with raypcalls.c |
210 |
|
if (erract[WARNING].pf != NULL) |
211 |
|
erract[WARNING].pf = x11_errout; |
212 |
+ |
*/ |
213 |
|
inpcheck = IC_X11; |
214 |
|
} else { |
215 |
|
x11_driver.comin = std_comin; |
372 |
|
|
373 |
|
static void |
374 |
|
x11_comout( /* output a string to command line */ |
375 |
< |
char *outp |
375 |
> |
const char *outp |
376 |
|
) |
377 |
|
{ |
378 |
|
if (comline == NULL || outp == NULL || !outp[0]) |
426 |
|
|
427 |
|
static void |
428 |
|
std_comout( /* write out string to stdout */ |
429 |
< |
char *outp |
429 |
> |
const char *outp |
430 |
|
) |
431 |
|
{ |
432 |
|
fputs(outp, stdout); |
558 |
|
) |
559 |
|
{ |
560 |
|
unsigned long rval; |
561 |
< |
BYTE rgb[3]; |
561 |
> |
uby8 rgb[3]; |
562 |
|
|
563 |
|
map_color(rgb, col); |
564 |
|
rval = ourvinfo.red_mask*rgb[RED]/255 & ourvinfo.red_mask; |