Several NMRVIEW options can be controlled by specifying UNIX environment variables.
- NMRVIEWHOME
- Specifies the directory in which NMRView will look for the following
directories: tcllib,html,reslib. If not specified, NMRView uses: /usr/local/data/nmrview
- NMRVIEWHELP
- Specifies the program that NMRView uses to display the hypertext help files. If not specified the program used is "mosaic".
The method used to set these depends on the type of UNIX shell in use. For example, with the C-shell, use
setenv NMRVIEWHOME /usr/local/nmrview
The following options can be specified on the command line when nmrview is started.
Options/Arguments:
- -a
- Turn on automatic printing of postscript files
- -c
- Display console window, otherwise stdout
- -p <printer>
- Specify the default postscript printer
- -P <printfile>
- default postscript filename
- -D <datafile>
- full pathname of dataset to start with
- -W <window>
- name of new window to start with
- -b <database>
- name of database to open
For example, to startup with a database named "MyDatabase" use
nmrview -b MyDatabase