Is there any command line editing package?

H

haomiao

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?
 
R

Rob Biedenharn

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?

Something like Readline?

http://en.wikipedia.org/wiki/Readline

-Rob

Rob Biedenharn http://agileconsultingllc.com
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top