getch() in the Unix environment

Dave Kraft davek at lakesys.UUCP
Wed Mar 15 06:52:07 AEST 1989


Hi,
I am writing a password-getting routine, and I am trying to use getch (so that
the characters entered do not echo back).  My problem is that even with 
#include <dos/conio.h> in the source, I get an unresolved externals linker 
error on getch.  Now, I am postitive that getch is in conio.h, because I have
used grep to look for it, and it's in there.  In Turbo C 2.0, there is a 
routine called getpass, and I was wondering if there was anything similar to
this in the Unix/Xenix environment.

Thanks in advance,
Dave

P.S.  I am under SCO Xenix.

-- 
davek at lakesys.lakesys.com -or-
uunet!marque!lakesys!davek
"The meek will inherit the earth, the rest of us will go to the stars"
-- 'Omni' (magazine) button



More information about the Comp.unix.questions mailing list