From ea568777229ffa008b9a26d0ac47e2e856cce2e4 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 18 Jun 2003 14:04:03 +0000 Subject: [PATCH] Use stock (FSF) version of this file from now on. The local hack to reset the terminal window size after info(1) has been asleep and is awakening is superseded by the official fix in Texinfo 4.4. PR: gnu/51733 Submitted by: AIDA Shinra (author of the official fix) --- contrib/texinfo/info/signals.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/contrib/texinfo/info/signals.c b/contrib/texinfo/info/signals.c index 76c3b2ef0066..61e5f97da4f4 100644 --- a/contrib/texinfo/info/signals.c +++ b/contrib/texinfo/info/signals.c @@ -1,6 +1,5 @@ /* signals.c -- install and maintain Info signal handlers. $Id: signals.c,v 1.4 2003/01/29 19:23:22 karl Exp $ - $FreeBSD$ Copyright (C) 1993, 1994, 1995, 1998, 2002, 2003 Free Software Foundation, Inc. @@ -114,7 +113,7 @@ static int term_conf_busy = 0; #endif /* !HAVE_SIGACTION */ static signal_info old_TSTP, old_TTOU, old_TTIN; -static signal_info old_WINCH, old_INT, old_USR1, old_CONT; +static signal_info old_WINCH, old_INT, old_USR1; void initialize_info_signal_handler () @@ -133,9 +132,6 @@ initialize_info_signal_handler () #if defined (SIGWINCH) set_termsig (SIGWINCH, &old_WINCH); -#if defined (SIGCONT) - set_termsig (SIGCONT, &old_CONT); -#endif #endif #if defined (SIGINT) @@ -238,12 +234,6 @@ info_signal_proc (sig) #if defined (SIGWINCH) || defined (SIGUSR1) #ifdef SIGWINCH -#ifdef SIGCONT - case SIGCONT: - /* pretend a SIGWINCH in case the terminal window size has changed - while we've been asleep */ - /* FALLTHROUGH */ -#endif case SIGWINCH: #endif #ifdef SIGUSR1 @@ -255,10 +245,6 @@ info_signal_proc (sig) #ifdef SIGWINCH if (sig == SIGWINCH) old_signal_handler = &old_WINCH; -#ifdef SIGCONT - else if (sig == SIGCONT) - old_signal_handler = &old_CONT; -#endif #endif #ifdef SIGUSR1 if (sig == SIGUSR1)