From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: face colors on 256 colors terminals Date: Thu, 07 Apr 2005 18:17:48 -0700 Message-ID: <200504080117.j381HoAH023607@scanner2.ics.uci.edu> References: <200504060817.j368HDAH019106@scanner2.ics.uci.edu> <01c53acd$Blat.v2.4$7c0f2080@zahav.net.il> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112923140 25587 80.91.229.2 (8 Apr 2005 01:19:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Apr 2005 01:19:00 +0000 (UTC) Cc: eliz@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 08 03:18:58 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DJi8u-0007Td-L4 for ged-emacs-devel@m.gmane.org; Fri, 08 Apr 2005 03:18:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJhiK-0000Zp-0A for ged-emacs-devel@m.gmane.org; Thu, 07 Apr 2005 20:51:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DJhiA-0000ZU-IB for emacs-devel@gnu.org; Thu, 07 Apr 2005 20:51:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DJhi9-0000YR-2b for emacs-devel@gnu.org; Thu, 07 Apr 2005 20:51:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJhi7-0000Xi-BD for emacs-devel@gnu.org; Thu, 07 Apr 2005 20:50:59 -0400 Original-Received: from [128.195.1.36] (helo=scanner2.ics.uci.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DJi9T-0002Yy-Tj; Thu, 07 Apr 2005 21:19:16 -0400 Original-Received: from vino.ics.uci.edu (dann@vino.ics.uci.edu [128.195.11.198]) by scanner2.ics.uci.edu (8.12.10/8.12.10) with ESMTP id j381HoAH023607; Thu, 7 Apr 2005 18:17:50 -0700 (PDT) Original-To: emacs-devel@gnu.org Original-Lines: 26 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-99.8, required 5, FB_CONST_9, USER_IN_WHITELIST) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:35722 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35722 James Cloos writes: > >>>>> "David" == David Kastrup writes: > > David> Actually, it does not make sense to scale in that way. #3a7 > David> really should be the same as #3333aaaa7777, so that #fff is the > David> same as #ffffffffffff, pure white. > > David> Somebody should tell the X people to do that. > > I beleive I recall this coming up on the xfree lists some years back, > and further beleive that the current codebase of both xfree and xorg > do in fact scale the way David recomends. > > It is likely that only the docs are out of date. > > It is certainly the case that the colours named by xmag(1x) when you > click on a pixel in its window show the replicated pattern, and I tend > to use the #rrggbb convention for specifying colours.... Great! Thanks, I think this is the info we needed. I tried xmag on both solaris2.8 and Fedora Core 3 and indeed it seems that the conversion it uses is Y -> YY (where Y is 8bit). Eli, do you agree to go this way? --dan