bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] getpass echoes on many systems


From: Larry Jones
Subject: Re: [Bug-gnulib] getpass echoes on many systems
Date: Thu, 2 Oct 2003 14:11:34 -0400 (EDT)

Bruno Haible writes:
> 
> Or they might have been closed and not reopened... I've looked at the
> manual page of getpass() on Solaris, and it doesn't assume anything about
> stdin or stderr.

My BSD man page does document their usage:

     The getpass() function displays a prompt to, and reads in a password
     from, /dev/tty. If this file is not accessible, getpass displays the
     prompt on the standard error output and reads from the standard input.

For what it's worth, it uses exactly the same test at the end as we did:
in != stdin.

-Larry Jones

It's hard to be religious when certain people are never
incinerated by bolts of lightning. -- Calvin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]