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: Tue, 30 Aug 2011 22:05:50 +0800	[thread overview]
Message-ID: <87ei03805d.fsf@gmail.com> (raw)
In-Reply-To: 4E5C0C35.7050300@harpegolden.net

David De La Harpe Golden <david@harpegolden.net> writes:

> On 29/08/11 10:06, zwz wrote:
>
>> I made some mistake. The problem "tput color -> 256; Emacs -> 256 but
> in
>> fact 8" only happens when I set TERM=xterm-256color, which is not the
>> case since I am actually using fbterm.
>
> That was unlikely to work anyway, as the fbterm guys have apparenrtly
> chosen to use quite different escapes to xterm for 256 colors.  I
> understand that they were seeking to retain compat with linux kernel vt,
> and the linux vt was already using that escape (for something fairly
> unimportant IIRC*), but since they are _not_ the linux vts and they
> _are_ a different terminal anyway, IMO they would have been better off
> using the same escapes as xterm (and everyone else) for 256 colors and
> just moving the linux vt one somewhere, but anyway. At the same time,
> they're probably "in the right" insofar as apps properly using terminfo
> should be able to cope with both.
>
> Emacs probably should be querying more from terminfo and hardcoding less
> (yeah yeah, "patches welcome", I know).  In any case, right now, we
> probably do need a lisp/term/fbterm.el, and unfortunately it probably
> can't completely reuse the xterm.el code, unlike screen.el

Do you mean if there is a lisp/term/fbterm.el that deals with the
escapes, then it is possible to have 256 colors in Emacs on fbterm?

>
> * I remember looking at feasibility of a linux kernel patch for native
> 256-color vts on framebuffers years ago but my attention rapidly
> wandered...

This seems to be a better solution.




  reply	other threads:[~2011-08-30 14:05 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 [this message]
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
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=87ei03805d.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.