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]

RE: change default shell


I might be ignorant here but as far as I know, the only way to use tcsh as a login shell in cygwin, assuming you want to use your personalized environment, is to change your windows environment. Since I'm using W2k I ended up in my windows home directory, eg. C:\Documents and Settings\<USERNAME>. I didn't want to mix win and *nix setting and scripts so I had to come up with a different solution.

I solved this by using the standard bash login that ships with cygwin and then I call tcsh in the .bashrc file.

Works fine except I have to tap Ctrl+D twice to get out, not a big issue though.

///David

-----Original Message-----
From: David Starks-Browning [mailto:starksb@ebi.ac.uk]
Sent: den 3 juli 2001 13:15
To: Sam C.
Cc: cygwin@cygwin.com
Subject: change default shell


On Tuesday 3 Jul 01, Sam C. writes:
> In linux, I could change the default shell to (say)
> tcsh by changing the /etc/passwd file.
> 
> But I could not change the default shell to tcsh in
> cygwin by editing the /etc/passwd. 

If you start Cygwin from the shortcut, then look at the shortcut
properties.  You should be able to figure it out from there.

/etc/passwd is used by login/telnet/rlogin/ssh.  Not by the shortcut.

(One for the FAQ perhaps?)

David
(Cygwin FAQ maintainer)


--
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/


--
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]