On Tue, 2006-11-04 at 11:01 -0700, Gavin Bowlby wrote: > Short of learning Perl-curses or writing a full-blown TK-Perl app, are > there any simple techniques - (read: minimum learning time) that I can > use to implement a "protect command prompt" or "retrieve up-arrow key > indication" function?
No, there are no simple techniques. Two choices: use POSIX See `perldoc POSIX` and search for 'termio'. use Term::ReadKey; See http://search.cpan.org/~jstowe/TermReadKey-2.30/ Hint: the POSIX stuff is harder to follow (OK, it's all hard to follow). -- __END__ Just my 0.00000002 million dollars worth, --- Shawn "For the things we have to learn before we can do them, we learn by doing them." Aristotle * Perl tutorials at http://perlmonks.org/?node=Tutorials * A searchable perldoc is at http://perldoc.perl.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>