I've been toying around with gnome-mud's logging features for a couple of days now to make them not completely suck. One feature I added was the ability to include the color information into the log. After the fact it struck me that unless people routinely read their mud logs by cat'ing them in terminals this is pretty useless.
What I ended up doing was parsing the ECMA-48 codes and spitting out html. This works far better then I thought it would. Here's an example of the output:
Yeah I didn't think this was some zomg exclusive gnome-mud thing. Just was a bit excited and wanted to show someone, showing this stuff to my wife doesn't elicit any sort of reaction beyond 'that's nice, dear'. :wink:
Scandum said:
Totally forgot about xterm 256 colors, guess I'll rush you to it Les. :P
What I ended up doing was parsing the ECMA-48 codes and spitting out html. This works far better then I thought it would. Here's an example of the output:
http://www.gnome.org/~lharris/aardwolf.h...
I don't do the xterm 256 color codes yet but that's next.
Just thought it was neat and wanted to share :tongue: