From: Robert Dober Date: 2009-08-12T01:09:34+09:00 Subject: Re: Readline not working with Ruby On Tue, Aug 11, 2009 at 6:05 PM, Pascal J. Bourguignon wrote: > Marvin Gülker writes: > >> Stewart wrote: >>> Hey I compiled ruby with readline support. However when i go to IRB i >>> just get jibbrish when i press the up arrow on my keyboard.  Any >>> suggestions? >> >> No suggestions, but I have this problem too: >> >> irb >> irb(main):001:0> puts "Test" >> Test >> => nil >> irb(main):002:0> ^[[A >> >> ruby -v: ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux] > > type in the shell: > >   echo $TERM > > and compare with the actual terminal (or terminal emulator) that you are using. > > -- > __Pascal Bourguignon__ > > I strongly suggest to check if your readline extension really compiled before explorating the unlikely path of terminal issues type ruby -rreadline -e 'p 42" and only if that works explore Pascal's idea. HTH Robert -- module Kernel alias_method :λ, :lambda end