all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: zwz <zhangweize@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Is it possible to have 256 colors in Emacs on framebuffer-enabled	tty
Date: Thu, 01 Sep 2011 22:35:14 +0800	[thread overview]
Message-ID: <87zkiogwkd.fsf@gmail.com> (raw)
In-Reply-To: 83pqjleaqz.fsf@gnu.org

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Wolfgang Jenkner <wjenkner@inode.at>
>> Cc: zwz <zhangweize@gmail.com>,  emacs-devel@gnu.org
>> 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.




  reply	other threads:[~2011-09-01 14:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-28 14:33 Is it possible to have 256 colors in Emacs on framebuffer-enabled tty zwz
2011-08-28 15:18 ` Eli Zaretskii
2011-08-29  6:06   ` zwz
2011-08-29  6:34     ` Eli Zaretskii
2011-08-29  9:06       ` zwz
2011-08-29  9:42         ` Eli Zaretskii
2011-08-29 22:01         ` David De La Harpe Golden
2011-08-30 14:05           ` zwz
2011-08-30 17:58             ` Eli Zaretskii
2011-08-31 16:23               ` Wolfgang Jenkner
2011-08-31 17:44                 ` Eli Zaretskii
2011-09-01 14:35                   ` zwz [this message]
2011-09-01 15:37                     ` Eli Zaretskii
2011-09-01 14:28                 ` zwz
2011-09-01 15:36                   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zkiogwkd.fsf@gmail.com \
    --to=zhangweize@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.