Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Fri, 4 May 2001 10:42:02 +0200
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: More bizzare Bash-2.04-5 auto-completion problems
Message-ID: <20010504104202.V24200@cygbert.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <Pine.WNT.4.33.0105040904110.-436007@srs29.sid.cam.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <Pine.WNT.4.33.0105040904110.-436007@srs29.sid.cam.ac.uk>; from Sagar.Shah@sid.cam.ac.uk on Fri, May 04, 2001 at 09:14:31AM +0100

On Fri, May 04, 2001 at 09:14:31AM +0100, Sagar R. Shah wrote:
> Hi All
> 
> I am also suffering from the problem of not being able to use bash to
> autocomplete script names of scripts that are in my path.
> 
> But before this becomes a 'me too' post, i've also noticed something else.
> When i do:
> 
> S<tab><tab>
> 
> I get:
> 
> SAMPLES       SETVER.EXE    SORT.EXE      SVUNINST.EXE  SendTo
> SCANDISK.EXE  SIGVERIF.EXE  SRS           SYS.COM       ShellNew
> SCANDSKW.EXE  SMARTDRV.EXE  ST5UNST.EXE   SYSBCKUP      Start Menu
> SCANREG.EXE   SNDREC32.EXE  START.EXE     SYSMON.EXE
> SCANREGW.EXE  SNDVOL32.EXE  SUBST.EXE     SYSTEM
> SETDEBUG.EXE  SOL.EXE       SULFNBK.EXE   SYSTEM32
> 
> Now as well as including EXEs which should be there, there are also
> subdirectories of folders that are in my path.
> 
> The above command was executed from $HOME. But, for example, SendTo and
> Start Menu are both subdirectories of /c/WINDOWS. And SRS is a subdirectory
> of my /c/WORK/RELEASE/LIB
> 
> Should bash be doing this?  I tried the same on a linux box (which was
> running an older verison of bash) and it doesn't.
> 
> I can't see any benifit of autocompleting directory names before a command
> has first been entered. (ie. i agree that  cd S<tab><tab>  should list
> sub-directories of the current directory).

Ok, I just checked that with 2.05-4 and 2.05-1, which is the version
using exactly the sources retrieved from ftp://ftp.cwru.edu/pub/bash.

That behaviour is bash-2.05 behaviour and I've built it on Linux as
well to check that. It behaves the same way. So I would like to ask
you to move that discussion to the bash mailing list bug-bash@gnu.org.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

