tty screwed up on ctrl-c
wayned at samba.org
Wed Dec 17 10:33:29 EST 2003
On Tue, Dec 16, 2003 at 10:45:12PM +0100, Paul Slootman wrote:
> I've noticed (at least when using -e ssh) that if ssh prompts for a
> password or such, and you hit ctrl-c, you're more often than not left
> with a tty with screwed up settings.
Thanks for re-mentioning this patch. It does have the advantage of
being a very simple change, and thus having little chance of causing
problems. However, it is a kluge rather than a fix, so there's no
actual guarantee that ssh will really have time to do its cleanup in
all circumstances, it simply becomes more likely.
I'd be in favor of allowing this for the 2.6.0 release, though, and
then trying to implement a better fix in the future.
More information about the rsync