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

Joe Armstrong <>
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
<>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
> 
> 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.html>


More information about the erlang-questions mailing list