Console HTML view with picture using W3M or other
meine
trialero at gmx.com
Sun Aug 1 09:22:22 UTC 2021
On Sat, Jul 31, 2021 at 08:10:04PM -0400, D.J.J. Ring, Jr. wrote:
> Has anyone succesfully configured mutt to give a roughly equivalent
> view of html emails using w3m or other
> browser in text console with direct-fb or other?
Below are my settings. I put viewing the text file first, and access the
html manually when for some reason it doesn't display the text. Access
of the html part through `v` and then choose the html version. I use
lynx to view email. My settings are for use in both CLI (TTY, bare bone)
and GUI (xterm in a console window).
You could need an extra line in your mailcap to view emails made on an
iPhone, but I don't have that setting here at hand.
In your muttrc
# viewers defined in ~/.mutt/mailcap
set mailcap_path = ~/.mutt/mailcap
auto_view text/html
alternative_order text/plain text/html
In your mailcap
# HTML
text/html; lynx --force_html --dump %s; copiousoutput; nametemplate=%s.html
text/*; view
Kind regards,
//meine
More information about the Mutt-users
mailing list