This is the mail archive of the cygwin@sources.redhat.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]

Re: regtool doesn't support binary data very well


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@cygwin.com
Red Hat, Inc.
mailto:vinschen@redhat.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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