On 09/07/15 16:03, Víctor Cuadrado Juan wrote:
> 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).

May be Debian specific?
The following is on Fedora 22:

$ TERM=screen-256color tput colors
256
$ TERM=tmux-256color tput colors
tput: unknown terminal "tmux-256color"

cheers,
Pádraig.


-- 
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