delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/21/12:34:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 21 Jan 2005 12:29:09 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
cc: Alexis Cothenet <cothenet AT cppm DOT in2p3 DOT fr>
Subject: Re: csh Shell
In-Reply-To: <Pine.GSO.4.61.0501211222440.18105@slinky.cs.nyu.edu>
Message-ID: <Pine.GSO.4.61.0501211228120.18105@slinky.cs.nyu.edu>
References: <Pine DOT LNX DOT 4 DOT 44 DOT 0501211722350 DOT 1715-100000 AT mard02 DOT in2p3 DOT fr> <Pine DOT GSO DOT 4 DOT 61 DOT 0501211222440 DOT 18105 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0

On Fri, 21 Jan 2005, Igor Pechtchanski wrote:

> On Fri, 21 Jan 2005, Alexis Cothenet wrote:
>
> > I have installed cygwin but i see that my defautl shell (doing echo
> > $SHELL) is bash. I would prefer to have csh shell. Do you know how i could
> > proceed ?
>
> Alexis,
>
> Cygwin doesn't have pure csh, but it does have tcsh, which should be
> compatible.
>
> To make it your "default" shell, you need to do two things:
> 1) Edit your /cygwin.bat and make it invoke "tcsh -l" instead of "bash
>    --login -i".  That way, when you click on the Cygwin shortcut, you'll
>    get tcsh[*].
> 2) Edit your /etc/profile, and change the shell entry from /bin/bash to
               ^^^^^^^^^^^^
Whoops, sorry!  Correction: s/profile/passwd/
	Igor

>    /bin/tcsh.
>
> This should do it.  HTH,
> 	Igor
> [*] There is a /bin/csh, but it's a Cygwin symlink, and you won't be able
> to invoke it via Windows mechanisms.

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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