On Friday, 15 October 2004 07.54, Jon Clausen wrote:
On Fri, 15 Oct, 2004 at 00:01:33 -0500, C Hamel wrote:
On Thursday 14 October 2004 15:27, Patrick Shanahan wrote:
also: set wrapmargin='echo$(( $COLUMNS - 72 ))'
Line from my .muttrc. It works. set editor="pico -r 78"
Yeah, but I don't want to change editor. As posted earlier the line
set editor="vi -c 'set tw=76'"
works fine.
What *doesn't* work (here) is the 'wrapmargin' thing:
set wrapmargin=`echo $[COLUMNS - 72]`
As above, or in the other forms I tried it, using
[']s, $(( )) in various combinations, including the one quoted above, with the missing space between 'echo' and '$(('
On the commandline;
echo $[COLUMNS - 72]
works fine. It's just as if Mutt doesn't respond to the "set wrapmargin" -line...
Are you sure it doesn't evaluate to -72, making mutt ignore it? If you execute that echo in a non-interactive shell, I don't think $COLUMNS is set