Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
irb-history 1.0.0: Persistent, shared Readline history for IRB
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sam Stephenson  
View profile  
 More options Jun 18 2005, 2:36 am
Newsgroups: comp.lang.ruby
From: Sam Stephenson <sstephen...@gmail.com>
Date: Sat, 18 Jun 2005 15:36:02 +0900
Local: Sat, Jun 18 2005 2:36 am
Subject: [ANN] irb-history 1.0.0: Persistent, shared Readline history for IRB
irb-history 1.0.0
-----------------
irb-history gives IRB persistent, shared Readline history by way of
Distributed Ruby (DRb). What does that mean?

Persistent

irb-history-server stores its history in YAML in a file of your choice (the
default is ~/.irb_history).

Shared

Load the irb-history client in your ~/.irbrc, and you'll instantly have
access to the irb-history store. Every line you type is sent to the server
and will appear in other clients' histories immediately.

Because irb-history uses DRb, you can share your history with other IRB
sessions:

    * on the same computer
    * on other computers on your local network
    * on computers connected to the Internet (fun, but not recommended :))

Installation and usage
----------------------
It's a simple process:

   1. Install the gem.
        $ gem install irb-history

   2. Start a history server listening on 127.0.0.1, port 26501 (see the
      irb-history-server documentation for more options).
        $ irb-history-server -d

      Note: If you wish to use irb-history on a network, you'll need to
      pass the -h flag with an appropriate address to listen on.

   3. Add three lines to your ~/.irbrc.
        require 'rubygems'
        require 'irb/history'
        IRB::History.start_client

      This connects to the history server on 127.0.0.1, port 26501. If you
      need to specify a different host and/or port, just pass a DRb URI to
      start_client. For example:
        IRB::History.start_client 'druby://galt:4000'
      connects to the history server on host galt, port 4000.

Source code
-----------
Check out the darcs repository:
  $ darcs get http://dev.conio.net/repos/irb-history
RDoc documentation:
  http://irb-history.rubyforge.org/rdoc/

irb-history is freely distributable under the terms of a MIT-style license.
Enjoy!

--
Sam Stephenson
http://conio.net/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Walrond  
View profile  
 More options Jun 18 2005, 4:56 am
Newsgroups: comp.lang.ruby
From: Andrew Walrond <and...@walrond.org>
Date: Sat, 18 Jun 2005 17:56:12 +0900
Local: Sat, Jun 18 2005 4:56 am
Subject: Re: [ANN] irb-history 1.0.0: Persistent, shared Readline history for IRB
On Saturday 18 June 2005 07:36, Sam Stephenson wrote:

> irb-history 1.0.0
> -----------------
> irb-history gives IRB persistent, shared Readline history by way of
> Distributed Ruby (DRb). What does that mean?

One less thing on _my_ wishlist :)

I'll be testing this out asap!

Andew Walrond


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »