Bago,<div><br></div><div>Are you on Windows? And if so, how are you launching IPython?<br><br>-MinRK<br><br><div class="gmail_quote">On Wed, Sep 7, 2011 at 17:53, Bago <span dir="ltr">&lt;<a href="mailto:mrbago@gmail.com">mrbago@gmail.com</a>&gt;</span> wrote:<br>

Hi Bago,<br>
<div><div></div><div><br>
On Wed, Sep 7, 2011 at 5:08 PM, Bago &lt;<a href="mailto:mrbago@gmail.com" target="_blank">mrbago@gmail.com</a>&gt; wrote:<br>
&gt; Hi all,<br>
&gt; Sorry if this issue has already been discussed, but I can&#39;t seem to<br>
&gt; find an answer on google. I have a nasty habit of using ctrl-C to clear<br>
&gt; the prompt when I&#39;ve typed something and changed my mind or when<br>
&gt; something is taking longer than it should. When I&#39;m using ipython with<br>
&gt; enthought traits, ctrl-C quits me out of ipython session. You can<br>
&gt; imagine how infuriating it is to hit ctrl-C and loose all my work. I<br>
&gt; realize that this problem is not unique to ipython but I&#39;d appreciate<br>
&gt; any help you guys can offer.<br>
<br>
</div></div>Is the problem reproducible with a few lines of code that you can<br>
provide? the following simple tests:<br>
<br>
from enthought.traits import api as t<br>
class foo(t.HasTraits):<br>
x = t.Int()<br>
f = foo()<br>
f.edit_traits()<br>
run ~/scratch/sleeper.py # script that sleeps so I can Ctrl-C<br>
<br>
<br>
don&#39;t seem to show the problem...<br>
<br>
It&#39;s possible that traits is installing a signal handler in there that<br>
you could override back, but I&#39;d like to see some small example to<br>
reproduce the problem.<br>
<br>
Cheers,<br>
<font color="#888888"><br>
f<br>
</font></blockquote></div><br>
</div></div><br>_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
<br></blockquote></div><br></div>