![]() |
Another Mutt Problem: MIME Viewing & mailcap
Yep, I'm back with another puzzler. In mutt 1.4.2.3 I can view a text/html attachment with lynx as specified in my ~/.mailcap file:
Code:
# $Id$Quote:
Ideas? |
Maybe try this one:
Code:
text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html |
On my own system I use w3m as this offers better html table support with the following in my mailcap:
Code:
text/html; /usr/bin/w3m -cols 90 -dump -T text/html '%s'; copiousoutputCode:
set mailcap_path="~/mail/mutt/mutt_mailcap" |
First, the suggestion for using the -dump option with lynx works. I changed it a little:
Code:
text/html; lynx -nonumbers -dump %s; copiousoutput; nametemplate=%s.htmlYet here's a suggestion right from the mutt html documentation: Code:
text/html; lynx %s; nametemplate=%s.htmlI'll have to see how I like using the copiousoutput text dump. Thanks for proposing a solution. The failure to launch lynx directly still bugs me though. |
A final thought:
I removed the text/html; entry in .mailcap and added this macro: Code:
macro attach "l" "|lynx -stdin \r" "View text/html with lynx"Thanks again for the help. |
Just for the record.
If you have these two in the mailcap: Code:
text/html; lynx %s; nametemplate=%s.htmlpager, but mutt has changed in the way, that if you use "Enter" on the attachment, the line with "copiousoutput" is used. And if you use "m" i.e force mailcap use, the first line is used, and you see the page in the real lynx window. Enjoy |
Now that IS interesting. I certainly missed the "m" entry in the docs. I can't wait to try this out.
Thanks for sharing your expertise. |
| All times are GMT -5. The time now is 10:51 PM. |