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

Q&A's, tips, howto's
Locked
ssqq
Posts: 88
Joined: Sun May 04, 2014 12:49 pm

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

Post 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?

ryuo
Posts: 43
Joined: Wed May 21, 2014 4:40 pm

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

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

Locked