Download SBCL User Manual
Transcript
Chapter 3: Starting and Stopping 16 --lose-on-corruption There are some dangerous low level errors (for instance, control stack exhausted, memory fault) that (or whose handlers) can corrupt the image. By default SBCL prints a warning, then tries to continue and handle the error in Lisp, but this will not always work and SBCL may malfunction or even hang. With this option, upon encountering such an error SBCL will invoke ldb (if present and enabled) or else exit. --script filename As a runtime option this is equivalent to --noinform --disable-ldb --loseon-corruption --end-runtime-options --script filename. See the description of --script as a toplevel option below. --help Print some basic information about SBCL, then exit. --version Print SBCL’s version information, then exit. In the future, runtime options may be added to control behaviour such as lazy allocation of memory. Runtime options, including any –end-runtime-options option, are stripped out of the command line before the Lisp toplevel logic gets a chance to see it. 3.3.2 Toplevel Options --sysinit filename Load filename instead of the default system initialization file (see Section 3.4 [Initialization Files], page 17.) --no-sysinit Don’t load a system-wide initialization file. If this option is given, the -sysinit option is ignored. --userinit filename Load filename instead of the default user initialization file (see Section 3.4 [Initialization Files], page 17.) --no-userinit Don’t load a user initialization file. If this option is given, the --userinit option is ignored. --eval command After executing any initialization file, but before starting the read-eval-print loop on standard input, read and evaluate the command given. More than one --eval option can be used, and all will be read and executed, in the order they appear on the command line. --load filename This is equivalent to --eval ’(load "filename ")’. The special syntax is intended to reduce quoting headaches when invoking SBCL from shell scripts. --noprint When ordinarily the toplevel "read-eval-print loop" would be exe- cuted, execute a "read-eval loop" instead, i.e. don’t print a prompt and don’t echo results.