newLISP Fan Club

Forum => newLISP in the real world => Topic started by: ssqq on January 13, 2015, 04:04:55 AM

Title: Ubuntu 14.04 newLISP repl, up,down,right,left key is valid
Post by: ssqq on January 13, 2015, 04:04:55 AM
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?
Title: Re: Ubuntu 14.04 newLISP repl, up,down,right,left key is val
Post by: ryuo on January 14, 2015, 01:38:01 PM
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.