[Bug 2130] New: suppressing progress bar when not the foreground process

samba-bugs at samba.org samba-bugs at samba.org
Wed Dec 8 10:05:38 GMT 2004


https://bugzilla.samba.org/show_bug.cgi?id=2130

           Summary: suppressing progress bar when not the foreground process
           Product: rsync
           Version: 2.6.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: lukem at NetBSD.org
         QAContact: rsync-qa at samba.org


'rsync --progress'  always prints the dynamic progress information, even if the
process is suspended and backgrounded or rsync is started in the background.
This causes the display of the current foreground process on the tty (or shell)
to be scrambled every second as the progress bar is updated.

The solution is to use tcgetpgrp() (on stdout) to verify that rsync is the
foreground process.  I'll provide a patch.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list