Printing a backspace?

2007-07-21 Thread yitzle
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.

Re: Printing a backspace?

2007-07-21 Thread Jeremy Kister
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

Re: Printing a backspace?

2007-07-21 Thread rcook
> 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

Re: Printing a backspace?

2007-07-21 Thread yitzle
Works nice! Thanks! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Printing a backspace?

2007-07-22 Thread Dr.Ruud
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/

Re: Printing a backspace?

2007-07-22 Thread Chas Owens
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

Re: Printing a backspace?

2007-07-22 Thread yitzle
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

Re: Printing a backspace?

2007-07-22 Thread Chas Owens
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