At  8:42 PM EST on March 21 Gary Johnson sent off:
> On Thu, Mar 21, 2002 at 07:58:16PM -0500, Rob Reid wrote:
> > I've tried w3m and stripmime does just as well.  In fact, I don't want any
> > fancy interpretation of HTML mail by default - it slows things down and can
> > be dangerous if the HTML interpreter executes javascript, etc..
> 
> If stripmime works for you, then that's what you should use.  w3m
> doesn't do javascript, etc., so it's safe.

One of these days it will, but javascript capable browsers always seem to have
a way of turning it off, for this reason.

> It does slow down the display of messages a bit, but not so much that it
> bothers me.

It does me, although I'm not sure the time difference has compensated for
finding and installing stripmime yet.  Anyway stripmime is so simple that I can
quickly read the source and be sure what it's doing.

> > And then if the message had a good reason to use HTML, I'd have to dig up
> > how to *not* auto_view it, in order to send it to a real browser.  That's
> > why I stopped using auto_view for html in the good old days before
> > Microsoft bought hotmail.
> 
> That's what mutt's attachment menu is for.  Just type 'v' from the index
> or pager and select the part of the message you want to view with a
> browser.  My mailcap actually has these lines:
> 
>     #text/html; mutt_netscape %s; test=RunningX
>     text/html; w3m %s; nametemplate=%s.html
>     text/html; w3m -dump %s; nametemplate=%s.html; copiousoutput
 
Thanks.  What is mutt_netscape?  

> I still prefer w3m as the browser because it is so much faster than
> netscape, so I have the netscape line commented-out for now.

By "good reason to use HTML" I meant either forms (w3mable) or essential
inlined images (not w3mable).  I'm almost always running X, so I just send it
to galeon.

As far as speed, this isn't from my mailcap, but I'm sure you'll get the gist:

netscape "${}" & else netscape -remote "openURL(${})" 

If something takes a long time to start, you probably only need to start it
once, i.e. emacs/emacsclient.  Netscape's successor galeon does even better:
just "galeon URL" does the right thing.  Unfortunately I haven't found a way to
do the same with Konqueror.

-- 
We have to pursue this subject of fun very seriously if we want to stay
competitive in the 21st century.
  - George Yeo, Singapore's Minister of State for Finance.
Robert I. Reid <[EMAIL PROTECTED]> http://astro.utoronto.ca/~reid/pgp.html

Reply via email to