# Simple mailcap for a terminal-only Mutt; I generally download everything # anyway and deal with it on a shell, or pass it to a GUI machine. # text/html; lynx -dump -force_html %s; \ copiousoutput; \ description=HTML; \ nametemplate=%s.html application/pdf; pdftotext -layout -nopgbrk -q %s -; \ copiousoutput; \ description=PDF; \ nametemplate=%s.pdf