Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

tcsh - Unknown colorls variable `do'.

Discussion in 'General Discussion' started by cyberwisdom, Jun 15, 2003.

  1. cyberwisdom

    cyberwisdom Well-Known Member

    Joined:
    Jun 2, 2003
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    156
    A user needs to use tcsh and everytime he types tcsh or csh he gets this error:
    I logged in as root and got the same error. I went thru WHM, reinstalled the RPM, but I still get the same error. He said it might be a problem related to /etc/profile.d/colorls.csh.

    I don't use tcsh and I can't seem to find a soluton for this. Can someone help me out?

    Thanx!:)
     
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    166
    What's in your /etc/profile.d/colorls.csh file right now?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. chazzle

    chazzle Active Member

    Joined:
    Apr 10, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    151
    WOW this is an old unanswered thread.. Well I will post my file contents and maybe someone will have an answer.
    Thanks all...

     
  4. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    Its been a long time since I have seen that error but if memory serves me correct change from vt100 terminal emulation to vt220 and that will correct the problem
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. chazzle

    chazzle Active Member

    Joined:
    Apr 10, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    151
    Nope still get the same error. I changed TERM vt100 to TERM vt220 in /etc/DIR_COLORS and still the same error.

    Am I changing the wrong file??
     
  6. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    put the file back like it was and then change your ssh client to act like a vt220 terminal
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. perlchild

    perlchild Well-Known Member

    Joined:
    Sep 1, 2002
    Messages:
    279
    Likes Received:
    0
    Trophy Points:
    166
    I had to unset LS_OPTIONS in bash for tcsh to work properly
    once that's done, tcsh works, with or without /etc/profile.d/colorls.csh
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice