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 ➜ Bug reports ➜ mxp elements

mxp elements

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


Posted by Wodan   (2 posts)  Bio
Date Sun 26 Sep 2004 07:50 PM (UTC)
Message
I can't get this example from http://www.gammon.com.au/mushclient/mxp.htm to work:

<!ELEMENT colorbold '<COLOR &col;><B>' ATT='col=red'>

<colorbold>This text is in bold red</colortext>
<colorbold col=blue>This text is in bold blue</colortext>
<colorbold blue>This text is in bold blue</colortext>

I get all text in deault colours, not bold.

I tried this with \e[1z and \e[4z codes in front of all tags.

If this does work, could you give a full sequence that works, so with the escape codes etc..
thanks!

oh yeah, mushclient 3.50
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 26 Sep 2004 10:09 PM (UTC)
Message
Turn up the MXP debugging level to see what it is reporting, eg. does it recognise the the element at all, does it give error messages?

This is wrong, for a start:

Quote:
<colorbold>This text is in bold red</colortext>


You have opened the tag with "colorbold" and closed it with "colortext".

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #2 on Sun 26 Sep 2004 10:11 PM (UTC)
Message
However, I note it is like that on my other web page. ;)

- Nick Gammon

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

Posted by Wodan   (2 posts)  Bio
Date Reply #3 on Sat 02 Oct 2004 12:21 PM (UTC)
Message
ok, the debugging showed what was going wrong.

the mud replaced the & with &amp; so the &col was never seen, I didn't think of looking at the mud output because it worked on zmud (!) guess I found a bug there instead.

Thanks for the help!
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.


15,863 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.