> thanks for this.  sleep(1) helped only rarely,
> sleep(10) helps most of the time.  unfortunately
> then there's a race between the invoked program
> turning off echo and 9term turning it back on.
> so "sudo sh" is pretty likely to echo the password
> with the sleep in there.
>
> what a mess.

i just submitted some code that should clean up
the mess.  it does active echo cancellation on its
own, instead of trying to coerce the tty into doing it.

the changes also make win behave the same
way as 9term: if you've done "stty echo" then
you can edit with the mouse, but if not, you can't.
so running "su" doesn't show a password anymore
in win, but you can't use the mouse to edit in an
interactive python session.  win some, lose some.

russ

Reply via email to