changeset 562:0d73d7b5fff0

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Sun, 23 Feb 1992 07:55:19 +0000
parents a819dc25b9e7
children 5080bb8d0593
files src/keyboard.c
diffstat 1 files changed, 6 insertions(+), 38 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Sat Feb 22 21:47:46 1992 +0000
+++ b/src/keyboard.c	Sun Feb 23 07:55:19 1992 +0000
@@ -37,25 +37,15 @@
 #include <setjmp.h>
 #include <errno.h>
 
-#include "emacssignal.h"
+#ifndef VMS
+#include <sys/ioctl.h>
+#endif
+
+#include "syssignal.h"
+#include "systerm.h"
 
 extern int errno;
 
-/* Get FIONREAD, if it is available.  */
-#ifdef USG
-#include <termio.h>
-#include <fcntl.h>
-#else /* not USG */
-#ifndef VMS
-#include <sys/ioctl.h>
-#endif /* not VMS */
-#endif /* not USG */
-
-/* UNIPLUS systems may have FIONREAD.  */
-#ifdef UNIPLUS
-#include <sys.ioctl.h>
-#endif
-
 #ifdef HAVE_X_WINDOWS
 extern Lisp_Object Vmouse_grabbed;
 
@@ -334,22 +324,6 @@
 /* nonzero means use ^S/^Q for flow control.  */
 int flow_control;
 
-#ifndef BSD4_1
-#define sigfree() sigsetmask (SIGEMPTYMASK)
-#define sigholdx(sig) sigsetmask (sigmask (sig))
-#define sigblockx(sig) sigblock (sigmask (sig))
-#define sigunblockx(sig) sigblock (SIGEMPTYMASK)
-#define sigpausex(sig) sigpause (0)
-#endif /* not BSD4_1 */
-
-#ifdef BSD4_1
-#define SIGIO SIGTINT
-/* sigfree and sigholdx are in sysdep.c */
-#define sigblockx(sig) sighold (sig)
-#define sigunblockx(sig) sigrelse (sig)
-#define sigpausex(sig) sigpause (sig)
-#endif /* BSD4_1 */
-
 /* Allow m- file to inhibit use of FIONREAD.  */
 #ifdef BROKEN_FIONREAD
 #undef FIONREAD
@@ -1183,12 +1157,6 @@
     {
       XSET (c, Lisp_Int, quit_char);
 
-      /* Returning quit_char from this function represents a
-	 resolution to the quit request, so clear the quit flag.
-	 This prevents us from returning quit_char many times
-	 for the same quit request.  */
-      Vquit_flag = Qnil;
-
       waiting_for_input = 0;
       input_available_clear_word = 0;