[IPython-user] Resetting the terminal

Fernando Perez fperez.net@gmail....
Tue Nov 20 16:49:32 CST 2007


On Nov 20, 2007 3:08 PM, Lev Givon <lev@columbia.edu> wrote:
> Received from Jose Gomez-Dans on Tue, Nov 20, 2007 at 04:58:45PM EST:
>
> > Hi!
> > While using ipython (0.8.1 from Andrew Straw's Ubuntu i386 repo, but also on
> > other ipython versions) I have stumbled across this: sometimes my terminal
> > becomres fuddled (no line feeds, strange symbols...). In my konsole (or
> > xterm), I solve that by invoking "reset", which reasuringly clears the
> > screen and sorts everything out. In ipython, reset is reserved, so I can
> > only stop ipython, go into the shell, and issue the reset there. Is there
> > some other way to solve this?
> >
> > Cheers,
> > Jose
>
> You can run the terminal reset command (and other system commands, for
> that matter) from the ipython prompt by prefacing them with a "!"
> sign:
>
> !reset

Yup, that's my solution too.

And BTW, if anyone ever finds a *reproducible* way of triggering this
bug, please post it.  It hits me from time to time and I hate it, but
I have never figured out what triggers it, so I don't even know where
to begin looking for a solution.

Cheers,

f


More information about the IPython-user mailing list