Re: login fails to source ~/.tcshrc under xterm
From: Andy Y (andy314159pi_at_yahoo.com)
Date: 08/20/04
- Previous message: gonzalo briceno: "USB Bluetooth setup using kernel 2.6.7: HCI and USB"
- In reply to: Robert E A Harvey: "Re: login fails to source ~/.tcshrc under xterm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 19 Aug 2004 20:33:52 -0700
Hello comp.os.linux.admin,questions,readhat...,
Robert Harvey Rules All!
Thanks for this fix!
Now remote processes on our cluster can pick up the correct environment variables.
-Very grateful Andy
robertharvey@my-deja.com (Robert E A Harvey) wrote in message
> andy314159pi@yahoo.com (Andy Y) wrote in message
> > The problem I currently have is this: the login process is reading
> > /etc/csh.login and /etc/csh.cshrc BUT IS NOT reading ~/.tcshrc OR
> > ~/.cshrc. How can I beat this machine into submission?
In my case, the comments below allowed me to fix this problem:
> How up to date is your shell? .tcshrc support was added late in the
> development cycle (but probably still about 10 years ago). It's said
> to be possible to compile the shell for a different execution order,
> perhaps yours is compiled not to do these files at all? I've worked
> with shells that skip the files in ~ if the ones in /etc/ exist.
> Especially if there is an 'exit' in the /etc/ ones.
> If that's the case you could code in support at the end of the /etc/
> files, something like
> if ( -e ~/.tcshrc ) then
> source ~/.tcshrc
> endif
- Previous message: gonzalo briceno: "USB Bluetooth setup using kernel 2.6.7: HCI and USB"
- In reply to: Robert E A Harvey: "Re: login fails to source ~/.tcshrc under xterm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|