[Israel.pm] Re: Term::InKey module
Oded S. Resnik
oded at raz.co.il
Sat Dec 11 03:46:59 PST 2004
Term::InKey is using POSIX::::Termios
for setting the input to raw mode and no echo.
You can try to force the use "BadReadkey" internal function
may be this will help.
I've created a new Version 1.04 That will be on CPAN
soon. On this new version just add
$Term::Inkey::BAD_RKEY = 1;
please update me if this solves you problem.
if it does than I will add it to te doconetation
> I downloaded and installed the Term::InKey module to use with my various
> Perl 5.8.5 installations. I first installed it on MacOS X and it worked
> beautifully. However, when I installed it on my Solaris 9 system, it
> doesn't work quite right. When I type the password it echoes the
> that I type and when I press enter, it then prints the "*" character for
> each character I typed. I think I narrowed it down to the setting of the
> flags. If, on MacOS X, I comment out the "$x->setattr(0);" line in the
> ReadKey function, the resulting functionality is like that on Solaris.
> Specifically, I think it has something to do with the "l flag" (i.e. the
> Unfortunately, being fairly inexperienced with Perl and the various Perl
> modules, this is as far as I have been able to get. I hope you can help.
> David P. Peak
> Dave at dPeak.net
> 913-484-7325 Mobile
> 913-894-1650 Home
More information about the Perl