2009/3/1 Alessio Stalla <alessiostalla@gmail.com>
On Sat, Feb 28, 2009 at 11:20 PM, Phil Berry <2009pb@googlemail.com> wrote:
> Hi,
>
> Does someone know what I need to do to set the arrow keys (and in fact the
> other keys) on Linux? When I load abcl.jar into an xterm window the arrow
> keys don't respond correctly:

AFAIK on Linux arrow keys are not managed by the terminal/shell and
must be managed by the application (e.g. for C apps using the GNU
readline library, as CLISP does).

If you don't mind using Emacs instead of the raw terminal, you can get
command history in Slime's REPL
(http://common-lisp.net/project/slime/doc/html/Input-Navigation.html)
or in emacs shell mode (M-x shell).

hth,
Alessio

Thanks (and to Julian). I'm looking at the rlwrap option at the moment. I was hoping I could bung the ablc.jar file onto a pen drive and have a copy of Lisp I could take with me. So Linux is a little more involved. Oh well. :-)

I'm still getting up-to-speed with Lisp (and the benefit of ABCL is that it is Java-based, and so portable). So I want to focus my efforts on getting Lisp into my blood, rather than resolving application problems (which may mean going back to Windows rather than Linux -- bummer!).  But if I still struggle with this I'll post back.

Thanks again.

Phil