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

Re: (ITS#5922) progress bar proposal



----- 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?

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/

Suretec Systems is a limited company registered in Scotland. Registered
number: SC258005. Registered office: 13 Whiteley Well Place, Inverurie,
Aberdeenshire, AB51 4FP.

Subject to disclaimer at http://www.suretecgroup.com/disclaimer.html