[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lynx-dev] how to write mailcap entry for mutt AND lynx

From: Henry Nelson
Subject: [Lynx-dev] how to write mailcap entry for mutt AND lynx
Date: Wed, 29 Nov 2006 11:16:19 +0900
User-agent: Mutt/1.5.13 (2006-08-11)

I recently (I know, always behind the times.) installed "pdftotext" so
I could read pdf attachments in mutt.  It's been fantastic.  To get it
to work automagically, I put the following line in my personal mailcap:

     application/pdf; pdftotext -layout %s -; copiousoutput

This is great for mutt, but in lynx the output is a continuous stream,
which when it ends, there's none of the document left on the screen.
Mostly I'd prefer lynx to do as it did before I changed mailcap, i.e.,
not know how to render it and offer to download the file.  It would
also be okay to render the file, but keep the text loaded as the
current document so I could do searches and navigate on the document.

So, per the Subject, how do you write a mailcap entry that will work
for both mutt and lynx?  Many thanks.


  "Using Lynx is like wearing a really good pair of shades: cuts out
   the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
                                         -- me, March 1999

reply via email to

[Prev in Thread] Current Thread [Next in Thread]