Hi,

Thanks very much!

> On Friday, December 4, 2020, 10:24:44 AM CST, Patrick Shanahan 
> <p...@opensuse.org> wrote:  * mutt users list <mutt-users@mutt.org> [12-04-20 
> 11:07]:
> 
> Hi,
> 
> Thanks! 
> 
>  > On Friday, December 4, 2020, 9:56:23 AM CST, Dave Woodfall <d...@tty1.uk> 
>wrote: 
> 
> >>  On 04/12/20 05:30, Mutt Users <mutt-users@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?

snipped

> I didn't have it installed, but test installed and get same result. removed 
> it and following works w/o it, but w3m must be configured to display 
> graphical.  I will have to look to see where, don't remember, too old, been 
> too long.

> for me:  w3m display.jpg will display image display.jpg

> ok found it
>     Display embedded graphics
>     $ w3m -o auto_image=TRUE http://w3m.sourceforge.net

>      ~/.w3m/config
>      user defined configuration file; overrides /etc/w3m/config
                                          

My apologies, I do not understand. Where do I put this? In my mailcap? FWIW, I 
tried:

$ w3m -o auto_image=TRUE test.png

and that opens gpicview for me. 

I copied over the system config /etc/w3m/config to /.w3m/config

and added 
ext_image_viewer=0

and then I get the inline images. However, how to do this inside mutt does not 
seem to work.

I have the following in my .mailcap:

auto_view image/*
image/*;w3m %s; copiousoutput

But what i get is a bunch of text for the image file that I am trying to 
display.

Thanks in advance again!

Reply via email to