Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31316 - /sbin/rc uses raw colour code \e[34;01m not $BRACKET causing problems on serial consoles
Summary: /sbin/rc uses raw colour code \e[34;01m not $BRACKET causing problems on seri...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-16 15:24 UTC by David Taylor
Modified: 2004-10-15 22:48 UTC (History)
0 users

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 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