zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Michael Schaap" <cygwin@mscha.com>
Cc: <cygwin@cygwin.com>, "ZSH Workers Mailing List" <zsh-workers@sunsite.dk>
Subject: RE: Zsh observations
Date: Mon, 9 Jul 2001 09:49:22 +0400	[thread overview]
Message-ID: <001001c1083a$e7372200$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <5.1.0.14.2.20010708192157.03ca2628@imap.local.mscha.com>

>
> Sorry, I made a mistake in my exaple.  I meant:
>          % ./setu<TAB>

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

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


  reply	other threads:[~2001-07-09  5:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5.1.0.14.2.20010705112435.03520c60@imap.mscha.org>
2001-07-05 11:33 ` Andrej Borsenkow
2001-07-05 13:15   ` Michael Schaap
2001-07-08 12:57   ` Michael Schaap
2001-07-08 17:07     ` Andrej Borsenkow
     [not found]     ` <Pine.SV4.4.33.0107082101110.3442-100000@itsrm2.mow.siemens .ru>
2001-07-08 17:30       ` Michael Schaap
2001-07-09  5:49         ` Andrej Borsenkow [this message]
2001-07-09  9:31           ` Michael Schaap
2001-07-09 11:28             ` Bart Schaefer
2001-07-09 11:44               ` Sven Wischnowsky
2001-07-09 17:30             ` Andrej Borsenkow
     [not found]             ` <Pine.SV4.4.33.0107092120020.12110-100000@itsrm2.mow.siemen s.ru>
2001-07-09 19:22               ` Michael Schaap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001001c1083a$e7372200$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=cygwin@cygwin.com \
    --cc=cygwin@mscha.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).