[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Reading .doc files from within Mutt



Hi Mark,

I use this in my ~/.mailcap file:

application/msword; ~/viewDoc %s; copiousoutput

which calls the small script viewDoc, residing in my PATH:

#!/bin/sh
wvHtml $1 $1.html
w3m -dump -T text/html $1.html
rm $1.html

This converts the doc file to html using wvHtml, and then converts the
html to text, using w3m. Since this script uses w3m and wvHtml, you need
to install w3m (or lynx or links) and wv.

HTH

Jesper

* On  Mon, Jul 23, 2001 at 09:12:52AM +1000, mdevin@ozemail.com.au wrote:
> What is the best (simplest) way to read .doc files from within Mutt?



Reply to: