delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/05/02:15:52

From: noer AT cygnus DOT com (Geoffrey Noer)
Subject: Re: Case sensitivity in filenames
5 Jan 1999 02:15:52 -0800 :
Message-ID: <19990104222033.55415.cygnus.gnu-win32@cygnus.com>
References: <c=UK%a=_%p=Origin-it%l=UKRUX002-990104143425Z-45787 AT ukrax001 DOT ras DOT uk DOT origin-it DOT com>
Mime-Version: 1.0
To: "Moore, Paul" <Paul DOT Moore AT uk DOT origin-it DOT com>
Cc: "'Larry Hall'" <lhall AT rfk DOT com>, "'Gnu Win32'" <gnu-win32 AT cygnus DOT com>

On Mon, Jan 04, 1999 at 02:34:25PM -0000, Moore, Paul wrote:
[...]
> Unfortunately, I'm not willing to limit myself to bash...
> 
> Paul.

Could you explain at greater length what you want Cygwin to do
w.r.t. case insensitivity?

Do you want the Cygwin emulation layer to treat all path strings in a
case-insensitive manner? It already does this to a large extent -- if
you do an action on filename "foo" that causes Cygwin to call
ReadFile, ReadFile will take "foo" and read "Foo" if that's the case
for that file.

But I don't think you could change the Cygwin library in such a way
that arbitrary Unix programs using Cygwin would treat filenames in a
case-insensitive manner.  For example, I don't think a Cygwin
modification could allow you to just build bash without any special
modifications to bash and get case-insensitive filename completion
out of readline.

It probably would be appropriate for filename completion to
autocorrect case changes in programs that use readline under Cygwin.
That probably wouldn't be too hard to do.

Any comments?  Are you arguing for Cygwin being case preserving but
case insensitive?  More, less?

-- 
Geoffrey Noer
noer AT cygnus DOT com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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