[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
To read a password to pass to another program, you can use the
function read-passwd
.
The optional argument confirm, if non-nil
, says to read the
password twice and insist it must be the same both times. If it isn't
the same, the user has to type it over and over until the last two
times match.
The optional argument default specifies the default password to
return if the user enters empty input. If default is nil
,
then read-passwd
returns the null string in that case.