[Patch] regtool: Add load/unload commands and --binary option

Christian Franke Christian.Franke@t-online.de
Wed Mar 1 19:14:00 GMT 2006


Attached is version 2 of the patch, including an update of utils.sgml

REG_BINARY can now be ether read as binary from stdin:

$ echo 0: 01 02 FE FF | xxd -r | regtool -b set KEY/BINVALUE -

$ regtool get KEY/BINVALUE | regtool -b set KEY/BINVALUE -

or specified as hex arguments:

$ regtool -b set KEY/BINVALUE 01 02 FE FF

$ x=$(regtool -b get KEY/BINVALUE)
$ regtool -b set KEY/BINVALUE $x


The load/unload actions are unchanged.

Christian

=====================

2006-03-01  Christian Franke <franke@computer.org>

        * regtool.cc: Add actions load/unload and option -b, --binary.
        * utils.sgml (regtool): Document it.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: regtool-load-patch-2.txt
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20060301/09791ff5/attachment.txt>


More information about the Cygwin-patches mailing list