From: "David A. Black" Date: 2005-02-20T03:36:48+09:00 Subject: Re: [PATCH] add persistent history to irb Hi -- On Sun, 20 Feb 2005, Eric Hodel wrote: > On 19 Feb 2005, at 06:34, David A. Black wrote: > >> Hi -- >> >> I've often wanted the up-arrow in irb to give me my history from the >> previous session. Well, now it does :-) Patch follows, in the hope >> that this (or equivalent) might make it into the real irb. > > How will this conflict with using the Readline powered history? > > http://rubygarden.org/ruby?Irb/TipsAndTricks Cool -- I hadn't seen that one before. > Perhaps the Readline-powered version and the simple version could be added to > an irb/history.rb, and if Readline doesn't exist, fall back to the simpler > version? I'm not sure what you mean by "Readline-powered" vs. "simple". Both versions depend on the presence of Readline. I'm not sure how else one would do it. David -- David A. Black dblack@wobblini.net