Open fhoshino opened 1 year ago
Please provide a screen log, e.g. using
ls | tee log
X11
adduser.conf
adduser.conf.update-old
alternatives
apache2
apparmor.d
apt
apt-fast.conf
bash.bashrc
bash_completion.d
bindresvport.blacklist
binfmt.d
ca-certificates
ca-certificates.conf
ca-certificates.conf.dpkg-old
cron.d
cron.daily
cron.hourly
cron.monthly
cron.weekly
cron.yearly
crontab
dbus-1
dconf
debconf.conf
debian_version
default
deluser.conf
dhcp
dpkg
e2scrub.conf
environment
ethertypes
fonts
fstab
gai.conf
gprofng.rc
group
group-
gshadow
gshadow-
gss
gtk-2.0
host.conf
hostname
hosts
init.d
inputrc
iproute2
issue
issue.net
kernel
ld.so.cache
ld.so.conf
ld.so.conf.d
ldap
libaudit.conf
lighttpd
locale.alias
locale.gen
localtime
logcheck
login.defs
logrotate.conf
logrotate.d
machine-id
magic
magic.mime
mailcap
mailcap.order
mc
mime.types
mke2fs.conf
modprobe.d
modules
modules-load.d
motd
mtab
nanorc
netconfig
network
networks
nftables.conf
nsswitch.conf
opt
os-release
pam.conf
pam.d
passwd
passwd-
perl
profile
profile.d
protocols
python3
python3.11
python3.9
rc0.d
rc1.d
rc2.d
rc3.d
rc4.d
rc5.d
rc6.d
rcS.d
resolv.conf
rmt
rpc
rsyslog.conf
rsyslog.d
screenrc
security
selinux
sensors.d
sensors3.conf
services
shadow
shadow-
shells
skel
ssh
ssl
subgid
subgid-
subuid
subuid-
sudo.conf
sudo_logsrvd.conf
sudoers
sudoers.d
sysctl.conf
sysctl.d
systemd
terminfo
timezone
tmpfiles.d
ucf.conf
udev
update-motd.d
vim
wgetrc
wsl.conf
xattr.conf
xdg
zsh
Pasting it here filters out the control characters. Please upload the file log
.
ls
will normally not use color mode if STDOUT is not a termainal.
We might need ls --color=always | tee log.log
Yes, please repeat the test case and upload again.
\e[00;90m
This seems to be Bright Black foreground. Which I bet is #000000
the same as your black background… 😬
Maybe in the most common terminals for debian they have a different color for bright black? One with crappy contrast, but at least visible. Meanwhile, for us, it shows up as just black? I’m curious why it has 00
, as that’s technically not valid? If it’s for “All attributes off” it should be 0
, the same as just before the end of the line…
You might want to consult with dircolors
to see if there’s an entry that matches, and set it to a different color. (This is just a pointer to what you could look at, I’ve not edited any dircolors in like 20 years, so I regret that I cannot help further.)
Oh god, you saved me, tinkering with the color scheme I am able to see the file name again.
Using zsh, try to list files with ls, got some files listing as empty string,
![ConEmu64_2023-06-23_01-40-30](https://github.com/mintty/wsltty/assets/771955/046736ee-5843-45fe-a69c-e88fa2f777c2)
While using bash those files showup without a problem,
![ConEmu64_2023-06-23_01-40-43](https://github.com/mintty/wsltty/assets/771955/6daf7194-b66e-47ae-ac1a-adbf1c03b2b9)
Using alacritty doesn't yield this problem, and this problem exsit only after upgrading to debian 12 using wsltty, ssh back to a debian 11 box the problem disappeared.