projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d086f00
)
Add "reset" to the list of attributes in color.map.5 and add define NORMAL like funct...
author
Zac Medico
<zmedico@gentoo.org>
Thu, 12 Jul 2007 09:20:48 +0000
(09:20 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 12 Jul 2007 09:20:48 +0000
(09:20 -0000)
svn path=/main/branches/2.1.2/; revision=7243
man/color.map.5
patch
|
blob
|
history
pym/output.py
patch
|
blob
|
history
diff --git
a/man/color.map.5
b/man/color.map.5
index 0cef66257b62e1214815e9cacb3ea3cf8225ee12..407ae856e10a65d0ab79c2b4f690d7631f5f905e 100644
(file)
--- a/
man/color.map.5
+++ b/
man/color.map.5
@@
-123,6
+123,8
@@
Defines color used for warnings.
.B Other attributes
.RS
.TP
+.B reset
+.TP
.B bold
.TP
.B faint
diff --git
a/pym/output.py
b/pym/output.py
index be01be0000d916b8abfe009cd374fd471fbb653b..6ac6da3fea4ffb198bd2a4758a31d5bf532c66e9 100644
(file)
--- a/
pym/output.py
+++ b/
pym/output.py
@@
-129,7
+129,8
@@
codes["bg_lightgray"] = esc_seq + "47m"
codes["bg_darkyellow"] = codes["bg_brown"]
-# Colors from /sbin/functions.sh
+# Colors from /etc/init.d/functions.sh
+codes["NORMAL"] = esc_seq + "0m"
codes["GOOD"] = codes["green"]
codes["WARN"] = codes["yellow"]
codes["BAD"] = codes["red"]