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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  NAWS column response controlled by column wrap #

NAWS column response controlled by column wrap #

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


Posted by Mordenkainen   (2 posts)  [Biography] bio
Date Fri 11 Mar 2022 03:04 AM (UTC)
Message
Greetings.

I've noted that in my copy of MUSHclient, which is version 5.06, the x or column width delivered by NAWS (when set on) is dependent on the 'wrap output at column number' setting in the Output screen, whether or not one is forcibly wrapping.

The net effect is that regardless of your actual window size, you generally will be set at 80 columns even with NAWS on and a much larger window size.

Is this intended behavior?

Thank you.
[Go to top] top

Posted by Nick Gammon   Australia  (22,928 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Fri 11 Mar 2022 05:10 AM (UTC)
Message
You can't actually turn wrapping off. The "wrap output at column number" checkbox is a bit misleadingly named. Well, a lot misleadingly. :)

With it unchecked the output will wrap at the exact column specified, with it checked it wraps at the previous space to make the text look nicer.

The space for the output lines is allocated in advance (when the line is created) and the number reported by NAWS is the column number which is the maximum for each output line.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Mordenkainen   (2 posts)  [Biography] bio
Date Reply #2 on Fri 11 Mar 2022 05:17 AM (UTC)
Message
Very illuminating, thank you!

I'll know how to instruct my users with MUSHclient how to use a wider column space now.
[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.


4,451 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]