in reply to Shell style line-editing without benefit of CPAN modules
Is there a way to get a line editing function using the arrow keys just using POSIX (or some other standard approach) without access to any of the extended functionality provided by CPAN modules?
Of course. How do you think the author of Term::ReadLine and friends did it? Of particular interest to you might be Term::ReadLine::Zoid, a pure-perl Term::ReadLine implementation.
So perhaps you've guessed by now: There is no functional Term::Readline or Term:Readkey on these systems, and I cannot install one.
Bullshit. You just haven't figured out how to install one yet! Hell, if you succeed in your attempt to reinvent Term::ReadLine you'll have done it via the hardest possible route - recode it by hand! Here's a few easier possibilities:
-sam
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Shell style line-editing without benefit of CPAN modules
by SirBones (Friar) on Nov 18, 2006 at 22:27 UTC | |
by samtregar (Abbot) on Nov 19, 2006 at 00:48 UTC | |
by Ace128 (Hermit) on Feb 01, 2007 at 13:59 UTC | |
by samtregar (Abbot) on Feb 01, 2007 at 22:18 UTC | |
by Ace128 (Hermit) on Feb 02, 2007 at 18:10 UTC | |
|