On Wed, Apr 04, 2007 at 08:10:49PM +0200, Harm Geerts wrote:
> `which emerge` does actually yield `/usr/bin/emerge` does it?
For the record, then --
# which emerge
/usr/bin/emerge
# grep -i color /etc/make.conf
NOCOLOR="true"
# echo $TERM
screen
and here are a zillion ways of trying to disable color output. In all
of these cases except piping into less, the phrase
Searching for a previously downloaded file in
is in yellow, and the phrase
/usr/portage/distfiles
is in green. Those two phrases are common to all examples. I did not
abort them all at the same time, and the phrase
The best of all is ... digikam-doc-0.8.2-et.tar.bz2
is in green up to and including the ellipsis with the remainder in
blue. There are some other phrases in green and yellow too.
Piping into less did not come out in color, but in ascii escape
sequences. Either they got garbled and are the proper color
sequences, or less declined to show them as color, and I don't care
which for the purposes at hand.
Redirecting into a file, then catting the file, reproduced the colors
faithfully. I will try to attach the color output, but I do not know
if the mailing will allow attachments.
# emerge -f digikam
Calculating dependencies... done!
>>> Emerging (1 of 1) media-gfx/digikam-0.9.1 to /
>>> Downloading
>>> 'http://distfiles.gentoo.org/distfiles/digikam-doc-0.8.2-es.tar.bz2'
Searching for a previously downloaded file in /usr/portage/distfiles
Exiting on signal 2
# emerge --nocolor -f digikam
*** Deprecated use of '--nocolor', use '--color=n' instead.
Calculating dependencies... done!
>>> Emerging (1 of 1) media-gfx/digikam-0.9.1 to /
>>> Downloading
>>> 'http://distfiles.gentoo.org/distfiles/digikam-doc-0.8.2-es.tar.bz2'
Searching for a previously downloaded file in /usr/portage/distfiles
Exiting on signal 2
# emerge --color=n -f digikam
Calculating dependencies... done!
>>> Emerging (1 of 1) media-gfx/digikam-0.9.1 to /
>>> Downloading
>>> 'http://distfiles.gentoo.org/distfiles/digikam-doc-0.8.2-es.tar.bz2'
Searching for a previously downloaded file in /usr/portage/distfiles
Exiting on signal 2
# TERM=vt100 emerge -f digikam
Calculating dependencies... done!
>>> Emerging (1 of 1) media-gfx/digikam-0.9.1 to /
>>> Downloading
>>> 'http://distfiles.gentoo.org/distfiles/digikam-doc-0.8.2-es.tar.bz2'
Searching for a previously downloaded file in /usr/portage/distfiles
We have the following candidates to choose from
digikam-doc-0.8.0-es.tar.bz2
digikam-doc-0.8.0-et.tar.bz2
digikam-doc-0.8.2-et.tar.bz2
The best of all is ... digikam-doc-0.8.2-et.tar.bz2
Checking if this file is OK.
Exiting on signal 2
# TERM=vt100 emerge -f digikam | less
Calculating dependencies
..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... done!
>>> Emerging (1 of 1) media-gfx/digikam-0.9.1 to /
>>> Downloading
>>> 'http://distfiles.gentoo.org/distfiles/digikam-doc-0.8.2-es.tar.bz2'
ESC[01;32mSearching for a previously downloaded file in
>>> ESC[01;33m/usr/portage/distfiles
ESC[00m
ESC[01;32mWe have the following candidates to choose from
ESC[01;33mdigikam-doc-0.8.0-es.tar.bz2
digikam-doc-0.8.0-et.tar.bz2
digikam-doc-0.8.2-et.tar.bz2
ESC[00m
ESC[01;32mThe best of all is
>>> ... ESC[01;36mdigikam-doc-0.8.2-et.tar.bz2
ESC[00m
ESC[01;33mChecking if this file is OK.
ESC[00m
:
Exiting on signal 2
# TERM=vt100 emerge -f digikam >/tmp/colors.out
--11:50:17--
http://linux01.gwdg.de/~nlissne/deltup.php?have=digikam-doc-0.8.2-et.tar.bz2&want=digikam-doc-0.8.2-es.tar.bz2&url=http://gentoo-sunrise.org/svndump/peper/distfiles/digikam-doc-0.8.2-es.tar.bz2&version=0.7&time=1175712617
=>
`deltup.php?have=digikam-doc-0.8.2-et.tar.bz2&want=digikam-doc-0.8.2-es.tar.bz2&url=http:%2F%2Fgentoo-sunrise.org%2Fsvndump%2Fpeper%2Fdistfiles%2Fdigikam-doc-0.8.2-es.tar.bz2&version=0.7&time=1175712617'
Resolving linux01.gwdg.de... 134.76.13.21
Connecting to linux01.gwdg.de|134.76.13.21|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location:
http://dev.gentooexperimental.org/deltup/digikam-doc-0.8.2-et.tar.bz2-digikam-doc-0.8.2-es.tar.bz2.dtu
[following]
--11:50:20--
http://dev.gentooexperimental.org/deltup/digikam-doc-0.8.2-et.tar.bz2-digikam-doc-0.8.2-es.tar.bz2.dtu
=>
`digikam-doc-0.8.2-et.tar.bz2-digikam-doc-0.8.2-es.tar.bz2.dtu'
Resolving dev.gentooexperimental.org... 81.93.240.53
Connecting to
dev.gentooexperimental.org|81.93.240.53|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18,914,412 (18M) [application/octet-stream]
17% [===========>
] 3,333,028 209.47K/s ETA 01:30
Exiting on signal 2
# cat /tmp/xxx
Calculating dependencies
..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... done!
>>> Emerging (1 of 1) media-gfx/digikam-0.9.1 to /
>>> Downloading
>>> 'http://distfiles.gentoo.org/distfiles/digikam-doc-0.8.2-es.tar.bz2'
Searching for a previously downloaded file in /usr/portage/distfiles
We have the following candidates to choose from
digikam-doc-0.8.0-es.tar.bz2
digikam-doc-0.8.0-et.tar.bz2
digikam-doc-0.8.2-et.tar.bz2
The best of all is ... digikam-doc-0.8.2-et.tar.bz2
Checking if this file is OK.
Trying to download
digikam-doc-0.8.2-et.tar.bz2-digikam-doc-0.8.2-es.tar.bz2.dtu
--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED]
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
Calculating dependencies ..... ..... ..... ..... ..... ..... ..... ..... .....
..... ..... ....... done!
>>> Emerging (1 of 1) media-gfx/digikam-0.9.1 to /
>>> Downloading
>>> 'http://distfiles.gentoo.org/distfiles/digikam-doc-0.8.2-es.tar.bz2'
[01;32mSearching for a previously downloaded file in
[01;33m/usr/portage/distfiles
[00m
[01;32mWe have the following candidates to choose from
[01;33mdigikam-doc-0.8.0-es.tar.bz2
digikam-doc-0.8.0-et.tar.bz2
digikam-doc-0.8.2-et.tar.bz2
[00m
[01;32mThe best of all is ... [01;36mdigikam-doc-0.8.2-et.tar.bz2
[00m
[01;33mChecking if this file is OK.
[00m
[01;32mTrying to download
[01;33mdigikam-doc-0.8.2-et.tar.bz2-digikam-doc-0.8.2-es.tar.bz2.dtu
[00m