On Tue, 28 Oct 2008 21:52:14 +0200, Alan McKinnon wrote:

> On Tuesday 28 October 2008 21:11:05 Andrew Gaydenko wrote:
>> Hi!
>>
>> How to "downgrade" to old fetching indicator (single-line instead of
>> multiple lines)?
> 
> This has been bugging me for a long time as well, I'd really liek to know
> what's going on.

Despair not! Read on! :)
 
> 'ps ax' while emerge is downloading shows the full wget command used -
> it's FETCHCOMMAND from make.conf. The identical command on the command
> line produces the old output. Adding the wget option --progress=bar to
> FETCHCOMMAND changes nothing, but it is the correct option to influence
> this behaviour.

Almost there!

> It seems like perhaps FETCHCOMMAND is no longer the applicable setting in
> make.conf...

It is, but with a twist. Read the wget manpage again, and you'll find:

  [..] when the output is not a TTY, the "dot" progress will be favored
       over "bar". [..]

So putting --progress=bar:force into FETCHCOMMAND/RESUMECOMMAND does the
trick. Maybe this was done for the --jobs option or a change in background
process logging to a file? No idea but the trick works for me.

Holger



Reply via email to