tcsh problem on 2.0.1
Chih-kan Wang
ckwang at cs.utexas.edu
Sat May 11 04:41:20 AEST 1991
In article <989 at lychee.cs.utexas.edu>, ckwang at cs.utexas.edu (Chih-kan Wang) writes:
> I downloaded the compiled tcsh from aux.support.apple.com, put it in /bin,
> edited the /etc/shells, set proper access mode (as the root), and chsh to
> tcsh (in an ordinary user account). Then when I login again and opened
> commandshells, my .login file in home directory didn't get executed. But
> if I changed back to csh, everything went back to normal. Does anybody
> have any similar experience?
> .....
Thanks to everyone that replied or sent me email on this topic. After some
experiment on the suggestions you gave me, I decide to use Ron Flax's
method. He suggests putting the following two lines in .tcshrc
if ( `/bin/tty` == /dev/console ) source ~/.login
source ~/.cshrc
The second line is necessary if you have .cshrc file because tcsh does not
execute .cshrc automatically if it finds a .tcshrc.
---
CK
More information about the Comp.unix.aux
mailing list