« Return to Thread: Highlighting in conf.pl is unreadable with some terminal color schemas

Re: Highlighting in conf.pl is unreadable with some terminal color schemas

by Tomas Kuliavas :: Rate this Message:

Reply to Author | View in Thread

Paul Lesniewski wrote:
On Tue, Mar 17, 2009 at 8:26 AM, Michal Hlavinka <mhlavink@redhat.com> wrote:
> Hi,
>
> highlighting in configuration utility conf.pl does not work correctly.
> For example in default gnome terminal color settings it's not readable (white
> text on white paper). This could be fixed by:
>
> a) using only bold, no color (most color schemas in terminals use different
> color for bold text)
>
> b) add background color
>
> What do you think about this?

Patches welcome
Don't use ANSI escape code which sets color in highlighted text.

Find both '$WHT = "\x1B[37;1m"' entries in conf.pl and remove white color escape code ('37;')

http://en.wikipedia.org/wiki/ANSI_escape_code

 « Return to Thread: Highlighting in conf.pl is unreadable with some terminal color schemas