On Wed, 2007-09-26 at 17:03 -0500, Kyle Wheeler wrote: > -----BEGIN PGP SIGNED MESSAGE----- [snip] > >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
Thanks Kyle yes that worked. Though, it got me confused a bit. I think the command line is totally separate environment when it comes to file association in mutt. In KDE when I click on PDF file I have several choice I can open it with, the default is KPDF. Mutt runs from KDE terminal windows so why can it find a single file association. I have only mailcap in: /home/joseph/.mailcap /etc/mailcap Is KDE file association connected via mime.types files? -- #Joseph