<<< Date Index >>>     <<< Thread Index >>>

Re: :set wrapmargin=-72



On Tue, 12 Apr 2005, Gary Johnson wrote:

I'm not saying this isn't a good idea, but you can also achieve this
behavior without modifying mutt by using the shell:

   set wrapmargin=`echo $(( $COLUMNS - 72 ))`

no: $COLUMNS is not set in all configurations (it's something that you'll
see on platforms that assume some applications use termcap).

Better: use "tput cols" if you don't want the feature built into mutt.
That should be equivalent to the curses COLS value.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net