The progress fix listed [quote] - If rsync exits in the middle of a --progress output, it now outputs a newline to prevent the progress line from being overwritten. [/quote] Appears to not work. == Test 1 =CTRL+C is used to abort:- rsync -av --whole-file --progress -e "ssh -p 23" test1:/test/ /test/ receiving incremental file list zone/english/ zone/english/mp_carentan1.ff ^CKilled by signal 2.9.72kB/s 0:00:55 rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(541) [receiver=3.0.3pre2] rsync error: unexplained error (code 255) at rsync.c(541) [generator=3.0.3pre2] == Test 2 =killed remote rsync rsync -av --whole-file --progress -e "ssh -p 23" test1:/test/ /test/ receiving incremental file list zone/english/ zone/english/mp_carentan1.ff rsync: connection unexpectedly closed (11114976 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(635) [receiver=3.0.3pre2] rsync: connection unexpectedly closed (626 bytes received so far) [generator] rsync error: unexplained error (code 137) at io.c(635) [generator=3.0.3pre2] In both cases the progress line is lost Test 1 its corrupted due to overwrite. Test 2 its lost totally. Regards Steve ===============================================This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.
On Wed, Jun 04, 2008 at 03:03:17PM +0100, Steven Hartland wrote:> zone/english/mp_carentan1.ff > ^CKilled by signal 2.9.72kB/s 0:00:55This looks like a system message overwriting the display, which rsync can't control. We could switch over to writing \r at the start of each progress message rather than at the end, and I may do that for the next release.> zone/english/mp_carentan1.ff > rsync: connection unexpectedly closed (11114976 bytes received so far)This overwriting we can improve, and I've checked-in a fix to make this better. ..wayne..