IRB: Arrow keys not working (neither Insert, home, etc)

A

Aníbal

Hello,

I have Ruby 1.8.5 installed in Ubuntu 6.06 (Kernel: 2.6.15-27-686 )
IRB works fine with special characters (like accented a, and tilded n)
but the arrow keys produce the following input:

Up: ^[[A
Right: ^[[C
Down: ^[[B
Left: ^[[D

The other special keys: Insert, Home, Prev Page, Del, End and Nex
Page produce similar results.
 
M

Michael Glaesemann

An=EDbal said:
I have Ruby 1.8.5 installed in Ubuntu 6.06 (Kernel: 2.6.15-27-686 )
IRB works fine with special characters (like accented a, and tilded n)
but the arrow keys produce the following input:

Up: ^[[A
Right: ^[[C
Down: ^[[B
Left: ^[[D

The other special keys: Insert, Home, Prev Page, Del, End and Nex
Page produce similar results.

It looks like IRB might not be compiled with readline support. I'm =20
not sure how to check this, however.

Michael Glaesemann
grzm seespotcode net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top