delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/16/06:34:47

X-Spam-Check-By: sourceware.org
Date: Mon, 16 Apr 2007 12:34:26 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: tcsh-6.15.00-1 can't find cat, cut, sed
Message-ID: <20070416103426.GA5799@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20070413232335 DOT GA27411 AT nuthaus DOT mib DOT org>
Mime-Version: 1.0
In-Reply-To: <20070413232335.GA27411@nuthaus.mib.org>
User-Agent: Mutt/1.4.2.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Apr 13 16:23, Keith Thompson wrote:
> I just upgraded to tcsh 6.15.00-1.  When I start a login shell,
> I get the following error messages:
> 
> cat: Command not found.
> cut: Command not found.
> cat: Command not found.
> cut: Command not found.
> sed: Command not found.
> 
> (The command I use to do this is
>     "C:\cygwin\bin\rxvt.exe -fn 9x15 -fb 9x15bold -e /bin/tcsh -l"
> executed from a Windows shortcut in my Start menu.)
> 
> I've tracked this down to the script "/etc/profile.d/complete.tcsh",
> which is invoked from "/etc/csh.cshrc".  The complete.tcsh script
> assumes that $PATH / $path has been set, when in fact it has not.
> This is new code in complete.tcsh; it wasn't there before I upgraded
> to tcsh-6.15.00-1 (and "cygcheck -f /etc/profile.d/complete.tcsh"
> prints "tcsh-6.15.00-1").

Hang on, I'm wondering how this is supposed to be a bug.  When you start
a local Cygwin shell, the cygwin.bat script sets $PATH for you, so that
it contains /bin.  You could easily start rxvt the same way.  I'm not
exactly happy to create a special Cygwin complete.tcsh script, which
diverges that much from the upstream version, just because the shell is
called with a wrongly set $PATH.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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