samba-bugs@samba.org
2004-Dec-08  10:21 UTC
[Bug 2130] New: suppressing progress bar when not the foreground process
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@samba.org
        ReportedBy: lukem@NetBSD.org
         QAContact: rsync-qa@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.
Possibly Parallel Threads
- [Bug 2130] suppressing progress bar when not the foreground process
- [Bug 2130] suppressing progress bar when not the foreground process
- Foreground process possible?
- [PATCH] run: Actually use timeout --foreground option (RHBZ#1025269).
- [ wxruby-Bugs-7386 ] Setting Gauge background/foreground colours in wxruby2-preview
