previous up next print clean
Next: Load library path on Up: MACHINE-SPECIFIC ENVIRONMENT Previous: MACHINE-SPECIFIC ENVIRONMENT

X applications resource directory

If you are using the X-window system (remember Sun's OpenWindows is a variant of X), look to see what your ``X applications resource directory'' is by doing the command ``echo $XAPPLRESDIR''. (Probably it is undefined.) If you are getting strange behavior or error messages from some SEPlib-related X programs and suspect it might be due to an X-resource problem, try setting the ``X APPLications RESource DIRectory'' by doing

setenv XAPPLRESDIR /sepcd2/MACHINE\_TYPE/app-defaults

Unfortunately, other programs that you use on your system may require some different value for this environment variable. (Note it is a directory, not a path; you can only specify one place to look.) One possible solution is to have all the X-resource files lumped together into one directory. Another solution is to create a little shell script for the troublesome commands; the shell script resets XAPPLRESDIR to the required value and then calls the command. (Note this will not affect the value of XAPPLRESDIR outside the shell.)


previous up next print clean
Next: Load library path on Up: MACHINE-SPECIFIC ENVIRONMENT Previous: MACHINE-SPECIFIC ENVIRONMENT
Stanford Exploration Project
11/18/1997