[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5922) progress bar proposal



Gavin Henry wrote:
> ----- hyc@symas.com wrote:
>
>> hyc@symas.com wrote:
>>> progress seems a bit too generic; the names probably should be
>> prefixed with
>>> lutil. Also I suggest using "meter" instead of "progress".
>>>
>>> lutil-meter.h, meter.c.
>> Currently it's enabled by default. I have a feeling it should be
>> disabled when
>> various debug flags are set. Any thoughts? Would there ever be a
>> situation
>> where you want debug enabled *and* the progress meter enabled?
>
> How would that work? The debug message would stream down your console
> and then the meter would have to consistently return to the start of the
> prompt/window to make any sense? Or would it would it switch to just showing
> an elapsed time and the end of the run?
>
The messages would all be interleaved; it would be rather ugly.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/