Bug in Webrick output highlighting?

View: New views
3 Messages — Rating Filter:   Alert me  

Bug in Webrick output highlighting?

by Scott M Parrish :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On my Netbeans 6.7.1 Webrick output window I'm getting lines like:



  SQL (0.0ms)   SET NAMES 'utf8'

  SQL (0.0ms)   SET SQL_AUTO_IS_NULL=0

  Project Columns (16.0ms)   SHOW FIELDS FROM `projects`



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@...


Re: Bug in Webrick output highlighting?

by Peter Williams-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:
>
>
>
>   SQL (0.0ms)   SET NAMES 'utf8'
>
>   SQL (0.0ms)   SET SQL_AUTO_IS_NULL=0
>
>   Project Columns (16.0ms)   SHOW FIELDS FROM `projects`
>
>
>
> 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@...


Bug in Webrick output highlighting?

by calvin-35 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Have anyone created an issue on this.



I for instance can think of many uses of coloring log or application debug output to speed up the debugging processes.



ANSI coloring support would be really nice to have in the output console.



I tried to find a enhancement issue on such a feature, but could not find any.



-Calvin






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...