next up previous
Next: Programming Your Own Up: Viewmol Manual Previous: The making of

Data files

  VIEWMOL uses a data file named viewmolrc for getting informations about atoms and a number of user preferred settings. There may be three of these files. VIEWMOL looks at first in the current directory for this file, then in the users HOME directory for a file .viewmolrc and finally in the directory where the environment variable VIEWMOLPATH points to. In one of these three locations such a file must be found. The file should contain the following data:

Any line starting with '#' is treated as a comment. VIEWMOL also accepts standard X Windows resources in .Xdefaults for changing colours and/or fonts in the dialogue boxes, e. g.:

Viewmol*fontList:   -*-ergonomic-*-*-*-*-20-*-*-*-*-*-*-*
Viewmol*background: salmon
will use a larger font and a redish background for all dialogue boxes (these options have been used for the creation of the pictures in this document).



next up previous
Next: Programming Your Own Up: Viewmol Manual Previous: The making of



Jörg-Rüdiger Hill
Thu May 25 19:30:50 PDT 1995