tty settings with rsync -e ssh interrupt

Hardy Merrill hmerrill at redhat.com
Fri Feb 7 08:19:36 EST 2003


jw schultz [jw at pegasys.ws] wrote:
> On Thu, Feb 06, 2003 at 03:46:11PM -0500, Hardy Merrill wrote:
> > I'm following up on a bug reported back in May 2002:
> > 
> >   https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=64689
> > 
> > this bug was also reported to the rsync mailing list:
> > 
> >   http://www.mail-archive.com/rsync@lists.samba.org/mail5.html#04250
> > 
> > I couldn't find any discussion other than the reporters post
> > describing the problem.
> > 
> > Anyway, I just downloaded the new rsync-2.5.6 source, installed
> > it, and found that the bug still exists.  This problem shows
> > itself when using "-e ssh", and Ctrl-C'ing at the ssh password
> > prompt - the terminal gets screwed up.
> > 
> > Anyone have any insight on this?
> > 
> > Thanks.
> > 
> > -- 
> > Hardy Merrill
> > Senior Software Engineer
> > Red Hat, Inc.
> 
> Blame ssh.  It is failing to restore the tty settings.

Please excuse my naivete - I'm a relative newbie to rsync - how
come when you run ssh by itself and Ctrl-C at the password
prompt, your terminal is fine?  Why is it only affected when
run with -e from rsync?

Thanks.

Hardy


More information about the rsync mailing list