Go to the first, previous, next, last section, table of contents.

## Environment variable

There exist several environment variables concerning with an execution of Asir. On UNIX, an environment variable is set from shells, or in rc files of shells. On Windows NT, it can be set from [Control Panel] ->[Environment]. On Windows 95/98, it can be set in ``c:\autoexec.bat'`. Note that the setting takes effect after rebooting the machine on Windows 95/98.

- `ASIR_LIBDIR`
  The library directory of Asir, i.e., the directory where , for example, files containing programs written in Asir. If not specified, on UNIX, ``/usr/local/lib/asir'` is used by default. On Windows, ``lib'` in Asir root directory is used by default. This environment will be useful in a case where Asir binaries are installed on a private directory of the user. This environmental variable will become obsolete.
- `ASIR_CONTRIB_DIR`
  The asir-contrib library directory of Asir, i.e., the directory where packages and data developed by the OpenXM/asir-contrib project files are put. If not specified, on UNIX, ``/usr/local/lib/asir-contrib'` is used by default. On Windows, ``lib-asir-contrib'` in Asir root directory is used by default. This environment will be useful in a case where Asir binaries are installed on a private directory of the user.
- `ASIRLOADPATH`
  This environment specifies directories which contains files to be loaded by Asir command `load()`. Directories are separated by a `:' on UNIX, a ';' on Windows respectively. The search order is from the left to the right. After searching out all directories in `ASIRLOADPATH`, or in case of no specification at all, the library directory will be searched.
- `HOME`
  If Asir is invoked without -norc, ``$HOME/.asirrc'`, if exists, is executed. If `HOME` is not set, nothing is done on UNIX. On Windows, ``.asirrc'` in Asir root directory is executed if it exists.

Go to the first, previous, next, last section, table of contents.