Shattered Kingdoms

Where Roleplay and Tactics Collide
VOTE NOW!
It is currently Sat Apr 27, 2024 10:12 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: How to view ANSI coded logs?
PostPosted: Mon Apr 18, 2011 12:00 pm 
Offline
Mortal

Joined: Mon Mar 04, 2002 8:43 am
Posts: 200
Location: Central New Jersey
What are you guys using to translate your ANSI coded log files into vieewable ANSI colored logs?

Please don't say Logedit86 -- I can't get that one to install on my machine. Is there anything more modern to look into?


Top
 Profile  
Reply with quote  
 Post subject: Re: How to view ANSI coded logs?
PostPosted: Tue Apr 19, 2011 7:31 am 
Offline
Mortal

Joined: Thu Feb 28, 2002 4:00 pm
Posts: 677
Location: The great white north
I use Charbal's HTML Logger which supports offline conversion (and a better logging feature for zMud)
http://www.top-onlinegames.com/download ... og.exe.zip

The only limitation of this is it doesn't seem to support a limited number of characters per line, so long lines of text that were NOT formatted to 80 characters, you need to scroll side to side.


Top
 Profile  
Reply with quote  
 Post subject: Re: How to view ANSI coded logs?
PostPosted: Tue Apr 19, 2011 7:39 am 
Offline
Mortal

Joined: Fri Jul 09, 2004 8:43 am
Posts: 5614
Location: Columbia, South Carolina
SK Character: Pilnor, Surrit, Berr, Rall
Nightwing wrote a program to do it. He may be interested in sharing.


Top
 Profile  
Reply with quote  
 Post subject: Re: How to view ANSI coded logs?
PostPosted: Tue Apr 19, 2011 9:16 am 
Offline
Mortal

Joined: Mon Mar 04, 2002 8:43 am
Posts: 200
Location: Central New Jersey
Thanks, that link and Charbell's program appear to work for my needs. Thanks a lot!


Top
 Profile  
Reply with quote  
 Post subject: Re: How to view ANSI coded logs?
PostPosted: Wed Apr 20, 2011 7:32 am 
Offline
Mortal

Joined: Fri Jul 23, 2004 7:50 am
Posts: 1097
Location: At home. Or work, maybe. Or working from home.
Mine runs on Javascript.

Doesn't quite handle long background-color tags, though.


Top
 Profile  
Reply with quote  
 Post subject: Re: How to view ANSI coded logs?
PostPosted: Wed Apr 27, 2011 6:55 am 
Offline
Mortal

Joined: Fri Apr 17, 2009 9:50 pm
Posts: 5522
I use:

To read in color:
more ansi.log

To remove the codes:
sed 's/\x1b\[[0-9]\{1,2\}\(;[0-9]\{1,2\}\)\{0,2\}m//g' ansi.log > plaintext.log


Top
 Profile  
Reply with quote  
 Post subject: Re: How to view ANSI coded logs?
PostPosted: Wed Apr 27, 2011 10:08 am 
Offline
Mortal Contributor

Joined: Wed May 17, 2006 6:51 pm
Posts: 962
Location: Nowhere very fast
SK Character: I wish :(
Does Mush Client always log in ANSI or do I have to do something special? I just downloaded it today and am super sick of GMUD32.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group