[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exec doesn't restore terminal signals
From: |
Chet Ramey |
Subject: |
Re: exec doesn't restore terminal signals |
Date: |
Thu, 30 Jul 2015 11:14:51 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
On 7/28/15 5:48 AM, Andreas Schwab wrote:
> Running exec in an interactive shell does not restore the terminal
> signals TSTP, TTIN, TTOU, causing them to be ignored in the new command.
>
> $ trap
> $ exec bash
> $ trap
> trap -- '' SIGTSTP
> trap -- '' SIGTTIN
> trap -- '' SIGTTOU
Thanks for the report. This will be fixed in the next release of bash.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/