PDA

View Full Version : Unknown colorls variable `rs'. with tcsh/csh in rawhide


marko
2009-02-28, 03:14 PM CST
I'm getting this when starting tcsh:

Unknown colorls variable `rs'.


This is in Rawhide x86_64, tcsh-6.15-6.fc10.x86_64

The tcsh shell loads but is messed up (environment isn't setup right, aliases are not loaded)

I then found that if I move /etc/profile.d/colorls.csh to a new name to force
/etc/profile not to load it the problem goes away:

cd /etc/profile.d
mv colorls.csh colorls._csh

I think this started right after I had yum installed "rxvt". I thought it might not be working in rawhide (trying rxvt would pop up the window which would then immediately dissappear), so I then yum removed it after I noticed tcsh was not loading right. What I want to find out is if this is a common problem being seen.

UPDATE : disregard "csh" in subject, there is no csh in Fedora now, it's a link to tcsh

tevang
2009-03-10, 05:55 AM CDT
Yes it is a common problem. As far as I am concerned, the solution you suggested didn't work. There are patches out there to tackle the same problem but can't figure out how to use them. For example:

http://bugs.archlinux.org/task/12658

AdamW
2009-03-10, 02:07 PM CDT
To use the patch you'd need to apply it to the tcsh source code and rebuild tcsh (or, rebuild a new tcsh RPM with the patch included).

There does not appear to be a bug report for this in Fedora Bugzilla yet. Could you file one, and leave the URL so I can triage it? File the report on tcsh, and link to that Arch Linux report, the Mandriva report - https://qa.mandriva.com/show_bug.cgi?id=40532 - and the Gentoo report - http://bugs.gentoo.org/show_bug.cgi?id=234700 . thanks!

tevang
2009-03-10, 05:04 PM CDT
I installed tcsh from the repositories and the only file I can find in my directory tree is complete.tcsh .
I filed the bug but I'm not sure if I filled out all the required fields correctly (there's also a minor typo in the description which I can't edit). Here's the link:

https://bugzilla.redhat.com/show_bug.cgi?id=489617#add_comment

AdamW
2009-03-16, 02:48 PM CDT
I see an update's been pushed, now - can you test it out and confirm for the maintainer whether it works for you? Thanks.

tevang
2009-03-17, 06:22 AM CDT
Yes the bug has been fixed!