1.3.2 Environment Variables
This section documents several of the environment variables that Scheme
uses, and gives an example for each one. These are the environment
variables that must usually be defined when installing Scheme under
OS/2. For complete documentation of all of the environment variables
used by Scheme, see Environment Variables.
Note that environment variables are usually defined in the OS/2
config.sys file. After editing the config.sys file, it is
necessary to reboot OS/2 before the changes will take effect.
- MITSCHEME_LIBRARY_PATH
- says where to find Scheme's data files. This is the only required
environment variable (but is not required when Scheme is invoked with
the --library command-line option).
SET MITSCHEME_LIBRARY_PATH=C:\SCHEME\LIB
- MITSCHEME_INF_DIRECTORY
- tells Scheme where to find debugging information for the runtime system.
The default value for this environment variable is a subdirectory
src located in the directory specified by
MITSCHEME_LIBRARY_PATH.
SET MITSCHEME_INF_DIRECTORY=C:\SCHEME\LIB\SRC
- TMPDIR
- tells Scheme the name of a directory where it can store temporary files.
SET TMPDIR=C:\TMP
- HOME
- tells Scheme where your “home” directory is located. This is where
Scheme looks for init files, and it is also what the ~/ (or
~\\) filename prefix expands to. If not specified, Scheme uses
the root directory of the current drive.
SET HOME=C:\CPH
- USER
- tells Scheme your user name. This is used for several purposes,
including the name that will be used as your email address.
SET USER=cph
- SHELL
- tells Edwin what shell program to use in shell buffers and for running
shell commands. If not specified, this defaults to the standard OS/2
shell, cmd.exe.
SET SHELL=C:\4OS2251\4OS2.EXE