Update the doc on progress bars
r3064
Martin Sjögren
20 years ago
27 | 27 |
- xml
|
28 | 28 |
- Oracle
|
29 | 29 |
* Better API documentation
|
30 | |
* Progress bars (not yet in debconf spec). tentatively this will be driven
|
31 | |
by commands like:
|
32 | |
PROGRESS START <min> <max> <title>
|
33 | |
PROGRESS STEP <step>
|
34 | |
PROGRESS STOP
|
35 | 30 |
|
36 | 31 |
Long term:
|
37 | 32 |
* transactions
|
24 | 24 |
|
25 | 25 |
PROGRESS START <min> <max> <title-template>
|
26 | 26 |
PROGRESS SET <val>
|
|
27 |
PROGRESS STEP <inc>
|
27 | 28 |
PROGRESS INFO <info-template>
|
28 | 29 |
PROGRESS STOP
|
29 | 30 |
|
30 | |
The quick&dirty way would be to just overlay this, since there are no
|
31 | |
conflicts in naming, but that feels like a bad solution. I would rather rip
|
32 | |
out the current code before it gets too widely used.
|
33 | |
|
|
31 |
Now that libdebconf is scrapped in favour of libdebconfclient and
|
|
32 |
everything's incompatible with each other anyway :) I thought I'd get down
|
|
33 |
to implementing this. Also added the progress step as per Petter
|
|
34 |
Reinholdtsen's suggestion below.
|
34 | 35 |
|
35 | 36 |
-Martin
|
|
37 |
|
36 | 38 |
|
37 | 39 |
It will be easier to use progress bars in shell scripts (less code to
|
38 | 40 |
write) if the script don't have to keep track of the current progress
|