cURL / Mailing Lists / curl-users / Single Mail

curl-users

progress meter

From: Daniel Stenberg <Daniel.Stenberg_at_haxx.nu>
Date: Wed, 2 Feb 2000 00:52:29 +0100 (MET)

Thanks

What I think I did not explain clearly, is the pretty strict limits curl has
on the progress display: it can only be one single line that gets updated and
the line should not be longer than 79 letters in worst case!

I have this idea about *toggling* between upload and download info if both
ways are being used.

Today's display:

  % Received Total Speed Estimated Time Left Curr.Speed
  0 42988 154377362 15356 2:47:33 0:00:02 2:47:31 13842

What I had in mind:

    % % Xfered Total Speed Estimated Time Left Curr.Speed
D 95 [98 12122232 154377362 15358] 2:47:33 2:00:02 0:17:31 13842

... where all the four columns within the []-brackets are altered every
second to display first the download stats, then the upload, then the
download again etc. There should be some indicator somwhere on the line to
make it more obvious which display is which direction. (That is the D to the
left).

So after a second, the line could instead look like:

    % % Xfered Total Speed Estimated Time Left Curr.Speed
U 95 [18 12341 50234 2342] 2:47:33 2:00:02 0:47:31 13842

I don't think this is a perfect ideaa, but...

-- 
   Daniel Stenberg - http://www.contactor.se/~dast - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on 2000-02-02