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

Submitter:  None
Submitted:  Sat 09 May 2009 04:38:02 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  pixelbeat
Open/Closed:  Open

Thu 18 Feb 2010 04:35:19 PM UTC, comment #1: 
Pádraig Brady <pixelbeat>
Group administrator
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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-cf05.
    Corresponding source code