On Thu, Apr 11, 2013 at 08:56:32 +0100, Andras Salamon wrote:
> View -> select HTML attachment -> |elinks
.muttrc:
# this uses the copiousoutput mailcap entry
auto_view text/html
.mailrc:
# no %{charset} exists
text/html; w3m -T text/html -I ISO-8859-1 -o frame=0 -o meta_refresh=0 -o
auto_image=0 -dump %s; copiousoutput; \
description=HTML Text; nametemplate=%s.html; test=test "%{charset}" = ""
# %{charset} exists (mutt)
text/html; w3m -T text/html -I %{charset} -o frame=0 -o meta_refresh=0 -o
auto_image=0 -dump %s; copiousoutput; \
description=HTML Text; nametemplate=%s.html; test=test "%{charset}" !=
""
That's about 15 years old. :-) I also have separate entries which check
for available X sever (-> firefox), and provide interactive browsers in
"needsterminal" mode. I believe that was a "recent" (last 5 years)
change that the "copiousoutput" entry is now used in autoview, meaning
you can't use the embedded browser to follow links. (But then there's
also urlview, nicely integrated with mutt.)
Moritz