Bug 11561 - [PATCH] Show progress information when SIGINFO is caught on platforms that have it
[PATCH] Show progress information when SIGINFO is caught on platforms that ha...
Status: NEW
Product: rsync
Classification: Unclassified
Component: core
3.1.2
All All
: P5 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-19 23:30 UTC by Dag-Erling Smørgrav
Modified: 2015-10-19 23:44 UTC (History)
0 users

See Also:


Attachments
Show progress information when SIGINFO is caught (1.68 KB, patch)
2015-10-19 23:30 UTC, Dag-Erling Smørgrav
no flags Details
Show progress information when SIGINFO is caught (1.71 KB, patch)
2015-10-19 23:44 UTC, Dag-Erling Smørgrav
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dag-Erling Smørgrav 2015-10-19 23:30:13 UTC
Created attachment 11508 [details]
Show progress information when SIGINFO is caught

The attached patch causes the receiver to show the current file name and the progress line (same output as --progress) when SIGINFO (traditionally bound to ^T on ttys in BSD derivatives) is caught.  Compare with, for instance, tcpdump, which prints statistics (the same information that it usually prints when you kill it) on SIGINFO.
Comment 1 Dag-Erling Smørgrav 2015-10-19 23:44:34 UTC
Created attachment 11509 [details]
Show progress information when SIGINFO is caught

Updated patch eliminates compiler warning on platforms that lack SIGINFO.