[DGD]Patches

James Bearden bearden_james at hotmail.com
Wed Apr 12 05:48:14 CEST 2000



A real patch question :)
Okay, i'm trying to patch in the Ansi patch to support color.
I dont even want to try to figure out how to patch it with some patch 
program, and my good buddy told me how to do it manually. One problem I 
encountered was 2 variations you could use to replace comm.c.
Here they are, whats the difference between both of them? I see how they are 
different, *q++ = LF; in one of them, and *q++ = CR; in one of them, what 
does this affect?

*** 289,299 ****
        /*
         * insert CR before LF
         */
        *q++ = LF;
        size++;
!   } else if ((*p & 0x7f) < ' ' && *p != HT && *p != BEL && *p != BS) {
        /*
         * illegal character
         */
        p++;
        --len;
--- 289,299 ----
        /*
         * insert CR before LF
         */
        *q++ = CR;
        size++;
!   } else if ((*p & 0x7f) < ' ' && *p != HT && *p != BEL && *p != BS && *p 
!= ESC) {
        /*
         * illegal character
         */
        p++;
        --len;


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


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



More information about the DGD mailing list