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    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to