decrypt pgp mail sent from thunderbird

2008-12-11 Thread bill lam
I received an email sent using thunderbird that did not use attachment. The body is just text like the following: -BEGIN PGP MESSAGE- Charset: ISO-8859-1 Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ... ... -END PGP MESSAGE--

detect from mailcap whether called for view or reply

2008-12-11 Thread Aron Griffis
Presently my mailcap calls a script to dumptext using a variety of viewers. The extra level of abstraction makes it easier to do things like detect the terminal width, so it looks something like this: text/html; dumptext w3m %s ; nametemplate=%s.html ; copiousoutput ; test=which w3m >/dev/null 2