bugzilla-daemon at mindrot.org
2004-Jul-20 22:56 UTC
[Bug 901] visual gauge in progress meter
http://bugzilla.mindrot.org/show_bug.cgi?id=901 Summary: visual gauge in progress meter Product: Portable OpenSSH Version: 3.8.1p1 Platform: All OS/Version: Linux Status: NEW Severity: enhancement Priority: P2 Component: scp AssignedTo: openssh-bugs at mindrot.org ReportedBy: peak at argo.troja.mff.cuni.cz A few releases ago scp displayed a visual approximation of its progress. I liked that feature and decided to reintroduce it (with a slightly different, wget-like, appearance). Extra bonus: this code behaves better on extremely narrow terminals than the original (see the patch: the branch with strlcpy(buf, "\r", win_size) is responsible for the improvement). ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Jul-20 22:57 UTC
[Bug 901] visual gauge in progress meter
http://bugzilla.mindrot.org/show_bug.cgi?id=901 ------- Additional Comments From peak at argo.troja.mff.cuni.cz 2004-07-21 08:57 ------- Created an attachment (id=692) --> (http://bugzilla.mindrot.org/attachment.cgi?id=692&action=view) the patch ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Jul-20 23:59 UTC
[Bug 901] visual gauge in progress meter
http://bugzilla.mindrot.org/show_bug.cgi?id=901 ------- Additional Comments From mouring at eviladmin.org 2004-07-21 09:59 ------- I'd rather not see it back in. The issue we had in the past was to have a visual gauge we had to hack off too much of where the file was being saved. And I'd rather see as full as path as possible over the visual bar. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Jul-21 14:12 UTC
[Bug 901] visual gauge in progress meter
http://bugzilla.mindrot.org/show_bug.cgi?id=901 ------- Additional Comments From peak at argo.troja.mff.cuni.cz 2004-07-22 00:12 ------- My implementation is very sophisticated: 1. the gauge is displayed only if the terminal is at least 68 chars wide (35 for numbers, 13 for minimal gauge (*), 20 for filename), this makes at least 32 chars for the filename on a standard 80-chars-wide terminal 2. the gauge grows beyond its minimal length if and only if there is some free space available 3. the gauge is hidden (and the space occupied by the gauge may be reused by the filename) when the file is finished (100%) (*) a space, two brackets and ten "indicators" ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.