<<< Date Index >>>     <<< Thread Index >>>

Re: Viewing HTML messages with images



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday, August 30 at 10:54 PM, quoth M. Fioretti:
>it could surely be used to do what you need in a separate terminal
>with a bit of wrapping, but, is there any way to make it work that way
>when it's a display_filter, that is _inside_ the mutt window? Now that
>would be great...
>
>I _feel_ that is not possible, but I cannot explain why (do you?) and
>anyway I'd like to be proven wrong!

In general, what mutt renders is the piped output of the programs 
listed as handlers for the specific MIME-types. So, if w3m can get 
images to display when used like this:

     $ cat foo.html | w3m -dump -T text/html >foo.txt;
     $ cat foo.txt

Then YES, mutt can display that. (as it happens, elinks can spit out 
xterm color commands, and mutt can thus display color elinks output, 
because the above command sequence *works* for elinks color)

Generally, though, the whole point of making w3m dump it is because 
you're not using w3m as a pager, you're using it as a renderer. MUTT 
is the pager. As such, it spits out a stream of characters. I don't 
know how it gets images rendered in xterm, but I'm pretty sure it 
doesn't do it in a way that can be piped through another program.

~Kyle
- -- 
Having a family is like having a bowling alley installed in your 
brain.
                                                         -- Martin Mull
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFG1znUBkIOoMqOI14RAmqfAJ4yZXKHP6kz+7Gz4mnBUalGGgL9XgCgx4WZ
JBQB5VFpjtB2kCp+p9NxE+4=
=xXtO
-----END PGP SIGNATURE-----