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

Re: Viewing MS Office Attachments in the console



Does antiword require X or will it display on standard output?

On 1/20/06, Phil Pennock <mutt-users@xxxxxxxxxxxxxxxxx> wrote:
> On 2006-01-20 at 10:28 -0500, Dave Waxman wrote:
> [ application/ms-word ]
> > I figured the mutt community here would know the best and most
> > compatible program(s) to do such and even how to configure my .muttrc
> > to call them properly.  Any advice would be appreciated!
>
> antiword is decent.  There's a web-page with details of various useful
> extras available at <URL:http://wiki.mutt.org/?MuttTools>.
>
> ~/.mailcap entry:
> application/msword;antiword -t -i 1 -w 72 %s; copiousoutput
>
> Given the propensity for some mail-clients to attach stuff without an
> informative MIME type, you'll probably also want to put something in the
> list of types which mutt will use your local mime.types for, to override
> the provided type; so:
>
> ~/.muttrc:
>  mime_lookup application/octet-stream
>
> That feature was added during the 1.3 development series.
> --
> I am keeping international relations on a peaceable footing.
> You are biding your time before acting.
> He is coddling tyrants.
>  -- Roger BW on topic of verb conjugation
>