I’m new to Ruby and just starting to learn the “pick axe”
I am running the built-in “ruby 1.6.7 (2002-03-01) [powerpc-darwin6.0]” version of ruby on my TiBook running 10.2.1.
I would like to set-up irb to be able to go back in the history of commands in order to save on some typing. But when I press the up arrow, I get the standard terminal “^[[A” funk. How do I set irb to keep a history of my commands for future use? I figured you could do this with an .irbrc file, but I do not know what to add to the file to get it to do this.
you need to compile irb with readline support - eg. the readline libraries
must be on your system when ruby is configured.
-a
···
On Thu, 7 Nov 2002, montana wrote:
Hi Everyone-
I’m new to Ruby and just starting to learn the “pick axe”
I am running the built-in “ruby 1.6.7 (2002-03-01) [powerpc-darwin6.0]” version of ruby on my TiBook running 10.2.1.
I would like to set-up irb to be able to go back in the history of commands in order to save on some typing. But when I press the up arrow, I get the standard terminal “^[[A” funk. How do I set irb to keep a history of my commands for future use? I figured you could do this with an .irbrc file, but I do not know what to add to the file to get it to do this.
Thanks in Advance for your help:)
SA
–
====================================
Ara Howard
NOAA Forecast Systems Laboratory
Information and Technology Services
Data Systems Group
R/FST 325 Broadway
Boulder, CO 80305-3328
Email: ahoward@fsl.noaa.gov
Phone: 303-497-7238
Fax: 303-497-7259
====================================