| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
write error or by receiving SIGPIPE. This avoids leaving the tty in a
mess. Probably addresses PR 30287.
|
| |
|
|
|
|
|
| |
handle and default to 64k instead of the 1k (BUFSIZ) static buffer.
This makes a large difference in performance of some applications.
Make the buffer size tunable from the command line.
|
|
|
| |
Suggested by Slava Semushin <slava.semushin@gmail.com> in private email.
|
|
|
|
|
|
| |
* remove unneeded {}s
* add some whitespace for readability
Contributed by Slava Semushin <slava.semushin@gmail.com> in private mail.
|
|
|
|
|
|
|
|
|
| |
Instead of reporting some bogus values, print no progress at all.
(It's beyond me why stat(2) on a pipe returns funny values...
see the PR below for some examples!)
Fixes PR bin/33207 by myself.
OK'd by mrg@
|
|
|
|
|
| |
This adds a -e option to progress which causes the progress bar to be
sent to stderr. This allows using progress mid-pipe, such as:
tar -cf . | progress -e bzip -1c | ssh host "cat > file"
|
|
|
|
|
| |
Decode gzip -l output with strtoimax() (not sscanf()) so we don't use an
uninitialised variable if the output format isn't what we expect.
This might fix some installation PRs (no error being reported)
|
|
|
| |
Provide an example of copying raw disks using dd, with a progress bar.
|
|
|
|
|
|
|
|
|
| |
miyu# cat openoffice-linux-1.1.0.tgz | progress -z -p 'Bytes written: ' dd of=/dev/null bs=1m
Bytes written: 193 MB 13.83 MB/s 0+195211 records in
and:
miyu# progress -f openoffice-linux-1.1.0.tgz -z -p 'Bytes written: ' dd of=/dev/null bs=1m
Bytes written: 28% |****** | 57919 KB 14.12 MB/s 00:09 ETA
OK'd by lukem.
|
|
|
| |
before we even start when run from sysinst. Thanks also Takao Shinohara.
|
|
|
|
|
|
|
|
|
| |
Closes bin/20275, thank you Takao Shinohara: good analysis.
This program appeared less than 3 weeks ago and it has already been
pulled up to 1.6.1? At the last minute? And with serious bugs?
ISTM that the release branch isn't supposed to work that way. It
isn't stable, it had 4 patches in 2 days, and has averaged a
patch every 4 days during its short lifetime.
|
| |
|
|
|
| |
progress' output ugly.
|
| |
|
| |
|
|
(pulled in via reachover makefile) suitable for measuring the
input to arbitrary pipes.
This is intended for use by sysinst.
|