🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #955

Re: using lynx rather than w3 to display text/html internally

#955
From: Pete Forman
Date: Fri, 24 May 2002 15:49
26 lines
2144 bytes
sondeen@isi.edu (jeff sondeen) writes:

 > can someone give me the incantations to let 'vm' (version 7.05
 > in emacs 20.7.1) display text/html inside the INBOX Presentation
 > window by using the output of 'lynx -force_html -dump %f' rather
 > than using vm's built-in internal verbatum text.

The last time I used lynx it did not support -stdin.  Here's what I
used:

(setq vm-mime-type-converter-alist '(("text/html" "text/plain"
  "lynx -force_html -dump /dev/stdin")))

The name of the device will depend on the OS you are using.

Under W2k I found it necessary to switch to W3M which supports stdin
properly.  Tables are handled better too :-)

(setq vm-mime-type-converter-alist '(("text/html" "text/plain"
   "d:/cygwin/usr/local/bin/w3m -dump -T text/html")))

-- 
Pete Forman                -./\.-  Disclaimer: This post is originated
WesternGeco                  -./\.-   by myself and does not represent
pete.forman@westerngeco.com    -./\.-   opinion of Schlumberger, Baker
http://petef.port5.com           -./\.-   Hughes or their divisions.
Technical Details
Message-ID: <lma9lf60.fsf@westerngeco.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.airnews.net!cabal11.airnews.net!uunet!ash.uu.net!diamond.waii.com!not-for-mail
References: <13dd4f03.0205211715.419cc21c@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,8469f1ca3495ca18
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 2002-05-24 08:50:37 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.airnews.net!cabal11.airnews.net!uunet!ash.uu.net!diamond.waii.com!not-for-mail
From: Pete Forman <pete.forman@westerngeco.com>
Newsgroups: gnu.emacs.vm.bug
Subject: Re: using lynx rather than w3 to display text/html internally
Date: 24 May 2002 16:49:11 +0100
Organization: WesternGeco, Gatwick, UK
Lines: 26
Message-ID: <lma9lf60.fsf@westerngeco.com>
References: <13dd4f03.0205211715.419cc21c@posting.google.com>
NNTP-Posting-Host: 134.32.6.251
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: mail1.wg.waii.com 1022255168 77066 134.32.6.251 (24 May 2002 15:46:08 GMT)
X-Complaints-To: usenet@news.wg.waii.com
NNTP-Posting-Date: 24 May 2002 15:46:08 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Economic Science (Windows [1]))