LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-27-2010, 02:42 AM   #1
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,437

Rep: Reputation: 110Reputation: 110
Tcsh - Unknown colorls variable 'ca'


I have been using tcsh for quite some time, both on a laptop running Ubuntu and a remote server running Slackware 11. No problem whatsoever. Now I am compiling and installing tcsh on a brand new Slackware 13 box and when I run tcsh I get this error:

Unknown colorls variable 'ca'

or

Unknown colorls variable 'hl'

I didn't have this problem in Slackware 11, why is it happening now?

So I tried the official Slackware package for tcsh. It works, but it's tcsh 6.15.00. Tcsh is at 6.17.00, which runs fine on my Slackware 11 box.

I investigated the problem on Google and all reports seem to refer to Fedora, some to Mandriva. Many of the threads, across several forums and sites, point to this LinuxQuestions thread:

http://www.linuxquestions.org/questi...-%60ca-659523/

But none of that is helping me with my problem. Does anyone here know how to fix this?
 
Old 07-27-2010, 03:13 PM   #2
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,437

Original Poster
Rep: Reputation: 110Reputation: 110
Investigating further, I found that I can go from Bash to Tcsh without the error if I unset the LS_COLORS variable:

Code:
$ unset LS_COLORS
I can also add that line to my .bash_profile file, the effect is the same.

But that is not what I want. I want tcsh to be my login shell. Adding that line to .bash_profile or .tcshrc doesn't solve the problem. I can use tcsh as my login shell, but I get the error and my .tcshrc is not processed, so I lose all the customizations.

This sucks.
 
Old 07-27-2010, 03:38 PM   #3
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,437

Original Poster
Rep: Reputation: 110Reputation: 110
Searched more and came across this thread:

http://www.linuxquestions.org/questi...roblem-802014/

I applied the patch and seems to have solved the problem. Will see. Marking as SOLVED.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error message on opening up a csh terminal in Fedora 9 Unknown colorls variable `ca'. mrground Linux - Software 3 08-01-2008 11:37 AM
tcsh set/read variable command? johnpaulodonnell Linux - Newbie 2 08-22-2007 09:26 AM
Variable substitution (stupid noob) question in tcsh King of Men Linux - Newbie 4 12-04-2005 09:12 AM
tcsh problem "Unknown color-ls variable 'su' " grizos Debian 4 11-22-2005 10:54 AM
nohup tcsh (environmental variable) podollb Linux - Software 0 05-17-2004 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration