bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: anonymous
Subject: [bug #26512] ls: it's no longer possible to change the default (NORMAL) text color
Date: Sat, 09 May 2009 16:38:03 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.19) Gecko/20081224 Galeon/2.0.7

URL:
  <http://savannah.gnu.org/bugs/?26512>

                 Summary: ls: it's no longer possible to change the default
(NORMAL) text color
                 Project: GNU Core Utilities
            Submitted by: None
            Submitted on: Sat 09 May 2009 04:38:02 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?26512>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]