Next: , Previous: Invocation Examples, Up: Operational Features


3.4 Environment Variables

— Environment Variable: SCM_INIT_PATH

is the pathname where scm will look for its initialization code. The default is the file Init5e7.scm in the source directory.

— Environment Variable: SCHEME_LIBRARY_PATH

is the [SLIB] Scheme library directory.

— Environment Variable: HOME

is the directory where Init5e7.scm will look for the user initialization file ScmInit.scm.

— Environment Variable: EDITOR

is the name of the program which ed will call. If EDITOR is not defined, the default is ‘ed’.

3.5 Scheme Variables

— Variable: *argv*

contains the list of arguments to the program. *argv* can change during argument processing. This list is suitable for use as an argument to [SLIB] getopt.

— Variable: *syntax-rules*

controls whether loading and interaction support syntax-rules macros. Define this in ScmInit.scm or files specified on the command line. This can be overridden by subsequent -m and -u options.

— Variable: *interactive*

controls interactivity as explained for the -i and -b options. Define this in ScmInit.scm or files specified on the command line. This can be overridden by subsequent -i and -b options.