From unknown Sat Jun 21 12:15:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33915: ls / dircolors should support more than 8 colors Resent-From: Vincent Lefevre Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Sun, 30 Dec 2018 01:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33915 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 33915@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154613289211118 (code B ref -1); Sun, 30 Dec 2018 01:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Dec 2018 01:21:32 +0000 Received: from localhost ([127.0.0.1]:41732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdPnI-0002tG-B8 for submit@debbugs.gnu.org; Sat, 29 Dec 2018 20:21:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdPnG-0002t1-4L for submit@debbugs.gnu.org; Sat, 29 Dec 2018 20:21:30 -0500 Received: from lists.gnu.org ([208.118.235.17]:55459) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gdPnA-0003A0-VN for submit@debbugs.gnu.org; Sat, 29 Dec 2018 20:21:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdPn9-0006EA-Tk for bug-coreutils@gnu.org; Sat, 29 Dec 2018 20:21:24 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdPn5-00034J-Rk for bug-coreutils@gnu.org; Sat, 29 Dec 2018 20:21:23 -0500 Received: from joooj.vinc17.net ([155.133.131.76]:44088) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gdPn5-00032u-LN for bug-coreutils@gnu.org; Sat, 29 Dec 2018 20:21:19 -0500 Received: from smtp-zira.vinc17.net (jlefevre.net1.nerim.net [80.65.226.245]) by joooj.vinc17.net (Postfix) with ESMTPSA id 1C14C2BF; Sun, 30 Dec 2018 02:21:16 +0100 (CET) Received: by zira.vinc17.org (Postfix, from userid 1000) id 3820EC2027B; Sun, 30 Dec 2018 02:21:15 +0100 (CET) Date: Sun, 30 Dec 2018 02:21:15 +0100 From: Vincent Lefevre Message-ID: <20181230012115.GD14408@zira.vinc17.org> Mail-Followup-To: Vincent Lefevre , bug-coreutils@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/1.11.1+76 (a5b64f6c) vl-114418 (2018-12-29) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 155.133.131.76 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) ls / dircolors should support more than 8 colors. First, "dircolors -p" says: # Below are the color init strings for the basic file types. A color init # string consists of one or more of the following numeric codes: # Attribute codes: # 00=3Dnone 01=3Dbold 04=3Dunderscore 05=3Dblink 07=3Dreverse 08=3Dconcea= led # Text color codes: # 30=3Dblack 31=3Dred 32=3Dgreen 33=3Dyellow 34=3Dblue 35=3Dmagenta 36=3D= cyan 37=3Dwhite # Background color codes: # 40=3Dblack 41=3Dred 42=3Dgreen 43=3Dyellow 44=3Dblue 45=3Dmagenta 46=3D= cyan 47=3Dwhite But one can get bright colors without bold by using 90, 91, etc. This is useful with gnome-terminal. I think that this should be documented. Support for more than 16 colors could be nice... --=20 Vincent Lef=E8vre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) From unknown Sat Jun 21 12:15:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33915: ls / dircolors should support more than 8 colors Resent-From: Vincent Lefevre Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Sun, 30 Dec 2018 02:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33915 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 33915@debbugs.gnu.org Received: via spool by 33915-submit@debbugs.gnu.org id=B33915.154613585615858 (code B ref 33915); Sun, 30 Dec 2018 02:11:01 +0000 Received: (at 33915) by debbugs.gnu.org; 30 Dec 2018 02:10:56 +0000 Received: from localhost ([127.0.0.1]:41737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdQZ6-00047i-6J for submit@debbugs.gnu.org; Sat, 29 Dec 2018 21:10:56 -0500 Received: from joooj.vinc17.net ([155.133.131.76]:41554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdQZ3-00047Z-UN for 33915@debbugs.gnu.org; Sat, 29 Dec 2018 21:10:54 -0500 Received: from smtp-zira.vinc17.net (jlefevre.net1.nerim.net [80.65.226.245]) by joooj.vinc17.net (Postfix) with ESMTPSA id F07892BF; Sun, 30 Dec 2018 03:10:52 +0100 (CET) Received: by zira.vinc17.org (Postfix, from userid 1000) id EDF4AC2027B; Sun, 30 Dec 2018 03:10:51 +0100 (CET) Date: Sun, 30 Dec 2018 03:10:51 +0100 From: Vincent Lefevre Message-ID: <20181230021051.GA25612@zira.vinc17.org> References: <20181230012115.GD14408@zira.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181230012115.GD14408@zira.vinc17.org> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/1.11.1+76 (a5b64f6c) vl-114418 (2018-12-29) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2018-12-30 02:21:15 +0100, Vincent Lefevre wrote: > But one can get bright colors without bold by using 90, 91, etc. > This is useful with gnome-terminal. > > I think that this should be documented. > > Support for more than 16 colors could be nice... Actually this is also a lack of documentation. After looking at "tput setaf ..." and "tput setab ..." output in 256-color mode, one can use things like: 38;5;;48;5; -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 29 21:40:54 2018 Received: (at control) by debbugs.gnu.org; 30 Dec 2018 02:40:55 +0000 Received: from localhost ([127.0.0.1]:41751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdR26-0004qo-N7 for submit@debbugs.gnu.org; Sat, 29 Dec 2018 21:40:54 -0500 Received: from joooj.vinc17.net ([155.133.131.76]:41570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdR25-0004qg-6S for control@debbugs.gnu.org; Sat, 29 Dec 2018 21:40:53 -0500 Received: from smtp-zira.vinc17.net (jlefevre.net1.nerim.net [80.65.226.245]) by joooj.vinc17.net (Postfix) with ESMTPSA id 6DE732BF; Sun, 30 Dec 2018 03:40:51 +0100 (CET) Received: by zira.vinc17.org (Postfix, from userid 1000) id 9D97CC2060F; Sun, 30 Dec 2018 03:40:50 +0100 (CET) Date: Sun, 30 Dec 2018 03:40:50 +0100 From: Vincent Lefevre To: control@debbugs.gnu.org Subject: Re: ls / dircolors should support more than 8 colors Message-ID: <20181230024050.GA1662@zira.vinc17.org> References: <20181230012115.GD14408@zira.vinc17.org> <20181230021051.GA25612@zira.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181230021051.GA25612@zira.vinc17.org> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/1.11.1+76 (a5b64f6c) vl-114418 (2018-12-29) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) retitle 33915 please document how to use more than 8 colors with ls / dircolors From unknown Sat Jun 21 12:15:14 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vincent Lefevre Subject: bug#33915: closed (Re: bug#33915: ls / dircolors should support more than 8 colors) Message-ID: References: <9c2bdff1-18b3-14e0-08f5-17c892ec79fa@draigBrady.com> <20181230012115.GD14408@zira.vinc17.org> X-Gnu-PR-Message: they-closed 33915 X-Gnu-PR-Package: coreutils Reply-To: 33915@debbugs.gnu.org Date: Mon, 31 Dec 2018 13:21:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1546262461-15432-1" This is a multi-part message in MIME format... ------------=_1546262461-15432-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #33915: please document how to use more than 8 colors with ls / dircolors which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 33915@debbugs.gnu.org. --=20 33915: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D33915 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1546262461-15432-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 33915-done) by debbugs.gnu.org; 31 Dec 2018 13:20:46 +0000 Received: from localhost ([127.0.0.1]:42871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdxUs-00040K-9s for submit@debbugs.gnu.org; Mon, 31 Dec 2018 08:20:46 -0500 Received: from mail.magicbluesmoke.com ([82.195.144.49]:33240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdxUq-00040B-7H for 33915-done@debbugs.gnu.org; Mon, 31 Dec 2018 08:20:44 -0500 Received: from localhost.localdomain (unknown [109.79.185.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id E126D9A88; Mon, 31 Dec 2018 13:20:42 +0000 (GMT) Subject: Re: bug#33915: ls / dircolors should support more than 8 colors To: Vincent Lefevre , 33915-done@debbugs.gnu.org References: <20181230012115.GD14408@zira.vinc17.org> <20181230021051.GA25612@zira.vinc17.org> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: <9c2bdff1-18b3-14e0-08f5-17c892ec79fa@draigBrady.com> Date: Mon, 31 Dec 2018 05:20:42 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20181230021051.GA25612@zira.vinc17.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 33915-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 29/12/18 18:10, Vincent Lefevre wrote: > On 2018-12-30 02:21:15 +0100, Vincent Lefevre wrote: >> But one can get bright colors without bold by using 90, 91, etc. >> This is useful with gnome-terminal. >> >> I think that this should be documented. >> >> Support for more than 16 colors could be nice... > > Actually this is also a lack of documentation. After looking at > "tput setaf ..." and "tput setab ..." output in 256-color mode, > one can use things like: > > 38;5;;48;5; > Addressed with: https://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=d1de585 thanks ------------=_1546262461-15432-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 30 Dec 2018 01:21:32 +0000 Received: from localhost ([127.0.0.1]:41732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdPnI-0002tG-B8 for submit@debbugs.gnu.org; Sat, 29 Dec 2018 20:21:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdPnG-0002t1-4L for submit@debbugs.gnu.org; Sat, 29 Dec 2018 20:21:30 -0500 Received: from lists.gnu.org ([208.118.235.17]:55459) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gdPnA-0003A0-VN for submit@debbugs.gnu.org; Sat, 29 Dec 2018 20:21:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdPn9-0006EA-Tk for bug-coreutils@gnu.org; Sat, 29 Dec 2018 20:21:24 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdPn5-00034J-Rk for bug-coreutils@gnu.org; Sat, 29 Dec 2018 20:21:23 -0500 Received: from joooj.vinc17.net ([155.133.131.76]:44088) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gdPn5-00032u-LN for bug-coreutils@gnu.org; Sat, 29 Dec 2018 20:21:19 -0500 Received: from smtp-zira.vinc17.net (jlefevre.net1.nerim.net [80.65.226.245]) by joooj.vinc17.net (Postfix) with ESMTPSA id 1C14C2BF; Sun, 30 Dec 2018 02:21:16 +0100 (CET) Received: by zira.vinc17.org (Postfix, from userid 1000) id 3820EC2027B; Sun, 30 Dec 2018 02:21:15 +0100 (CET) Date: Sun, 30 Dec 2018 02:21:15 +0100 From: Vincent Lefevre To: bug-coreutils@gnu.org Subject: ls / dircolors should support more than 8 colors Message-ID: <20181230012115.GD14408@zira.vinc17.org> Mail-Followup-To: Vincent Lefevre , bug-coreutils@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/1.11.1+76 (a5b64f6c) vl-114418 (2018-12-29) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 155.133.131.76 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) ls / dircolors should support more than 8 colors. First, "dircolors -p" says: # Below are the color init strings for the basic file types. A color init # string consists of one or more of the following numeric codes: # Attribute codes: # 00=3Dnone 01=3Dbold 04=3Dunderscore 05=3Dblink 07=3Dreverse 08=3Dconcea= led # Text color codes: # 30=3Dblack 31=3Dred 32=3Dgreen 33=3Dyellow 34=3Dblue 35=3Dmagenta 36=3D= cyan 37=3Dwhite # Background color codes: # 40=3Dblack 41=3Dred 42=3Dgreen 43=3Dyellow 44=3Dblue 45=3Dmagenta 46=3D= cyan 47=3Dwhite But one can get bright colors without bold by using 90, 91, etc. This is useful with gnome-terminal. I think that this should be documented. Support for more than 16 colors could be nice... --=20 Vincent Lef=E8vre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) ------------=_1546262461-15432-1--