diff options
| author | Paul Eggert | 2014-03-09 15:38:15 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-03-09 15:38:15 -0700 |
| commit | d050de754c22013db5fb8f57650d22581393ed79 (patch) | |
| tree | bb7394e94411377cfcd621f57a6cf1cf03933bc6 /lib-src/ChangeLog | |
| parent | eb67db411128bd47548e4a62d7272df81b75d29a (diff) | |
| download | emacs-d050de754c22013db5fb8f57650d22581393ed79.tar.gz emacs-d050de754c22013db5fb8f57650d22581393ed79.zip | |
Fix emacsclient terminal corruption when in background.
* emacsclient.c (handle_sigcont): Check for tcgetpgrp failure.
Cancel the continue only if tty. Send SIGTTIN to the process
group, not SIGSTOP to self, as this is what the glibc manual
recommends.
(main): If tty, and if started in the background, send SIGTTIN
to the process group.
Fixes: debbugs:16892
Diffstat (limited to 'lib-src/ChangeLog')
| -rw-r--r-- | lib-src/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 8cf73cea5d6..0c3d7d723c5 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2014-03-09 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Fix emacsclient terminal corruption when in background (Bug#16892). | ||
| 4 | * emacsclient.c (handle_sigcont): Check for tcgetpgrp failure. | ||
| 5 | Cancel the continue only if tty. Send SIGTTIN to the process | ||
| 6 | group, not SIGSTOP to self, as this is what the glibc manual | ||
| 7 | recommends. | ||
| 8 | (main): If tty, and if started in the background, send SIGTTIN | ||
| 9 | to the process group. | ||
| 10 | |||
| 1 | 2014-02-25 Andreas Amann <a.amann@ucc.ie> (tiny change) | 11 | 2014-02-25 Andreas Amann <a.amann@ucc.ie> (tiny change) |
| 2 | 12 | ||
| 3 | Fix emacsclient's handling of SIGCONT (Bug#16883). | 13 | Fix emacsclient's handling of SIGCONT (Bug#16883). |