Mail Archives: djgpp/1998/05/05/10:56:50
On Tue, 5 May 1998, Ville Lundberg wrote:
> I'm putting up a server and writing a program to it that asks for an
> password. I first wrote the program at home with DJGPP to DOS, and
> thought it would compile in UNIX. But it didn't, and I found out that it
> was because UNIX hasn't GETCH() as DOS does.
You shouldn't have used `getch' in DJGPP either. The canonical way of
reading the password is by calling library function `getpass'. This
function exists in DJGPP as well.
- Raw text -