GNU bug report logs - #33915
please document how to use more than 8 colors with ls / dircolors

Previous Next

Package: coreutils;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Sun, 30 Dec 2018 01:22:01 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 33915-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Vincent Lefevre <vincent <at> vinc17.net>, 33915-done <at> debbugs.gnu.org
Subject: Re: bug#33915: ls / dircolors should support more than 8 colors
Date: Mon, 31 Dec 2018 05:20:42 -0800
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;<foreground color number>;48;5;<background color number>
> 
Addressed with:
https://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=d1de585

thanks




This bug report was last modified 6 years and 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.