display images inline in xterm (while using mutt)

Dave Woodfall dave at tty1.uk
Fri Dec 4 15:56:07 UTC 2020


On 04/12/20 05:30,
Mutt Users <mutt-users at mutt.org> put forth the proposition:
> Hi,
> If I use w3m -o ext_image_viewer=0 test.png, I can get the file test.png inside xterm.
> I wanted to do the same on my mutt window (inside xterm). How do I do this?
> I tried putting:
> image/*;w3m -o ext_imageviewer=0 %s; copious output
> However this does not work and gives me the options of w3m in the mutt window. How can I use this?
> TIA!

I don't have a solution offhand, but I'd like to let you know that
w3m's image viewer can be invoked directly without going via w3m
first.

It is installed in your distro's libexec directory, which in mine
(slackware) is:

/usr/libexec/w3m/w3mimgdisplay

Doing a `locate w3mimgdisplay' should find it.

HTH

--
Dave

Love is a snowmobile racing across the tundra and then suddenly it flips over,
pinning you underneath.  At night, the ice weasels come.
	 --Friedrich Nietzsche


More information about the Mutt-users mailing list