Mercurial > emacs
diff src/keyboard.c @ 4996:4414ceac33dc
(read_avail_input) [no FIONREAD]: On DGUX, as on USG,
read input with O_NDELAY.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 13 Nov 1993 07:50:17 +0000 |
parents | 2f9a58694d43 |
children | 2802aff49c77 |
line wrap: on
line diff
--- a/src/keyboard.c Sat Nov 13 06:27:28 1993 +0000 +++ b/src/keyboard.c Sat Nov 13 07:50:17 1993 +0000 @@ -3044,7 +3044,7 @@ if (nread > sizeof cbuf) nread = sizeof cbuf; #else /* no FIONREAD */ -#ifdef USG +#if defined(USG) || defined(DGUX) /* Read some input if available, but don't wait. */ nread = sizeof cbuf; fcntl (fileno (stdin), F_SETFL, O_NDELAY);