delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/22/03:53:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Robert Collins" <robert DOT collins AT syncretize DOT net>
To: "'Nicholas Wourms'" <nwourms AT yahoo DOT com>,
"'David A. Cobb'" <superbiskit AT cox DOT net>
Cc: <cygwin AT cygwin DOT com>
Subject: RE: Valid file-name characters
Date: Mon, 22 Jul 2002 17:53:05 +1000
Message-ID: <000b01c23154$d06ca470$0200a8c0@lifelesswks>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <20020722074643.1684.qmail@web21008.mail.yahoo.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g6M7rpF11825


> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com 
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Nicholas Wourms
> Sent: Monday, 22 July 2002 5:47 PM
> To: David A. Cobb
> Cc: cygwin AT cygwin DOT com
> Subject: Re: Valid file-name characters
> 
> 
> 
> --- egor duda <deo AT logos-m DOT ru> wrote:
> > Hi!
> > 
> > Saturday, 20 July, 2002 David A. Cobb superbiskit AT cox DOT net wrote:
> > 
> > DAC> Back in May (where I'm still trying to catch up) there was a
> > discussion 
> > DAC> starting at 
> http://www.cygwin.com/ml/cygwin/2002-> 05/msg01041.html 
> > DAC> 
> concerning a colon in a filename -- 
> valid in *nix, not in Windows. 
> > 
> > 
> > DAC> Also, we get repeated griping about the encoding of 
> URI's in the
> > local 
> > DAC> package cache.  
> > 
> > DAC> Would you consider a patch that translated filenames containing
> > special 
> > DAC> characters: the Cygwin user would see "aux:" but 
> Windows would see 
> > DAC> "aux%??" (I don't recall the encoding of colon)?
> > 
> > The only problem here is what to do if cygwin user wants to create
> > both aux: and aux%
> 
> Use the euro symbol (ˆ)[Alt+0128] instead?  It is highly 
> unlikely that a
> user will want to create auxˆ.  Anyhow, I believe all 
> versions of windows
> (via windows update if necessary) have support for the ˆ.

I was just about to suggest that whatever character is used is used as
an escape char rather than a literal replacement.

i.e. 
WIN32      CYGWIN
'aux%c' -> 'aux:'
'aux%%' -> 'aux%'

Cheers,
Rob 


--
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/

- Raw text -


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