On 2007-09-26, Joseph <[EMAIL PROTECTED]> wrote: > On Wed, 2007-09-26 at 17:14 -0500, Eugene wrote: > > On Wed, Sep 26, 2007 at 01:00:52PM CDT, Joseph <[EMAIL PROTECTED]> wrote: > > > > > > 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: > > > > > > set mailcap_path=~/.mailcap:/etc/mailcap > > > > > > application/pdf; xpdf %s > > > image/jpeg; kuickshow %s > > > > > > but when I strt mutt I get an error message: > > > > > > Error in /home/joseph/.mutt/autoview, line 8: application/pdf: unknown > > > command > > > Error in /home/joseph/.mutt/autoview, line 9: image/jpeg: unknown command > > [...] > > > > Where does xpdf and kuickshow reside? If you specify the > > full path for each command in your mailcap, does that work? > > /usr/bin/xpdf > /usr/kde/3.5/bin/kuickshow > > these file work from the command line, the same command line I'm > starting mutt, so why isn't mutt recognizing them?
As Kyle tried to explain, the problem is not that mutt could not find the commands; the problem was that you were trying to have mutt read your mailcap file as a mutt configuration file. Once you fix that problem, mutt should be able to find the viewers (xpdf and kuickshow) just fine. You are correct in assuming that if the viewers can be found from the shell's command line, and you execute mutt from that command line, then mutt should be able to find those viewers. Gary