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.20020416111644.02fcd3e8@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com Date: Tue, 16 Apr 2002 11:20:03 -0700 To: chet AT po DOT CWRU DOT Edu From: Randall R Schulz Subject: Re: bash 2.05a-3: option to allow drive letter prefixes for completion? Cc: rick_rankin AT yahoo DOT com, cygwin AT cygwin DOT com In-Reply-To: <020416180646.AA13793.SM@nike.ins.cwru.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Chet, Thanks. This reminds me of another oddity, one I resolved serendipitously: I never understood why Readline was escaping at signs ('@') when they were part of a name it was expanding (I sometimes use them to set off time stamps incorporated into file names). Then one day I happened upon the documentation of the Cygwin feature designed to circumvent argument list length limitations: @argListFileName. Randall Schulz Mountain View, CA USA At 11:06 2002-04-16, Chet Ramey wrote: > > 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:/ > >Quote the colon. 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. > >Chet > >-- >``The lyf so short, the craft so long to lerne.'' - Chaucer >( ``Discere est Dolere'' -- chet) > >Chet Ramey, CWRU chet AT po DOT CWRU DOT Edu http://cnswww.cns.cwru.edu/~chet/ -- 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/