On Wed, 22 Sep 2010 17:23:00 -0500
Kent Yoder <[email protected]> wrote:

> +                     if (count) {
> +                             count--;
> +                             putchar(BACK_SPACE);
> +                             putchar(' ');
> +                             putchar(BACK_SPACE);
> +                             fflush(stdout);
> +                     }
> +                     continue;
> +             } else if ((c != LINE_FEED))
>                       printf("*");
>               fflush(stdout);
> +             count++;
>       }
>       echo(TRUE);

I was hoping we could make this simpler (and more standardized) if we
simply use getpass(3), without worrying about echoing stars or
anything else.

Even if getpass() is marked as obsolete, the idea behind it is
sufficiently simple to implement it by our own if needed.

 -Klaus

-- 
Klaus Heinrich Kiwi | [email protected] | http://blog.klauskiwi.com
Open Source Security blog :     http://www.ratliff.net/blog
IBM Linux Technology Center :   http://www.ibm.com/linux/ltc

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to