[pacman-dev] Hi all

Lanziani Luca luca at tulug.it
Sat Jun 14 18:49:50 EDT 2008


Hi all,

I'm new in pacman-dev, i would like to put a counter in pacman that say
how many Kbyte/time left from the end of packages download, something
like...

gstreamer0.10-base- 227,0K 435,7K/s 00:00:01 [####################] 100%
47110 Kbyte left
libgtop-2.22.2-1-i686 109,5K 332,3K/s 00:00:00 [#################] 100%
47000 Kbyte left

Very useful when i'm at university and i have only 10 minute, if i don't
know how many time pacman need for download all packages, i can't decide
if stop it or attend the end.

Now i want know the better place to write the code for do that... "I
code better than i write in english IMHO :P".
I find the function _alpm_downloadfiles_forreal_ ....

thanks, Luca




More information about the pacman-dev mailing list