From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: min-colors 88 Date: Fri, 28 Jan 2022 15:17:51 +0200 Message-ID: <83r18sc83k.fsf@gnu.org> References: <83sft9e6sz.fsf@gnu.org> <83r18tdxd3.fsf@gnu.org> <83bkzxdoba.fsf@gnu.org> <871r0tf21u.fsf@zoho.eu> <83zgngcmgy.fsf@gnu.org> <83y230ccsr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14528"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 28 14:37:13 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nDRRA-0003dy-SV for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 28 Jan 2022 14:37:12 +0100 Original-Received: from localhost ([::1]:36938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDRR8-0000DZ-7f for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 28 Jan 2022 08:37:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDR8s-0006Pz-8s for help-gnu-emacs@gnu.org; Fri, 28 Jan 2022 08:18:19 -0500 Original-Received: from [2001:470:142:3::e] (port=49510 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDR8r-0000nQ-Tw for help-gnu-emacs@gnu.org; Fri, 28 Jan 2022 08:18:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=lkp2KK6EyRc1I/nhiSbpKGQKl9sjGLRbuDuhvVP4d2M=; b=C9j0itaxcR76boCfGzuM mJdXaRSmbhtL66m5+qOJe9FgxBgZB+LG+XfXsCw4++9hhm3xAbQSlgElFCO37ULRTDKtysP5LHJIi u6vtbMnHj9ikkHpjkuXawCM5t+jKg3JSK4Dz8ON38Lo/nLh3OV9uxAbuDmhK0X56R5pbwbLLYbRKq EJWY2oU9ywyDK2rWfxG6P2P8ql8kVRwGP19t2XRAtzJTLrPp/ak/9Rl3m/LByD3E9yDOUgTYP/TTK Vdbw4ZU/GgKTzJn8o5MWgGY/btawS68STNCVXWWlygLMctV7zyJtCsZvWDS9qtQPfk9t7eyQbpU/l Vdpiivyp3tJn0A==; Original-Received: from [87.69.77.57] (port=2311 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDR8T-0001mZ-44 for help-gnu-emacs@gnu.org; Fri, 28 Jan 2022 08:18:08 -0500 In-Reply-To: (fatiparty@tutanota.com) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135593 Archived-At: > Date: Fri, 28 Jan 2022 13:53:10 +0100 (CET) > From: fatiparty@tutanota.com > Cc: Help Gnu Emacs > > > The colors "defined" for TTY frames are set up in tty-colors.el, and > > they don't depend on the number of colors that the terminal actually > > supports. > > > Looking at tty-colors.el, a 16-bit values is being used for each of the three colours > (R[0-65535] , G[0-65535] , B[0-65535]).  Giving more possibilities than 24-bit total values > (with 8-bit values for each of the three colours. > > tty-color-define (w32console.el) passes each supported color, its index, and its RGB values. > > In tty-color-define, each one of the RGB components is a number between 0 and 65535 (16bit). > > But unsure how many get passed to tty-color-define.  There is nothing specified in the .c files > about this. What exactly is the question you want to ask? Or what is the problem you are trying to solve? And how are the above observations related to those questions/problems?