Netscape 7.02 on RedHat 7.3

Subscribe to Netscape 7.02 on RedHat 7.3 3 post(s), 2 voice(s)

 
Avatar (SF) Kin Cho 2 post(s)

Hi,

I configured my browser as /usr/local/netscape/netscape.

JBidwatcher always try to start a new copy of netscape when
I ask JBidwatcher to open a URL.

How do I configure JBidwatcher to browse an auction URL
in my existing browser window?

Thanks.

 
Avatar Morgan Schweers Administrator 1,204 post(s)

Greetings,
Erk… Reading the command line parameters for Netscape suggests the following:

/usr/local/netscape/netscape -remote ‘openURL(%1)’

I can’t try it right now, but that might work for you. You can also add ‘-raise’ before the ‘-remote’ to force it to raise itself to the top when you do that.

In checking the source, really quickly, I don’t think it will work. If /usr/local/netscape is the first instance of Netscape in your path, however, you should be able to delete everything in the ‘Linux command’ section, and it should default to doing basically exactly what’s above.

If none of the above works, you could create a shell script in your ~/bin, or something, that simply takes a URL parameter, and calls netscape as described above. Then make that script the browser command.

I’m really sorry it’s so complex. Linux doesn’t have any concept of a ‘default browser’, so it’s nowhere near as easy to handle as OSX and Windows. One thing I’ll probably do is release a browser-launcher with JBidwatcher when I get to the point of making an RPM or general Linux package out of it.

For now, try some of the options I’ve listed, and please let me know what works for you!

— Morgan Schweers, CyberFOX!

 
Avatar (SF) Kin Cho 2 post(s)

Thanks for the suggestions. I’ll try it when I reboot into
Linux.

Now that I’m in Windows ME, I wanted to try “show URL in browser”
in jbidwatcher, but it won’t work.

The default command is “start netscape” in the Browser tab in
Configuration Manager. I typed it in DOS and it doesn’t work.
Next I pressed the “Detect Browser” button, and it gives:

C:\PROGRA~1\NETSCAPE\NETSCAPE\NETSCP.EXE -url “%1”

Now when I try “show URL in browser”, it still doesn’t work, even
though this command works in DOS.

I noticed this at the Java console when this error happened:

Mon May 05 22:28:30 PDT 2003: Launching browser
java.io.IOException: CreateProcess: C:\\PROGRA~1\\NETSCAPE\\NETSCAPE\\NETSCP.EX\
E
-url “http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?ViewItem&item=2528614904” error\
=
0
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.(Unknown Source)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at WindowsBrowserLauncher.Launch(Unknown Source)
at BrowserLauncher.openURL(Unknown Source)
at JBConfig.launchBrowser(Unknown Source)
at JBConfig.messageAction(Unknown Source)
at PlainMessageQueue.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

-kin