On 15.04.2007 17:20, greg wrote:
> I want to output some text to the the terminal and allow the user to
> edit it.  Like the ability you get when using irb and go back in the
> history.  Basically a readline but the outputted text would be
> editable instead of a prompt.  I cannot find any way to do this using
> standard tools or with any libraries.  Any help is greatly appreciated.

If you are on some kind of Unix your favorite shell usually offers this 
service.  IIRC Ruby comes with readline built in, so you might be able 
to use it from a Ruby program.  Does that help?

Kind regards

	robert