[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#801654: dircolors: Please support colors on TERM=screen.xterm-25
From: |
Pádraig Brady |
Subject: |
Re: Bug#801654: dircolors: Please support colors on TERM=screen.xterm-256color |
Date: |
Tue, 13 Oct 2015 12:48:12 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
On 13/10/15 04:11, Josh Triplett wrote:
> Package: coreutils
> Version: 8.23-4
> Severity: normal
>
> josh@jet:~$ TERM=screen.xterm-256color dircolors
> LS_COLORS='';
> export LS_COLORS
> screen in current unstable seems to set TERM to screen.xterm-256color if
> running in a terminal with TERM=xterm-256color. (With TERM=xterm,
> screen uses TERM=screen, which dircolors supports.)
It seems screen(1) has multiplied out the various 256 color variants recently:
http://invisible-island.net/ncurses/terminfo.ti.html#tic-screen-256color
I wonder should we add globbing support to TERM entries in dircolors?
I.E. add support for a general entry like:
TERM *256color*
That would cater for all existing TERMs in Fedora's /etc/DIR_COLORS.256color
for example, and new entries following this common pattern.
Attached is a patch to do that.
dircolors-TERM-glob.patch
Description: Text Data
- Re: Bug#801654: dircolors: Please support colors on TERM=screen.xterm-256color,
Pádraig Brady <=