On Mon, Dec 17, 2012 at 02:45:41AM +0000, Ben Hutchings wrote:
> On Mon, 2012-12-17 at 00:11 +0000, Colin Watson wrote:
> [...]
> > Rather than the Sisyphean task of giving all the appropriate utilities
> > machine-parseable progress interface, I instead suggest that we study
> > the current progress interfaces and try to identify some common factors
> > that can be parsed heuristically (e.g. solid bar of characters;
> > "\-/|"-style spinner; percentage output), and write a wrapper utility
> > that can translate some of the common ones into debconf progress output.
> [...]
> 
> I have trouble believing that this is going to be easier than patching
> the most common utilities to add an option for a machine-readable
> progress indicator.

I have no such trouble; we're going to need a wrapper to translate into
the debconf protocol *anyway*, and having it understand a few different
syntaxes is not that troublesome.  IME getting the file descriptor
plumbing right on these things is usually the most fiddly part. :-)

-- 
Colin Watson                                       [cjwat...@debian.org]


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20121217094750.gi21...@riva.dynamic.greenend.org.uk

Reply via email to