aboutsummaryrefslogtreecommitdiffstats
path: root/progressbar.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert back to using an int (instead of size_t) for holding a value that maylukem2005-07-191-5/+4
| | | | | be negative. Fixes progressbar display on terminals <43 columns wide. Bug noted and solution suggested by Gavan Fantom.
* copyright maintenancelukem2005-06-091-3/+3
|
* Printf field widths and size_t don't always mix well, so cast to int.he2005-05-201-3/+3
| | | Fixes build problem for alpha.
* Use size_t instead of int where appropriate.lukem2005-05-191-5/+7
|
* gratuitous whitespace cleanup (before someone else jumps the gun...)lukem2005-04-111-4/+4
|
* Fix compilation issues for NO_PROGRESSjmc2005-02-101-6/+6
|
* Allow custom text printed before (left of) the progress bar from progress(1):hubertf2004-03-091-2/+7
| | | | | | | | | 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.
* 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-281-35/+2
| | | | Remove UCB & WIDE copyrights; the progressbar functionality was written entirely by me under the TNF copyright.
* change a couple #ifdef's so /usr/bin/progress doesn't stomp all overgrant2003-02-121-7/+4
| | | | | the tty if it's not in the foreground. ok'd by jhawk.
* Abstract out progress bar support into progressbar.[ch], for inclusionjhawk2003-01-211-0/+496
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