Re: exec doesn't restore terminal signals

2015-07-30 Thread Chet Ramey
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

Re: exec doesn't restore terminal signals

2015-07-28 Thread Stephane Chazelas
2015-07-28 11:48:54 +0200, Andreas Schwab: > 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 > > Andreas.

exec doesn't restore terminal signals

2015-07-28 Thread Andreas Schwab
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 Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprin