| Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
| Version 1.9 Build 874 |
|
The AIPS++ environment is defined via a once-only modification to your shell's startup script.
Assuming that AIPS++ has been installed under /aips++, users of Bourne-like shells (sh, ksh, bash) must add the following to their .profile file at a point after PATH (and MANPATH) are defined:
# Get the AIPS++ environment.
[ -f /aips++/aipsinit.sh ] && . /aips++/aipsinit.sh
The equivalent entry in .login for C-like shells (csh, tcsh) is:
# Get the AIPS++ environment.
if (-f /aips++/aipsinit.csh) source /aips++/aipsinit.csh
Users of the rc shell might use
# Get the AIPS++ environment.
if (test -f /aips++/aipsinit.rc) . /aips++/aipsinit.rc
in .rcrc, or in .esrc for the es shell:
# Get the AIPS++ environment.
if {test -f /aips++/aipsinit.es} {. /aips++/aipsinit.es}
The aipsinit (p
) scripts define a single environment variable called
AIPSPATH (§1.2) and add the AIPS++ bin area to the
PATH environment variable and the AIPS++ man directory to the
MANPATH environment variable.
For more detailed information, see aipsinit (p
). This contains an
explanation of AIPSPATH and a mechanism for controlling the point where
the AIPS++ bin areas are added to PATH.