Re: Suggestions for mail client
- In reply to: Bob Proulx : "Re: Suggestions for mail client"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Sep 2024 08:49:00 UTC
Bob Proulx <bob@proulx.com> wrote: >In my ~/.mailcap file I have all of the text mode html dumpers >commented with my currently preferred one uncommented. As time goes >by and depending upon the html one will do a better rendering job than >another one will on different types of html. I am preferring "links" >at the moment but as you can tell I select among the selection as my >whims dictate. > > # text/html; firefox %s; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html > # text/html; elinks -dump -dump-color-mode 3 %s; copiousoutput; description=HTML Text; nametemplate=%s.html > # text/html; elinks -dump %s; copiousoutput; description=HTML Text; nametemplate=%s.html > text/html; links -dump %s; copiousoutput; description=HTML Text; nametemplate=%s.html > # text/html; lynx -force_html %s; needsterminal; description=HTML Text; nametemplate=%s.html > # text/html; lynx -dump -force_html %s; copiousoutput; description=HTML Text; nametemplate=%s.html > # text/html; w3m -no-mouse -T text/html %s; needsterminal; description=HTML Text; nametemplate=%s.html > >If this does not produce something reasonable for me then I 'v'iew the >mime parts, j and k down to the text/html part, 's'ave it to a file >usually for me ~/tmp/mail.html (selecting overwriting of the previous) >and then in my running Firefox I click my toolbar bookmark to open the >file:///home/rwp/tmp/mail.html bookmark which renders the email >message in the full html web browser. I do have similar entries in my mailcap file, though I'm using a macro bound to 'V' to directly send the HTML file to librewolf/firefox. #v+ macro attach 'V' "<pipe-entry>iconv -c --to-code=UTF-8 > ~/Downloads/mutt_mail.html<enter><shell-escape>librewolf ~/Downloads/mutt_mail.html<enter>" #v- -dominic -- Far and away the best prize that life has to offer is the chance to work hard at work worth doing. - Theodore Roosevelt