bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [Bug-Wget][RFC] Even more changes to the progress bar


From: Darshit Shah
Subject: [Bug-wget] [Bug-Wget][RFC] Even more changes to the progress bar
Date: Tue, 20 May 2014 00:47:37 +0530

Hi,

I've recently been hacking on the progress bar implementation in Wget
to improve it for multiple reasons.
In the attached patch I've made the following changes:

1. Add support for --no-scroll switch. Lots of users, after my
previous patch asked for the option to disable scrolling the filename
in the progress bar. Hence, I have added support for --no-scroll

2. Add human readable output for th amount of download already
complete. Wget used to output the total number of bytes downloaded for
each file in the progress bar. This was fine a few years ago, when
file sizes were relatively small. But now when people are regularly
downloading files in the magnitude of a few Gigabytes, maybe outputing
the number of bytes alone is not enough. Hence, I changed that to
display a human readable value instead.

This patch is currently only a RFC. There's a few things I'd like your
comments on:

1. Should the numbers have localization support? They don't seem to
have localization support as of now. i.e. 123.45 would be displayed as
123,45 for the Europeans.
2. I am not aware of anyone parsing the output of Wget's progress bar.
Do you think changing the default output would cause a problem?
3. Should we add some kind of --human-readable option to toggle
between bytes output and human readable output?

This patch is currently not ready for merging since it is missing the
relevant NEWS and info page entries. This is essentially a request for
comments and criticism on the patch.

-- 
Thanking You,
Darshit Shah

Attachment: 0001-More-progress-bar-aesthetic-changes.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]