|
From: Mojca M. <moj...@gm...> - 2009-07-12 18:28:11
|
On Sun, Jul 12, 2009 at 19:11, Ethan Merritt wrote:
> On Sunday 12 July 2009, Mojca Miklavec wrote:
>> Hello,
>>
>> What exactly does "TERM_MONOCHROME" flag do (what consequences should it have)?
>
> As explained in the ChangeLog for this recent addition, it indicates that the
> terminal is currently in monochrome mode (usually because of the command
> 'set term ... monochrome'. The core code does not use the flag yet.
> It was added in preparation for a series of patches that allows the user to
> redefine the default sequence of line properties.
> #2004590 mechanism to redefine base linetypes
Thanks a lot. Reading this entry in tracker explained it, I think.
This means that
set term something monochrome
set linetype 1 lw 2 lc rgb "blue" pointtype 6
will send
"set_color(black)"
to terminal instead of rgb value for blue?
> The idea is that even if the terminal is capable of RGB colors, and the
> user redefines linetype N to be purple, if the terminal is currently showing
> the TERM_MONOCHROME flag then the core code should interpret "lt 3" as
> black and perhaps dashed rather than as purple.
Thanks,
Mojca
|