Using color remapping feature from 2.1 portage I've made the following mapping in /etc/portage/color.map: turquoise=0x00AAAA While portage itself (emerge, etc) is working fine qfile's output is quite broken. It returns the following all-black text instead of properly colorized output: isengard bugmon # qfile /usr/bin/qfile app-portage/00AAAAportage-utils (/usr/bin/qfile) ^[[2;1;1;112;112;1;0xisengard bugmon # 1;1;112;112;1;0x Replacing 0x00AAAA with symbolic color name (like turquoise=yellow for example) also doesn't help: # qfile /usr/bin/qfile app-portage/ellowportage-utils (/usr/bin/qfile)
my portage and portage-utils versions: app-portage/portage-utils-0.1.20 sys-apps/portage-2.1.1
that's because qfile expects the normal escaped format, not RGB
can you give the example of that format? Will it also work with the rest of the portage?
the syntax is normal ascii terminal escape sequences: turqoise=34;1m http://www.gentoo.org/images/docs/prompt-magic-colortable.gif
portage cheats ... it takes the RGB input and maps that to the escape sequence so you cant just use arbitrary RGB values
Ok, this format works fine. But the wiki mentions only RGB format and points to the output.py file also mentioning RGB only: http://gentoo-wiki.com/TIP_Remap_Portage_Colors If qfile won't be fixed the documentation should be updated considering this bug imho.
gentoo-wiki is completely unofficial so that is not Our Problem (tm)
*** Bug 165580 has been marked as a duplicate of this bug. ***