commit ce78b37dc21ebe8436e1f0639942847ef56d8f4c
parent d18cf65a228733351368570ec6862ac15a16fda8
Author: Luke Smith <luke@lukesmith.xyz>
Date: Sat, 26 Oct 2019 12:46:54 -0400
lynx gives more loyal rendering of some html pages
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
@@ -52,7 +52,7 @@ There's a chance of errors if you use a slow-release distro like Ubuntu, Debian
### Optional
-- `w3m` - view HTML email and images in neomutt.
+- `lynx` - view HTML email in neomutt.
- `notmuch` - index and search mail. Install it and run `notmuch setup`, tell it that your mail is in `~/.local/share/mail/` (although `mw` will do this automatically if you haven't set notmuch up before). You can run it in mutt with `ctrl-f`. Run `notmuch new` to process new mail, although the included `mailsync` script does this for you.
- `libnotify`/`libnotify-bin` - allows notifications when syncthing mail with `mailsync`
- `abook` - a terminal-based address book. Pressing tab while typing an address to send mail to will suggest contacts that are in your abook.
diff --git a/share/mailcap b/share/mailcap
@@ -1,6 +1,6 @@
text/plain; $EDITOR %s ;
text/html; openfile %s ; nametemplate=%s.html
-text/html; w3m -I %{charset} -T text/html; copiousoutput;
+text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -dump %s; nametemplate=%s.html; copiousoutput;
image/*; muttimage %s ; copiousoutput
video/*; setsid mpv --quiet %s &; copiousoutput
application/pdf; openfile %s ;