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 |
Reply-To: | <tiberius AT braemarinc DOT com> |
From: | "Gary R. Van Sickle" <tiberius AT braemarinc DOT com> |
To: | "'Cygwin Mailing List (E-mail)'" <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | RE: Tab completion broken in latest Cygwin snapshots |
Date: | Tue, 26 Jun 2001 22:02:44 -0500 |
Message-ID: | <000b01c0feb5$a4043a10$1101a8c0@BRAEMARINC.COM> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2479.0005 |
Importance: | Normal |
In-Reply-To: | <3B391C50.96B6FE0D@ece.gatech.edu> |
> "Gary R. Van Sickle" wrote: > > > > BASH tab completion hasn't worked on shell scripts in the > snapshots since > > cygwin1.dll went from ~700KB to ~900kb (what was the major > addition?). > > E.g., try to tab-complete the './configure' script of your favorite > > package - it doesn't work. Exe's tab-complete fine. > cygcheck below. > > bash is smart. If the tab-completion is for the first "word" > on a line, > then bash assumes that you want an executable file -- so only those > files marked executable (according to ls -l) are candidates for > completion. (.exe files are a special case and are always considered > executable). Is your ./configure script marked +x ? > No, and I can't chmod +x it either (it does nothing, script still ls -la's as "rw-"). But doesn't the "./" override the +x check anyway? > If the tab-completion is for anything other than the first "word" on a > line, then bash assumes you are looking for any file to be used as the > argument for the command specified by the first word. Try this: > > $ foo conf<TAB> > > and you should see > > $ foo configure > > regardless of whether configure is marked +x. > Yep, that still works. I'm guessing the executable-checking logic (in stat()?) has changed recently and it's not catching "#!" files as executable anymore. Gary R. Van Sickle Braemar Inc. 11481 Rupp Dr. Burnsville, MN 55337 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |