From e0fe89f2fa55f8689e2972a98e05dd5d7b6f2893 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 12 Jul 2007 09:20:48 +0000 Subject: [PATCH] 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 --- man/color.map.5 | 2 ++ pym/output.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) 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"] -- 2.26.2