delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/17/05:06:01

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
Date: Wed, 17 Apr 2002 10:03:53 +0100
Message-ID: <936-Wed17Apr2002100353+0100-starksb@ebi.ac.uk>
From: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
MIME-Version: 1.0
To: Chris Metcalf <metcalf AT incert DOT com>
Cc: cygwin AT cygwin DOT com
Subject: Re: bash 2.05a-3: option to allow drive letter prefixes for
completion?
In-Reply-To: <Pine.LNX.4.44.0204161655330.4077-100000@rd.incert.com>
References: <020416180646 DOT AA13793 DOT SM AT nike DOT ins DOT cwru DOT edu>
<Pine DOT LNX DOT 4 DOT 44 DOT 0204161655330 DOT 4077-100000 AT rd DOT incert DOT com>

On Tuesday 16 Apr 02, Chris Metcalf writes:
> On Tue, 16 Apr 2002, Chet Ramey wrote:
> > Readline has a set of characters it uses as word
> > delimiters for completion, and the calling application can modify that
> > set to its tastes.  Bash includes `:' as a word break character, which
> > makes it convenient to complete colon-separated lists like $PATH. 
> > Since the colon breaks words, the only thing that gets passed to the
> > filename completer is `/' and whatever follows it.  Quoting the colon
> > (the simplest thing to use is a backslash) causes readline to not
> > consider it a word break character.
> 
> In that case, it sounds like the right question to be asking is whether
> there is a user-visible knob that we can tweak to modify the set of
> characters which bash passes to readline as word break characters.
> Both ":" and "@" seem like reasonable candidates to allow removing
> from the word-break list, with the obvious caveats about functionality
> that would no longer be supported within the shell: $PATH-type list
> modification and automatic hostname completion, respectively.

Fair enough, but that would be an issue for bash, not Cygwin.

Since it's probably only a source of confusion for Cygwin users, I'll
add something to the Cygwin FAQ about this.

Thanks Chet, for helping us out with the answer!

Regards,
David
(Cygwin FAQ maintainer)


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