NAWS column response controlled by column wrap #

Posted by Mordenkainen on Fri 11 Mar 2022 03:04 AM — 3 posts, 10,446 views.

#0
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.
Australia Forum Administrator #1
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.
#2
Very illuminating, thank you!

I'll know how to instruct my users with MUSHclient how to use a wider column space now.