This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [Patch] regtool: Add load/unload commands and --binary option
Christian Franke wrote:
> At least when regtool is used interactively, it is IMO not very useful
> to have
> modem-line-noise-like output for REG_BINARY, but human readable output for
> the other value types.
> But this is the current behavior of "regtool get ...".
Instead of an explicit -b flag, perhaps it should just call isatty() and
if being run interactively, output human readable hex dump, otherwise
output raw binary.
Brian