Provide a Progress Meter On a Standard Terminal

Edit Package perl-Term-ProgressBar
http://search.cpan.org/dist/Term-ProgressBar/

Term::ProgressBar provides a simple progress bar on the terminal, to let
the user know that something is happening, roughly how much stuff has been
done, and maybe an estimate at how long remains.

A typical use sets up the progress bar with a number of items to do, and
then calls update to update the bar whenever an item is processed.

Often, this would involve updating the progress bar many times with no
user-visible change. To avoid unnecessary work, the update method returns a
value, being the update value at which the user will next see a change. By
only calling update when the current value exceeds the next update value,
the call overhead is reduced.

Remember to call the '$progress->update($max_value)' when the job is done
to get a nice 100% done bar.

A progress bar by default is simple; it just goes from left-to-right,
filling the bar with '=' characters. These are called *major* characters.
For long-running jobs, this may be too slow, so two additional features are
available: a linear completion time estimator, and/or a *minor* character:
this is a character that _moves_ from left-to-right on the progress bar (it
does not fill it as the major character does), traversing once for each
major-character added. This exponentially increases the granularity of the
bar for the same width.

Refresh
Refresh
Source Files (show unmerged sources)
Filename Size Changed
Term-ProgressBar-2.23.tar.gz 0000019202 18.8 KB
cpanspec.yml 0000000669 669 Bytes
perl-Term-ProgressBar.changes 0000006732 6.57 KB
perl-Term-ProgressBar.spec 0000003280 3.2 KB
Latest Revision
Darin Perusich's avatar Darin Perusich (deadpoint) committed (revision 1)
Comments 0
openSUSE Build Service is sponsored by