>What if I want to print a "..." and calculate the percentage and amount of
>currently downloaded size during the download process? (wget style), should
>I create another process to do that? or is there any other alternative? (I
>will choose the later).

I chatted about this in my book, SPIDERING HACKS:
http://amazon.com/exec/obidos/ASIN/0596005776/disobeycom

Thankfully, the discussion and code, are available free online:

 http://hacks.oreilly.com/pub/h/943
 http://disobey.com/d/code/

Depending on your shell, however, one of the examples
may not work correctly (the "spinner" thing, which
isn't the display you're looking for. The quick
fix is to move the \b to the front of the spinner,
not the end). There was more discussion of this on a
mailing list, but I can't remember, or find, the URL.


-- Morbus Iff ( i put the demon back in codemonkey ) Culture: http://www.disobey.com/ and http://www.gamegrene.com/ My book, Spidering Hacks: http://amazon.com/exec/obidos/ASIN/0596005776/ icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to