Argh, something I hadn't noticed which almost certainly makes this
invalid: I was running under tmux (something I more or less run without
thinking on the bare console), and this is setting $TERM to
"tmux-256color" (erroneously given the linux console definitely doesn't
support 256 colors). Under this environment, the issue occurs, but under
the bare Linux console (without tmux where $TERM is simply "linux"), it
does not. The escape sequence produced is no different, but the bare
Linux console does indeed output dark-gray / bright-black for the
sequence.

I've closed the upstream bug but I'm in two minds what to do down here
in the distro. Do I regard this as an issue in tmux and re-assign it to
that?

It does seem there's something iffy about its ANSI sequence
interpretation. Further, tmux is seeded by default on server images, and
is a common choice now that byobu is no longer present, so I can see
people running into this and getting as confused as I initially was.

On the other hand, it's not necessarily an incorrect treatment of this
ANSI escape sequence ...

I need to do some more reading before I make up my mind, but I'll mark
this invalid for rust-coreutils in the meantime.

** Changed in: rust-coreutils (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2146344

Title:
  ls colors map to black in Linux console

To manage notifications about this bug go to:
https://bugs.launchpad.net/rust-coreutils/+bug/2146344/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to