Re: wrap long lines
On Sun, Aug 27, 2006 at 02:18:38PM EDT, Gary Johnson wrote:
> On 2006-08-27, cga2000 <cga2000@xxxxxxxxxxxxx> wrote:
> > [..]
> >
> > On Fri, Aug 25, 2006 at 09:35:05AM EDT, Todd Zullinger wrote:
> >
> > > In that case, set wrapmargin to $COLUMNS - 80.
> >
> > Hmm..
> >
> > How do I ..
> >
> > 1. access the contents of an environment variable in mutt
> > 2. code a set statement that accesses a *nix env variable
>
> set wrapmargin=`echo $(( $COLUMNS - 80 ))`
>
> The expression in back-tics is given to the shell for evaluation.
> This is briefly mentioned in section 3.1 of the mutt manual, "Syntax
> of Initialization Files".
Good job I asked ..
Thanks
cga