Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <5.1.0.14.2.20020416104825.00ae4ff0@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com Date: Tue, 16 Apr 2002 10:52:45 -0700 To: Rick Rankin , cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: bash 2.05a-3: option to allow drive letter prefixes for completion? In-Reply-To: <20020416174448.99429.qmail@web10506.mail.yahoo.com> References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020416101213 DOT 02d2e700 AT pop3 DOT cris DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Rick, Well, it gets weirder. I activated the "show-all-if-ambiguous" and now when I type, say: % echo c:/ What I get is a list of the _Cygwin root_! The same thing results if I use: % echo d:/ Here's my mount table: % mount D:\cygwin\bin on /usr/bin type system (binmode) D:\cygwin\lib on /usr/lib type system (binmode) D:\cygwin on / type system (binmode) \\.\A: on /dev/fd0 type user (binmode) c: on /cygdrive/c type user (binmode,noumount) d: on /cygdrive/d type user (binmode,noumount) e: on /cygdrive/e type user (binmode,noumount) g: on /cygdrive/g type user (binmode,noumount) h: on /cygdrive/h type user (binmode,noumount) Here are the symlins in my Cygwin root: % ll / |egrep -e '->' lrwxrwxrwx 1 RSchulz None 94 Nov 29 09:11 a -> /cygdrive/a lrwxrwxrwx 1 RSchulz None 94 Nov 21 08:50 c -> /cygdrive/c/ lrwxrwxrwx 1 RSchulz None 94 Nov 21 08:50 d -> /cygdrive/d/ lrwxrwxrwx 1 RSchulz None 94 Nov 21 08:50 e -> /cygdrive/e/ lrwxrwxrwx 1 RSchulz None 94 Nov 21 08:50 f -> /cygdrive/f lrwxrwxrwx 1 RSchulz None 94 Nov 21 08:50 g -> /cygdrive/g/ lrwxrwxrwx 1 RSchulz None 94 Nov 21 12:57 h -> /cygdrive/h/ Randall Schulz Mountain View, CA USA At 10:44 2002-04-16, Rick Rankin wrote: >Hmm... I've set no special options regarding case sensitivity, but >completion with both upper and lower case drive letters works fine, i.e., both > >ls c:/ > >and > >ls C:/ > >show me the contents of the root directory on drive C. I *do* have the >directive > >set show-all-if-ambiguous on > >in my .inputrc. Don't know if that has any effect. > >--Rick > > >--- Randall R Schulz wrote: > > Larry, > > > > I deliberately use case sensitivity for completion, but even knowing that, > > completion on absolute names in Windows native format does not work for > me. > > I tried with the drive letter both in lower and upper case, but no go. > > > > Perhaps there's another option of which I'm unaware? > > > > > > By the way, for Chris' benefit, in case he doesn't already know, the > > "~/.inputrc" directive for getting case insensitivity from completion is: > > > > set completion-ignore-case on > > > > > > Randall Schulz > > Mountain View, CA USA > > > > > > At 09:56 2002-04-16, Larry Hall (RFK Partners, Inc) wrote: > > >At 12:45 PM 4/16/2002, Chris Metcalf wrote: > > > >Currently, if you use completion on a path with a drive letter (e.g. > > > >"ls -d c:/win"), bash considers the drive letter to be unrelated > > > >syntax and expands out of the mounted root instead (e.g. c:/cygwin). > > > > > > > > >I don't see this behavior. It works fine for me (tm). Perhaps you're > > >getting caught by bash's default case-sensitivity of filename completion? > > >I can't even begin to imagine why you get the root directory as a result > > >though. I'm guessing this must be a local environment issue. > > > > > > > > >Larry Hall -- 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/