annoying CL echo in interactive python / ipython

Hrvoje Niksic hniksic at
Tue Oct 19 21:29:12 CEST 2010

Jed Smith <jed at> writes:

> On Tue, Oct 19, 2010 at 1:37 PM, kj < at> wrote:
>> % stty -echo
> That doesn't do what you think it does.

Really?  Turning off tty echo sounds exactly like what he wants.

Emacs shell echoes characters for you, just like interactive shells do.
When you press enter, the characters are sent to a pseudo-terminal, and
if the pty echoes them, the input string will be printed twice, as the
OP observes.  It is hard to tell what is going wrong in his setup and
whether it has anything to do with tty echoing, but it's a valid guess.

More information about the Python-list mailing list