Forum: Ruby Key-mapping

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
495506e05ccf09f936e86cfd2357c464?d=identicon&s=25 Gunnar (Guest)
on 2005-12-21 15:24
(Received via mailing list)
Hi all
I know this is not a Ruby thing, but I try anyhow.
When I'm using irb on my Linux system the cursor keypad works great, ie
the leftarrow backspace and uparrow gives me the previous line.
Using my iMac the keypad only results in an escape sequence (^[[A for
uparrow, ^[[C for leftarrow etc). I have not been able to find any
key-mapping in irb, or in the terminal setup.
All help appreciated
Gunnar
4b174722d1b1a4bbd9672e1ab50c30a9?d=identicon&s=25 Ryan Leavengood (Guest)
on 2005-12-21 21:15
(Received via mailing list)
That functionality is provided by the readline library, which I don't
think is setup with Ruby by default on Mac OS X (or maybe it is but
you just need to enable that option on irb.) But either way the Ruby
provided with Mac OS X is broken in various ways. Here is information
on how to properly set up Ruby on a Mac:

http://hivelogic.com/articles/2005/12/01/ruby_rail...

Ryan
495506e05ccf09f936e86cfd2357c464?d=identicon&s=25 Gunnar (Guest)
on 2005-12-21 22:20
(Received via mailing list)
Ryan
Thank you very much.
Went to article, did what it said ->everything works great.
Best regards
Gunnar
This topic is locked and can not be replied to.