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, 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.
 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Is possible to wrap say/tell/wisper text at 80 chars?

Is possible to wrap say/tell/wisper text at 80 chars?

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


Posted by Oblisgr   (123 posts)  Bio
Date Wed 10 Jun 2020 06:01 AM (UTC)
Message
I noticed that the tell/say/wisper text is wrapping at a bigger line length than the room desc.

The room/object/mob descriptions wrap at 80 characters. The commands like say for example is lost our of the mud's window. The result is very ugly.

I wander if there is a way to change the line length wrapping for those to fit with the rest of the mud.
Top

Posted by Nick Gammon   Australia  (23,070 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 10 Jun 2020 06:21 AM (UTC)
Message
What makes you think that everyone wants exactly 80 character width? With big screens, some people want more, and with laptops they may want less.

Modern clients (eg. MUSHclient) wrap at whatever width you want, the server doesn't need to do it.

What is probably happening is that the area files have descriptions "hard wrapped" at 80 characters, however it isn't wrapping says/tells. In fact it isn't wrapping anything, the wrapping you are seeing is built into the area files.

Quote:

The result is very ugly.


Get a proper client. MUSHclient can be downloaded for free from this site right here.

The hard-wrapping in area files is actually the ugly bit. If you have a big screen the fact that the descriptions only take 1/3 of the width of the screen is what looks ugly.

- Nick Gammon

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

Posted by Oblisgr   (123 posts)  Bio
Date Reply #2 on Wed 10 Jun 2020 06:29 AM (UTC)

Amended on Wed 10 Jun 2020 07:26 AM (UTC) by Oblisgr

Message
I use mudlet.
It seem by using mpechoat solved the problem with alignment.
Thanks for help
Top

Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Reply #3 on Wed 10 Jun 2020 04:30 PM (UTC)

Amended on Wed 10 Jun 2020 04:31 PM (UTC) by Fiendish

Message
I very strongly agree with Nick. Room descriptions are one thing, because they may include ascii art which requires specific formatting, but I never want the server to forcibly wrap chat messages from other players. My client wraps lines just fine.

https://github.com/fiendish/aardwolfclientpackage
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.


11,596 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.