Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Tips and tricks ➜ logging in colour

logging in colour

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Penguin   (46 posts)  Bio
Date Sun 07 Apr 2002 01:11 AM (UTC)
Message
I noticed that the only time colour is available for logging is when you click html.. but how do i read it as a normal text without all the funny coding at the side? as in.. is there anyway to view a log with colour?
Top

Posted by Penguin   (46 posts)  Bio
Date Reply #1 on Sun 07 Apr 2002 05:12 AM (UTC)
Message
Sorry if my last post was unclear.. I'll try to rephrase it.
Okay so first I click on logging then check the HTML and Colour box.
When I end the log, it prompts me whether to save as a txt file and I do so.
If I double click on the file I saved it as... all the weird code for the HTML appears together with the actual text. How do I go about viewing my log as it would appear on the MUSHclient screen?

(I'm sort of a newbie when it comes to all these technological terms so please excuse me:P)
Top

Posted by Magnum   Canada  (580 posts)  Bio
Date Reply #2 on Sun 07 Apr 2002 08:22 AM (UTC)
Message
Save it as an .htm or .html file, so that Windoze loads your default browser to view it.

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #3 on Sun 07 Apr 2002 12:08 PM (UTC)
Message
Depending on your browser you may need to add a few lines at the start and end of the log to view it properly.

You can do that by adding these lines to the "file preamble" (or manually copying and pasting to the start of the file) ...


<html>
<head>
<title>*** My world name log ***</title>
</head>
<body bgcolor=black>
<pre>


And add the following to the "file postamble" ...


</pre>
</body>
</html>


What this extra stuff does is effectively turn the log into a web page. It doesn't do it automatically in case you want to use the logs as part of a larger web page.

The <pre> tag is for monospaced font, and for proper line breaks and spacing.

And, of course, do as Magnum says and save the file as .htm (or .html), or rename it afterwards.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Philip Mak   USA  (35 posts)  Bio
Date Reply #4 on Sun 14 Apr 2002 08:10 PM (UTC)
Message
I don't suppose it's possible to log in text format while preserving the ANSI codes? (Just an idea I had. It might be useful for interoperability reasons, since text is the more basic format. Logging in HTML with color suits my current needs, though.)
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #5 on Sun 14 Apr 2002 10:01 PM (UTC)
Message
I suppose it could be done, however it isn't now. The problem would arise with MXP which allows arbitrary colours (any RGB combination) which couldn't be rendered back into ANSI codes.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


23,701 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.