curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: changing -# output on unknown data size?

From: Jeremy Nicoll via curl-users <curl-users_at_cool.haxx.se>
Date: Tue, 16 Jan 2018 22:15:03 +0000

On Tue, 16 Jan 2018, at 21:31, Daniel Stenberg wrote:

> 2. If curl doesn't know the total transfer size, it instead outputs a (hash)
> '#' once for every transferred kilobyte of data.
>
> We've been discussing improving mode (2). I would like to make it only use a
> single line even for that.
>
> I might have gone a little overboard, but I felt inspired and I've posted a
> suggestion on how curl could instead behave that might be more appealing to
> users. There's even a small demo video showing it off.
>
> Check out https://github.com/curl/curl/pull/2242

It's very pretty... but what does it actually mean? I notice that the distance
between the # characters grows then contracts as they bunch at the end of
the line - is that just a nice animation or does it mean something? Why are
there four hashes rather than 3 or 17? Are there times when they move but
the 'ship' doesn't, or vice versa?

If someone has this active (when perhaps it would have been better turned
off) and has redirected output do they get just a single line of arbitrary info
in the resultant file, or lots of lines?

Does curl also show a total of how much data has been processed so far, &
maybe an average speed/second or /minute or something? Surely that's
more useful?

-- 
Jeremy Nicoll - my opinions are my own.
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-01-16