Console HTML view with picture using W3M or other
David J. J. Ring, Jr.
n1ea at arrl.net
Mon Aug 2 03:17:05 UTC 2021
Hello Tavis,
I love that name! It reminds me of beautiful music, or is it the Ormandy last name.
I cannot find an "av" package what Jude suggested.
You, Tavis, mentioned adding to mailcap this line:
image/png; img2sixel -- %s | less -r; nametemplate=%s.png; needsterminal
I'm guessing - and I realize that's gotten me into the deep fryer more than once... that you can make more lines in mailcap based on that line for
different picture formats -- stop me if you hear hot oil bubbling and David screaming...
image/jpg; img2sixel -- %s | less -r; nametemplate=%s.png; needsterminal
image/jpeg; img2sixel -- %s | less -r; nametemplate=%s.png; needsterminal
image/gif; img2sixel -- %s | less -r; nametemplate=%s.png; needsterminal
I find a package called "libsixel" in Slackware and I'm installing that.
Thanks and say "Hello to Eugene Ormandy" he was a great favorite of a friend of mine who was born in Budapest.
Best regards,
David Ring
Tavis Ormandy wrote:
Sun, Aug 01, 2021 at 10:58:37PM -0000
> On 2021-08-01, Patrick Shanahan wrote:
> > * Jude DaShiell <jdashiel at panix.com> [07-31-21 23:34]:
> >> If memory serves, w3m can use av package if installed to allow it to view
> >> pictures. I've only read about this never having been able to look at
> >> pictures.
> >> On Sat, 31 Jul 2021, 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?
> > w3m is configuragle to display images, "auto_image=TRUE"
>
> Not exactly what was asked, but I use this mailcap to view image
> attachments:
>
> image/png; img2sixel -- %s | less -r; nametemplate=%s.png; needsterminal
>
> It uses the sixel support in xterm (or any other terminal that supports
> sixels) to display images in the terminal. I think you just need
> something like this in .Xresources to enable it in xterm:
>
> XTerm*decTerminalID: vt382
>
> Tavis.
>
> --
> _o) $ lynx lock.cmpxchg8b.com
> /\\ _o) _o) $ finger taviso at sdf.org
> _\_V _( ) _( ) @taviso
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 894 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20210801/7c4bff40/attachment.asc>
More information about the Mutt-users
mailing list