Re: wrap long lines
On Mon, Aug 28, 2006 at 12:19:48AM EDT, Kyle Wheeler wrote:
> On Sunday, August 27 at 11:50 AM, quoth cga2000:
> >> Good thought. You could try setting your display_filter to be fmt
> >> -w 80
> >>
> >I was thinking of using the almighty "par" but now that I have setup
> >t-prot I would hate to do away with its weeding capabilities.
>
> Thanks to the fantastic unix inventions called "pipes" and "shell
> scripts", now you can have it all!
>
> #!/bin/sh
> t-prot -cemtwk -M=mutt | fmt -w 80
>
> Put that into a text file, chmod +x it, and set that as your
> display-filter.
>
I had actually imagined such a thing might not only be possible but a part of
the *nix+mutt philosophy ..
The ..
:set wrapmargin=`echo $(( $COLUMNS - 80 ))`
.. unverified syntax .. had given me such a headache that I decided not to
try to pursue this single-handed.
:-)
Thanks.
cga