Re: [mu TECH] To print without CR

From: Michele Andreoli (m.andreoli@tin.it)
Date: Sat Sep 30 2000 - 13:43:31 CEST


On Thu, Sep 28, 2000 at 05:32:17PM +0200, Denis Bredelet nicely wrote:
> I suppose you could also use:
>
> printf("%d%%\r", progress);
>
> (display progress indication, character %, then turn back to the
> beginning of the line)
> C is sometimes nasty but one can take over it.
>

The intention wasn't just to write a row, but to write alway the
on the same row!

Do you remember how works progress indicator in format.exe?
You see a single line "veryfiyng 30%", while the percentage changes.

Michele

-- 
I'd like to conclude with a positive statement, but I can't 
remember any. Would two negative ones do?       -- Woody Allen
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: mulinux-help@sunsite.auc.dk


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:16 CET