[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in bash 4.4-beta: suspending and restarting "man" program

From: Chet Ramey
Subject: Re: Bug in bash 4.4-beta: suspending and restarting "man" program
Date: Tue, 10 Nov 2015 10:33:37 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 11/9/15 5:55 PM, Keith Thompson wrote:
> I have some more information on this.  In the latest test,
> the problem occurs when I run bash under rxvt, but not when I run it under
> xterm.
> Using strace, I've found a difference in a call to rt_sigaction().  It calls
> rt_sigaction(SIGTSTP, {SIG_DFL, ...})
> under xterm (which works correctly), but
> rt_sigaction(SIGTSTP, {SIG_IGN, ...})
> under rxvt (where it doesn't).

This can happen if SIGTSTP is ignored when the shell is invoked.  When
bash restores the original signal dispositions in child processes, it
restores SIG_IGN.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]