Next: The CCL Init File, Up: Running CCL [Contents][Index]
It can also be handy to run Clozure CL straight from a terminal prompt. In the
scripts/ directory of the ccl directory, there are two files named:
ccl
ccl64
Copy these files into /usr/local/bin or some other directory that is on your
path, and then edit them so that the value of
CCL_DEFAULT_DIRECTORY
is your ccl directory or add this environment variable to a startup file. You
can then start up the lisp by typing:
ccl
or
ccl64
You may wish to install scripts/ccl64 with the name ccl if you use the
64-bit lisp more. If you want the 32-bit lisp to be available as well, you can
install scripts/ccl as ccl32. Note that there is nothing magical about
these scripts. You should feel free to edit them as desired.
NOTE: the scripts start the kernel using the shell’s exec command, which
replaces the current process with the new ccl process. The process is
stopped using the:
(ccl:quit) ; or (quit)
command, which terminates the process. If you are running tmux, and have
only one window with one pane open, this instantly terminates that session, and
tmux will exit. There are two options to get around this. One is not to use
exec. The other is to have an additional window or pane in the tmux
session, which will become current when the ccl process exits.
To obtain a list of available command-line options, type:
ccl --help
Next: The CCL Init File, Up: Running CCL [Contents][Index]