delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/13/22:04:50

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
To: cygwin AT cygwin DOT com
From: Shankar Unni <shankarunni AT netscape DOT net>
Subject: tcsh can't find executables in Path with "wrong" case
Date: Tue, 13 Sep 2005 19:02:16 -0700
Lines: 16
Message-ID: <dg80b9$udg$1@sea.gmane.org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Thunderbird/1.4 Mnenhy/0.7.2.0
X-IsSubscribed: yes

Just a reiteration of 
http://sourceware.org/ml/cygwin/2001-09/msg00499.html, I guess.

One of the executables in my PATH is called "EXP.EXE" (in that exact 
case). When I type just "exp", tcsh can't locate it. It can if I type "EXP".

It's clearly something to do with the path hashing, as unhashing fixes 
this problem (typing "unhash" at the command prompt).  And "bash" 
doesn't seem to have this problem (I guess it doesn't hash things).

So this is just to inform folks of a possible workaround for this 
problem (ref: http://sourceware.org/ml/cygwin/2001-12/msg00700.html).

Unfortunately, sticking that command into .tcshrc doesn't seem to help: 
I have to explicitly type "unhash" at the command prompt, and then tcsh 
is able to find these executables.


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