Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Help!!! I don't want to echo user password in Oracle 7 on Vax in Pro* C
In windows, you can include the <conio.h> and use the getch() function and
it will not echo the input to the screen. I think there is another file you
can include to do the same for other systems, maybe curses.h. I will look
into it. Keep me posted if you figure this out. I would like to know
myself.
Michael
michael.young_at_irp.gatech.edu
mjl <mjl04133_at_iname.com> wrote in message
news:81ao1b$tns$2_at_Masala.CC.UH.EDU...
> Hello,
>
> I have written a Pro *C program on the VAX operating system.
>
> When a user types in his or her password, I do not want the password to
> appear on the screen. I can't find any documentation on how to do this at
> all.
>
> Here is a sample of my code:
>
> printf("\n\nEnter username: ");
> scanf("%s", username.arr);
> username.len = strlen((char *) username.arr);
>
> printf("\nEnter password: ");
> /* set term/noecho;
> system("noecho"); */
> scanf("%s", password.arr);
> password.len = strlen((char *) password.arr);
> /* set term/echo;
> system("noecho"); */
> printf("\n");
>
> Any help would be deeply appreciated. My email address is
> mjl04133_at_iname.com.
>
> Jenene
>
>
>
>
>
>
>
>
>
>
>
Received on Tue Nov 23 1999 - 12:23:41 CST