[issue11650] CTRL-Z causes interpreter exit
Steffen Daode Nurpmeso
report at bugs.python.org
Wed Mar 23 15:15:54 CET 2011
Steffen Daode Nurpmeso <sdaoden at googlemail.com> added the comment:
On Wed, Mar 23, 2011 at 02:05:46PM +0000, Charles-Francois Natali wrote:
> What's the problem here ?
> CTRL-Z causes the controlling terminal to send a SIGTSTP to the process, and the default handler stops the process, pretty much like a SIGSTOP.
> If you don't want that to happen:
> import signal
> signal.signal(signal.SIGTSTP, signal.SIG_IGN)
(What's happening: it's so unresponsive when i try your code .. :)
Rather, i want an interactive python to integrate itself
neatlessly into normal shell job control, say!
Thus i always hope that a program takes care about SIGCONT!!
I'm stuck here, grep(1)ing everywhere and only find
Modules/signalmodule.c for SIGCONT and SIGTSTP (it's *NOT* SunOS).
Where is Python handling job control?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11650>
_______________________________________
More information about the Python-bugs-list
mailing list