delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/18/14:18:18

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
X-Originating-IP: [171.71.161.115]
Reply-To: david_oshea AT altavista DOT com
From: "David O'Shea" <dcoshea AT hotmail DOT com>
To: cygwin AT sources DOT redhat DOT com
Subject: tcsh and .EXE files in path
Date: Thu, 19 Apr 2001 04:10:28 +1000
Mime-Version: 1.0
Message-ID: <F79c99ir3wSimD3JkUw00001962@hotmail.com>
X-OriginalArrivalTime: 18 Apr 2001 18:10:28.0883 (UTC) FILETIME=[D9783E30:01C0C832]

Hi all,
	I'm having some strange behaviour with tcsh.  My path is set to this:

/homes/bin /usr/local/bin /usr/bin /bin /cygdrive/c/WINNT/system32 
/cygdrive/c/WINNT /cygdrive/c/WINNT/System32/Wbem 
/cygdrive/c/Oracle/Ora81/bin /cygdrive/c/PROGRA~1/Oracle/jre/1.1.7/bin 
/usr/DevStudio/SharedIDE/bin/ide /usr/DevStudio/SharedIDE/bin 
/usr/DevStudio/VC/bin

	I get the following undesirable behaviour where I can't run a program 
called NMAKE.EXE in /usr/DevStudio/VC/bin without typing the full 
"NMAKE.EXE" name:

>nmake
nmake: Command not found.
>nmake.exe
nmake.exe: Command not found.
>NMAKE
NMAKE: Command not found.
>NMAKE.EXE

Microsoft (R) Program Maintenance Utility   Version 1.62.7022

	If I get rid of some of the path elements:

>set path=($path[1-6] $path[12])
>rehash
>nmake

Microsoft (R) Program Maintenance Utility   Version 1.62.7022

	It works.  If I restore my original path and get rid of the elements I 
didn't remove the first time:

>set path=($path[7-11] $path[12])
>rehash
>nmake

Microsoft (R) Program Maintenance Utility   Version 1.62.7022

	It also works.  So it looks like it's related to the number of elements in 
the path (or the number of binaries on the path), rather than any particular 
entry in the path.

	Is tcsh adding entries for the "NMAKE.EXE" version of the program name, and 
then not adding the further entries ("NMAKE", "nmake.exe" and "nmake") 
because it's run out of memory or something?  Or is there something else 
here I'm missing?

	I'm runing "CYGWIN_NT-5.0 DOSHEA-W2K 1.1.8(0.34/3/2) 2001-01-31 10:08 i686 
unknown" with tcsh 6.10.00-3.

Regards,
David
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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