aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2003-06-18 14:04:03 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2003-06-18 14:04:03 +0000
commitea568777229ffa008b9a26d0ac47e2e856cce2e4 (patch)
treee03c8ef89cf985ef028226e211706311ac2be786 /contrib
parentff4cd97f60e9f04fd8f52abe76e261a027ce8add (diff)
downloadsrc-ea568777229ffa008b9a26d0ac47e2e856cce2e4.tar.gz
src-ea568777229ffa008b9a26d0ac47e2e856cce2e4.zip
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)
Notes
Notes: svn path=/head/; revision=116535
Diffstat (limited to 'contrib')
-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 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)