Ok, ignore my last post... :-) 

On Mon, Jul 30, 2001 at 11:53:32AM +0200, Thomas Huemmler
([EMAIL PROTECTED]) said:
> * Dale Morris <[EMAIL PROTECTED]> [010730 10:23]:
[...]
> > text/html; netscape -remote "openURL(%s)" || netscape %s; test=RunningX
> 
> the problem seems to be in the above line, because the next (correct?)
> entry for text/html invokes the gnome help browser.
> 
> I don´t use netscape, but would -- first of all -- ask myself the 
> following questions:
> Are the double-quotes allowed?
> Does netscape need a 'nametemplate=%s.html'?
> Is netscape already installed (dpkg -l | grep ii)?

My next question (after those good questions) would be "Do you have a
script named 'RunningX' that tests whether X is running, or did you
just copy this out of someone's sample .mailcap without adding it?"

Actually, I think that would have been my first question.

> Is it allowed to use '||' in a mailcap-entry? Or is it better the way,
> the Mutt manual says on Page 5 (here the translated german version):
> # Einen laufenden Netscape-Browser fernsteuern
> text/html; netscape -remote 'openURL(%s)'; test=RunningNetscape
> # Wenn Netscape nicht läuft, aber X läuft, starte Netscape, um das
> # Objekt anzuzeigen
> text/html; netscape %s; test=RunningX

-- 
Jim Toth
[EMAIL PROTECTED]

Reply via email to