[DGD]Color

E. Harte harte at xs4all.nl
Thu Apr 13 23:32:53 CEST 2000


On Thu, 13 Apr 2000, James Bearden wrote:

> Hmm. I've patched the comm.c and host.h accordingly to the patch 
> instructions thanks to everyones help. I guess all I did was make it so that 
> dgd doesnt filter out colors? I still need to define the colors like this 
> somewhere I assume. Yay or nae?

Yes.

> #define RESET "\e[0m"
[...]
> #define B_MAGENTA "\e[45m"
> 
> /*
> #define RESTORE "\e8"
> */
> 
> Something like that.

Something like that indeed.  You want to use "\033" instead of "\e",
because "\e" is just "e", nothing else.

Erwin.
-- 
Erwin Harte  -  Forever September, 2417 and counting  -  harte at xs4all.nl


List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list