On Tuesday 2008-10-14 10:17, Jim Meyering wrote: >> >> --- ls.c.1 2008-10-14 12:24:39.605050000 +0400 >> +++ ls.c 2008-10-14 12:25:48.985396400 +0400 >> @@ -538,7 +538,7 @@ >> { >> { LEN_STR_PAIR ("\033[") }, /* lc: Left of color sequence */ >> { LEN_STR_PAIR ("m") }, /* rc: Right of color sequence */ >> - { 0, NULL }, /* ec: End color (replaces lc+no+rc) */ >> + { LEN_STR_PAIR ("\033[m\033[K") }, /* ec: End color (replaces >> lc+no+rc) */ >> { LEN_STR_PAIR ("0") }, /* rs: Reset to ordinary colors */ >> { 0, NULL }, /* no: Normal */ >> { 0, NULL }, /* fi: File: default */ > >Thanks for the report. >Can you list a few terminal emulators that are affected? >The more the better.
This affects at least linux vt, xterm and urxvt, possibly much more. >Also, please tell precisely how to demonstrate the problem. touch zzzz.foo (must be the last file in a long listing, long enough to cause scrolling) LS_COLORS="*.foo=0;31;42" ls -l _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils