Previous: Windows Environment Variables, Up: Environment Variables



2.6.6 Environment Variables for OS/2

These environment variables are specific to the OS/2 implementation.

USER
Specifies the login name of the user running Scheme. This is used for several different purposes. If this variable is undefined, an error is signalled when the username is required.
USERDIR
Specifies a directory that contains the home directories of users. One of the places in which Scheme looks for the user's home directory, by searching for a subdirectory with the user's login name. This variable is used only when HOME is not defined; we recommend using HOME rather than USERDIR.
COMSPEC
Specifies the command shell. This is set in all versions of OS/2 (and is required for proper operation of the operating system). Scheme uses this to determine the user's shell if the environment variable SHELL is not defined.