They are ANSI color codes. There is a terminal console being worked on
for NetBeans that may eventually accept these, but I don't think it's ready.
However, I added ANSI color interpretation to the GlassFish V3 (full
server, not gem) output window code in NB 6.7. Unfortunately, the
NetBeans output window only allows one color per line right now, so it's
a little different. I had the code defer to the first color change
encountered. It also encodes in different color for console vs
SEVERE/WARNING vs INFO vs FINE(R/ST) messages.
Why not try V3 for a while and see how it goes?
-Peter
anithri wrote:
> On my Netbeans 6.7.1 Webrick output window I'm getting lines like:
>
>
>
> [4;36;1mSQL (0.0ms)[0m [0;1mSET NAMES 'utf8'[0m
>
> [4;35;1mSQL (0.0ms)[0m [0mSET SQL_AUTO_IS_NULL=0[0m
>
> [4;36;1mProject Columns (16.0ms)[0m [0;1mSHOW FIELDS FROM `projects`[0m
>
>
>
> Which i'm guessing are something trying to add color codes to the output. but for the life of me I can't figure out what it is. Anyone have any ideas how I can either enable the correct color coding in Netbeans or Ruby OR how to turn off the color coding?
>
>
>
> Thanks
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
users-unsubscribe@...
> For additional commands, e-mail:
users-help@...
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...