On Wed, May 31, 2000 at 10:59:58PM +0200, Jan Houtsma wrote: > Now i can finally view word documents in my mutt and it looks great!! > > mailcap: > application/msword; word2html %s; copiousoutput > > word2html: > #!/bin/zsh > f=/tmp/word2html.$$.html > wvHtml $1 2>/dev/null >$f > lynx -dump $f > rm -f $f > I'm doing essentially the same thing, but using w3m instead of lynx because w3m also renders tables. It does indeed look great, much better even than the plain text generated by Word itself. Specifically, my word2text script contains: wvHtml $1 2> ~/tmp/wvHtml.errors | perl -0777 -p -e ' s|<img .*?>||gs; # Delete img tags. ' | w3m -dump -T text/html | perl -0777 -p -e 's/\n\s*\n/\n\n/gs' # Delete extra whitespace # between lines. -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | RF Communications Product Generation Unit | Spokane, Washington, USA