Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Enabling CASE_INSENSITIVE_FILENAME in UN*X and get away with it?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mikael Jansson  
View profile  
 More options Sep 19 2007, 11:17 am
From: Mikael Jansson <li...@mikael.jansson.be>
Date: Wed, 19 Sep 2007 17:17:37 +0200
Local: Wed, Sep 19 2007 11:17 am
Subject: Enabling CASE_INSENSITIVE_FILENAME in UN*X and get away with it?
Heya,

I enabled CASE_INSENSITIVE_FILENAME on my Linux box, which works in
almost all cases, except when you try to save a file and there already
exists a file differing only in case.

An example:

   $ vim Foo<CR>
   iThe file Foo<Esc>:w foo

... at which point Vim responds with ["Foo" 1L, 13C written].

Esentially, I just want it to be enabled when I do filesystem completion
-- just like readline's completion-ignore-case.  However, I can't make
much sense of os_unix.c / misc1.c. Could anyone help me by pointing me
in the right direction?

Thanks in advance,
Mikael


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ap  
View profile  
 More options Sep 19 2007, 1:46 pm
From: ap <poli...@fh-trier.de>
Date: Wed, 19 Sep 2007 10:46:18 -0700
Local: Wed, Sep 19 2007 1:46 pm
Subject: Re: Enabling CASE_INSENSITIVE_FILENAME in UN*X and get away with it?

On Sep 19, 5:17 pm, Mikael Jansson <li...@mikael.jansson.be> wrote:

Maybe this is worth a try :

misc1.c /  unix_expandpath()

8962     /* compile the regexp into a program */
8963 #if 1 //def CASE_INSENSITIVE_FILENAME
8964     regmatch.rm_ic = TRUE;              /* Behave like
Terminal.app */
8965 #else
8966     regmatch.rm_ic = FALSE;             /* Don't ever ignore case
*/
8967 #endif

-ap


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mikael Jansson  
View profile  
 More options Sep 20 2007, 4:25 am
From: Mikael Jansson <li...@mikael.jansson.be>
Date: Thu, 20 Sep 2007 10:25:54 +0200
Local: Thurs, Sep 20 2007 4:25 am
Subject: Re: Enabling CASE_INSENSITIVE_FILENAME in UN*X and get away with it?

Thanks, that worked wonders!

How about making this an option somewhere? Any objections?

-- Mikael


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google