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
➜ General
➜ Can anyone help with this problem?
Can anyone help with this problem?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Vector
USA (28 posts) Bio
|
Date
| Tue 02 Sep 2003 11:27 AM (UTC) |
Message
| I'm editing a file on an LPMUD, and MUSHclient does this...
1034. *
What is that character on line 1034? The editor has a * to prompt you for adding lines of code.
I have tried this in GMUD, and don't have any strange symbols. | Top |
|
Posted by
| Magnum
Canada (580 posts) Bio
|
Date
| Reply #1 on Fri 05 Sep 2003 12:54 AM (UTC) |
Message
| I just copied your little block into windows clipboard, then went to MUSHclient and typed /world.note asc("") and got back 8, which is the ascii value for that symbol.
Some ascii symbols represent special things, like 10 is a return (or maybe it's a line feed, I forget). Knowing which ascii character it is may help track down the purpose for it's being echoed.
If you have any doubts about the display of the character, you can turn on MUSHclient packet debug, and examine the actual communication packet to clarify matters. (EDIT | Debug Packets). |
Get my plugins here: http://www.magnumsworld.com/muds/
Constantly proving I don't know what I am doing...
Magnum. | Top |
|
Posted by
| Shadowfyr
USA (1,790 posts) Bio
|
Date
| Reply #2 on Fri 05 Sep 2003 01:44 AM (UTC) |
Message
| It is line feed Magnum. 13 is a charage return.
However, in this case, 8 is a backspace. This is supposed to trigger a client that knows what to do with it to delete the character just prior to the arriving character 8. Apparently Mushclient is ignoring this character and trying to display it instead. Of course, this makes no real sense for the mud to be sending this anyway, since it would erase the * from the display as well. I can't see why Mushclient would be showing it... | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #3 on Fri 05 Sep 2003 07:39 AM (UTC) |
Message
| If you don't mind my saying it, a server sending a "backspace" to a client is rather bizarre. I mean, backspace might be used from the client ot the server, to indicate you made a typing mistake. But why would the server send one? Did the server software make a typing mistake?
I suggest that the backspace character should not be being sent by the MUD in the first place, and MUSHclient is just trying to display what it receives. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Vector
USA (28 posts) Bio
|
Date
| Reply #4 on Thu 18 Sep 2003 10:08 AM (UTC) Amended on Thu 18 Sep 2003 10:17 AM (UTC) by Vector
|
Message
| I have not eliminated this problem yet. After more testing on different muds, I have come to this conclusion... This only happens on LP muds, with the built-in editor. MUSHclient is sending a backspace character, when it should be an asterisk.
This is the output I get again:
1. *[]
Can anyone think of a way to fix this? I want to be certain that this is something the server is doing, and not MUSHclient. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #5 on Thu 18 Sep 2003 10:49 PM (UTC) |
Message
| Sending a backspace? You mean displaying an asterisk?
To be sure, turn on Packet Debug under the Edit menu and see what appears, in hex, for the line in question. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Vector
USA (28 posts) Bio
|
Date
| Reply #6 on Thu 18 Sep 2003 11:27 PM (UTC) |
Message
| I turned Debug Packets on, and this is what appeared:
*... 2a 08 ff f9
How do you interpret this? Does every char represent a new hex value? If this is a server related problem, can I do anything about it? | Top |
|
Posted by
| Vector
USA (28 posts) Bio
|
Date
| Reply #7 on Sat 20 Sep 2003 10:59 AM (UTC) |
Message
| Hmm...
I was on another LP mud, and one of the Imms said that MUSHclient has been doing this for a year now. Well, this is only happening on certain muds. Can I write a trigger to fix this? Do I need to wait for Nick to take care of the problem?
And I only get the *[] on MUDs (LP) that have the ed (built-in editor). I don't know if there is anything I can do on my side. However, I have tested this on GMUD, and the square does not show.
Any thoughts?
| Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #8 on Sun 21 Sep 2003 10:35 PM (UTC) |
Message
|
Quote:
I turned Debug Packets on, and this is what appeared:
*... 2a 08 ff f9
How do you interpret this?
Each 2-character hex code is one byte. Thus you have four bytes. They are:
- 2a - asterisk
- 08 - backspace to remove the asterisk
- ff - IAC (start of telnet negotiation)
- f9 - TELNET_GO_AHEAD - go ahead and do something
It is a mystery to me why the server sends 2a and then 08. If they don't want you to see the asterisk, surely it is easier not to send it?
Backspacing is for when a human makes a mistake. I would think that if the server "makes a mistake" it is easier to correct the server code, not have it send backspaces to the client.
Quote:
I want to be certain that this is something the server is doing, and not MUSHclient.
The server is doing it, and I suppose you could argue that MUSHclient should honour the backspace. But what if this happens?
blah blah \n \x08 blah blah
Where \n represents a new line. Now when MUSHclient gets a \n it does trigger processing, logs the line if applicable, starts a new line in the output window, and so on. Would you expect in this situation that MUSHclient then notices the backspace and then undoes all that?
Or what about this:
blah blah (some colour change here) \x08 blah blah
Would you expect the backspace to undo the colour change?
I really thing it is weird for servers to send backspaces and am in no big rush to change MUSHclient.
|
- 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.
22,818 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top