delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/27/04:49:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <004301c3242b$aef60be0$200aa8c0@thorin>
From: "Carlo Florendo" <carlo AT astra DOT ph>
To: <cygwin AT cygwin DOT com>
References: <000901c32425$d24fc960$200aa8c0 AT thorin> <20030527081214 DOT GD19957 AT cygbert DOT vinschen DOT de>
Subject: Re: is getpass function in cygwin obsolete?
Date: Tue, 27 May 2003 16:40:53 +0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

----- Original Message -----
From: "Corinna Vinschen" <corinna-cygwin AT cygwin DOT com>
To: <cygwin AT cygwin DOT com>
Sent: Tuesday, May 27, 2003 4:12 PM
Subject: Re: is getpass function in cygwin obsolete?


> On Tue, May 27, 2003 at 03:58:33PM +0800, Carlo Florendo wrote:
> > [getpass]
> >
> > "This function is obsolete.  Do not use it."
> >
> > http://www.opengroup.org/onlinepubs/007908799/xsh/unistd.h.html
> > and it labels the function as "legacy".
> >
> > I've googled the definition of legacy functions using the keywords:
> > 1. "legacy functions"
> > 2.  C, "legacy code"
> > [...]
> > but I could only guess what legacy code means.   (obsolete?, deprecated?, not supported anymore?)
>
> "Legacy" are functions which are defined in some early OSes (say,
> System 7) and which have turned out to be not exactly useful or
> their definition is dumb or something.  They are obsolete, deprecated
> and not really supported anymore ;-)  They won't live any longer
> than absolutely necessary and we will stop supporting it really soon
> now, probably in 2045 or so.

Thanks a lot for that Corinna :)  I've read further on the opengroup's documentation on getpass and under the Application Usage
section, it says "This function was marked LEGACY since it provides no functionality which a user could not easily implement, and
its name is misleading".

So does my alternative mean that I'd implement my own routine to read passwords with nothing at all being echoed, or is there a
newer function that has overridden getpass and is provided under cygwin?

Thanks a lot!

Best Regards,

Carlo




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019