Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ckwang From: ckwang@cs.utexas.edu (Chih-kan Wang) Newsgroups: comp.unix.aux Subject: Re: tcsh problem on 2.0.1 Keywords: tcsh, AUX 2.0.1 Message-ID: <993@lychee.cs.utexas.edu> Date: 10 May 91 18:41:20 GMT References: <989@lychee.cs.utexas.edu> Organization: U. Texas CS Dept., Austin, Texas Lines: 21 In article <989@lychee.cs.utexas.edu>, ckwang@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