Normally, pressing Ctrl-C causes: In [1]: KeyboardInterrupt After importing In [1]: from enthought.mayavi import mlab Ctrl-C terminates ipython without any message. How can I prevent this behaviour? thanks, r.