Has anyone succeeded in starting mozilla with an URL as command line argument?
I tried this in vain with mozilla-0.9.9-3 which otherwise works
flawlessly for me.

Let's say no mozilla is running, and I use

   mozilla /sw/lib/mozilla/res/samples/test0.html
or 
   mozilla http://www.cnn.com

then it just silently does nothing.

If a mozilla is already running, then these commands do what they are
supposed to, they open new pages with these URLs.

I came across this while trying to find out if I can use mozilla as a
help browser for siag. Right now I can't unless I write a whole new
wrapper script. 

I think I found the reason why it is not working:

In the /sw/bin/mozilla wrapper script, line 89 (this is from version
0.9.9-3, but I think it's the same in 0.9.8-1)

  exec $MOZ_PROGRAM -remote "openurl($opt,new-window)" 2>/dev/null >/dev/null

the "exec" is wrong, it should not be there. Without the "exec", it
works as expected.

-- 
Martin

_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to