Larson, David wrote:
>> Larson, David wrote:
>>> Here is a better picture showing the problem for gtk2. This is what
> the
>>> color test shows.
>>>
>>> Notice that setting the color as the foreground does not always
> match
>>> the color when it is set as the background. Especially for the red
> and
>>> blues. Any ideas on how to fix this?
>> Many text consoles, including the Windows console, have only 8
> background
>> colors as opposed to 16 foreground colors. In that case, trying to set
> a
>> "bright" color as the background will fail. For instance, trying to
> set a
>> red
>> background will give "dark red" which is usually a kind of dark
> reddish
>> brown,
>> more /lie-de-vin/ than true dark red.
> 
> Actually, that isn't what is happening here. The colors aren't a little
> off, they are completely wrong. The "red" foreground is blue and the
> "blue" foreground is red. Strangely, the background colors are
> correct...
> 
> David

Then your system may be confusing "MS-DOS" colours with "X" colours, see 
":help highlight-cterm" and in particular ":help cterm-colors". You may still 
try playing with the $TERM environment variable (before starting Vim) and see 
if it behaves better. Use something that's not too different from the actual 
terminal you're using.


Best regards,
Tony.
-- 
What garlic is to food, insanity is to art.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui