delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/04/04:44:09

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
Date: Fri, 4 May 2001 10:42:02 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: More bizzare Bash-2.04-5 auto-completion problems
Message-ID: <20010504104202.V24200@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT WNT DOT 4 DOT 33 DOT 0105040904110 DOT -436007 AT srs29 DOT sid DOT cam DOT ac DOT uk>
Mime-Version: 1.0
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 AT gnu DOT org.

Corinna

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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019