[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is it possible to have 256 colors in Emacs on framebuffer-enabled tt
Re: Is it possible to have 256 colors in Emacs on framebuffer-enabled tty
Thu, 01 Sep 2011 22:35:14 +0800
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
Eli Zaretskii <address@hidden> writes:
>> From: Wolfgang Jenkner <address@hidden>
>> Cc: zwz <address@hidden>, address@hidden
>> Date: Wed, 31 Aug 2011 18:23:27 +0200
>> I think the 256 colors support in term/xterm.el is general enough to
>> support fbterm as well.
> The setting of the colors themselves is not the terminal specific
> part; the part that queries xterm about the number of colors is.
> If fbterm always supports only 256 colors, then similar code can be
> used there unconditionally.
> Another aspect of this is the RGB values: the ones in xterm.el were
> taken from the xterm source code. We should make sure fbterm uses the
> same colors, before we use these values for fbterm.
> Finally, the color names in xterm.el were also taken from the xterm
> nomenclature. Does fbterm use the same names? if not, we should
> probably use its own names, for consistency.
I compared the outputs of (list-color-display) with Emacs on xterm (X)
and fbterm (tty, with the code by Wolfgang Jenkner). They are the same.