From: Zac Medico Date: Thu, 12 Jul 2007 09:20:48 +0000 (-0000) Subject: Add "reset" to the list of attributes in color.map.5 and add define NORMAL like funct... X-Git-Tag: v2.1.3~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e0fe89f2fa55f8689e2972a98e05dd5d7b6f2893;p=portage.git Add "reset" to the list of attributes in color.map.5 and add define NORMAL like functions.sh does. (trunk r7242) svn path=/main/branches/2.1.2/; revision=7243 --- diff --git a/man/color.map.5 b/man/color.map.5 index 0cef66257..407ae856e 100644 --- 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 be01be000..6ac6da3fe 100644 --- 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"]