summaryrefslogtreecommitdiffstats
path: root/contrib/texinfo
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-06-18 14:04:03 +0000
committerru <ru@FreeBSD.org>2003-06-18 14:04:03 +0000
commit786c022472d2bdbbe26d5e88bb41ce27ce9d09b1 (patch)
treee03c8ef89cf985ef028226e211706311ac2be786 /contrib/texinfo
parent381cfc019fd88d140c50592b193b6b03bc45ce9d (diff)
downloadFreeBSD-src-786c022472d2bdbbe26d5e88bb41ce27ce9d09b1.zip
FreeBSD-src-786c022472d2bdbbe26d5e88bb41ce27ce9d09b1.tar.gz
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)
Diffstat (limited to 'contrib/texinfo')
-rw-r--r--contrib/texinfo/info/signals.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/contrib/texinfo/info/signals.c b/contrib/texinfo/info/signals.c
index 76c3b2e..61e5f97 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)
OpenPOWER on IntegriCloud