Page 1 of 1

Ubuntu 14.04 newLISP repl, up,down,right,left key is valid

Posted: Tue Jan 13, 2015 12:04 pm
by ssqq
When I use the key of *up* *down* *right* *left* in REPL with Ubuntu 14.04 shell:

Code: Select all


ssqq@X61:~$ newlisp
newLISP v.10.6.0 32-bit on Linux IPv4/6 UTF-8, options: newlisp -h

> ^[[D^[[C^[[B^[[A^[[A^[[C

I try other shell or ssh tool, same problem. If I missed some compiler file when built newLISP?

Re: Ubuntu 14.04 newLISP repl, up,down,right,left key is val

Posted: Wed Jan 14, 2015 9:38 pm
by ryuo
Did you compile newlisp with readline? That is what is required to have an advanced command line input to "standard input". Otherwise, you are largely limited to backspace, enter, and regular keys for input. Most special keys won't work without readline or a similar program.