From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juliusz Chroboczek Newsgroups: gmane.emacs.devel Subject: Re: 24 bit colour on TTYs -- make it customisable? Date: Mon, 20 Feb 2017 21:30:09 +0100 Message-ID: <874lzo8v1q.fsf@trurl> References: <877f4n56sc.fsf@trurl> <83poieq26d.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487622635 1928 195.159.176.226 (20 Feb 2017 20:30:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 20 Feb 2017 20:30:35 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 20 21:30:31 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfubN-0008ST-Pf for ged-emacs-devel@m.gmane.org; Mon, 20 Feb 2017 21:30:29 +0100 Original-Received: from localhost ([::1]:40927 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfubT-0007fw-I3 for ged-emacs-devel@m.gmane.org; Mon, 20 Feb 2017 15:30:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfubM-0007ff-W4 for emacs-devel@gnu.org; Mon, 20 Feb 2017 15:30:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfubJ-0004CA-VF for emacs-devel@gnu.org; Mon, 20 Feb 2017 15:30:29 -0500 Original-Received: from [195.159.176.226] (port=43405 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfubJ-0004BU-OZ for emacs-devel@gnu.org; Mon, 20 Feb 2017 15:30:25 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cfub7-000706-3O for emacs-devel@gnu.org; Mon, 20 Feb 2017 21:30:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:/aSV9lGOe+nNIY0YjXpxmyzWhDQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:212506 Archived-At: >> I've just had a look at commit e463e5, and it doesn't look like there's >> a way to enable the support from .emacs. Could somebody please add >> a global variable or frame parameter that can be set from Lisp code to >> enable 24-bit support? > It is supposed to be enabled automatically. Are you saying you want > to disable it? I've only had a quick look at the code, but it's my understanding that the feature is only enabled if terminfo has non-standard properties setb24 and setf24. Since it's easier to add a line to .emacs than compiling a new terminfo, I'd like a way to enable the support without hacking terminfo. I'm definitely getting only 256 colours in a recent Debian testing XTerm. -- Juliusz