Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24109 - incomplete RC_NOCOLOR support in /sbin/rc
Summary: incomplete RC_NOCOLOR support in /sbin/rc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
: 25350 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-08 09:12 UTC by splite
Modified: 2003-07-27 00:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description splite 2003-07-08 09:12:32 UTC
/sbin/rc contains a hard-coded ANSI color escape sequence, which causes all the
boot messages to appear blue, even with RC_NOCOLOR set to "yes".  Here's a fix:

--- rc.orig     2003-07-07 17:00:31.000000000 -0500
+++ rc  2003-07-08 11:07:28.000000000 -0500
@@ -71,7 +71,7 @@
        PATH="/bin:/sbin:/usr/bin:/usr/sbin:${PATH}"
 
        echo
-       echo -e "${GOOD}Gentoo Linux${GENTOO_VERS};
\e[34;01mhttp://www.gentoo.org/${NORMAL}"
+       echo -e "${GOOD}Gentoo Linux${GENTOO_VERS};
${BRACKET}http://www.gentoo.org/${NORMAL}"
        echo -e " Copyright 2001-2003 Gentoo Technologies, Inc.; Distributed
under the GPL"
        echo
 
(Am I the only one who hates ANSI colors?)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-07-16 12:10:45 UTC
Fixed in CVS, thanks.
Comment 2 SpanKY gentoo-dev 2003-07-27 00:14:13 UTC
*** Bug 25350 has been marked as a duplicate of this bug. ***