delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <3A0FC9B7.254F45CC@redhat.com> |
Date: | Mon, 13 Nov 2000 12:00:07 +0100 |
From: | Corinna Vinschen <vinschen AT redhat DOT com> |
Reply-To: | cygwin <cygwin AT sources DOT redhat DOT com> |
X-Mailer: | Mozilla 4.76 [en] (X11; U; Linux 2.2.14-SMP i686) |
X-Accept-Language: | de, en |
MIME-Version: | 1.0 |
To: | cygwin <cygwin AT sources DOT redhat DOT com> |
Subject: | Re: TCSH 6.08.00 *.exe problem |
References: | <047f01c04d5b$a6edf830$365aa8c0 AT ise DOT ch> |
Anatol Studler wrote: > > Corinna > > I'm using the TCSH 6.08.00 in my cygwin environment, and I have following > problem with it, which works with BASH: > > ---------------------------- > [CYGSERV] ~ > tcsh > [CYGSERV] ~ > CL.EXE > CL.EXE: Command not found. > [CYGSERV] ~ > bash > bash-2.04$ CL.EXE > Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86 > Copyright (C) Microsoft Corp 1984-1998. All rights reserved. > > usage: cl [ option... ] filename... [ /link linkoption... ] > bash-2.04$ > ---------------------------- I didn't look into the sources of tcsh for months. I simply tried it and you're right. However, typing `cl' works. The reason is that if running under Cygwin the shell creates it's hash table so that executables which end in .exe or .com are shortend by that extension and executables ending in .EXE or .COM are shortened _and_ changed into lower case before being inserted into the hash table. The source code is in sh.exec.c, line 748ff. Feel free to change it to your needs. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT sources DOT redhat DOT com Red Hat, Inc. mailto:vinschen AT redhat DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |