| Summary: | visual gauge in progress meter | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Pavel Kankovsky <peak> | ||||||
| Component: | scp | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> | ||||||
| Status: | CLOSED WONTFIX | ||||||||
| Severity: | enhancement | CC: | djm | ||||||
| Priority: | P2 | ||||||||
| Version: | 3.8.1p1 | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Attachments: |
|
||||||||
|
Description
Pavel Kankovsky
2004-07-21 08:56:24 AEST
Created attachment 692 [details]
the patch
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. 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" Created attachment 836 [details]
a better patch
Just in case anyone is interested in this enhancement, here is a better patch
fixing a small aesthetical error.
We will be keeping the existing progress meter. Anyone who finds our too boring is welcome to use your patch :) Mass update RESOLVED->CLOSED after release of openssh-5.1 |