Just because they are displayed correctly, doesn't make them right.
Escape characters must be entered into the code itself.

Did you copy and paste these, manually type them or what?

You need to replace the "^[" with the escape sequence.
And that... will depend on your editor.

since I use an emacs clone I can tell you for emacs-en its:
`-ESC

backtick, then the escape key.


> -----Original Message-----
> From: Mattias Holmstroem [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 04, 2002 1:42 PM
> To: Jason Gauthier
> Cc: '[email protected]'
> Subject: RE: color problem
> 
> 
> I use zmud as my client.
> 
> These are the defines
> 
> /*
>  * Colour stuff by Lope of Loping Through The MUD
>  */
> #define CLEAR          "^[[0m"         /* Resets Colour        */
> #define C_RED          "^[[0;31m"      /* Normal Colours       */
> #define C_GREEN        "^[[0;32m"
> #define C_YELLOW       "^[[0;33m"
> #define C_BLUE         "^[[0;34m"
> #define C_MAGENTA      "^[[0;35m"
> #define C_CYAN         "^[[0;36m"
> #define C_WHITE        "^[[0;37m"
> #define C_D_GREY       "^[[1;30m"      /* Light Colors         */
> #define C_B_RED        "^[[1;31m"
> #define C_B_GREEN      "^[[1;32m"
> #define C_B_YELLOW     "^[[1;33m"
> #define C_B_BLUE       "^[[1;34m"
> #define C_B_MAGENTA    "^[[1;35m"
> #define C_B_CYAN       "^[[1;36m"
> #define C_B_WHITE      "^[[1;37m"
> 
> 
> I develop this myd on a Solaris network and when I use the 
> command more
> to look at the patch file the colors are displayed correctly.
> 
> MvH Nallen
> 
> 
> On Thu, 4 Apr 2002, Jason Gauthier wrote:
> 
> > Did you make the '^[' an actual escape (one character) or "^[" two
> > characters?
> > And are you on a color capable telnet client?
> >
> > > -----Original Message-----
> > > From: Mattias Holmstroem [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, April 04, 2002 4:51 AM
> > > To: [email protected]
> > > Subject: color problem
> > >
> > >
> > > Hi all!
> > >
> > > I have installed Lope's color code v1.2 and gotten
> > > it compiled without errors and warnings but still
> > > there is no color...
> > >
> > > Command: colour
> > >
> > > This is the msg I get when I activate the colors
> > >
> > > ^[[0;34mC^[[0;31mo^[[0;33ml^[[0;36mo^[[0;35mu^[[0;32mr^[[0m
> > > is now ^[[0;31mON^[[0m, Way Cool!
> > >
> > > What wrong?
> > >
> > > MvH Nallen
> > >
> > >
> > > --
> > > ROM mailing list
> > > [email protected]
> > > http://www.rom.org/cgi-bin/mailman/listinfo/rom
> > >
> >
> 

Reply via email to