Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.stanford.edu!not-for-mail From: Andreas Schwab Newsgroups: gnu.bash.bug Subject: Re: Bug in bash 4.4-beta: suspending and restarting "man" program Date: Wed, 11 Nov 2015 10:12:13 +0100 Lines: 31 Approved: bug-bash@gnu.org Message-ID: References: <56334C9E.1090802@case.edu> <87611nwmi0.fsf@igel.home> <56420E51.1060601@case.edu> <56424708.3070204@case.edu> <564259E4.2020805@case.edu> <87vb99bjq1.fsf@igel.home> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: usenet.stanford.edu 1447233252 1822 208.118.235.17 (11 Nov 2015 09:14:12 GMT) X-Complaints-To: action@cs.stanford.edu Cc: Keith Thompson , bug-bash@gnu.org, Chet Ramey To: Keith Thompson Envelope-to: bug-bash@gnu.org X-Virus-Scanned: amavisd-new at mnet-online.de X-Auth-Info: YwbRf9cKJa+KuMyRwbkXQmU7rDpn5ppYALaynw0Rn0ID5Wym0doGwVxV0S/JoL6S X-Yow: ... I live in a FUR-LINE FALLOUT SHELTER In-Reply-To: (Keith Thompson's message of "Tue, 10 Nov 2015 14:42:08 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.18.0.9 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:11866 Keith Thompson writes: > On Tue, Nov 10, 2015 at 1:57 PM, Andreas Schwab > wrote: > >> Chet Ramey writes: >> >> > I can make bash blow away the original signal dispositions and pretend >> they >> > were SIG_DFL when an interactive shell starts, if there is no >> alternative. >> >> Given that login(1) has the same behaviour there is probably no >> alternative. >> >> Hmm. I just tried bash 4.4-beta on a Linux console (Ctrl-Alt-F1), and > Ctrl-Z works correctly. > I verified that the shell's parent process was "login". > Perhaps (at least the Debian version of) login(1) *doesn't* do that. FreeBSD's login does it too. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."