* change default shell
@ 2001-07-02 20:22 Sam C.
2001-07-03 4:14 ` David Starks-Browning
0 siblings, 1 reply; 4+ messages in thread
From: Sam C. @ 2001-07-02 20:22 UTC (permalink / raw)
To: cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 616 bytes --]
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.
Any idea ?
_________________________________________________________
Do You Yahoo!?
«ÃÂ¥ÃÂäHºô¯¸ http://geocities.yahoo.com.hk
Build your own website at http://geocities.yahoo.com.hk
--
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* change default shell
2001-07-02 20:22 change default shell Sam C.
@ 2001-07-03 4:14 ` David Starks-Browning
0 siblings, 0 replies; 4+ messages in thread
From: David Starks-Browning @ 2001-07-03 4:14 UTC (permalink / raw)
To: Sam C.; +Cc: cygwin
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: change default shell
@ 2001-07-04 13:03 Heribert Dahms
0 siblings, 0 replies; 4+ messages in thread
From: Heribert Dahms @ 2001-07-04 13:03 UTC (permalink / raw)
To: 'David Larsson (ERA)', 'cygwin@cygwin.com'
Hi David,
try: exec tcsh
which also saves a process!
Bye, Heribert (heribert_dahms@icon-gmbh.de)
> -----Original Message-----
> From: David Larsson (ERA) [SMTP:David.Larsson@era.ericsson.se]
> Sent: Wednesday, July 04, 2001 09:11
> To: 'cygwin@cygwin.com'
> Subject: 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/
--
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: change default shell
@ 2001-07-04 0:12 David Larsson (ERA)
0 siblings, 0 replies; 4+ messages in thread
From: David Larsson (ERA) @ 2001-07-04 0:12 UTC (permalink / raw)
To: 'cygwin@cygwin.com'
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-07-04 13:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-02 20:22 change default shell Sam C.
2001-07-03 4:14 ` David Starks-Browning
2001-07-04 0:12 David Larsson (ERA)
2001-07-04 13:03 Heribert Dahms
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).