On Sat, 05 Oct 2002 the mental interface of 
Sven Guckes told:

> * Viktor Lakics <[EMAIL PROTECTED]> [2002-10-05 12:21]:
> > Has anyone ever tried to work out how to autoview graphics inside mutt?

[...]

> > As was wondering whether anyone tried to hack the mailcap,
> > mutt, w3m trio in a way that html messages could be shown
> > in autoview with graphics inside?
> 
> well, w3m already does what you want - so please use it.
> 
> all you need is this "auto_view text/html" in your mutt setup
> and the following in your mailcap file:

AFAIK w3m-img doesn't work for vt's. I use sometimes links combined
with fbi. zgv should work as well.

> 
>   text/html       ; w3m -dump -force_html %s ; copiousoutput
>   text/htm        ; w3m -dump -force_html %s ; copiousoutput
>   message/html    ; w3m -dump -force_html %s ; copiousoutput
>   message/htm     ; w3m -dump -force_html %s ; copiousoutput

text/html ; w3m -dump -force_html %s ; copiousoutput ; \
test=test -n "$DISPLAY"
text/htm ; w3m -dump -force_html %s ; copiousoutput ; \
test=test -n "$DISPLAY"
text/html ; links -T text/html %s # within links you can "link" an
                                  # imageview to i.e fbi 
text/htm ; links -T text/html %s  # within links you can "link" an
                                  # imageview to i.e fbi 

image/* ; xv %s ; test=test -n "$DISPLAY"
image/* ; fbi %s

Same for message/htm* as for text/htm*

Ciao

Elimar


-- 
  Experience is something you don't get until 
  just after you need it!

Attachment: msg31584/pgp00000.pgp
Description: PGP signature

Reply via email to