<p>I'm using ccl/openmcl on Mac OS X. (latest versions of both). When the lisp prompt is displayed, using the cursor keys to navigate the current line results in escape codes, rather than movement, eg:</p>

<p><code>Welcome to Clozure Common Lisp Version 1.2-r9226-RC1  (DarwinX8664)!<br>
? (^[[D</code></p>

<p>Here I've pressed the <code>(</code> key, and then the <code>left cursor</code> key.</p>

<p>When I run ccl/openmcl on a Debian Etch box, the cursor behaves as expected, and moves the insert point one position left.</p>

<p>I guess this is some sort of terminal configuration option?</p>

If Clozure CL doesn't provide native readline/editline/whatever support or is configured not to use it, you can run it with rlwrap, for example:
```
```
rlwrap openmcl
```
```
rlwrap can be obtained via
MacPorts
or directly from
http://utopia.knoware.nl/~hlub/rlwrap/
.