[#4479] Requesting addition to IRB (configurable standard output) — Sascha Ebach <se@...>

Hello,

13 messages 2005/02/24
[#4482] Re: Requesting addition to IRB (configurable standard output) — Sam Roberts <sroberts@...> 2005/02/25

Quoting se@digitale-wertschoepfung.de, on Fri, Feb 25, 2005 at 01:22:34AM +0900:

[#4483] Re: Requesting addition to IRB (configurable standard output) — Eric Hodel <drbrain@...7.net> 2005/02/25

On 24 Feb 2005, at 19:51, Sam Roberts wrote:

[#4488] Re: Requesting addition to IRB (configurable standard output) — Sam Roberts <sroberts@...> 2005/02/26

Quoting drbrain@segment7.net, on Sat, Feb 26, 2005 at 02:43:31AM +0900:

[#4489] Re: Requesting addition to IRB (configurable standard output) — Eric Hodel <drbrain@...7.net> 2005/02/26

On 25 Feb 2005, at 16:03, Sam Roberts wrote:

Re: [PATCH] add persistent history to irb

From: Eric Hodel <drbrain@...7.net>
Date: 2005-02-19 18:41:52 UTC
List: ruby-core #4451
On 19 Feb 2005, at 10:36, David A. Black wrote:

> 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.

Ah!  I thought your version was Readline-free, because it made no 
explicit checks.  (Not everybody has Readline ruby libraries 
installed.)

-- 
Eric Hodel - drbrain@segment7.net - http://segment7.net
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04

Attachments (1)

PGP.sig (186 Bytes, application/pgp-signature)

In This Thread