[arch-projects] [initscripts] background color in /sbin/rc

Grigorios Bouzakis grbzks at xsmail.com
Wed May 4 01:05:12 CEST 2011


Grigorios Bouzakis <grbzks at xsmail.com> wrote:
> Grigorios Bouzakis <grbzks at xsmail.com> wrote:
>> Seblu wrote:
>>> On Tue, May 3, 2011 at 7:53 PM, Grigorios Bouzakis <grbzks at xsmail.com> wrote:
>>>> Kwpolska <kwpolska at gmail.com> wrote:
>>>>>
>>>>> (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.
>>>>
>>>> See: https://bugs.archlinux.org/task/17225
>>> Closed as duplicate.
>>>
>>>> https://bugs.archlinux.org/task/1186
>>> Close because issue is resolved.
>>>
>>>> https://bugs.archlinux.org/task/16996
>>> Closed bevause issue is not present.
>>>>
>>>
>>> But i agree with greg an issue present. Just run rc with a white term
>>> (what should be banned).
>>>
>>> I don't have tested his patch, but it looks good. This is a well know
>>> error with coloring term.
>>
>> The patch reverts the one from https://bugs.archlinux.org/task/1186 so it
>> doesnt really look good.
>> As Aaron said in https://bugs.archlinux.org/task/16996#comment53730 for
>> a slightly different patch: https://bugs.archlinux.org/task/16996?getfile=4307
>> "The current choices are: unreadable text on white backgrounds, or an
>> unattractive black block. I'll go with the unattractive and READABLE
>> choice here." https://bugs.archlinux.org/task/16996#comment53730 which applies
>> to this patch as well.
>
> Errm sorry got carried away. The proposed patch is not entirely the same
> as any of the previous ones.

But despite that the proposed scheme doesn't work in white terminals.
See attached screenshot. Sorry for the multiple emails.

----
Greg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: functions.png
Type: image/png
Size: 48024 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-projects/attachments/20110504/f4cdd475/attachment-0001.png>


More information about the arch-projects mailing list