From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Is it possible to have 256 colors in Emacs on framebuffer-enabled tty Date: Sun, 28 Aug 2011 18:18:47 +0300 Message-ID: <83hb51ftt4.fsf@gnu.org> References: <877h5xtxl8.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1314544776 27359 80.91.229.12 (28 Aug 2011 15:19:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 28 Aug 2011 15:19:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: zwz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 28 17:19:32 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qxh91-0007Wr-Rw for ged-emacs-devel@m.gmane.org; Sun, 28 Aug 2011 17:19:31 +0200 Original-Received: from localhost ([::1]:54040 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qxh90-0000ca-Mh for ged-emacs-devel@m.gmane.org; Sun, 28 Aug 2011 11:19:30 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qxh8y-0000cA-3q for emacs-devel@gnu.org; Sun, 28 Aug 2011 11:19:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qxh8v-0002bm-Hi for emacs-devel@gnu.org; Sun, 28 Aug 2011 11:19:28 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:57326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qxh8v-0002bY-B8 for emacs-devel@gnu.org; Sun, 28 Aug 2011 11:19:25 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LQN0000094SUP00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sun, 28 Aug 2011 18:18:48 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.83.44]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQN000DX97B8390@a-mtaout22.012.net.il>; Sun, 28 Aug 2011 18:18:47 +0300 (IDT) In-reply-to: <877h5xtxl8.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143611 Archived-At: > From: zwz > Date: Sun, 28 Aug 2011 22:33:23 +0800 > > > I use Emacs both in GUI mode and text mode. In text mode, however, it > only shows 8 colors (M-x list-color-display). So I create a consistent > color-theme for Emacs in both modes. > > But one thing still bothers me. In my system, framebuffer is enabled (by > KMS) and fbterm is adopted as the terminal, in which "tput colors" gives > 256, and I can watch movies on tty with mplayer. However, in Emacs, only > 8 colors available. > > I googled and found > http://code.google.com/p/fbterm/issues/detail?id=44, > in which one comment suggest the issue root in Emacs. > > Is it right No. > or is there any way to have 256 colors in Emacs (tty)? First, your terminal should report to Emacs that it has 256 colors. Does it?