in reply to On to ... Curses and Term::ReadLine

I've never used Curses, so unfortunately I can't help you there. But I wanted to mention that, before you abandon Term::ReadLine completely, it may be easier to simply modify Term::ReadLine::Perl, a Pure Perl implementation of Term::ReadLine, than to create your own from scratch. Again, however, I've never used Curses so it may turn out to be more trouble to modify than it's worth, especially if you need only a limited subset of features from your readline. But regardless, Term::ReadLine::Perl is probably a good place to start, even if just for a good idea how to re-implement it.

bbfu
Black flowers blossom
Fearless on my breath

  • Comment on Re: On to ... Curses and Term::ReadLine

Replies are listed 'Best First'.
Re: Re: On to ... Curses and Term::ReadLine
by Llew_Llaw_Gyffes (Scribe) on May 09, 2003 at 00:38 UTC
    I do indeed need only a limited feature set. Basically I need emacs-style input editing, history, and a somewhat specialized tab-completion.
    I'll look at Term::ReadLine::Perl and see if it does what I need or if it shows me how to do what I need. Thanks for the suggestion.