Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3A222E00.BB4E562@redhat.com> Date: Mon, 27 Nov 2000 10:48:48 +0100 From: Corinna Vinschen Reply-To: "Cygwin (E-mail)" X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.16 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: cygwin Subject: Re: regtool doesn't support binary data very well References: <30E7BC40E838D211B3DB00104B09EFB779535F AT delorean DOT optimation DOT co DOT nz> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit David Sainty wrote: > But, really, it would be nice to be able to go: > > regtool -m set 'machine\System\CurrentControlSet\Control\KeyBoard > Layout\Scancode Maps' 00 00 00 00 00 00 00 00 02 00 00 00 1d 00 3a 00 00 00 > 00 00 Good idea! > ... or something like it. Possibly with a 0x prefix on each value, and > possibly with a new option to indicate to use this form. > [...] > I'm happy to provide a patch for this... You really want to provide a patch? That would be very nice. I think it would help to use a hint option so regtool can distinguish the above bytewise form from the string variant. How about a `od' like flag for different input variations (bytewise, wordwise, etc.)? FYI: You don't need to use backslashes for registry keys when the first character is a '/'. So you can type the above example as regtool -m set '/machine/System/CurrentControlSet/Control/KeyBoard Layout/Scancode Maps' 00 00 00 00 00 00 00 00 02 00 00 00 1d 00 3a 00 00 00 00 00 Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. mailto:vinschen AT redhat DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com