[arch-projects] [initscripts] background color in /sbin/rc
Kwpolska
kwpolska at gmail.com
Tue May 3 13:47:28 EDT 2011
(a reprint of FS#24074)
> The initscripts' /etc/rc.d/functions uses colors with a black
> background. It does not look very nice on a transparent black
> terminal. A patch is included.
tomegun requested a git patch to be sent here. It's in the
attachments section.
--
Cheers,
-- Kwpolska (http://kwpolska.co.cc)
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
-------------- next part --------------
diff --git a/functions.orig b/functions
index fd0928e..e1aa757 100644
--- a/functions.orig
+++ b/functions
@@ -51,18 +51,18 @@ fi
# colors:
if [[ $USECOLOR = YES || $USECOLOR = yes ]]; then
- C_MAIN="\033[1;37;40m" # main text
+ C_MAIN="\033[1;37m" # main text
- C_OTHER="\033[1;34;40m" # prefix & brackets
- C_SEPARATOR="\033[1;30;40m" # separator
+ C_OTHER="\033[1;34m" # prefix & brackets
+ C_SEPARATOR="\033[1;30m" # separator
- C_BUSY="\033[0;36;40m" # busy
- C_FAIL="\033[1;31;40m" # failed
- C_DONE="\033[1;37;40m" # completed
- C_BKGD="\033[1;35;40m" # backgrounded
+ C_BUSY="\033[0;36m" # busy
+ C_FAIL="\033[1;31m" # failed
+ C_DONE="\033[1;37m" # completed
+ C_BKGD="\033[1;35m" # backgrounded
- C_H1="\033[1;37;40m" # highlight text 1
- C_H2="\033[1;36;40m" # highlight text 2
+ C_H1="\033[1;37m" # highlight text 1
+ C_H2="\033[1;36m" # highlight text 2
C_CLEAR="\033[1;0m"
fi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-projects/attachments/20110503/aa3068dd/attachment.asc>
More information about the arch-projects
mailing list