Chicken Scheme interpreter arrow key not working

118 Views Asked by At

I have installed Chicken Scheme on WSL debain Linux. I can run chicken Scheme interpreter from command line. but arrow key just not work.

up arrow ^[[A down arrow ^[[B

here is a screen shot

enter image description here

1

There are 1 best solutions below

0
On BEST ANSWER

This is a FAQ. Basically, CHICKEN tries to be relatively minimalistic out of the box, so there's no line editing feature bundled with the core distribution.

You probably want to install the breadline egg and set up your .csirc to load it (see the example).

Alternatively, use rlwrap, which can add line editing capability to any program which lacks it.