aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* White space nitjmc2005-02-101-2/+1
|
* Fix compilation issues for NO_PROGRESSjmc2005-02-101-6/+6
|
* Support strsuftoll(3) suffixes for '-l length'.lukem2004-04-032-9/+25
| | | Provide an example of copying raw disks using dd, with a progress bar.
* -z actually passes the input file through gunzip(1).hubertf2004-03-251-2/+2
| | | Having an option to really pass it through gzip(1) would be nice...
* Drop trailing whitespace.wiz2004-03-091-2/+2
|
* Allow custom text printed before (left of) the progress bar from progress(1):hubertf2004-03-094-9/+24
| | | | | | | | | 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.
* Explicitly use base 10 when parsing numbers, to enforce the "decimal number"lukem2004-03-051-6/+8
| | | | semantics that the comments referred to and as per dd(1) (which was the origin of this functionality).
* print max rather than min in error message when numberdbj2004-01-171-3/+3
| | | parsed by strsuftollx is greater than max
* Overhaul how `build.sh tools' are used:lukem2003-10-271-6/+6
| | | | | | | | | | | | | | | | * Rename "config.h" to "nbtool_config.h" and HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H. This makes in more obvious in the source when we're using tools/compat/config.h versus "standard autoconf" config.h * Consistently move the inclusion of nbtool_config.h to before <sys/cdefs.h> so that the former can provide __RCSID() (et al), and there's no need to protect those macros any more. These changes should make it easier to "tool-ify" a program by adding: #if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h" #endif to the top of the source files (for the general case).
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-7/+3
| | | Patches provided by Joel Baker in PR 22280, verified by myself.
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-6/+2
| | | Patches provided by Joel Baker in PR 22270, verified by myself.
* tweak copyright; the stuff jason did in util.c wasn't migrated to this file.lukem2003-07-171-6/+2
|
* Crank dates on TNF copyright.lukem2003-02-282-102/+4
| | | | Remove UCB & WIDE copyrights; the progressbar functionality was written entirely by me under the TNF copyright.
* The correct capitalisation of 'NetBSD.org' is (yougrant2003-02-141-2/+3
| | | | | guessed it) 'NetBSD.org'. some mdoc fixes.
* change a couple #ifdef's so /usr/bin/progress doesn't stomp all overgrant2003-02-122-9/+6
| | | | | the tty if it's not in the foreground. ok'd by jhawk.
* Sigh, use an even more elaborate wait loop; it turns out we have a childross2003-02-121-6/+18
| | | before we even start when run from sysinst. Thanks also Takao Shinohara.
* remove section name comments -- they're in the template.grant2003-02-101-6/+1
|
* Fix a race that can abort a sysinst run.ross2003-02-101-3/+4
| | | | | | | | | 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.
* Use definition in "namespace.h" to rename functions, not home grown.itohy2003-02-081-10/+5
|
* Make this build on non-i386 platforms.agc2003-01-221-3/+4
|
* Drop gratuitous warning for failure to get terminal width; it makes pipingjhawk2003-01-221-3/+2
| | | progress' output ugly.
* Remove second item in BUGS section; it is fixed in progress.c rev. 1.2.enami2003-01-221-13/+1
|
* not all windows have 80 columns.christos2003-01-221-3/+9
|
* Advance a pointer correctly.enami2003-01-221-5/+6
|
* use ftp(1) instead of lukemftplukem2003-01-221-2/+2
|
* need bsd.own.mk for NETBSDSRCDIRlukem2003-01-221-4/+7
|
* progress(1) is a standalone version of lukemftp's progress barjhawk2003-01-223-0/+359
| | | | | (pulled in via reachover makefile) suitable for measuring the input to arbitrary pipes. This is intended for use by sysinst.
* Abstract out progress bar support into progressbar.[ch], for inclusionjhawk2003-01-212-0/+660
| | | | | | | | | | in external programs (conditionalized on -DSTANDALONE_PROGRESS). The following moved from util.c to progressbar.c: alarmtimer(), progressmeter(), psummary(), ptransfer(), xsignal(), xsignal_restart() The following moved from extern.h and ftp_var.h to progressbar.h: STALLTIME, verbose, fromatty, progress, quit_time, ttywidth
* add strsuftoll(3) and strsuftollx(3) - parse a string for a numberlukem2002-11-291-0/+254
| | | | with an optional suffix, product (two numbers separated by `x'), and provide range checking
* Merge in recent changes from the private version of this header distributedkleink1998-07-301-3/+12
| | | with tzcode.
* merge lite-2perry1998-02-021-4/+4
|
* add parens in isleap() for gcc -Wallmikel1997-07-251-2/+2
|
* new RCS ID format.cgd1994-10-261-2/+3
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+151
|
* initial empty check-insrcmastr1992-07-130-0/+0