On Thu, 14 Oct, 2004 at 09:19:19 -0500, Patrick Shanahan wrote:
* Leendert Meyer
[10-14-04 08:59]: On Thursday 14 October 2004 15:27, Patrick Shanahan wrote:
also: set wrapmargin='echo$(( $COLUMNS - 72 ))'
FWIW: in a bash script I can do 'echo $[ COLUMNS - 72 ]'. Does that work in muttrc too? (it's 3 chars shorter...)
yes, as above enclosed in [']s
Hmmm... Nice trick, but it doesn't work here... I have to use backticks (`) or mutt says: Error in /home/jon/.muttrc, line 23: echo $(( COLUMNS - 72)): invalid value source: errors in /home/jon/.muttrc so: I try using backticks, and although this gives no error, it also doesn't do any on-the-fly reflow/wrapping... This is on 8.2 with jon@Scum:~> rpm -q mutt mutt-1.4i-312 Anyone got any suggestions? /Jon -- Just say "know!"