next up previous contents
Next: Bibliography Up: Setup Previous: Compilation

Configuration

Your need tell your browser how to handle the scripts that our server will generate. RasMol scripts will be pushed to your browser as chemical/x-rasmol objects. Add the following line to your $HOME/.mime.types file:

chemical/x-rasmol	rasmol

It defines a new type and an associated file extension. Now you need to tell your browser what to do with these objects. If you have a local copy of the PDB database (some 1.2 GBytes compressed data) then simply add the following line to your $HOME/.mailcap file:

chemical/x-rasmol;xterm -e rasmol -script \%s
It says that an object of type chemical/x-rasmol is handled with the command xterm -e rasmol -script %s; the name of the script will be replace %s (generally saved in your /tmp area). We could have simply said rasmol -script %s but there would be no console for you to interact with.

If you don't have a local copy of PDB, the authors of SCOP are providing the following script that will transfer the coordinate files automatically for you, see instructions.

For more information about the use of MIME types in chemical applications, consult the following Web sites:


next up previous contents
Next: Bibliography Up: Setup Previous: Compilation
Marcel Turcotte
1999-10-20