[erlang-questions] Getting a password from escript / I/O server introduction

Joe Armstrong erlang@REDACTED
Thu Nov 24 21:30:28 CET 2011


The undocumented io:get_password() might  do what you want.

try:

> X = io:get_password().

Sees to work - I've no idea why it's not documented.

/Joe

On Wed, Nov 23, 2011 at 11:12 PM, Alex Shneyderman
<a.shneyderman@REDACTED>wrote:

> > (On a related note, it seems that it's impossible to get user input
> > without echoing anything to the screen.)
>
> I use io:get_line("") for echo-less prompt.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111124/168cdc72/attachment.htm>


More information about the erlang-questions mailing list