This is important for (al)pine users ... when reading email in a terminal it is very useful to be able to open a PDF attachment as text and view it in the (terminal) mailtool ...
Yes, (al)pine is my mailtool in 2017.
Yes, (al)pine is my mailtool in 2017.
Though I can generally open attachments just fine, this text rendering of PDFs would be useful for when I'm SSH'd into my home machine and reading stuff remotely(usually from work where I don't want to download my personal email).
It's easy to use, pluggable, and faster than any GUI I've touched.
I had not considered the PDF issue. I just open them with an external application. The potential of reading them within Alpine hadn't occurred to me, but now it has, I want it!
application/pdf;pdftotxt %s /tmp/pdftxt && less /tmp/pdftxt
In your MAILCAP file?