delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/11/20:50:30

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
Message-ID: <41439D4D.1050001@tlinx.org>
Date: Sat, 11 Sep 2004 17:50:21 -0700
From: linda w <cygwin AT tlinx DOT org>
User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: What is executable or not...?
X-IsSubscribed: yes

When I am in bash, I can type a completion char for my executable and it 
will
give me a list of all the executables that could complete my command.

The command completion doesn't give a complete listing of all files, but 
oddly,
it does include  many ".dll's", most that would seem to be 
non-executable...like:

I wanted to find all executables starting with cyg:

/tmp> cyg<ESC>= #vi mode
Display all 142 possibilities? (y or n)
....
big long list deleted
...
cygfpx-1.dll                    cygxkbfile-1.dll
cygfreetype-6.dll               cygxkbui-1.dll
cygfreetype-9.dll               cygxml2-2.dll
cyggd-2.dll                     cygz.dll
/tmp> cyggd-2.dll
bash: /bin/cyggd-2.dll: Permission denied
/tmp>
---------

    Why does command completion display "dll's"?  Is this really desirable
behavior (I just wanted to find all the cygXXX commands...)?  Directory 
names
also show up as executables if they are directories in a directory of your
search path...hmmm....    Is this a bug or a feature? :-)   Has it 
always done
this?...hmph.

-l




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