[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: Keith Thompson
Subject: Re: Bug in bash 4.4-beta: suspending and restarting "man" program
Date: Mon, 9 Nov 2015 14:55:41 -0800

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).

I've been playing with rxvt and urxvt lately, which might explain why I've seen the problem. Apparently there's some
difference between xterm and rxvt in the way they invoke the shell.

Details at:


On Sat, Oct 31, 2015 at 12:45 PM, Keith Thompson <keithsthompson@gmail.com> wrote:
$ trap
trap -- 'show_error' ERR
$ type show_error
show_error is a function
show_error () 
    printf "\e[1mExit $?\e[m\n" 1>&2

On Sat, Oct 31, 2015 at 12:00 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
Keith Thompson <keithsthompson@gmail.com> writes:

> For a while, I had two running login shells, one that had the problem
> and one that didn't.  Comparing the output of "set" and "shopt" from
> both shells didn't show any differences that could explain this.

What's the output of trap?


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."


Keith Thompson <Keith.S.Thompson@gmail.com>

reply via email to

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