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

Re: Viewing HTML messages with images



* Patrick Shanahan <ptilopteri@xxxxxxxxx> [08-30-07 19:41]:
> * Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx> [08-30-07 17:44]:
> > 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)
> 
> grep w3m ~/.mutt/mutt.mailcap
> text/html; w3m -F -dump -T text/html %s; nametemplate=%s.html; copiousoutput

humm, been a bit dense lately, here's a macro that will urls clickable
in PLAIN TEXT email:

macro   pager   \ck     |w3m\n  "make urls clickable in plain text email"

-- 
Patrick Shanahan         Plainfield, Indiana, USA        HOG # US1244711
http://wahoo.no-ip.org     Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535                    @ http://counter.li.org