Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11268
| Path | csiph.com!aioe.org!news.glorb.com!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Andreas Schwab <schwab@suse.de> |
| Newsgroups | gnu.bash.bug |
| Subject | exec doesn't restore terminal signals |
| Date | Tue, 28 Jul 2015 11:48:54 +0200 |
| Lines | 17 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.7523.1438076946.904.bug-bash@gnu.org> (permalink) |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| X-Trace | usenet.stanford.edu 1438076946 3841 208.118.235.17 (28 Jul 2015 09:49:06 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | bug-bash@gnu.org |
| Envelope-to | bug-bash@gnu.org |
| X-Virus-Scanned | by amavisd-new at test-mx.suse.de |
| X-Yow | YOU!! Give me the CUTEST, PINKEST, most charming little VICTORIAN DOLLHOUSE you can find!! An make it SNAPPY!! |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] |
| X-Received-From | 195.135.220.15 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.14 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <http://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| Xref | aioe.org gnu.bash.bug:11268 |
Show key headers only | View raw
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, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
Back to gnu.bash.bug | Previous | Next | Find similar
exec doesn't restore terminal signals Andreas Schwab <schwab@suse.de> - 2015-07-28 11:48 +0200
csiph-web