From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: zwz Newsgroups: gmane.emacs.devel Subject: Is it possible to have 256 colors in Emacs on framebuffer-enabled tty Date: Sun, 28 Aug 2011 22:33:23 +0800 Message-ID: <877h5xtxl8.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1314541733 9274 80.91.229.12 (28 Aug 2011 14:28:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 28 Aug 2011 14:28:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 28 16:28:49 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 1QxgLw-0000Sw-VX for ged-emacs-devel@m.gmane.org; Sun, 28 Aug 2011 16:28:49 +0200 Original-Received: from localhost ([::1]:36505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxgLw-0003zv-Ft for ged-emacs-devel@m.gmane.org; Sun, 28 Aug 2011 10:28:48 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxgLt-0003zo-Uu for emacs-devel@gnu.org; Sun, 28 Aug 2011 10:28:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QxgLs-0004CT-Pw for emacs-devel@gnu.org; Sun, 28 Aug 2011 10:28:45 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:50528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxgLs-0004CI-Ih for emacs-devel@gnu.org; Sun, 28 Aug 2011 10:28:44 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QxgLr-0000Qd-Ki for emacs-devel@gnu.org; Sun, 28 Aug 2011 16:28:43 +0200 Original-Received: from 60.191.28.58 ([60.191.28.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Aug 2011 16:28:43 +0200 Original-Received: from zhangweize by 60.191.28.58 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Aug 2011 16:28:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 60.191.28.58 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:QmtinMUVsWUc69H9EsFkWu7KSxY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:143610 Archived-At: 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, or is there any way to have 256 colors in Emacs (tty)?