Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open Netscape in Unix

Status
Not open for further replies.

duckiebear

Programmer
May 25, 2004
32
0
0
US
Does anyone know how to launch the netscape browser using a csh script. I'm trying to run commands such as:
Code:
netscape -remote 'openURL [URL unfurl="true"]http://sspweb.jsc.nasa.gov)'[/URL]
		 -remote 'saveAs(/tmp/temp)' &
And I don't want to have to manually open Netscape every time to make it work. So, I need a csh script that will open the netscape browser and then perform the openURL and saveAs functions.

Any suggestions would be appreciated!
 
Well if you're looking to just grab a page and save it as a file, then it's much better IMO to use one of the web page grabbing tools.

For example
[tt]curl --output foo.html [/tt]

I don't know if netscape suppresses the user interface whilst it's doing remote stuff, but it would be majorly annoying if it didn't.

--
 
No, netscape doesn't suppress the user interface and that was a problem.

And, yes stephanwagner, that was a typo I made in here, but my code was correct. I used the
netscape -remote 'openURL (
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top