 |
bothkill Apprentice

Joined: 13 Mar 2005 Posts: 125 Location: Bucharest
|
Posted: Sun Mar 13, 2005 8:42 am
zMUD's Editor locks up |
Using zMUD 7.05a.
I want to veiw the logs of mudding sessions with ANSI colors. The logs are quite large 5-10 MB. I log using ANSI colors.
I cannot raise the number in editor lines (i.e. maximum is the default 65000).
When loading in the zMUD's editor this large logs after some time it lokcs up.
In version 7.04 I could raise that lines number to even 150000, but the editor couldn't load to full capacity, gave me some error message (don't remeber exactly which one).
Can there be somth done to view large ANSI color logs?
or
Is there in this world (cause Google search dind't help) a text editor which can show ANSI colors?
Thanks |
|
|
 |
nexela Wizard

Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Sun Mar 13, 2005 9:41 am |
You could use Charbals HTML Logger plugin To automaticly log to HTML, If I remember correctly it is also a standalone ANSI log converter.
You should be able to search this forum for it |
|
|
 |
Dharkael Enchanter

Joined: 05 Mar 2003 Posts: 593 Location: Canada
|
Posted: Sun Mar 13, 2005 2:47 pm |
If all you want to do is view it (not edit)
maybe this script will help.
Code: |
#CLASS {LogView}
#VAR fso {}
#VAR TheStream {}
#VAR ThePath {}
#VAR LastPath {}
#KEY F12 {ThePath=%prompt(@LastPath,"Specify file to load")
#if (!%null(@ThePath)) {#var fso %comcreate("Scripting.FileSystemObject")
#if (@fso.FileExists(@ThePath)) {#var TheStream @fso.OpenTextFile(@ThePath,1,false)
LastPath=@ThePath
#if %window("LogView") {#exec LogView:#clr}
#WIN LogView %concat(%e[0m,@TheStream.ReadAll())
#call @TheStream.Close
#var TheStream {}
#var fso {}
} {#MESS Invalid Path ~'@ThePath~'}
}}
#CLASS 0 |
Make sure the max lines in child window value in the memory settings is high enough to accomodate your log file.
I made mine a macro for F12 but it should work in an alias or a button just as easily. |
|
_________________ -Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style." |
|
|
 |
|
|