annoying CL echo in interactive python / ipython

Hrvoje Niksic hniksic at xemacs.org
Tue Oct 19 15:29:12 EDT 2010


Jed Smith <jed at jedsmith.org> writes:

> On Tue, Oct 19, 2010 at 1:37 PM, kj <no.email at please.post> 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