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

Re: mailcap troubles



* William O'Higgins <mutt@xxxxxxx> [30-03-2004 17:43]:

> I *think* I understand how to add things to my .mailcap file so that
> they are reflected in mutt.  But, mutt still complains when it finds an
> attached image: "mailcap entry for type image/jpeg not found".  What I
> would like is for it to display the image inline with w3m.  To that end
> I put this in my .mailcap: "image/*;w3m %s".  I'm pretty sure it's
> working, because if, from the command-line, I run "run-mailcap
> someimage.jpg" I get to see the image.  It's in a separate window, but
> it works.  So, why can't mutt see that there *is* a mailcap entry for
> image/jpeg?  Thanks.

If you want to see stuff inline, you have to add the 'copiousoutput'
flag to the mailcap entry.  For instance, I use the following entries
for html:

text/html; /usr/bin/links '%s'; nametemplate=%s.html
text/html; /usr/bin/links -dump '%s'; copiousoutput; nametemplate=%s.html

HTH,

-- 
René Clerc                      - (rene@xxxxxxxx) - PGP: 0x9ACE0AC7

No woman, no cry.
-Bob Marley

Attachment: pgpltDCSefohB.pgp
Description: PGP signature