Todd said:
Yuri said:
So I decided to try out Ubuntu on a different partition. I built Ruby
1.8.3, and now in irb I can't hit the up arrow to bring up my last
command(s). Is there a way to set this up? I'm asking because I'm a
terrible typist and require this much-needed tool (crutch).
Before building ruby, check you have installed the following packages:
libreadline[4 or 5]-dev
libncurses[5 or w5]-dev
Regard,
Yuri Kozlov
No, I don't think that's it. I have both of those and using the up
arrow in a terminal works fine. It's just irb. Some kind of character
mapping that isn't happening? Maybe some error during the compile that
I missed? I'll try building again and see if I can grab any
errors/warnings.
Nope. I recompiled, then deleted the whole installation, reunpacked,
recompiled (seeing no warning or error during the compile when it
linked with readline), and even tried "irb --readline" in case that
might help. Still does the same thing. I press up-arrow, and it just
returns ^]]A to the screen, which I'm assuming is the control
character. If anybody can point me into some direction pertaining to
this, it would be much appreciated.
Thanks,
Todd