chicken-scheme

Chicken Scheme interpreter arrow key not working


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


Solution

  • 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.