[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  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] Refresh page


Posted by Oblisgr   (123 posts)  [Biography] 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.
[Go to top] top

Posted by Nick Gammon   Australia  (23,017 posts)  [Biography] 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
[Go to top] top

Posted by Oblisgr   (123 posts)  [Biography] 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
[Go to top] top

Posted by Fiendish   USA  (2,525 posts)  [Biography] 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
[Go to top] 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.


10,977 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]