It would be very helpful if emerge could print all lines that refer to packages that are in the world file (and the one that might be in the world file after the emerge) in a visually distinct style, for example bold. That would make the output of `emerge --tree ...` et al. even more helpful! (same idea applies to `equery depend`) cheers, stefan
Interesting idea. I like it, but I think it's better if we isolate the worldfile handling first.
Created attachment 123035 [details, diff] portage-2.1.3_rc5 patch to make colors customizable via color.map With this patch there are 4 new color classes that you can customize via /etc/portage/color.map: PKG_MERGE=darkgreen PKG_MERGE_WORLD=green PKG_NOMERGE=darkblue PKG_NOMERGE_WORLD=blue
This has been released in 2.1.3_rc6. It now supports a total of 7 color classes for /etc/portage/color.map: # packages given as command line arguments PKG_MERGE_ARG=darkgreen PKG_NOMERGE_ARG=darkblue # packages in /var/lib/portage/world PKG_MERGE_WORLD=green PKG_NOMERGE_WORLD=blue # system packages PKG_MERGE_SYSTEM=green PKG_NOMERGE_SYSTEM=blue # packages in --tree display that aren't being # merged and aren't part of any set PKG_NOMERGE=darkblue