From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19596 invoked from network); 9 Jul 2001 05:49:48 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 9 Jul 2001 05:49:48 -0000 Received: (qmail 7606 invoked by alias); 9 Jul 2001 05:49:31 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15317 Received: (qmail 7595 invoked from network); 9 Jul 2001 05:49:30 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: "Michael Schaap" Cc: , "ZSH Workers Mailing List" Subject: RE: Zsh observations Date: Mon, 9 Jul 2001 09:49:22 +0400 Message-ID: <001001c1083a$e7372200$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <5.1.0.14.2.20010708192157.03ca2628@imap.local.mscha.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 > > Sorry, I made a mistake in my exaple. I meant: > % ./setu (tty1)% ./fTAB (tty1)% ./foo.exe (tty1)% ll fo* -rwxrwxrwx 1 MW1G017 ITS 4 Jul 9 09:40 foo.exe* (tty1)% chmod -x foo.exe (tty1)% ./fo No matches for: `external command', `executable file or directory', `builtin com mand', `shell function', `alias', `reserved word', `job', or `parameter' Are you sure setup.exe has execute permissons? > Another, less useful, example world be: > % /usr/local/bin/zs > Same question. The problem is, Cygwin will execute file even if it has no executable bit set. But zsh relies on it to find out executable file(s). If you do not use NTEA Cygwin is using some magic to find out (and return in stat) if file is executable; but if you use NTEA it completly relies on file modes. I do not know any easy workaround here. Zsh just assumes that anything in path is executable, hence it can complete command in path but the same command by file name. I cannot at the moment say if it correct or not. -andrej