This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem with setting up tcsh as default shell


thanks Igor for the info.

i tried the 'tcsh -l' but that did not change anything.

does cygwin actually execute the csh.login or should i rename
it to .login?

when does cygwin execute profile? should i rename it to
.profile? none of the books i have discuss this.

thanks
mike


----- Original Message -----
From: "Igor Pechtchanski" <pechtcha@cs.nyu.edu>
To: "mike parks" <mwparks@worldnet.att.net>
Cc: <cygwin@cygwin.com>
Sent: Tuesday, October 22, 2002 7:58 AM
Subject: Re: problem with setting up tcsh as default shell


> On Tue, 22 Oct 2002, mike parks wrote:
>
> > hi,
> >
> > i am having trouble setting tcsh as my default shell. cygwin does not
> > seem to pick up the settings in the .tcshrc from my $HOME directory.
> >
> > i started with the default profile and csh.cshrc files that came with
> > the cygwin download.
> >
> > i noticed that cygwin seemed to start the bash shell from cygwin.bat. so
> > i replaced the 'bash...' line with 'tcsh'.
> >
> > as a matter of course i tried changing the syntax of the profile file to
> > more
> > tcsh/csh style as it appeared to be sh style thinking that may be the
> > problem but to no avail.
> >
> > i added echo commands to the profile and .tcshrc files to see if they
were
> > being executed but i never see the echo's coming out.
> >
> > i would appreciate any suggestions you may have.
> >
> > thanks
> > dazed and confused
> >
> > mike
>
> Mike,
>
> I assume you've translated bash's --login option to tcsh's -l.
> A login tcsh executes /etc/csh.login, not /etc/csh.cshrc, IIRC.
> Hope this helps,
> Igor
> --
> http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_ pechtcha@cs.nyu.edu
> ZZZzz /,`.-'`'    -.  ;-;;,_ igor@watson.ibm.com
>      |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski
>     '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02,
p.51
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]