The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    6
    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:
    36
    What's in your /etc/profile.d/colorls.csh file right now?
     
  3. chazzle

    chazzle Active Member

    Joined:
    Apr 10, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    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:
    16
    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
     
  5. chazzle

    chazzle Active Member

    Joined:
    Apr 10, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    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:
    16
    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
     
  7. perlchild

    perlchild Well-Known Member

    Joined:
    Sep 1, 2002
    Messages:
    279
    Likes Received:
    0
    Trophy Points:
    16
    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