delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/21/11:57:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <01c301c1baf7$bf5435a0$f400a8c0@mchasecompaq>
From: "Michael A Chase" <mchase AT ix DOT netcom DOT com>
To: "Martin Nilsson \(ERV\)" <Martin DOT Nilsson AT erv DOT ericsson DOT se>,
<cygwin AT cygwin DOT com>
References: <5F03ACA2F76DD411B8BC00508BE3B4D70A52254C AT esemont203 DOT gbg DOT edt DOT ericsson DOT se>
Subject: Re: Problems using tcsh as default shell
Date: Thu, 21 Feb 2002 08:47:14 -0800
MIME-Version: 1.0
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 DOT Nilsson AT erv DOT ericsson DOT se>
To: <cygwin AT cygwin DOT 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/

- Raw text -


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