-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking issue for incompatibilities with GNU ls #48
Comments
Thank you for collecting these! |
This adds an initial set of integration tests that make sure that we generate the same styles as GNU `ls`. Related: #48
This adds an initial set of integration tests that make sure that we generate the same styles as GNU `ls`. Related: #48
This adds an initial set of integration tests that make sure that we generate the same styles as GNU `ls`. Related: #48
Hi, Im working on getting the color-term gnu test for coreutils
LSCOLORS with either nu-ansi-term or just ansi-term creates the additional colors as 1;xx instead of 01;xx, as well as it does not add a reset-character at the start. From what Ive tested so far, shell doesnt really care if you do any of that. At least newer shells. Maybe it was specific back in the day? Any chance to improve here? |
Please see nushell/nu-ansi-term#41 it will enable a LS fix |
This release includes support for `gnu_legacy` output of CSI sequences. This should resolve one of the outstanding issues in sharkdp#48 For the full release notes see: https://github.com/nushell/nu-ansi-term/releases/tag/v0.48.0
another behavior that is ignored by lscolors crate right now, at least for nu-ansi-term, is reset styling |
hey, I would like to solve this issue. if you could give me some guidance on this, it would be really nice. |
FTR this was fixed in |
Hi, I was working on GNU compatibility for uutils-ls where I encountered an issue with the suffix matching. For example:If we specify same suffix with two different cases and with same style. touch img1.jpg IMG2.JPG img3.JpG
LS_COLORS="*.jpg=01;35:*.JPG=01;35" ls -U1 --color=always This would give us the output.
This would work just fine with our current version, since we always ignore the case, But if we specify the same suffix with two different cases with two different styles. LS_COLORS="*.jpg=01;35:*.JPG=01;35;46" ls -U1 --color=always This would give us the output.
So in short I suppose this is how gnu's suffix is matched, when two or more suffixes are specified in the env with different style then the matching would become case-sensitive otherwise it would ignore the cases. |
Hi, I was working on this issue for uutils and encountered this issue,
I would like to work on this, if possible could you guys give me some guidance on this 😀 |
ln=target
should color symlinks like their targetAdd support for ln=target #11 was closed as wontfix, but this might be possible now after Add a Colorable trait to factor out metadata retrieval #45.
ca
(regular file with capabilities set)Support more dircolors keys #6 was closed as mostly completed, but
ca
(anddo
) remain unimplemented.It is very slow to check for capabilities (at least two syscalls per file).
ca
is no longer part of the default GNU ls color scheme.do
(Solaris door)These are rare.
Custom control sequences
Add support for all possible ANSI styles? #2 and Unsupported ANSI codes should be ignored #21 are relevant issues. Currently lscolors will ignore control sequences it doesn't understand, while GNU ls just passes everything through verbatim.
GNU ls even supports non-ANSI terminals by customizing
rs
,lc
,rc
,ec
,cl
.Escape sequences
LS_COLORS="ex=m\07\033[0"
should ding a bell every time an executable file is encountered.fi=0
should not fall back tono
Smart case sensitivity for suffix matching (Sensitive cases #69, gnu compatiblity fix for case sensitivity handling of suffixes #86)
The text was updated successfully, but these errors were encountered: