You are not logged in.
How to make powerpill not output too much line when it downloads different files at one time.
such as
8 SIZE:36.4MiB/42.1MiB(86%) CN:6 SPD:79.0KiBs ETA:01m13s](1more...) [TOTAL SPD[#8 SIZE:36.5MiB/42.1MiB(86%) CN:6 SPD:81.7KiBs ETA:01m09s](1more...) [TOTAL SPD[#8 SIZE:36.6MiB/42.1MiB(87%) CN:6 SPD:82.3KiBs ETA:01m07s](1more...) [TOTAL SPD[#8 SIZE:36.7MiB/42.1MiB(87%) CN:6 SPD:90.2KiBs ETA:01m00s](1more...) [TOTAL SPD[#8 SIZE:36.8MiB/42.1MiB(87%) CN:6 SPD:66.5KiBs ETA:01m21s](1more...) [TOTAL SPD[#8 SIZE:36.9MiB/42.1MiB(87%) CN:6 SPD:59.2KiBs ETA:01m29s](1more...) [TOTAL SPD[#8 SIZE:37.0MiB/42.1MiB(87%) CN:6 SPD:71.6KiBs ETA:01m13s](1more...) [TOTAL SPD[#8 SIZE:37.0MiB/42.1MiB(88%) CN:6 SPD:72.7KiBs ETA:01m10s](1more...) [TOTAL SPD:219.2KiBs]
Can I combine them in one line?
And Wget has the same problem.
Last edited by zhou13 (2010-02-10 09:18:51)
Offline
I'm interested in this as well. Actually, if you just make the terminal a bit bigger you'll see it doesn't expand to so many lines, its a running counter.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
@zhou13 can you post an image?
Offline
I think 97% sure it's the carriage return.
When your terminal is not wide enough and a line like
[#8 SIZE:37.0MiB/42.1MiB(88%) CN:6 SPD:72.7KiBs ETA:01m10s](1more...) [TOTAL SPD:219.2KiBs]becomes, in your case,
[#8 SIZE:37.0MiB/42.1MiB(88%) CN:6 SPD:72.7KiBs ETA:01m10s](1more...) [TOTAL SPD
:219.2KiBs]The carriage return won't return the cursor at "[", but at ":" instead.
The solution might be to save the cursor position right before the line is printed, and then clear the whole line, and restore the cursor position when the line needs refreshing.
I'm wondering, zhou13, what a *huge* font you have... screenshot please? ![]()
This silver ladybug at line 28...
Offline
Right,it's the carriage return. But it is not because the font size(11).
I think width 80 is too short to use powerpill in gnome-terminal because of my font.
I wonder why your powerpill is normal.
I modify the /usr/share/vte/termcap/xterm and
set a line to
:co#90:it#8:li#40:\now, powerpill is perfect.
But Wget still has the problem.
I believe it is a bug in Chinese environment.
Offline
and how to upload a image?
Offline