COLS="25 80"
ENDCOL=
- BLANK=
GOOD=
WARN=
BAD=
if [ -n "${PORTAGE_COLORMAP}" ] ; then
eval ${PORTAGE_COLORMAP}
else
- BLANK=$'\e[37m'
GOOD=$'\e[32;01m'
WARN=$'\e[33;01m'
BAD=$'\e[31;01m'
# logging related variables:
# PORTAGE_ELOG_CLASSES: selects messages to be logged, possible values are:
-# blank, info, warn, error, log, qa, *
+# info, warn, error, log, qa, *
# Warning: commenting this will disable elog
-PORTAGE_ELOG_CLASSES="blank log warn error"
+PORTAGE_ELOG_CLASSES="log warn error"
# PORTAGE_ELOG_SYSTEM: selects the module(s) to process the log messages. Modules
# included in portage are (empty means logging is disabled):
\fBBAD\fR = \fI"red"\fR
Defines color used for some words occuring in bad context.
.TP
-\fBBLANK\fR = \fI"lightgray"\fR
-Defines color used to display eblank lines.
-.TP
\fBBRACKET\fR = \fI"blue"\fR
Defines color used for brackets.
.TP
# Allow color.map to control colors associated with einfo, ewarn, etc...
mycolors = []
- for c in ("BLANK", "GOOD", "WARN", "BAD", "HILITE", "BRACKET"):
+ for c in ("GOOD", "WARN", "BAD", "HILITE", "BRACKET"):
mycolors.append("%s=$'%s'" % (c, portage.output.codes[c]))
mysettings["PORTAGE_COLORMAP"] = "\n".join(mycolors)
# Colors from /etc/init.d/functions.sh
codes["NORMAL"] = esc_seq + "0m"
-codes["BLANK"] = codes["lightgray"]
codes["GOOD"] = codes["green"]
codes["WARN"] = codes["yellow"]
codes["BAD"] = codes["red"]