Stahlman Family wrote:
>
>
> Matt Wozniski wrote:
>> On Sat, Feb 14, 2009 at 9:00 AM, Brett Stahlman wrote:
>>> Note that both evening and morning colorschemes hide Ignore characters
>>> completely with the following settings...
>>> evening:
>>> Ignore ctermfg=242
>>> morning:
>>> Ignore ctermfg=7
>>> ...which set ctermfg to the same number used for ctermbg in the Normal
>>> group. I suppose I can use the brute-force approach: i.e., parse the
>>> output of ":hi Normal" and extract the ctermfg value...
>> Like I said, that isn't enough. Most terminals (Konsole being the
>> only exception I know of) only allow you to set the foreground or
>> background color for some text to one of, at most, 256 specific
>> colors. They allow you to set the *default* foreground or background
>> color to one of 16777216 colors. So, the odds are against the user's
>> choice of background color even being able to be set with a
>> ctermbg=[0-255].
>
> I'm not sure I understand the distinction between a terminal's "default"
> background, and the background colors to which text can be set. Are you
> saying that the terminal could have a certain background color where no
> text appears, but that a program such as vim wouldn't be able to output
> text with that color to the terminal?
Or perhaps you are simply saying that the format of the default color
setting (e.g., in an Xresource file) supports greater resolution than
what is supported by the terminal itself, in which case, Vim could not
use the X resource database to determine the actual background color of
the terminal.
Thanks,
Brett Stahlman
>
> Thanks,
> Brett Stahlman
>> ~Matt
>>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---