Discussion Locked

C funct to accept password

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I am trying to create a login screen using C. I want the password field to remain invisible. I want a function that will not echo the key pressed by the user to the screen. I will put a * my self.

How to do this.

Sincerely,
Sarat.

5 replies

by wls

Time to start looking at the ncurses library, they have the echoing functions (which muddle with the low level terminal structures) you're interested in.

This discussion is closed to new replies.