Next: Invocation Examples, Previous: Invoking SCM, Up: Operational Features [Contents][Index]
The options are processed in the order specified on the command line.
specifies that scm
should allocate an initial heapsize of k
kilobytes. This option, if present, must be the first on the command
line. If not specified, the default is INIT_HEAP_SIZE
in source
file setjump.h which the distribution sets at
25000*sizeof(cell)
.
Inhibits the loading of ScmInit.scm as described above.
Symbol (and identifier) names will be case sensitive.
prints usage information and URI; then exit.
prints version information and exit.
requires feature. This will load a file from [SLIB] if that
feature is not already provided. If feature is 2, 2rs, or
r2rs; 3, 3rs, or r3rs; 4, 4rs, or r4rs; 5, 5rs, or r5rs; scm
will require the features neccessary to support [R2RS]; [R3RS];
[R4RS]; or [R5RS], respectively.
provides feature.
loads filename. Scm
will load the first (unoptioned)
file named on the command line if no -c
, -e
, -f
,
-l
, or -s
option preceeds it.
Loads SLIB databases
feature and opens filename as a
database.
specifies that the scheme expression expression is to be
evaluated. These options are inspired by perl
and sh
respectively. On Amiga systems the entire option and argument need to be
enclosed in quotes. For instance ‘"-e(newline)"’.
saves the current SCM session as the executable program dumpname.
This option works only in SCM builds supporting dump
(see Dump).
If options appear on the command line after ‘-o dumpname’, then the saved session will continue with processing those options when it is invoked. Otherwise the (new) command line is processed as usual when the saved image is invoked.
sets the prolixity (verboseness) to level. This is the same as
the scm
command (verobse level).
(verbose mode) specifies that scm
will print prompts, evaluation
times, notice of loading files, and garbage collection statistics. This
is the same as -p3
.
(quiet mode) specifies that scm
will print no extra
information. This is the same as -p0
.
specifies that subsequent loads, evaluations, and user interactions will
be with syntax-rules macro capability. To use a specific syntax-rules
macro implementation from [SLIB] (instead of [SLIB]’s default) put
-r
macropackage before -m
on the command line.
specifies that subsequent loads, evaluations, and user interactions will
be without syntax-rules macro capability. Syntax-rules macro capability
can be restored by a subsequent -m
on the command line or from
Scheme code.
specifies that scm
should run interactively. That means that
scm
will not terminate until the (quit)
or (exit)
command is given, even if there are errors. It also sets the prolixity
level to 2 if it is less than 2. This will print prompts, evaluation
times, and notice of loading files. The prolixity level can be set by
subsequent options. If scm
is started from a tty, it will assume
that it should be interactive unless given a subsequent -b
option.
specifies that scm
should run non-interactively. That means that
scm
will terminate after processing the command line or if there
are errors.
specifies, by analogy with sh
, that scm
should run
interactively and that further options are to be treated as program
aguments.
Next: Invocation Examples, Previous: Invoking SCM, Up: Operational Features [Contents][Index]