delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/27/04:49:55

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <vinschen AT redhat DOT com>
Reply-To: "Cygwin (E-mail)" <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.16 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: regtool doesn't support binary data very well
References: <30E7BC40E838D211B3DB00104B09EFB779535F AT delorean DOT optimation DOT co DOT nz>

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

- Raw text -


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