Commit Graph
103 Commits
Author SHA1 Message Date
Andrew Wood bb6c120691 Replace "zero byte" with "null byte" as per man-pages style guide. 2024-10-15 21:07:04 +01:00
Andrew Wood e657f745f4 Add back the simplest synopsis line. 2024-10-15 21:04:01 +01:00
Andrew Wood 9a1c9173a3 More specific option groups in the synopsis. 2024-10-14 23:37:18 +01:00
Andrew Wood 84651210e6 Manual formatting fix. 2024-10-14 22:46:38 +01:00
Andrew Wood 054183b73a Provide a complete synopsis. 2024-10-14 22:28:05 +01:00
Andrew Wood d0612752f0 Use the right macros for examples and URLs. 2024-10-14 22:02:22 +01:00
Andrew Wood c3a1810890 Remove accidental commit. 2024-10-14 21:49:03 +01:00
Andrew Wood 51de6abbed Formatting correction. 2024-10-14 21:48:44 +01:00
Andrew Wood 94f4a239cc Document the zsh 5.8 issue from #105 in the manual. 2024-10-14 21:46:01 +01:00
Andrew Wood 14a23268ad Mention the new Czech translations. 2024-10-14 21:25:16 +01:00
Andrew Wood 35a9bfe025 Translation acknowledgements update. 2024-10-13 21:53:58 +01:00
Andrew Wood a09ef9576d Acknowledgements update for Czech translations. 2024-10-13 18:02:51 +01:00
Andrew Wood 82edb8cdf1 Escape the @ in @FILE. 2024-10-13 17:18:47 +01:00
Andrew Wood 5ba70e05fc Escape the @ in @FILE. 2024-10-13 17:18:05 +01:00
Andrew Wood 5c036059f8 Escape the @ in @FILE. 2024-10-13 17:16:14 +01:00
Andrew Wood 50df3e415d Make it clearer that new languages can be added by raising an issue. 2024-10-13 13:16:53 +01:00
Andrew Wood b3b385dd06 Formatting correction. 2024-10-13 01:04:20 +01:00
Andrew Wood 1047e9096a Update to translation acknowledgements. 2024-10-13 01:03:15 +01:00
Andrew Wood 1afd3e821a Acknowledgement of --store-and-forward suggestion. 2024-10-06 16:27:51 +01:00
Andrew Wood 9e36b0fdc7 Standardise formatting of options. 2024-10-06 16:24:48 +01:00
Andrew Wood 857637c1fb Acknowledge translations. 2024-10-06 16:16:09 +01:00
Andrew Wood 856da09741 Add a circular buffer of line positions so that in line mode we can work out how many lines are in the unconsumed portion of the output pipe buffer. 2024-10-05 23:04:18 +01:00
Andrew Wood c4cf410a59 Adjusted Markdown formatting. 2024-10-05 20:52:15 +01:00
Andrew Wood 0994dd4070 Note the new MANIFEST file in releases. 2024-10-05 20:32:15 +01:00
Andrew Wood d9a0041870 New --store-and-forward option (#100), including refactoring several areas to allow PV to run in two passes, and the ability to look at the output pipe buffer utilisation to more accurately reflect the total data transferred to the receiving end, rather than just the total amount written to the output buffer. 2024-10-05 16:21:59 +01:00
Andrew Wood ea3787e393 Call posix_fadvise() each time we open a new file, not just on the first one. 2024-10-05 15:00:08 +01:00
Andrew Wood de2fe7f6be Correct the O_DIRECT flag setting to use the output file descriptor rather than assuming stdout. 2024-10-05 14:17:15 +01:00
Andrew Wood c548d1f2d8 Add a "--gauge" option which alters the progress bar to show the current rate as a percentage of the max rate seen, if the size is unknown (#46). 2024-10-04 22:15:14 +01:00
Andrew Wood fbe726e4c4 Add missing three dots to [OPTION] since there can be more than one. 2024-10-04 21:05:06 +01:00
Andrew Wood 9aef419c4c Surround the "--average-rate" average rate with brackets rather than square brackets, to differentiate it from the "--rate" current rate. 2024-10-04 19:59:21 +01:00
Andrew Wood a2c6490d31 Prefix the estimated completion time of "--fineta" with "FIN" rather than "ETA" to differentiate it from the "ETA" provided by "--eta" (#43). 2024-10-04 19:45:08 +01:00
Andrew Wood 4b399995f5 Allow --rate to be used with --numeric (#17). 2024-10-04 19:08:02 +01:00
Andrew Wood 9bd5a518ea New option "--stats", to show a line of statistics about the transfer once it has ended (issue #49). 2024-10-04 15:12:22 +01:00
Andrew Wood 65d568c283 Refactor display and calculation functions to separate them out more cleanly, move more information into the state structure instead of repeating it as function parameters, and fix a memory leak in the whole-PID mode of --watchfd. 2024-10-04 13:27:17 +01:00
Andrew Wood 545769885d Raise a SIGCONT to the whole process group after receiving a SIGTTOU, so that pipelines can be resumed in the background (for example "pv /dev/zero | cat > /dev/null" can now be suspended and put into the background - if we do not send that signal then "cat" remains stopped, as mentioned in issue #56). 2024-10-04 10:24:08 +01:00
Andrew Wood 31d70dae49 Use i18n tag rather than fix. 2024-10-04 08:53:44 +01:00
Andrew Wood 9a639b40b7 Use gmtime() instead of localtime() in debugging output to avoid lockups in signal handlers due to time zone lookups. 2024-10-04 08:53:14 +01:00
Andrew Wood e84f47abc8 Refactor handling of TTOU so that instead of shuffling stderr to another file descriptor and using /dev/null when backgrounded, we set a flag to suspend terminal output, and perform all terminal writes through a new pv_tty_write function which checks that flag. 2024-10-03 23:03:31 +01:00
Andrew Wood 52a720ec33 Improve the readability of the code that handles SIGTTOU. 2024-10-03 22:08:11 +01:00
Andrew Wood 416c61a663 Re-order structure members to minimise padding / holes, after analysis with "pahole" on a 64-bit system. 2024-10-03 22:07:03 +01:00
Andrew Wood 2c8843fc86 Expand the list of places to check for patches and bug reports. 2024-10-03 12:09:09 +01:00
Andrew Wood aa07373c4e Removed TODO.md, since it is just an outdated copy of the issue tracker. 2024-10-03 11:52:30 +01:00
Andrew Wood d5fad8db39 New German translations. 2024-09-29 12:18:11 +01:00
Andrew Wood 4e51afc36c Added a link to the Weblate instance for translations. 2024-09-28 22:09:07 +01:00
Andrew Wood f1f333dc7a Update version to 1.8.14. 2024-09-07 21:33:24 +01:00
Andrew Wood 69a56ced7a Correct double-free on exit when using --watchfd - issue #96. 2024-09-07 21:04:09 +01:00
Andrew Wood 2c468b0bb2 Version bump for new release. 2024-08-18 21:59:32 +01:00
Andrew Wood 60936080da Move the "--size @FILE" file size reading into its own function for clarity; standardise its error message format to "program: file: message: detail"; uniquely name variables; refuse to accept a directory as a file; and with this option, try reading the size of a block device from sysfs if we can, to avoid requiring read permissions on the device. 2024-08-06 23:17:15 +01:00
Andrew Wood ba72056bf2 Version bump. 2024-07-18 22:10:57 +01:00
Andrew Wood 0b12f7db42 Update TODO to reflect issue tracker. 2024-07-18 22:01:36 +01:00