next up previous contents index
Next: H.3 Known Bugs and Up: H. Troubleshooting Previous: H.1 List of Run   Contents   Index

H.2 Environment Variables used by NEMO

Occasionally NEMO's environment can interfere with those of other packages. The following list of environment variables have some meaning to NEMO. A default is usually activated when the environment variable is absent.

BELL
If BELL is set (1), a number of user-interface routines become noisy. The default is 0.

BTRPATH
List of directories where bodytrans(3NEMO) functions can be stored for retrieval. The default is /usr/nemo/obj/bodytrans. Normally set to ".:$NEMOOBJ/bodytrans" in NEMORC.

CFLAGS
Options for the C compiler for on-the fly compilations under NEMO V2. Not used for NEMO V3. See e.g. bodytrans(1NEMO). When not set, no compilation options used. When set, some make(1) implementations will also use it when the environment is imported.

DEBUG
Debug level, must be between 0 and 9. The higher the number, the more debug output appear on stderr. The default is 0. See getparam(3NEMO). DEBUG is also used as system keyword, in which case the environment variable is ignored.

EDITOR
Editor used when helplevel 4 is included. The default is vi (see vi(1)). See also getparam(3NEMO).

ERROR
Error level for irrecoverable errors. If this environment variable is present, and its numeric value is positive, this is the number of times that such fatal error calls are bypassed; after that the the program really stops. See also getparam(3NEMO).

FLOAT_OPTION
Used by Sun3s native cc(1) compiler which floating point unit to use. Options are, amongst others, ffpa, f68881. This environment variable has to be turned off on Sun4s.

HELP
Help level, can be any combination of numerically adding 0, 1, 2, and 4, and any combination of '?', 'a', 'h', 'p', 'd', 'q', 't' and 'n'. See getparam(3NEMO). HELP is also used as system keyword, in which case the environment variable is ignored. The numeric part of the help string should come first.

HISTORY
Setting it to 0 causes history data NOT to be written, the default is 1 (see getparam(3NEMO)). A few old programs may use the keyword amnesia= for this.

HOSTTYPE
In case of multiCPU environment, which has to be served from the same NEMORC and/or .cshrc file, this variable will have the CPU type in it, e.g. sun3 or sun4, which are used to break up the bin, lib and obj directories. It is also used in some Makefiles.

INCLUDE
List of directories from where to include NEMO header files when compiling. Used by the mycc(1NEMO) preprocessor and some cc-scripts. This environment variable is not actively used anymore. -deprecated-

LIBRARY
List of directories used to resolve NEMO library references in the compile/link command. Used by the mycc(1NEMO) preprocessor and some cc-scripts. This environment variable is not actively used anymore. -deprecated-

MANPATH
Used by UNIX to be able to address more than one area of manual pages. Normally set to $NEMO/man:/usr/man by the NEMORC file. Does not work in Ultrix 3.0, but perhaps the -P switch may be used.

NEMO
The root directory for NEMO. Normally the only environment variable which a user has to define himself, in his .cshrc startup file. No default.

NEMOBIN
Directory where nemo's binaries live, defined in NEMORC. No default.

NEMODOC
Directory where the *.doc files for mirtool and miriad shell should be looked for. The system default is $NEMO/man/doc, set by NEMORC. No default.

NEMODEF
Directory where keyword files from mirtool/miriad are stored/retrieved. The default is the current directory.

NEMOLIB
Directory where nemo's libraries live. Normally set by . No default. NEMORC.

NEMOLOG
Filename used as logfile for tasks submitted through nemotool.

NEMOOBJ
Directory were (binary) object files live. They are used by a variety of nemo programs, and generally do not concern the user. Usually set by NEMORC.

NEMOPATH
Same as NEMO, but kept for historical reasons. It is normally defined in the NEMORC file. -deprecated-

NEMOSITE
The site name, which is also an alias used in case the import/export features with the central site are to be maintained.

PATH
UNIX search-path for executables, normally set in your own shell startup file (.cshrc or .login). Should contain NEMOBIN early in the path definition, before /usr/bin and /bin to redefine the cc and make programs. See Appendix [*]

POTPATH
List of directories where potential(5NEMO) functions can be stored. The default is /usr/nemo/obj/potential.

REVIEW
If this variable is set, the REVIEW section is entered before the program is run. [default: not set or 0]

YAPP
Yapp graphics output device. Usage depends which yapp(3NEMO) the program was linked with. See also getparam(3NEMO) and yapp(5NEMO). YAPP is also used as system keyword, in which case the environment variable is ignored.

YAPPLIB
Libraries needed to link a program which the default YAPP graphics device. No default.

See also the manual pages of files(1NEMO).


next up previous contents index
Next: H.3 Known Bugs and Up: H. Troubleshooting Previous: H.1 List of Run   Contents   Index
(c) Peter Teuben