Click to See Complete Forum and Search --> : tcsh error


Hawg
10-21-2001, 05:36 PM
After a kernel panic when I open a tcsh shell from a xterm I get this error

Bad : modifier in $ (/).

It happens across all of the user accounts and root. The only thing I notice that dosn't work is command history using the up/down arrows. I tried to reinstall tcsh from an rpm but that dosn't fix it.

If I log into another shell ash,bash,ect everything seems to be ok.

X_console
10-21-2001, 05:46 PM
Check your /etc/csh.cshrc and /etc/csh.login Did you modify those files at all before this happened?

Hawg
10-21-2001, 05:51 PM
Thanks it was in the csh.cshrc. Something in there is the cause. I commented out EVERY line and now command history works.

It's kind of odd because before today I didn't know these files existed so I never modified them.

Now I need to go through line by line and find where the error is.

Thanks Again