[Techtalk] Moz-a-browser

Hamster hamster at hamsternet.org
Fri Nov 8 11:37:55 EST 2002


On Thu, 7 Nov 2002 23:10:14 -0500
Andrew <showork at adelphia.net> wrote:

> Hi All,
> 
> 	In setting my e-mail client (Sylpheed) to open Mozilla (1.2b) on a
> double of a link, it starts-up the program, which is good, but, how do I
> tell it just to open a new window when the browser is already up and
> running?
> 	Now listed, is the current browser location, do I add --new window,,,,
> exactly how is it written?	 Now it is "/usr/local/Mozilla_1.2/./mozilla
> '%s'"
> 


I think it should look like this: 
/usr/local/Mozilla_1.2/mozilla -remote %s

Note the complete lack of quotes or anything.

Even though mozilla is starting for you, in its path you dont need the ./mozilla.

The ./ is extraneous and not needed. Its what you would type at the command prompt if you were in the Mozilla_1.2 directory, but its not the best way to type the full path the executable somewhere else.

> 	On another note, someone here suggested I eliminate the "/mozilla" at
> the end for better "form" (syntax?) ? I tried that it did not work. Why?
> 

Because the last word "mozilla" on your command line is the name of the executable to run. If you leave that out, then all you have told Sylpheed is the name of a directory. Which isnt enough information when you actually want to run something.

Hope this has helped

Hamster




More information about the Techtalk mailing list