[erlang-questions] Hiding user input in escript
Wed Jul 23 16:54:56 CEST 2014
Howdy. I believe I submitted a bug, but never followed up and no longer have my sent emails from back then — so not 100% sure.
CTO and Founder / Go Factory
Connecting the Internet of Things
On Jul 23, 2014, at 2:36 AM, Jamiel Almeida <slashfoo@REDACTED> wrote:
> Was this ever submitted as a bug? and if so, do you have a URL to track?
> On Tuesday, March 19, 2013 4:08:11 PM UTC-7, Bryan Hughes wrote:
> Hi Bob,
> Thanks for checking it out! Guess not too many people are writing scripts that need to deal with passwords. I will go ahead and submit it as a bug.
> On 3/19/13 4:01 PM, Bob Ippolito wrote:
>> R16B does not change anything for escript as far as I can tell.
>> On Tue, Mar 19, 2013 at 3:17 PM, Bob Ippolito <b...@REDACTED> wrote:
>> I see io:get_password() in my io module in R15B03, but it doesn't appear to work with escript because it uses the old 'user' rather than 'group' which doesn't understand the get_password io request. Haven't looked at R16B yet.
>> On Tue, Mar 19, 2013 at 2:04 PM, Bryan Hughes <br...@REDACTED> wrote:
>> Hi Everyone,
>> I found this old thread from 2009 about trying to hide user input in an escript (e.g. entering a password).
>> It concluded with:
>>> The problem seems to be that escript uses the old shell, which
>>> does not support any way to control the terminal.
>>> We'll have a look at escript for the next release and see whether
>>> it would be possible to have it run with the standard shell.
>> Does anyone know if this has been fixed. I looked through the docs and do not find io:get_password/0, or any options for reading stdin to not echo the characters back.
>> Looking forward to meeting those of you attending Erlang Factory in a couple of days.
>> Bryan Hughes
>> Go Factory
>> "Art is never finished, only abandoned. - Leonardo da Vinci"
>> erlang-questions mailing list
> Bryan Hughes
> CTO and Founder / Go Factory
> (415) 515-7916
> "Art is never finished, only abandoned. - Leonardo da Vinci"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions