----- Original Message -----
From: David Shaw <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, 07 June, 1999 11:56
Subject: Re: attachment problem


> On Fri, Jun 04, 1999 at 09:55:27PM +0000, Jeffery Small wrote:
> > Is there some way to continue to use the "-remote" option to netscape
> > while getting mutt to better behave concerning the removal of the temp.
> > file?
>
> There are a zillion solutions to this.  Probably the easiest one is to use
> text/html; netscape -remote 'openURL(%s)' & sleep 1
>
> Vary the 'sleep' parameter to taste.  1 works fine for me.
>
> This isn't a strictly correct solution as the sleep might end before
> netscape gets around to opening the file.  In short, it's a hack, but it
> generally works fine.

another nice tool if you happen to have Gnome installed is to use
gnome-moz-remote in your mailcap. Here are my html handlers:

text/html; gnome-moz-remote %s; test=test -n "$DISPLAY"; needsterminal;
description=HTML text; nametemplate=%s.html
text/html; lynx %s; needsterminal; description=HTML Text;
nametemplate=%s.html
text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput;
description=HTML Text

gnome-moz-remote will spawn a browser if one isn't running. The
"needsterminal" option gets mutt to pause for a keystroke before deleting
the temp file.

-Brendan

PS: Oops, I'm sending this from Outlook at work :(


Reply via email to