* Copyright (c) 1988 Mark Nudleman
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
* %sccs.include.redist.c%
static char sccsid
[] = "@(#)ttyin.c 8.1 (Berkeley) %G%";
* Routines dealing with getting input from the keyboard (i.e. from the user).
* Open keyboard for input.
* (Just use file descriptor 2.)
* Get a character from the keyboard.
result
= iread(tty
, &c
, 1);
* Don't call error() here,
* because error calls getchr!