fish: Implement progress bars in guestfish.
authorRichard Jones <rjones@redhat.com>
Sat, 28 Aug 2010 11:49:55 +0000 (12:49 +0100)
committerRichard Jones <rjones@redhat.com>
Wed, 1 Sep 2010 13:20:02 +0000 (14:20 +0100)
commit54837f6d7ba83178625e2f0c3c063457d9f3f79c
tree5e42d9ea94780b63007edd18e15ec56791b8b719
parent3003df6bbc889c3939e6c478462dc4478d5b89f7
fish: Implement progress bars in guestfish.

The progress bar is updated 3 times per second, and is not displayed
at all for operations which take less than two seconds.

You can disable progress bars by using the flag --no-progress-bars,
and you can enable progress bars in non-interactive sessions with
the flag --progress-bars.

A good way to test this is to use the following command:

guestfish --progress-bars \
          -N disk:10G \
          zero-device /dev/sda

(adjust "10G" to get different lengths of time).
fish/Makefile.am
fish/fish.c
fish/fish.h
fish/guestfish.pod
fish/progress.c [new file with mode: 0644]
fish/reopen.c
fish/rmsd.h [new file with mode: 0644]
po/POTFILES.in