Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2024 10:49:00 +0200
From:      Dominic Reich <yellow.plan1171@qtztsjosmprqmgtunjyf.com>
To:        questions@freebsd.org
Subject:   Re: Suggestions for mail client
Message-ID:  <HdFfgmRfx3JP-CxC9Tt-0924@odin.oe7drt.com>
In-Reply-To: <20240921154512502717312@bob.proulx.com>
References:  <a137a149-1aac-41c4-b288-97be07683df4@netfence.it> <Zurkp9G6NtzCEaWc@int21h> <ZurpmO4GR4l2pTcN@drosot.icus> <5wr52qrkvc7lp5cx4gd5vaadl6aq7wv5oslhi5w27beccznsxk@emcxnqvrtdp4> <Zu5rIqDxJgbybvoO@drosot.icus> <Zu6B862mCi-lP4rW@furbag.my.domain> <20240921154512502717312@bob.proulx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?HdFfgmRfx3JP-CxC9Tt-0924>