[ale] Password Blanking

Bob Kruger bkruger at mindspring.com
Mon Oct 26 13:02:38 EST 1998


At 10:32 AM 10/26/98 -0500, you wrote:

>before you prompt for passwd, you need to disable echo by call
> system "stty -echo";
>
>this will stop the terminal from echoing the input on the screen.
>you can enable it after you are done by 
>system "stty echo";

This worked just fine - thanks.

>If you want to be user-friendly, then, you can output (print out) a '*' or
>anything whenever you get a char from the password input. done when the
>char is '\n' or the 'enter'. suppose you know how to this.

Any hints on how to get the '*' to output when entering the password?

Regards - Bob






More information about the Ale mailing list