# HG changeset patch # User Richard M. Stallman # Date 753177017 0 # Node ID 4414ceac33dcdd085cda79541ba6ed9d9ca7c13a # Parent 51d0545729fa9c42b26e5b5c23fe5883522df87c (read_avail_input) [no FIONREAD]: On DGUX, as on USG, read input with O_NDELAY. diff -r 51d0545729fa -r 4414ceac33dc src/keyboard.c --- 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);