<<I am writing a C program that uses gets to read a password.
The intrinsic FCONTROL with an item number of 13 should work,
but I don't know where to find the file number of the keyboard.>>
For file-system intrinsics, 'stdin' is a file named &$STDINX& (using
MPE-escaped file names, with ampersand as the delimiter). So, just
HPFOPEN (or FOPEN) $STDINX, and then FCONTROL it.
Steve Dirickson WestWin Consulting
(360) 598-6111 [log in to unmask]