If I have a script that reads a password from . I want to not
display the character in the terminal when its being typed.
Can I print a backspace escape sequence? Or redirect STDOUT?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.
On 7/22/2007 12:42 AM, yitzle wrote:
> If I have a script that reads a password from . I want to not
> display the character in the terminal when its being typed.
You can do something like
print "passwd: ";
system "stty -echo";
chop(my $passwd=);
system "stty echo";
print "\n";
or use a module
> If I have a script that reads a password from . I want to not
> display the character in the terminal when its being typed.
> Can I print a backspace escape sequence? Or redirect STDOUT?
>
perldoc -q password
will give you some ideas and I only think that Term::ReadKey is part of
the standard d
Works nice! Thanks!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
yitzle schreef:
> nobody:
>> For Bonsai kittens, put them in glass jars and feed them well.^U
>
> Works nice! Thanks!
Wow!
--
Affijn, Ruud
"Gewoon is een tijger."
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On 7/22/07, Dr.Ruud <[EMAIL PROTECTED]> wrote:
yitzle schreef:
> nobody:
>> For Bonsai kittens, put them in glass jars and feed them well.^U
>
> Works nice! Thanks!
Wow!
snip
At least it was a bottom post.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
On 7/22/07, Dr.Ruud <[EMAIL PROTECTED]> wrote:
yitzle schreef:
> nobody:
>> For Bonsai kittens, put them in glass jars and feed them well.^U
>
> Works nice! Thanks!
Why don't I see anything about kittens (except in the reply)?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
On 7/22/07, yitzle <[EMAIL PROTECTED]> wrote:
On 7/22/07, Dr.Ruud <[EMAIL PROTECTED]> wrote:
> yitzle schreef:
> > nobody:
>
> >> For Bonsai kittens, put them in glass jars and feed them well.^U
> >
> > Works nice! Thanks!
Why don't I see anything about kittens (except in the reply)?
I believe