On Thu, 9 Sep 2004 21:19:49 +0100, Tim Green timothy.j.green@gmail.com was rumoured to have said:
On Thu, 09 Sep 2004 19:34:19 +0100, Stelios Bounanos sb@dial.pipex.com wrote:
render the html with w3m (optionally without fetching images to avoid `web bugs' in spam).
Eh? I thought w3m was a text only browser, and the graphical version was a flight of fantasy that was never maintained.
Hmm, I distinctly remember having got w3m to display images in a framebuffer console and an xterm. But that was a long time ago and it would not work when I tried it again on a sparc running linux some months later.
FWIW, Debian still has a package that claims it can do it: w3m-img - inline image extension support utilities for w3m
Anyway, this must be easier to do in an Emacs buffer because the emacs lisp interface (w3m-el) has worked for me since Emacs 21 came out, and also supports gifs now that the LZW patent has expired. Here's a screenshot: http://privatewww.essex.ac.uk/~sbouna/emacs-w3m.png
When I'm not using Gmail (which also doesn't fetch web images until an extra button is pressed) I use mutt which uses w3m in just text mode.
I don't know how w3m-el does the trick, but I suspect that it doesn't depend on w3m to do anything with the images. If mutt works in the usual way (i.e. runs w3m on a file using popen(3) and reads its output from the pipe) then it won't show images even if w3m could...
Tim.
rgds, /-sb.