delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/09/17:09:47

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: "Ken Robson" <krobson AT egenera DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: 1.3.17(0.67/3/2): Bug With /proc/registry & / Interpretation...
Date: Mon, 9 Dec 2002 22:09:25 -0000
Message-ID: <000701c29fcf$a3db4c60$be0ea4c2@KROBSON>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
In-Reply-To: <Pine.GSO.4.44.0212091610180.12239-100000@slinky.cs.nyu.edu>
Importance: Normal
X-Virus-Scanned: by AMaViS perl-11
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gB9M9lp27895

Igor,

Thanks for the pointer - it looks to be very useful.

Kind regards,

Ken.
--
pos: Technical Services Engineer    dir: +44 (0) 20 7643 2778
web: www.egenera.com                fax: +44 (0) 20 7643 2201
eml: krobson AT egenera DOT com            mob: +44 (0) 79 7613 5756
map: http://www.streetmap.co.uk/newmap.srf?x=532575&y=181097&z=1

*************************************************************
This email and any files sent with it are intended only for
the named recipient. If you are not the named recipient please
telephone/email the sender immediately. You should not disclose
the content or take/retain/distribute any copies.

*************************************************************

-----Original Message-----
From: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu] 
Sent: Monday, December 09, 2002 9:16 PM
To: Ken Robson
Cc: cygwin AT cygwin DOT com
Subject: Re: 1.3.17(0.67/3/2): Bug With /proc/registry & / Interpretation...


On Mon, 9 Dec 2002, Ken Robson wrote:

> Hi Folks,
>
> I have been using cygwin for some time and have recently being playing 
> with the /proc/registry facility.  I have discovered that when I do 
> finds in this namespace that if any key names have a "/" in then it is 
> not quoted.  So for
> example:
>
> [snip example and registry data]
>
> I apologise that I do not have sufficient knowledge of cygwin to fix 
> this myself.
>
> Thanks for your time and help.
>
> Kind regards,
> Ken.

Ken,

The fact that "/" is a valid character in key/value names in the registry,
but is not a valid character in filenames (in either Windows or Unix) makes
this more of a design issue.  No amount of quoting will let you create a
file with a '/' in its name.

In the meantime, check out /bin/regtool which allows arbitrary characters in
both key and value names (and a -K switch to set a custom separator).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02,
p.51


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