|
Dwoggurd Wanderer
Joined: 29 Jan 2008 Posts: 63
|
Posted: Tue Feb 19, 2008 12:14 am
Colors and CMUD window |
I'm looking for any way to save my current cmud window as a colored log (in html format).
A simply ansi colored log will not work because I have custom colors in hex format (and more than 16).
Copy/paste doesn't work etiher because colors will be lost.
Is it possible to determine characters and their colors in the last displayed line once all triggers fired so I can parse it and covert to html tags? |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Feb 19, 2008 2:05 am |
Logging of custom colours like this is on the wishlist. Until then, you're stuck I'm afraid. There're programs that'll convert logs containing ANSI characters, but not ones beyond the standard 16.
|
|
|
|
Dwoggurd Wanderer
Joined: 29 Jan 2008 Posts: 63
|
Posted: Tue Feb 19, 2008 5:17 am |
Frustrating :(
My ultimate goal is to have exact copy of my CMUD scrollback buffer in HTML format (or any other).
CMUD keeps all color information anyway, I wish there could be a way to access it and it is not hard to write HTML tags once you have it.
I guess CMUD isn't going to support it any time soon. I can't see that on 2008 roadmap. |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Feb 19, 2008 2:31 pm |
Well, not every feature is listed (note that Lua isn't listed on the 2007 one :P) - sometimes Zugg needs a break from the thing the roadmap says he's supposed to be doing and whips up something awesome :D
|
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Tue Feb 19, 2008 3:07 pm |
Sometimes when I want to look at a log I do this manually.
Copy a portion of the log into a variable and #show @variable with my triggers turned off.
You could write something up to scroll the log into the buffer. Then you could display it in the correct colors. You would need to turn off your triggers while displaying though.
Something like Read from file into variable then #show @variable with an alias that does this until your scroll back buffer is full. |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
|
|