Re: backspace in Linux shell

Jack Tanner <[email protected]>
Newsgroups gmane.lisp.allegro
Message-ID <[email protected]>
Ahmon Dancy wrote:
>>>What can I do to make backspace work in an alisp that's started from a
>>>Linux shell? If I hit backspace I get ^H, and if I hit delete I get
>>>^[[3~. Similarly, the cursor keys don't work.
> 
> Use the following command after starting the shell:
> 
> stty erase ^h

Thanks, that makes backspace work. What about delete, left arrow, and 
right arrow?

Also, it'd be really great if cursor keys worked like they do in bash 
(i.e., up arrow steps backwards through command history).

In other words, I want GNU readline. :)

-JT
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.