delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/16/13:12:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <5.1.0.14.2.20020416100842.00ae53b8@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Tue, 16 Apr 2002 10:11:14 -0700
To: Chris Metcalf <metcalf AT incert DOT com>, cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: bash 2.05a-3: option to allow drive letter prefixes for
completion?
In-Reply-To: <Pine.LNX.4.44.0204161239130.30266-100000@rd.incert.com>
Mime-Version: 1.0

Chris,

I have a symbolic link in my Cygwin root for each drive on my system (e.g., 
/c -> /cygdrive/c). Completion in BASH recognizes these symlinks and 
follows them (without expanding it to the target).

Randall Schulz
Mountain View, CA USA


At 09:45 2002-04-16, Chris Metcalf wrote:
>Currently, if you use completion on a path with a drive letter (e.g. "ls 
>-d c:/win<TAB>"), bash considers the drive letter to be unrelated syntax 
>and expands out of the mounted root instead (e.g. c:/cygwin). This is 
>quite understandable and defensible, but it would be nice to allow drive 
>letters to be considered part of the path name if the user so chooses.  In 
>defense of this option, I submit:
>
>  * If I enter "ls -d c:/win*", the shell *does* include the drive
>    letter prefix as part of the path, and globs corrects (to c:/winnt).
>
>  * tcsh (6.11.00-4) by default does filename completion including
>    drive letter prefixes.
>
>Thanks for your consideration.
>
>                 Chris Metcalf


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

- Raw text -


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