Add "reset" to the list of attributes in color.map.5 and add define NORMAL like funct...
authorZac Medico <zmedico@gentoo.org>
Thu, 12 Jul 2007 09:20:48 +0000 (09:20 -0000)
committerZac 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
pym/output.py

index 0cef66257b62e1214815e9cacb3ea3cf8225ee12..407ae856e10a65d0ab79c2b4f690d7631f5f905e 100644 (file)
@@ -123,6 +123,8 @@ Defines color used for warnings.
 .B Other attributes
 .RS
 .TP
+.B reset
+.TP
 .B bold
 .TP
 .B faint
index be01be0000d916b8abfe009cd374fd471fbb653b..6ac6da3fea4ffb198bd2a4758a31d5bf532c66e9 100644 (file)
@@ -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"]