In addition to not liking the 'e' in the color coding \e[0;36...Lope uses the \e escape character all throughout the actual colour function...in lines like :

case 'p':
            if( col->prompt[2] )
                sprintf( code, "\e[%d;3%dm%c", col->prompt[0], col->prompt[1], 
'\a' );
            else
                sprintf( code, "\e[%d;3%dm", col->prompt[0], col->prompt[1] );
            break;


Every time the \e is used, I get that same warning about invalid character escape sequence.

I heard that \e is the same as \027....so I did a global search and replace and re-compiled...I nolonger got the warnings...but I STILL got gobble-d-gook when the colour command was toggled on:


color
ColoUr is now ON, Way Cool!
Further syntax:
  colour [0;36m<[0mfield[0;36m> <[0mcolour[0;36m>[0m
  colour [0;36m<[0mfield[0;36m>[0m [0;36mbeep[0m|[0;36mnobeep[0m
Type help [0;36mcolour[0m and [0;36mcolour2[0m for details.
ColoUr is brought to you by Lope, [EMAIL PROTECTED]

[0;36m<2000hp 2000m 2000mv> [0m' hrm
[0;32mYou say '[1;32mhrme[0;32m'[0m


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


Reply via email to