From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 3 Sep 2010 10:25:09 -0400 Message-ID: Subject: Re: [9fans] P9p on Fedora 12 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 4e2c3576-ead6-11e9-9d60-3106f5b1d025 > thanks for this. =C2=A0sleep(1) helped only rarely, > sleep(10) helps most of the time. =C2=A0unfortunately > 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