MANPATH undefined error

Hello All,

I m using Linux OS and the default shell is C shell.

Till today the startup file (.login ) was invoking first and the environment variable set there working properly but after some software installation - now the .login file is not invoking at the startup and subsequently the environment variable are not working -seems some other file csh.login is invoking first.

I am getting messahe : MANPATH undefined while login.

The MANPATH is set in the /etc/csh.login file and it looks like

setenv MANPATH /opt/teradata/client/13.0/odbc_32/help/man:$MANPATH #Added by ODBC13.0 Package

Any suggestion on how .login file invoke first and how to fix the MANPATH error. ?

Thanks
Jam

I'm not sure about your system, but as far as i can remember my younger days, when i used to use the c-shell the system-wide configuration file is called /etc/csh.cshrc . Your file might not be read.

You can also create a file ~/.cshrc , which is read every time a new shell starts (that includes login, when your login shell is being started by the login process) and which contains settings on a per-user basis. both these files have to be readable and executable i suppose.

I hope this helps.

bakunin