Package: coreutils
Version: 8.23-4
Severity: wishlist

Dear Maintainer,

The commands depending on 'dircolor' ('ls', 'dir', etc) do not output colors
when you are using TERM=tmux or TERM=tmux-256color inside of tmux.

This happens because LS_COLORS is empty when using those terminfos, as
'dircolor'
hasn't populated it:
- Inside of tmux: 'TERM=screen-256color env | grep LS_COLORS' shows a populated
LS_COLORS.
- Inside of tmux: 'TERM=tmux-256color env | grep LS_COLORS' or 'TERM=tmux env |
grep LS_COLORS' shows LS_COLORS empty.

Another way to see it:
- Inside of tmux: 'TERM=screen-256color ls --color' outputs colors.
- Inside of tmux: TERM=tmux-256color ls --color' or 'TERM=tmux ls --color' does
not output colors.

As tmux and tmux-256colors are provided by the ncurses-term Debian package, it
would be good if they were supported by dircolor, by adding them to
"src/dircolors.hin".

I would submit a patch myself, but I'm not sure if this change is only relative
to Debian sources (does ncurses-term provide terminfos that may not be in other
distros?)
or the patch should go with upstream sources (and open another bug upstream
too).




-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages coreutils depends on:
ii  libacl1      2.2.52-2
ii  libattr1     1:2.4.47-2
ii  libc6        2.19-18
ii  libselinux1  2.3-2+b1

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to