[IPython-user] Resetting the terminal

Lev Givon lev@columbia....
Tue Nov 20 16:08:55 CST 2007

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 "!"



More information about the IPython-user mailing list