delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/04/03:12:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <0DAEDF148988D411BB980008C7E65D2E03A14C13@esealnt416>
From: "David Larsson (ERA)" <David DOT Larsson AT era DOT ericsson DOT se>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: RE: change default shell
Date: Wed, 4 Jul 2001 09:11:00 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

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 AT ebi DOT ac DOT uk]
Sent: den 3 juli 2001 13:15
To: Sam C.
Cc: cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019