bugGNU Core Utilities - Bugs: bug #26512, ls: it's no longer possible to...


You are not allowed to post comments on this tracker with your current authentication level.

bug #26512: ls: it's no longer possible to change the default (NORMAL) text color

Submitted by:  None
Submitted on:  Sat 09 May 2009 04:38:02 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Pádraig Brady <pixelbeat>
Open/Closed:  Open

Thu 18 Feb 2010 04:35:19 PM UTC, comment #1:

Fixed with commit f5268e27

Pádraig Brady <pixelbeat>
Project AdministratorIn charge of this item.
Sat 09 May 2009 04:38:02 PM UTC, original submission:

I prefer to have the "-l" output (rights, size, date etc) in an unintrusive "bold black", which is no longer possible since commit 483297d5ddaea930d61da1da9c3f052cbd3c3810.

- C_NORM was replaced by C_RESET. C_RESET doesn't sound like it should be used to change the default color, but to reset to the default terminal colors ([0m)
- If I try to use C_RESET to change the default color, the first line of output is uncolored. ls tries not to output "unnecessary" escape sequences, so the color is not "reset" until the second line of output. A call to prep_non_filename_text() was removed in main(). If i re-add it everything looks fine again.



No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by pixelbeat (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-02-18 pixelbeat StatusNone => Fixed
        Assigned toNone => pixelbeat

    Back to the top

    Powered by Savane 3.3