Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <01c301c1baf7$bf5435a0$f400a8c0@mchasecompaq>
From: "Michael A Chase" <mchase@ix.netcom.com>
To: "Martin Nilsson \(ERV\)" <Martin.Nilsson@erv.ericsson.se>,
   <cygwin@cygwin.com>
References: <5F03ACA2F76DD411B8BC00508BE3B4D70A52254C@esemont203.gbg.edt.ericsson.se>
Subject: Re: Problems using tcsh as default shell
Date: Thu, 21 Feb 2002 08:47:14 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

----- Original Message -----
From: "Martin Nilsson (ERV)" <Martin.Nilsson@erv.ericsson.se>
To: <cygwin@cygwin.com>
Sent: Thursday, February 21, 2002 07:02
Subject: Problems using tcsh as default shell


> I have a problem with tcsh when using it as the default shell for cygwin.
I have replaced the bash command line in cygwin.bat with tcsh -l and now my
cygwin.bat have the following content:
>
>  @echo off
>  C:
>  cd \cygwin\bin
>  tcsh -l
>
> tcsh does not seem to have any problem reading my startup scripts (like
.tcshrc asf) but it always complains with the following message:
>
>  /cygdrive/c/j2sdk1.4.0/bin/sed: No children.
>
> Sometimes "j2sdk1.4.0/bin" is replaced by some other path name. I guess
there is some kind of problem with my path variable when tcsh is trying to
parse it (using sed??). Does anyone have a solution on how to avoid this
error?
>
> This problem does not arise when invoking tcsh from bash (and using bash
as default shell).
>
> cygwin is installed on a WIN2K machine.

It looks like you have something earlier in $path that contains files with
the same names as the utilities provided by Cygwin; probably
c:\j2sdk1.4.0\bin\sed.exe in this example.  /etc/csh.cshrc runs before
/etc/csh.login has a chance to fix $path to put Cygwin's bin directories at
the front of the path, so your Win2K path is still in effect.

Running 'type -a sed' (or similar for other tools) in bash may be
enlightening.  The output from 'cygcheck -s' may also help you figure out
what's happening.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



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

