Clozure CL on Mac OS X: get rid of the GUI?
-
09-12-2019 - |
Question
I want to run a CCL REPL from a command line. What should I do to prevent CCL from starting that GUI thing (the menu and the listener window)? Thanks.
Solution
Homebrew has a recipe for Clozure CL, and will set up everything like you'd expect.
$ brew install clozure-cl
Now type ccl
or ccl64
at the command line.
OTHER TIPS
After I dug around in Applications/CCL
, I found this:
username@computer:/Applications/CCL
$ ./dx86cl64
Welcome to Clozure Common Lisp Version 1.7 (DarwinX8664)!
?
Here is a solution.
Originally I installed CCL the "Mac way" - from the App Store (silly me). Regardless of how I called dx86cl64 it always opened a listener window.
I removed the app, downloaded ftp://clozure.com/pub/release/1.7/ccl-1.7-darwinx86.tar.gz and unpacked it under /opt/ccl-1.7. Then I created ~/bin/ccl with this content:
#!/bin/sh
exec "/opt/ccl-1.7/dx86cl64" -K utf-8 $*
Problem solved.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow