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

2006-01-25 Thread Brian Dessent
Igor Peshansky wrote: > What if you want to redirect the hex dump to a file? IMO, isatty() checks > are only useful if the output won't change qualitatively on redirection > (e.g., for coloring). Otherwise, it's always better to use an explicit > flag. Good point. Why don't we just emulate the

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

2006-01-25 Thread Igor Peshansky
On Wed, 25 Jan 2006, Brian Dessent wrote: > 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

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

2006-01-25 Thread Brian Dessent
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,

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

2006-01-25 Thread Christian Franke
Igor Peshansky wrote: [snip] I wonder if it would be better to use stdin/stdout for binary data (or even add a -f option for set). IMHO, regtool -b get KEY1\\VALUE | regtool -b set KEY2\\VALUE or regtool -b get KEY1\\VALUE | regtool -b set -f - KEY2\\VALUE looks cleaner than storing

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

2006-01-25 Thread Christian Franke
Corinna Vinschen wrote: [...] Thanks for this patch, it looks pretty useful. There are just two things missing. First, could you please create a matching ChangeLog entry? OK. Second, worse, I don't see your name on the list of people having a copyright assignment in place, which is defin

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

2006-01-25 Thread Brian Ford
On Wed, 25 Jan 2006, Igor Peshansky wrote: > I'm not aware of any program that does the reverse (hex dump->binary), > but writing a perl script for that is trivial. xxd -r ;-). -- Brian Ford Lead Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best sa

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

2006-01-25 Thread Igor Peshansky
On Wed, 25 Jan 2006, Corinna Vinschen wrote: > On Jan 24 21:00, Christian Franke wrote: > > Hi, > > > > the attached patch adds commands "load" and "unload" and options "-b, > > --binary" to regtool. > > > > Load a registry hive from PATH into new SUBKEY: > > > > regtool load KEY\SUBKEY PATH > > >

Re: [PATCH] Proposed clarification of the snapshot installation FAQ

2006-01-25 Thread Corinna Vinschen
On Jan 13 00:01, Igor Peshansky wrote: > On Thu, 12 Jan 2006, Igor Peshansky wrote: > > > On Thu, 12 Jan 2006, Christopher Faylor wrote: > > > > > Nevertheless, the advice about using "mv" to rename cygwin1.dll won't > > > work on every version of Windows and needs to be changed. > > > > Hmm, it's

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

2006-01-25 Thread Corinna Vinschen
On Jan 24 21:00, Christian Franke wrote: > Hi, > > the attached patch adds commands "load" and "unload" and options "-b, > --binary" to regtool. > > Load a registry hive from PATH into new SUBKEY: > > regtool load KEY\SUBKEY PATH > > Unload and remove SUBKEY later: > > regtool unload KEY\SUBK