This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: 1.3.17(0.67/3/2): Bug With /proc/registry & / Interpretation...


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@egenera.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@cs.nyu.edu] 
Sent: Monday, December 09, 2002 9:16 PM
To: Ken Robson
Cc: cygwin@cygwin.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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]