Configuring Netscape for RasMol

Configuring your browser for RasMol

Netscape version 7 and Mozilla

Netscape 7 and Mozilla on which it is closely based appear to require that the helper command is a single program name to which it appends the file name of the download file. This means that you have to set up a little command line file for each and then run those.

On unix set up the following files

rasstart.com

#!/bin/csh

xterm -e rasmol -pdb $1

rasscriptstart.com

#!/bin/csh

xterm -e rasmol -script $1

and make them executable 'chmod +x *.com'

In windows

rasstart.bat

cd /D C:\TEMP

"c:\Program Files\rasmol\raswin.exe" -pdb %~1

rasscriptstart.bat

cd /D C:\TEMP

"c:\Program Files\rasmol\raswin.exe" -script %~1

Note this is windows 2000 or later. Windows 98 has less sophisticated versions of commands so for that try

cd C:\TEMP

"c:\Program Files\rasmol\raswin.exe" -pdb %1 or -script %1

Obviously if your copy of rasmol is in a different directory or has a different name then use that. C:\TEMP should be the directory that netscape downloads temporary files to. Try downloading a file and saving it and see what directory it goes to.

Repeat the following steps for each of the three MIME types you are defining:-

i. MIME type chemical/x-pdb

  1. From the Edit option on the menubar select: Preferences.
  2. Locate the Navigator entry in the Category column on the left. If its arrow points to the right, then click on the arrow to open up the subentries Languages, Applications and possibly Smart Browsing. (If the arrow is pointing downwards, then these should already be listed below the Navigator entry).
  3. Click on Applications.
  4. Click on New and fill in the form as follows:-

ii. MIME type chemical/x-ras

  1. From the Edit option on the menubar select: Preferences.
  2. Locate the Navigator entry in the Category column on the left. If its arrow points to the right, then click on the arrow to open up the subentries Languages, Applications and possibly Smart Browsing. (If the arrow is pointing downwards, then these should already be listed below the Navigator entry).
  3. Click on Applications.
  4. Click on New and fill in the form as follows:-

iii. MIME type application/x-rasmol

  1. From the Edit option on the menubar select: Preferences.
  2. Locate the Navigator entry in the Category column on the left. If its arrow points to the right, then click on the arrow to open up the subentries Languages, Applications and possibly Smart Browsing. (If the arrow is pointing downwards, then these should already be listed below the Navigator entry).
  3. Click on Applications.
  4. Click on New and fill in the form as follows:-
  5. Application to use: and press the Choose... button.
  6. Navigate to the directory containing scripts you wrote above
  7. Select rasscriptstart.com or .bat and click Open.
  8. Click OK in the bottom right hand corner of the "New Type" window.

Copyright © Birkbeck College 1996-2004