X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=3.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT X-Spam-Check-By: sourceware.org Date: Tue, 1 Jun 2010 03:42:33 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <14428931.20100601034233@mtu-net.ru> To: Corinna Vinschen Subject: Re: Reading /proc/registry/... returns extra char In-Reply-To: <20100531081411.GE16885@calimero.vinschen.de> References: <20100513181249 DOT GE13784 AT cupro DOT opengvs DOT com> <2BF01EB27B56CC478AD6E5A0A28931F2F01D44 AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net> <20100526114733 DOT GG10652 AT calimero DOT vinschen DOT de> <1254830174 DOT 20100526174227 AT mtu-net DOT ru> <20100526143428 DOT GN10652 AT calimero DOT vinschen DOT de> <326990670 DOT 20100530001515 AT mtu-net DOT ru> <20100531081411 DOT GE16885 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Greetings, Corinna Vinschen! >> BTW, is there a way to create value of certain type through /proc/registry ? >> (Link to documentation would be enough, I don't have local cygwin installation ATM) > No, there isn't. There were the occasional discussions on the > developer's ML since the virtual /proc/registry filesystem has been > introduced, but to no avail yet. The problem is to find a unique *and* > posixy way to identify the type of a registry value when writing it, > since, basically, every write access to a value also determines its > type. Erm... how about ":type" suffix? Don't know how "POSIXy" it is, but it's close enough to similar functionality of NTFS (file streams). echo "some value" > /proc/registry/key/var:type -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 01.06.2010, <3:35> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple