From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: how to downgrade to old fetching indicator?
Date: Tue, 28 Oct 2008 23:49:05 +0200 [thread overview]
Message-ID: <200810282349.05410.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <pan.2008.10.28.21.19.21.964250@wizards.de>
On Tuesday 28 October 2008 23:19:22 Holger Hoffstaette wrote:
> > 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". [..]
When I read the other poster's reply, my first thought was that this is the
underlying reason - portage traditionally made extensive use of tee in
dealing with it's output and who knows what that output get connected to.
But this seems to not be the case:
ps axf of the running emerge, which is a regular pts:
13744 pts/1 SN+ 0:12 | |
\_ /usr/bin/python /usr/bin/emerge -f mozilla-sunbird
13793 pts/1 SN+ 0:02 | |
\_ /usr/bin/python -O /usr/lib64/portage/bin/ebuild /var/portage/app-office/mozilla-sunbird/mozilla-sunbird-0.9.ebuild
fetch
13806 pts/1 SN+ 0:00 | | \_ wget -t
5 --passive-ftp --progress=bar
ftp://ftp.is.co.za/mirror/gentoo.org/distfiles/lightning-sunbird-0.9-source.tar.bz2 -P /var/distfiles
ps ax of the same wget run from a konsole:
13869 pts/1 S+ 0:00 wget -t 5 --passive-ftp --progress=bar
ftp://ftp.is.co.za/mirror/gentoo.org/distfiles/lightning-sunbird-0.9-source.tar.bz2 -P /var/distfiles
Looks the same to me
> 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.
Sounds plausible. I can't quite see how it was implemented though
--
alan dot mckinnon at gmail dot com
prev parent reply other threads:[~2008-10-28 21:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-28 19:11 [gentoo-user] how to downgrade to old fetching indicator? Andrew Gaydenko
2008-10-28 19:52 ` Alan McKinnon
2008-10-28 21:09 ` Jorge Peixoto de Morais Neto
2008-10-28 21:24 ` Alan McKinnon
2008-10-28 21:19 ` [gentoo-user] " Holger Hoffstaette
2008-10-28 21:49 ` Alan McKinnon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200810282349.05410.alan.mckinnon@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox