🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #41884

Password Entry Routines (Re: MS-DOS call to read without echo)

#41884
From: Rick Schaut
Date: Wed, 07 Feb 1990 20:45
23 lines
1423 bytes
In article <V&5S`+@rpi.edu> mcintyre@turing.cs.rpi.edu (David McIntyre) writes:
| In article <1036@spocm2.UUCP> lhv@spocm2.UUCP (Leo Vermeulen) writes:
| >
| >I have the following problem: I'm trying to write a C-program, using
| >Microsoft-C 5.1, that reads a character string from the keyboard and
| >assigns it to an character array. Since this string is supposed to be
| >a password, I do not want it echoed to the display.
| >
| >Any responses, by e-mail, would be greatly appreciated.
| >
| 
| I sent Leo a response by email, but in case anyone else is wondering
| about this:  MSC5.1 has a function called getch(), which gets a
| character from the console without echo.  

I don't know about MSC, but Borland's Turbo C 2.0 has a getpass routine
that takes a pointer to a prompt and returns the characters entered without
echoing those characters to the screen.

--
Rick (schaut@garfield.cs.wisc.edu)

Peace and Prejudice Don't Mix! (unknown add copy)
Technical Details
Message-ID: <4258@daffy.cs.wisc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uwvax!daffy!cat9.cs.wisc.edu!schaut
References: <1036@spocm2.UUCP> <V&5S`+@rpi.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uwvax!daffy!cat9.cs.wisc.edu!schaut
From: schaut@cat9.cs.wisc.edu (Rick Schaut)
Newsgroups: comp.sys.ibm.pc
Subject: Password Entry Routines (Re: MS-DOS call to read without echo)
Message-ID: <4258@daffy.cs.wisc.edu>
Date: 7 Feb 90 20:45:38 GMT
References: <1036@spocm2.UUCP> <V&5S`+@rpi.edu>
Sender: news@daffy.cs.wisc.edu
Organization: U of Wisconsin CS Dept
Lines: 23