Re: viewing pdf jpgeg etc attachment
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday, September 26 at 03:55 PM, quoth Joseph:
>On Wed, 2007-09-26 at 20:12 +0200, Rado S wrote:
>> =- Joseph wrote on Wed 26.Sep'07 at 12:00:52 -0600 -=
>>
>> > I have a problem with basic setting, it should be straight forward
>> > but I am still missing something. I have in a file "autoview"
>> > settings:
>>
>> See http://WIKI.mutt.org/?MuttFaq about attachments.
>>
>
>It doesn't help! I've followed the instructions from:
>http://wiki.mutt.org/?MuttFaq/Attachment
>
>I put in mailcap:
>text/html; lynx -stdin -dump -force_html ; copiousoutput
>
>in autoview:
>auto_view text/html
>
>and I get an error:
>Error in /home/joseph/.mutt/mailcap, line 1: text/html: unknown command
>Error in /home/joseph/.mutt/muttrc, line 13: source: errors
>in /home/joseph/.mutt/mailcap
>source: errors in /home/joseph/.mutt/muttrc
You're not supposed to source the mailcap file. That is NOT a mutt
configuration file, it is a generic file with a specific format that
many programs can use. The lines in the mailcap are NOT mutt commands,
so mutt cannot understand them in the context of reading its own
configuration. As long as the mailcap file is where it's supposed to
be (either ~/.mailcap or /etc/mailcap), mutt will find it and use it.
~Kyle
- --
No man has a natural right to commit aggression on the equal rights of
another, and this is all from which the laws ought to restrain him.
-- Thomas Jefferson, July 7, 1786
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFG+tdHBkIOoMqOI14RAu7LAKCwhqGz6vZLV/t10x4AF75lrONhkgCeMgwd
9RXbbxodpSrF5SAsjm54kwk=
=pcon
-----END PGP SIGNATURE-----