Re: Bold/bright colors don't work as background.



On Thu, 19 Mar 2009, Josh Rickmar wrote:

To: Keith Roberts <keith karsites net>
From: Josh Rickmar <joshua_rickmar eumx net>
Subject: Re: Bold/bright colors don't work as background.

On Thu, March 19, 2009 1:30 pm, Keith Roberts wrote:

On Wed, 18 Mar 2009, Josh Rickmar wrote:


To: mc gnome org
From: Josh Rickmar <joshua_rickmar eumx net>
Subject: Bold/bright colors don't work as background.


I am trying to create my own color scheme for Midnight Commander, but
am having some trouble with the colors.  When setting the background
color for "normal" (normal, dnormal, helpnormal, etc.), it seems to only
work when using the "regular" version of the color, not the bold or
bright variant.  For example, I want to set the background of my dialogs
 (dnormal) to gray (the "bold" version of black), but it uses black
instead.  Likewise, if I use "white" (the bright variant), then it will
use "lightgray" instead (the regular terminal white).

Is this a bug in mc, or this intentional?


I am using Midnight Commander 4.6.2 built from FreeBSD ports.  It's
currently built against ncurses, but if that is causing the problem, I
can use a different library instead.


Hi Josh. What OS are you running mc on?


Keith


I'm using FreeBSD.

OK.

On Fedora 8 and higher I have had problems with colors in mc as well.

What fixed it for me was this:

# set the font to 16 colors for mc to work ok.
setfont lat1-16

You will need to restart mc for the setfont lat-16 command
to take effect.

To make the change permanent after a re-boot, fire up mc and edit /etc/sysconfig/i18n file to the following value

SYSFONT="lat1-16"

HTH

Keith Roberts

-----------------------------------------------------------------
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]