3.6 SCM Session
- Options, file loading and features can be specified from the command
See System interface. See Require.
- Typing the end-of-file character at the top level session (while SCM is
not waiting for parenthesis closure) causes SCM to exit.
- Typing the interrupt character aborts evaluation of the current form
and resumes the top level read-eval-print loop.
— Function: quit
— Function: quit n
— Function: exit
— Function: exit n
exit (see exit). On many
systems, SCM can also tail-call another program.
— Callback procedure: boot-tail dumped?
boot-tail is called by
scm_top_level just before entering
interactive top-level. If
interactive top-level is not entered.
— Function: program-arguments
Returns a list of strings of the arguments scm was called with.
— Function: getlogin
Returns the (login) name of the user logged in on the controlling
terminal of the process, or #f if this information cannot be determined.
For documentation of the procedures
See System Interface.
getenv as suggested by draft SRFI-98:
— Function: getenv name
Looks up name, a string, in the program environment. If name is
found a string of its value is returned. Otherwise,
#f is returned.
— Function: getenv
Returns names and values of all the environment variables as an
(("PATH" . "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin")
("USERNAME" . "taro"))
— Function: vms-debug
If SCM is compiled under VMS this
vms-debug will invoke the VMS