I'm sure this used to work for me but I have changed a few things in this area recently so I may have broken it by leaving something vital out.
I have mutt set up so that by default HTML messages are displayed in the pager using links. However if I want to view the E-Mail in firefox I hit 'v' and select the HTML part. Thus in my muttrc I simply have:- auto_view text/html ... and in my .mailcap I have:- text/html; /usr/bin/firefox %s text/html; links -dump %s -html-numbered-links 1; copiousoutput; nametemplate=%s.html However the problem is that when I 'v' the mail and then select the text/html part mutt fires it off at firefox but then continues and deletes the temporary file before firefox has displayed it. Sometime it works but with small files it usually doesn't work. I only realised what was happening when I recently hit return against the same file (after 'v') lots of times and firefox succeeded in displaying about half of them. Even those it had displayed had disappeared from /tmp but since firefox had grabbed and displayed them already they were still visible. How does on make mutt wait for firefox to display the file before it deletes it? -- Chris Green