HOW DO I DO IT?

1. Add the following lines to comm.c:

(in header section)
#include "screen.h"

(in extern section)

void proc_color(char *inbuf, int color);


In the function process_output (comm.c), look for the lines
/* add the extra CRLF if the person isn't in compact mode */
if (!t->connected.......  blah blah blah

and add these lines:

if(t->character)
   proc_color(i, (clr(t->character, C_NRM)));


(Since almost every one of the old CCRED() or whatever color macros used
C_NRM anyway, this is a blanket check -- if your color is NRM or above,
you get it, if not, you don't.  You can change C_NRM to complete or
sparse or whatever other value you want.)


Those lines should come before

/*
 * now, send the output .............
 */

(in case you've changed something)



2. Add "color.o" to the object list in the Makefile (after comm.o) and after
the comm.o dependencies lines add this:

color.o: color.c conf.h
	$(CC) -c $(CFLAGS) color.c

