delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/14/17:41:30

X-Spam-Check-By: sourceware.org
Date: Thu, 14 Sep 2006 17:41:14 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Bruce Levy <blevy AT qualcomm DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: completion-ignore-case problem with cygwin
In-Reply-To: <loom.20060914T203740-886@post.gmane.org>
Message-ID: <Pine.GSO.4.63.0609141736340.7074@access1.cims.nyu.edu>
References: <loom DOT 20060914T203740-886 AT post DOT gmane DOT org>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Thu, 14 Sep 2006, Bruce Levy wrote:

> Hi,
> I am using version 1.5.21-2 of cygwin with version 5.1-5 of readline.
>
> I have the following lines in ~/.inputrc:
>
> set completion-ignore-case on
> set show-all-if-ambiguous on
>
> set bell-style none
>
> # to show all characters
> set meta-flag on
> set input-meta on
> set convert-meta off
> set output-meta on
>
> and ~/.bashrc contains the following line:
>
> shopt -s nocaseglob
>
>
> In my home directory, I have a directory called Saved.  I type s<TAB>
> (lower case s followed by the TAB character), but I do NOT get any
> filename completion.
>  If I type S<TAB> (upper case S followed bgy the TAB character), I do
> get filename completion.
>
> It seems that even though I have set completion-ignore-case on, it
> remains off.
>
> I enter the following command:
>
> $ bind -V | grep completion
> completion-ignore-case is set to `off'
> disable-completion is set to `off'
> page-completions is set to `on'
> print-completions-horizontally is set to `off'
> completion-query-items is set to `100'
>
> Please notice that completion-ignore-case is set to off!  I can execute
> the following commands that seems to prove that I am unable to turn on
> completion-ignore-case.

Yes, it definitely seems to be turned off.  Are you sure your ~/.inputrc
gets read?  Is your HOME variable set correctly?

> $ set completion-ignore-case on

This will not do what you expect.  You want

bind 'set completion-ignore-case on'

> $ bind -v | grep ignore-case
> set completion-ignore-case off
>
> Why am I unable to set completion-ignore-case?  What am I doing wrong?

Try running 'bash -vx --login -i' to see what commands are executed when
you run a login shell.  Perhaps there is a startup script somewhere that
executes the bind command to turn completion-ignore-case off.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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