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

Re: :set wrapmargin=-72



Reply to Thomas's Mail from Tue, Apr 12, 2005 at 02:01:53PM -0400.

Hallo Thomas,

> >   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).
but with the new patch, it would work even if COLUMNS is not defined.
If $COLUMNS expands to nothing, the result will be -72.
*gg*

Bye

    Elmar

PGP-Key ID: 0x430A09BC
--
Wirf auf den HERRN deine Last, und er wird dich erhalten; er wird
nimmermehr zulassen, daß der Gerechte wankt.
                (Die Bibel in Psalm 55, 23)