#!/bin/csh -f

# docs available at:
# 
# http://home.netscape.com/newsref/std/x-remote.html
# 
#      openURL ( ) 
#          Prompts for a URL with a dialog box. 
#      openURL (URL) 
#          Opens the specified document without prompting. 
#      openURL (URL, new-window) 
#          Create a new window displaying the the specified document. 
#      openFile ( ) 
#          Prompts for a file with a dialog box. 
#      openFile (File) 
#          Opens the specified file without prompting. 
#      saveAs ( ) 
#          Prompts for a file with a dialog box (like the menu item). 
#      saveAs (Output-File) 
#          Writes HTML to the specified file without prompting. 
#      saveAs (Output-File, Type) 
#          Writes to the specified file with the type specified - 
#          the type may be HTML, Text, or PostScript. 
#      mailto ( ) 
#          pops up the mail dialog with the To: field empty. 
#      mailto (a, b, c) 
#          Puts the addresses "a, b, c" in the default To: field. 
#      addBookmark ( ) 
#          Adds the current document to the bookmark list. 
#      addBookmark (URL) 
#          Adds the current document to the bookmark list. 
#      addBookmark (URL) 
#          Adds the given document to the bookmark list. 
#      addBookmark (URL, Title) 
#          Adds the given document to the bookmark list, with the given title. 


# no bg
set bg = 0

# get 

#set nw = ""
#if ($#argv == 2) then
#    set switch = $argv[1]
#    set url    = $argv[2]

#    if ($switch == "-n") then
#        set nw = ",new-window"
#    else
#        echo "usage: netscape-load [-n (new window)] <url>"
#       exit 1
#    endif

#else
#    if ($#argv != 1) then
#        echo "usage: netscape-load [-n (new window)] <url>"
#        exit 1
#    endif
#    set switch = ""
#    set url    = $argv[1]
#endif


## do it
#if ($bg) then
#    netscape -remote openURL\(${url}${nw}\) &
#else
#    netscape -remote openURL\(${url}${nw}\) 
#endif

netscape -remote 'openURL(http://modsgi.ssec.wisc.edu/~akrautkr/hi.html)'  -remote 'openURL(http://www.cs.wisc.edu)' -remote 'openURL(http://www.ssec.wisc.edu)'
#netscape -remote 'openURL(http://www.cs.wisc.edu/information.html)'
#netscape -remote 'openURL(http://www.cs.wisc.edu/people.html)'
#netscape -remote 'openURL(http://www.cs.wisc.edu/graduates.html)'
#netscape -remote 'openURL(http://www.cs.wisc.edu/ugrads.html)'
#netscape -remote 'openURL(http://www.cs.wisc.edu/research.html)'
#netscape -remote 'openURL(http://www.cs.wisc.edu/resources.html)'
#netscape -remote 'openURL(http://www.ssec.wisc.edu)'
#shutdown
# -remote 'openURL(http://modsgi.ssec.wisc.edu/~akrautkr/hi.html)'




