The up and down keys need to get the command history is not working in IRB. They produce ^[[A, ^[[B, ^[[C etc. I am connecting over PuTTY to Fedora 6and I wonder whether the problem is in IRB. If after logging in to the Fedora 6 account, I login to my dreamhost account and run IRB the keys work fine. I compiled the ruby with readline and I suspect that something didn't go right. Is there some way of checking it?
on 2007-06-18 13:40
on 2007-06-18 18:20
On 6/18/07, Frank Church <email@example.com> wrote: > > Is there some way of checking it? Replace /usr/local/build/ruby-1.8.6 with your ruby build directory below. $ irb irb(main):001:0> $LOADED_FEATURES.grep /readline/ => ["readline.so"] irb(main):002:0> require 'readline' #already loaded, so should return false => false irb(main):003:0> exit $ less /usr/local/build/ruby-1.8.6/ext/readline/mkmf.log hth, Todd