View previous topic :: View next topic |
Author |
Message |
dylanthomasfan n00b
Joined: 02 Mar 2005 Posts: 27
|
Posted: Thu Aug 12, 2010 9:51 pm Post subject: Color code explanation for emerge -pv output |
|
|
Folks,
I use a gnome terminal and I get color coded output when I issue the following type of command:
My question is, is there any place where the color code is explained?
For example one line of output from the aforementioned command is
[ebuild R ] www-servers/tomcat-6.0.26 USE="doc examples -source -test" 0 kB
How should I understand this? I thought red USE flags signify stuff that's already on make.conf, but doesn't look like that is correct (I checked with another application).
Any help is appreciated.
Thanks! |
|
Back to top |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Thu Aug 12, 2010 10:00 pm Post subject: |
|
|
I think for use flags:
red = use flag was and is still enabled
blue = use flag was and is still disabled
yellow = use flag will change with this emerge, also shows percent sign for a cue without colors if I remember
For the package status flags on the left, the color coding is pretty obvious and I believe just corresponds to the letters it's showing (N = new, R = reinstall same version, U = upgrade version, S = slotted package, B = package blocking occurred, etc)
I might be forgetting something, but the colors don't give you any info the actual text doesn't. |
|
Back to top |
|
|
stuNNed2 n00b
Joined: 17 Jul 2009 Posts: 32 Location: New Orleans, LA, U.S.
|
Posted: Thu Aug 12, 2010 10:25 pm Post subject: how? |
|
|
how do get the colored output? i use gnome-terminal too and the colored output is minimal. not nearly as colorful as displayed here. do i need to emerge anything? |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Aug 12, 2010 10:43 pm Post subject: |
|
|
emerge --color=y something
or you can do like the space invaders arcade machine (good old times )
(ps: if you know how the arcade was doing colors -> holly shit you're old !) |
|
Back to top |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Thu Aug 12, 2010 11:01 pm Post subject: |
|
|
This is something that's easily done with an alias for emerge in root's .bashrc, in fact similar things are done for ls and grep in the system profile. |
|
Back to top |
|
|
|