LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Missing dircolors for less and xterm (csh) (http://www.linuxquestions.org/questions/linux-software-2/missing-dircolors-for-less-and-xterm-csh-593704/)

stealth886 10-22-2007 01:29 PM

Missing dircolors for less and xterm (csh)
 
Launching a new xterm in my redhat linux prints out the following
*****************
/etc/DIR_COLORS.xterm
-f
/home/thsu/.dircolors
-f
/home/thsu/.dircolors.xterm
-f
/home/thsu/.dir_colors
-f
/home/thsu/.dir_colors.xterm

/home/thsu/.dir_colors.xterm
[thsu@stadk19: /home/thsu] $
*****************
The "less" utility prints the above lines as well instead of the content of the files being read. Tried adding softlinks for the missing file to /etc/DIR_COLORS.xterm

I have googled many places, but still couldn't find any relevant information on this. Does anyone know anything about this? I have checked ~/.cshrc and the other resource files, and none of them refer to these files. It seems to be in the binary code of the shell that I'm using which is csh. The xterm was working fine, until I did some cleaning of unused files. However, I double checked that I never deleted anything related to dircolors. Any suggestion would be greatly appreciated.

kinetic 10-24-2007 05:40 AM

What exactly did you 'clean'?

stealth886 10-26-2007 01:48 AM

I just deleted some of the old txt file under my home directory. I was methodically using ls before rm to avoid mistakes. And I didn't see anything fishy when checking the history after discovering the problem.

Was hoping that someone would know what could lead to this error message that I am seeing.
Thx.


All times are GMT -5. The time now is 01:02 AM.