FS#12658 - [patch] tcsh bug with new dircolors from coreutils

Attached to Project: Arch Linux
Opened by Gerardo Exequiel Pozzi (djgera) - Saturday, 03 January 2009, 22:47 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 08 February 2009, 02:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Setting LS_COLORS variable with last coreutils crash tsch, beacuse it sets and "rs" variable.

Patch is attached.

%eval `dircolors -c`
Unknown colorls variable `rs'.
%

and if for example running from bash shell that have set LS_COLORS variable:

$ eval `dircolors -b`
$ csh
Unknown colorls variable `rs'.
$
This task depends upon

Closed by  Eric Belanger (Snowman)
Sunday, 08 February 2009, 02:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in tcsh-6.16.00-2
Comment by Gerardo Exequiel Pozzi (djgera) - Saturday, 03 January 2009, 22:59 GMT
Or another more simple patch that not ignores the variable, recognize it.

   rs.diff (0.6 KiB)
Comment by Eric Belanger (Snowman) - Monday, 05 January 2009, 22:34 GMT
Is that still a problem with tcsh 6.16.00-1 ?
Comment by Eric Belanger (Snowman) - Friday, 09 January 2009, 09:16 GMT
This fix isn't in the source for tcsh 6.16 so tcsh will need to be patched. I also found another patch http://osmirrors.cerias.purdue.edu/pub/gentoo/portage/app-shells/tcsh/files/tcsh-6.14.00-debian-dircolors.patch
I'll need to check which one would be better. BTW, did you created the rs.diff patch from scratch or did you get it somewhere?
Comment by Gerardo Exequiel Pozzi (djgera) - Tuesday, 13 January 2009, 01:01 GMT
Oops, sorry i get rs.diff from here http://bugs.gw.com/view.php?id=70

Loading...