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 ➜ MUSHclient ➜ General ➜ 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 page


Posted by Mordenkainen   (2 posts)  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.
Top

Posted by Nick Gammon   Australia  (23,070 posts)  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
Top

Posted by Mordenkainen   (2 posts)  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.
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.


6,247 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.