Commit Graph

14 Commits

Author SHA1 Message Date
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
briggs ac798ebce1 Dynamically allocate the buffer used for reading data from the input
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.
2007-06-06 17:49:14 +00:00
lukem 3d05e3a2bc Update example to use KiB per recent change to ../ftp/progressbar.c 2007-04-12 06:31:20 +00:00
wiz 1f5df3a237 Bump date for -e. 2006-01-12 21:52:01 +00:00
garbled ddd39082c1 Apply patch from PR bin/28717
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"
2006-01-12 20:33:20 +00:00
lukem f9f551db32 Support strsuftoll(3) suffixes for '-l length'.
Provide an example of copying raw disks using dd, with a progress bar.
2004-04-03 06:19:22 +00:00
hubertf 89cb93c02e -z actually passes the input file through gunzip(1).
Having an option to really pass it through gzip(1) would be nice...
2004-03-25 20:29:51 +00:00
wiz 610cd4021b Drop trailing whitespace. 2004-03-09 19:04:09 +00:00
hubertf 849866f9c1 Allow custom text printed before (left of) the progress bar from progress(1):
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.
2004-03-09 17:04:24 +00:00
grant 2ceb845887 The correct capitalisation of 'NetBSD.org' is (you
guessed it) 'NetBSD.org'.

some mdoc fixes.
2003-02-14 15:59:16 +00:00
grant 4352e01ddb remove section name comments -- they're in the template. 2003-02-10 23:59:16 +00:00
enami cb5a2282ea Remove second item in BUGS section; it is fixed in progress.c rev. 1.2. 2003-01-22 03:40:33 +00:00
lukem 8d469d6c4b use ftp(1) instead of lukemftp 2003-01-22 02:58:16 +00:00
jhawk 98f6cccbef progress(1) is a standalone version of lukemftp's progress bar
(pulled in via reachover makefile) suitable for measuring the
input to arbitrary pipes.
This is intended for use by sysinst.
2003-01-22 00:14:12 +00:00