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 Date: Tue, 16 Apr 2002 17:02:37 -0400 (EDT) From: Chris Metcalf To: cygwin AT cygwin DOT com Subject: Re: bash 2.05a-3: option to allow drive letter prefixes for completion? In-Reply-To: <020416180646.AA13793.SM@nike.ins.cwru.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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. Chris -- Chris Metcalf -- InCert Software -- 1 (617) 621 8080 metcalf AT incert DOT com -- http://www.incert.com/~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/