Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 31316

Summary: /sbin/rc uses raw colour code \e[34;01m not $BRACKET causing problems on serial consoles
Product: Gentoo Linux Reporter: David Taylor <davidt>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Taylor 2003-10-16 15:24:09 UTC
/sbin/rc uses \e34;01m on line 74 (just before the http://www.gentoo.org/ url).
 It then uses $NORMAL to return to non colour text.

However, on a serial console /sbin/functions.sh sets RC_NOCOLOUR to yes,
resulting in $NORMAL (et all) being blank.  Since $BRACKET is defined to be the
same as the colour code used here when colour is on, and blank if it's off, it
should probably be used instead.

This will hopefully fix my console boot up being entirely blue..

Reproducible: Always
Steps to Reproduce:
1. use a serial console which understands colour codes
2. boot

Actual Results:  
1. the bootup sequence is blue from the http://www.gentoo.org url to the end

Expected Results:  
Either:
A: An entirely non-coloured display
or
B: A normally highlighted display
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-26 10:03:00 UTC
Hi, please try baselayout-1.8.6.11, as it is already fixed here.
Comment 2 SpanKY gentoo-dev 2004-10-15 22:48:15 UTC
this has been fixed long ago