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

Started by ssqq, January 13, 2015, 04:04:55 AM

Previous topic - Next topic

ssqq

When I use the key of *up* *down* *right* *left* in REPL with Ubuntu 14.04 shell:




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?

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.