Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #103394

Re: Masking the password entered by the user

From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: Masking the password entered by the user
Date 2017-02-07 09:34 -0800
Organization None to speak of
Message-ID <lnk29129cv.fsf@kst-u.example.com> (permalink)
References <6fb9a4db-5cba-479c-8ee6-82b7146a2e38@googlegroups.com>

Show all headers | View raw


Alla _ <modelling.data@gmail.com> writes:
> One of the functions I have gets a password from the 
> user. I would like to hide characters as they are entered
> by the user.
[snip]

There is no portable way to do this.

See question 19.1 of the comp.lang.c FAQ, <http://www.c-faq.com/>.

The discussion there is a bit out of date.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Masking the password entered by the user Alla _ <modelling.data@gmail.com> - 2017-02-07 09:19 -0800
  Re: Masking the password entered by the user Keith Thompson <kst-u@mib.org> - 2017-02-07 09:34 -0800
  Re: Masking the password entered by the user "James R. Kuyper" <jameskuyper@verizon.net> - 2017-02-07 12:54 -0500
    Re: Masking the password entered by the user Alla _ <modelling.data@gmail.com> - 2017-02-07 10:21 -0800
      Re: Masking the password entered by the user Keith Thompson <kst-u@mib.org> - 2017-02-07 12:16 -0800
  Re: Masking the password entered by the user luser droog <luser.droog@gmail.com> - 2017-02-07 11:10 -0800
  Re: Masking the password entered by the user Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-02-07 19:39 +0000
    Re: Masking the password entered by the user Alla _ <modelling.data@gmail.com> - 2017-02-07 12:21 -0800

csiph-web