next up previous contents
Next: Syntax and Data Structure Up: Source Organization & Implementation Previous: Source Organization & Implementation

LISP Options On The Command Line

The generic command-line format is

lisp [option option ...]
Each command line option is preceded by a dash (-), and separated from the other options by at least one space. There are five options available. Description of these options are given below.
-S#
Sets the dynamic SEXPR stack size. Default size is 1024 cells and has been defined in hd.l. This option is valid if LISP has been compiled with non-zero DSTACK (dynamic stack) option macro.
-A#
Sets alist stack size. Default size is 512 cells and has been defined in hd.l.
-P#
Sets identifiers print name space size. Default size is 4000 bytes and has been defined in hd.l.
-T#
Sets string space size. Default size is 3500 bytes and has been defined in hd.l.
-M#
Sets minimum pair space size before garbage collection.
-G#
Sets minimum number of pair space pages before garbage collection.
-Eenvironment_variable
Introduces to lisp (or to the compiled lisp program) the operating system environment variable which is set to the initialization file name. If not supplied the default variable name LISPINI is assumed and searched in the environment. Please note that it is the name of the environment variable that will follow the -E option, and not the file name itself.

It is allowed to leave one or no blank between -E and the name of the envionment variable.

For example given the following command line
lisp -s2000 -a100 -P1000 -E LINIT
lisp will run with a stack of 2000 cells, alist stack of 100 elements and 1000 character long identifier print name space. An assignment of the environment variable LINIT variable should be made prior to the execution of the lisp execution. For example in UNIX BOURNE shell this would be some lines as:
     LINIT=/usr/local/lisp/MYLISPINI
     export LINIT
if the specific initialization file for this program lives in the /usr/local/lisp directory under the name MYLISPINI.


next up previous contents
Next: Syntax and Data Structure Up: Source Organization & Implementation Previous: Source Organization & Implementation

Gokturk UCOLUK
Fri Nov 1 21:52:13 EET 1996