aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 48d39235e3f..f6d6704b373 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -7507,12 +7507,6 @@ input_available_signal (signo)
7507{ 7507{
7508 /* Must preserve main program's value of errno. */ 7508 /* Must preserve main program's value of errno. */
7509 int old_errno = errno; 7509 int old_errno = errno;
7510#if defined (USG) && !defined (POSIX_SIGNALS)
7511 /* USG systems forget handlers when they are used;
7512 must reestablish each time */
7513 signal (signo, input_available_signal);
7514#endif /* USG */
7515
7516 SIGNAL_THREAD_CHECK (signo); 7510 SIGNAL_THREAD_CHECK (signo);
7517 7511
7518#ifdef SYNC_INPUT 7512#ifdef SYNC_INPUT
@@ -7595,12 +7589,6 @@ handle_user_signal (sig)
7595 int old_errno = errno; 7589 int old_errno = errno;
7596 struct user_signal_info *p; 7590 struct user_signal_info *p;
7597 7591
7598#if defined (USG) && !defined (POSIX_SIGNALS)
7599 /* USG systems forget handlers when they are used;
7600 must reestablish each time */
7601 signal (sig, handle_user_signal);
7602#endif
7603
7604 SIGNAL_THREAD_CHECK (sig); 7592 SIGNAL_THREAD_CHECK (sig);
7605 7593
7606 for (p = user_signals; p; p = p->next) 7594 for (p = user_signals; p; p = p->next)
@@ -11089,13 +11077,6 @@ interrupt_signal (signalnum) /* If we don't have an argument, */
11089 int old_errno = errno; 11077 int old_errno = errno;
11090 struct terminal *terminal; 11078 struct terminal *terminal;
11091 11079
11092#if defined (USG) && !defined (POSIX_SIGNALS)
11093 /* USG systems forget handlers when they are used;
11094 must reestablish each time */
11095 signal (SIGINT, interrupt_signal);
11096 signal (SIGQUIT, interrupt_signal);
11097#endif /* USG */
11098
11099 SIGNAL_THREAD_CHECK (signalnum); 11080 SIGNAL_THREAD_CHECK (signalnum);
11100 11081
11101 /* See if we have an active terminal on our controlling tty. */ 11082 /* See if we have an active terminal on our controlling tty. */
@@ -11304,11 +11285,7 @@ See also `current-input-mode'. */)
11304 { 11285 {
11305 /* When using X, don't give the user a real choice, 11286 /* When using X, don't give the user a real choice,
11306 because we haven't implemented the mechanisms to support it. */ 11287 because we haven't implemented the mechanisms to support it. */
11307#ifdef NO_SOCK_SIGIO
11308 new_interrupt_input = 0;
11309#else /* not NO_SOCK_SIGIO */
11310 new_interrupt_input = 1; 11288 new_interrupt_input = 1;
11311#endif /* NO_SOCK_SIGIO */
11312 } 11289 }
11313 else 11290 else
11314#endif /* HAVE_X_WINDOWS */ 11291#endif /* HAVE_X_WINDOWS */