Is there any command line editing package?

Hi
I want to develop a command line environment using ruby, it can
- edit the command line online, like vi mode or emacs mode
in bash
- support command history and history searching
- the command is not the real shell command. It is just a
string , when hit enter, this string will pass to another class to
interpret.

    Is there any package to use?
   Or any other advice?

On Jul 24, 2007, at 10:20 AM, haomiao wrote:

   Or any other advice?

Something like Readline?

-Rob

Rob B. http://agileconsultingllc.com
[email protected]

   I want to develop a command line environment using 
    Is there any package to use?

You could also pick up cmd [0], which is no longer in development but is
fairly easily extended and might well suffice for simple cases.

[0] http://rubyforge.org/projects/cmd

On 7 24 , 10 31 , Rob B. [email protected]
wrote:

[email protected]
Yes! the Readline module, thanks