From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18260 invoked from network); 29 Jun 2002 18:42:46 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 29 Jun 2002 18:42:46 -0000 Received: (qmail 27211 invoked by alias); 29 Jun 2002 18:42:33 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5121 Received: (qmail 27200 invoked from network); 29 Jun 2002 18:42:33 -0000 Message-ID: <003901c21f9c$8fded5a0$0601a8c0@vectravl400mt> From: "Vagn Johansen" To: "zsh-users" Subject: case insensitive filename generation Date: Sat, 29 Jun 2002 20:41:20 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0036_01C21FAD.533CEC20" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 This is a multi-part message in MIME format. ------=_NextPart_000_0036_01C21FAD.533CEC20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Is there way to get case insensitive filename generation as the default? Basically, I want the globbing flag (#i) to be the implicit for all = expa.. no, "generations" Vagn Johansen ------=_NextPart_000_0036_01C21FAD.533CEC20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Is there way to get case insensitive = filename=20 generation as the default?
 
Basically, I want the globbing flag = (#i) to be the=20 implicit for all expa.. no, "generations"
 
Vagn = Johansen
------=_NextPart_000_0036_01C21FAD.533CEC20-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25040 invoked from network); 30 Jun 2002 08:16:04 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 30 Jun 2002 08:16:04 -0000 Received: (qmail 16551 invoked by alias); 30 Jun 2002 08:15:55 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5128 Received: (qmail 16540 invoked from network); 30 Jun 2002 08:15:54 -0000 From: Borsenkow Andrej To: Vagn Johansen Cc: zsh-users Subject: Re: case insensitive filename generation In-Reply-To: <003901c21f9c$8fded5a0$0601a8c0@vectravl400mt> References: <003901c21f9c$8fded5a0$0601a8c0@vectravl400mt> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Mailer: Ximian Evolution 1.0.7-1mdk Date: 30 Jun 2002 12:15:48 +0400 Message-Id: <1025424954.2794.7.camel@localhost.localdomain> Mime-Version: 1.0 =F7 =F3=C2=D4, 29.06.2002, =D7 22:41, Vagn Johansen = =CE=C1=D0=C9=D3=C1=CC: > Is there way to get case insensitive filename generation as the = default? > =20 > Basically, I want the globbing flag (#i) to be the implicit for all > expa.. no, "generations" > =20 please, do not post in HTML. No AFAIK zsh does not support it. It may be interesting addition aimed at bash compatibility (and also be useful on case-insensitive file systems like on Cygwin as example). You can make completion case-insensitive so as a workaround you could use ^Xe or like to expand pattern and insert it into command line. -andrej From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26193 invoked from network); 30 Jun 2002 10:24:08 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 30 Jun 2002 10:24:08 -0000 Received: (qmail 16283 invoked by alias); 30 Jun 2002 10:23:58 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5131 Received: (qmail 16270 invoked from network); 30 Jun 2002 10:23:57 -0000 Message-ID: <001d01c22020$12aa7b00$0601a8c0@vectravl400mt> From: "Vagn Johansen" To: "zsh-users" References: <003901c21f9c$8fded5a0$0601a8c0@vectravl400mt> <1025424954.2794.7.camel@localhost.localdomain> Subject: Re: case insensitive filename generation Date: Sun, 30 Jun 2002 12:22:44 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 >please, do not post in HTML. OK, my mistake. >No AFAIK zsh does not support it. It may be interesting addition aimed >at bash compatibility (and also be useful on case-insensitive file >systems like on Cygwin as example). I have compiled my own version of zsh with case-insensitive globbing (on cygwin). I had to change just one line. >You can make completion case-insensitive so as a workaround you could >use ^Xe or like to expand pattern and insert it into command line. Yes, the manual describes how to completion case-insensitive. But I can't quite see how ^Xe helps me. Vagn Johansen From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29596 invoked from network); 30 Jun 2002 15:18:06 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 30 Jun 2002 15:18:06 -0000 Received: (qmail 22875 invoked by alias); 30 Jun 2002 15:17:38 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5132 Received: (qmail 22863 invoked from network); 30 Jun 2002 15:17:38 -0000 From: Borsenkow Andrej To: Vagn Johansen Cc: zsh-users Subject: Re: case insensitive filename generation In-Reply-To: <001d01c22020$12aa7b00$0601a8c0@vectravl400mt> References: <003901c21f9c$8fded5a0$0601a8c0@vectravl400mt> <1025424954.2794.7.camel@localhost.localdomain> <001d01c22020$12aa7b00$0601a8c0@vectravl400mt> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Mailer: Ximian Evolution 1.0.7-1mdk Date: 30 Jun 2002 19:17:34 +0400 Message-Id: <1025450260.2772.1.camel@localhost.localdomain> Mime-Version: 1.0 =F7 =F7=D3=CB, 30.06.2002, =D7 14:22, Vagn Johansen = =CE=C1=D0=C9=D3=C1=CC: >=20 > I have compiled my own version of zsh with case-insensitive globbing = (on=20 > cygwin). I had to change just one line. >=20 care to send a patch? Combined with proper option I would be the first to vote for inclusion. > >You can make completion case-insensitive so as a workaround you = could > >use ^Xe or like to expand pattern and insert it into command line. >=20 > Yes, the manual describes how to completion case-insensitive. > But I can't quite see how ^Xe helps me. >=20 I mean you can add all matches to command line directly. But if you already have a patch it is much better. -andrej From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11183 invoked from network); 30 Jun 2002 20:28:28 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 30 Jun 2002 20:28:28 -0000 Received: (qmail 17011 invoked by alias); 30 Jun 2002 20:28:13 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5136 Received: (qmail 16998 invoked from network); 30 Jun 2002 20:28:13 -0000 Message-ID: <003e01c22074$7c43aba0$0601a8c0@vectravl400mt> From: "Vagn Johansen" To: "zsh-users" References: <003901c21f9c$8fded5a0$0601a8c0@vectravl400mt><1025424954.2794.7.camel@localhost.localdomain> <001d01c22020$12aa7b00$0601a8c0@vectravl400mt> <1025450260.2772.1.camel@localhost.localdomain> Subject: Re: case insensitive filename generation Date: Sun, 30 Jun 2002 22:26:58 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 >From: "Borsenkow Andrej" > >В Вск, 30.06.2002, в 14:22, Vagn Johansen написал: >> >> I have compiled my own version of zsh with case-insensitive globbing (on >> cygwin). I had to change just one line. >> > >care to send a patch? Combined with proper option I would be the first >to vote for inclusion. I will give it a try. -- Vagn Johansen From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16163 invoked from network); 18 Jan 2003 22:39:22 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 18 Jan 2003 22:39:22 -0000 Received: (qmail 13692 invoked by alias); 18 Jan 2003 22:38:59 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5747 Received: (qmail 13684 invoked from network); 18 Jan 2003 22:38:59 -0000 X-MessageWall-Score: 0 (sunsite.dk) Message-ID: <20030118223900.35150.qmail@web12305.mail.yahoo.com> Date: Sat, 18 Jan 2003 17:39:00 -0500 (EST) From: Le Wang Subject: case insensitive filename generation To: Zsh users list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi, I have case insensitive completion with this style: zstyle ':completion:*' matcher-list 'm:{a-z-}={A-Z_}' How would I do the exact same thing with filenames, i.e. allow lower case letters to match lower or upper case filenames? Thanks. -- Le ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16191 invoked from network); 18 Jan 2003 22:40:44 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 18 Jan 2003 22:40:44 -0000 Received: (qmail 14825 invoked by alias); 18 Jan 2003 22:40:22 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5748 Received: (qmail 14816 invoked from network); 18 Jan 2003 22:40:22 -0000 X-MessageWall-Score: 0 (sunsite.dk) Message-ID: <20030118224022.99559.qmail@web12306.mail.yahoo.com> Date: Sat, 18 Jan 2003 17:40:22 -0500 (EST) From: Le Wang Subject: Re: case insensitive filename generation To: Zsh users list In-Reply-To: <20030118223900.35150.qmail@web12305.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Le Wang wrote: > Hi, > > I have case insensitive completion with this > style: > > zstyle ':completion:*' matcher-list > 'm:{a-z-}={A-Z_}' > > How would I do the exact same thing with filenames, > i.e. allow lower case letters to match lower or > upper > case filenames? That is without inserting (#i) all the time. -- Le ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16297 invoked from network); 18 Jan 2003 23:04:36 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 18 Jan 2003 23:04:36 -0000 Received: (qmail 20405 invoked by alias); 18 Jan 2003 23:04:17 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5749 Received: (qmail 20398 invoked from network); 18 Jan 2003 23:04:17 -0000 X-MessageWall-Score: 0 (sunsite.dk) From: "Bart Schaefer" Message-Id: <1030118230417.ZM31119@candle.brasslantern.com> Date: Sat, 18 Jan 2003 23:04:17 +0000 In-Reply-To: <20030118223900.35150.qmail@web12305.mail.yahoo.com> Comments: In reply to Le Wang "case insensitive filename generation" (Jan 18, 5:39pm) References: <20030118223900.35150.qmail@web12305.mail.yahoo.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Zsh users list Subject: Re: case insensitive filename generation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jan 18, 5:39pm, Le Wang wrote: } } zstyle ':completion:*' matcher-list 'm:{a-z-}={A-Z_}' } } How would I do the exact same thing with filenames Does that zstyle not do what you expect for filenames? If not, can you describe what does happen? Or is there some part of your question missing? Filenames, where/when? From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16497 invoked from network); 18 Jan 2003 23:22:48 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 18 Jan 2003 23:22:48 -0000 Received: (qmail 23171 invoked by alias); 18 Jan 2003 23:22:27 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5750 Received: (qmail 23162 invoked from network); 18 Jan 2003 23:22:27 -0000 X-MessageWall-Score: 0 (sunsite.dk) Message-ID: <20030118232228.91279.qmail@web12304.mail.yahoo.com> Date: Sat, 18 Jan 2003 18:22:28 -0500 (EST) From: Le Wang Subject: Re: case insensitive filename generation To: Zsh users list In-Reply-To: <1030118230417.ZM31119@candle.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Bart Schaefer wrote: > On Jan 18, 5:39pm, Le Wang wrote: > } > } zstyle ':completion:*' matcher-list > 'm:{a-z-}={A-Z_}' > } > } How would I do the exact same thing with filenames > > Does that zstyle not do what you expect for > filenames? If not, can you > describe what does happen? > > Or is there some part of your question missing? > Filenames, where/when? Oops. Yes. This style does what I want for completion. I'm after the same behaviour in filename globbing. -- Le ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19542 invoked from network); 19 Jan 2003 06:36:29 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 19 Jan 2003 06:36:29 -0000 Received: (qmail 19066 invoked by alias); 19 Jan 2003 06:36:13 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5753 Received: (qmail 19059 invoked from network); 19 Jan 2003 06:36:12 -0000 X-MessageWall-Score: 0 (sunsite.dk) From: "Bart Schaefer" Message-Id: <1030119063613.ZM31339@candle.brasslantern.com> Date: Sun, 19 Jan 2003 06:36:13 +0000 In-Reply-To: <20030118232228.91279.qmail@web12304.mail.yahoo.com> Comments: In reply to Le Wang "Re: case insensitive filename generation" (Jan 18, 6:22pm) References: <20030118232228.91279.qmail@web12304.mail.yahoo.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Zsh users list Subject: Re: case insensitive filename generation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jan 18, 6:22pm, Le Wang wrote: } Subject: Re: case insensitive filename generation } } --- Bart Schaefer wrote: } > On Jan 18, 5:39pm, Le Wang wrote: } > } } > } zstyle ':completion:*' matcher-list 'm:{a-z-}={A-Z_}' } > } } > } How would I do the exact same thing with filenames } > } > Filenames, where/when? } } I'm after the same behaviour in filename globbing. There's no setting that permanently turns on case-insenstive globbing. (I believe the Cygwin compilation of zsh does so because the DOS/Windows file system is case-insensitive, but zsh does not do that on other platforms.) -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25941 invoked from network); 19 Jan 2003 21:05:31 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 19 Jan 2003 21:05:31 -0000 Received: (qmail 25649 invoked by alias); 19 Jan 2003 21:05:10 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5756 Received: (qmail 25640 invoked from network); 19 Jan 2003 21:05:10 -0000 X-MessageWall-Score: 0 (sunsite.dk) Message-ID: <20030119210510.78355.qmail@web12304.mail.yahoo.com> Date: Sun, 19 Jan 2003 16:05:10 -0500 (EST) From: Le Wang Subject: Re: case insensitive filename generation To: Zsh users list In-Reply-To: <1030119063613.ZM31339@candle.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Bart Schaefer wrote: > On Jan 18, 6:22pm, Le Wang wrote: > } Subject: Re: case insensitive filename generation > } > } --- Bart Schaefer > wrote: > } > On Jan 18, 5:39pm, Le Wang wrote: > } > } > } > } zstyle ':completion:*' matcher-list > 'm:{a-z-}={A-Z_}' > } > } > } > } How would I do the exact same thing with > filenames > } > > } > Filenames, where/when? > } > } I'm after the same behaviour in filename globbing. > > There's no setting that permanently turns on > case-insenstive > globbing. (I believe the Cygwin compilation of zsh > does so > because the DOS/Windows file system is > case-insensitive, but > zsh does not do that on other platforms.) Yeah, OK, when I think about it, a lot of things can go wrong with scripts if there was such an option for all platforms... -- Le ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca