<div>Thanks to everyone for their help, especially Gary. I appreciate the care and high quality dialogue here. I am starting to grok "intermediate level" Common Lisp, but it's certainly challenging!</div><div>
<br></div>As a token of my appreciation, I'm attaching a small enhancement to the ccl and ccl64 startup scripts which let's them function correctly when run under comint mode in emacs. I got frustrated with slime a while back, and put together my own comint mode for editing lisp which is better (smaller, faster, easier to tweak), in my humble opinion. If anyone would like to try it out, feel free to email me off list.
<div><br></div><div>Best,</div><div>Jason</div><div><br></div><div><br></div><div><div># ~/pkg/ccl-trunk/ccl/scripts$ svn diff</div><div>Index: ccl</div><div>===================================================================</div>
<div>--- ccl<span style="white-space:pre-wrap"> </span>(revision 14684)</div><div>+++ ccl<span style="white-space:pre-wrap"> </span>(working copy)</div><div>@@ -47,3 +47,14 @@</div><div>
export CCL_DEFAULT_DIRECTORY</div><div> exec ${CCL_DEFAULT_DIRECTORY}/${OPENMCL_KERNEL} "$@"</div><div> </div><div>+# Add a test for no args, and exec differently in that</div><div>+# case. Especially when running under comint mode in emacs, this </div>
<div>+# avoids trying to start a process whose name ends in </div><div>+# a space, which cryptically fails without explanation.</div><div>+#</div><div>+if test -z "$@"</div><div>+then</div><div>+ exec ${CCL_DEFAULT_DIRECTORY}/${OPENMCL_KERNEL}</div>
<div>+else</div><div>+ exec "${CCL_DEFAULT_DIRECTORY}/${OPENMCL_KERNEL}" "$@"</div><div>+fi</div><div>Index: ccl64</div><div>===================================================================</div><div>
--- ccl64<span style="white-space:pre-wrap"> </span>(revision 14684)</div><div>+++ ccl64<span style="white-space:pre-wrap"> </span>(working copy)</div><div>@@ -78,5 +78,15 @@</div><div>
fi</div><div> </div><div> export CCL_DEFAULT_DIRECTORY</div><div>-exec ${CCL_DEFAULT_DIRECTORY}/${OPENMCL_KERNEL} "$@"</div><div> </div><div>+# Add a test for no args, and exec differently in that</div><div>+# case. Especially when running under comint mode in emacs, this </div>
<div>+# avoids trying to start a process whose name ends in </div><div>+# a space, which cryptically fails without explanation.</div><div>+#</div><div>+if test -z "$@"</div><div>+then</div><div>+ exec ${CCL_DEFAULT_DIRECTORY}/${OPENMCL_KERNEL}</div>
<div>+else</div><div>+ exec "${CCL_DEFAULT_DIRECTORY}/${OPENMCL_KERNEL}" "$@"</div><div>+fi</div><div><br></div></div>