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

Re: mutt or vi question..



Hi,

> > is there a mutt/vi way to re-wrap those lines at 70 col?
> > 
> > I like the way emacs does it will fill-region.  Anything comparable?

> :0 fbw
> | $HOME/.procmail/myscript.pl
> 
> It breaks lines > 70 cols without breaking large words or urls.

'par' - the paragraph reformatter - is possibly whay you're looking for
here.  Its own manpage describes it as "necessarily complex", which is a
fair enough description.  Its homepage

    http://www.nicemice.net/par/

has an example or two that might be of use.  ('apt-get par' should
install it on Debian systems).


Automatically reformatting mail is evil though.  What happens if/when
people send you snippets from logs, long shell commands, pieces of
source code, stupid ascii drawings/diagrams, config files, etc.?  If at
all possible, telling people to be more considerate in how they send is
the better option.



-- 
not.  or try.  There is no do Do,