Subject: CVS commit: src/usr.bin
To: None <source-changes@NetBSD.org>
From: Hubert Feyrer <hubertf@netbsd.org>
List: source-changes
Date: 03/09/2004 17:04:24
Module Name:	src
Committed By:	hubertf
Date:		Tue Mar  9 17:04:24 UTC 2004

Modified Files:
	src/usr.bin/ftp: progressbar.c progressbar.h
	src/usr.bin/progress: progress.1 progress.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/usr.bin/ftp/progressbar.c
cvs rdiff -r1.3 -r1.4 src/usr.bin/ftp/progressbar.h
cvs rdiff -r1.5 -r1.6 src/usr.bin/progress/progress.1
cvs rdiff -r1.7 -r1.8 src/usr.bin/progress/progress.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.