[request-sponsor] Adding status support to dd

2007-04-06 Thread Frank Van Der Linden
Matty wrote: Howdy, Most Linux and BSD distributions ship with a version of dd that displays the status of a copy operation when a SIGUSR1 signal is received. Just a correction. I know this is late in the game, and I don't want to prolong the discussion much, since this isn't the right

[request-sponsor] Adding status support to dd

2007-04-06 Thread James Carlson
Frank Van Der Linden writes: Matty wrote: Howdy, Most Linux and BSD distributions ship with a version of dd that displays the status of a copy operation when a SIGUSR1 signal is received. Just a correction. I know this is late in the game, and I don't want to prolong the discussion

[request-sponsor] Adding status support to dd

2007-04-06 Thread James Carlson
James Carlson writes: Frank Van Der Linden writes: Matty wrote: Howdy, Most Linux and BSD distributions ship with a version of dd that displays the status of a copy operation when a SIGUSR1 signal is received. Just a correction. I know this is late in the game, and I don't

[request-sponsor] Adding status support to dd

2007-04-06 Thread Bart Smaalders
James Carlson wrote: James Carlson writes: Frank Van Der Linden writes: Matty wrote: Howdy, Most Linux and BSD distributions ship with a version of dd that displays the status of a copy operation when a SIGUSR1 signal is received. Just a correction. I know this is late in the game, and I

[request-sponsor] Adding status support to dd

2007-04-06 Thread david.co...@sun.com
Just a correction. I know this is late in the game, and I don't want to prolong the discussion much, since this isn't the right list, but: *BSD uses SIGINFO, which is generated via the tty code when the user presses ^T. Several tools implement a status handler that uses SIGINFO. I think

[request-sponsor] Adding status support to dd

2007-04-05 Thread casper....@sun.com
Note that SA_RESTART must be set; otherwise dd from a pipe or other slow device will return an error condition. I also like Casper's suggestion to use sprintf and write to stderr, since sprintf is now async-signal-safe. Note also that there are three gettext()s of constant strings; these

[request-sponsor] Adding status support to dd

2007-04-05 Thread Bonnie Corwin
Hi Bart, I assume your comment about helping to get this into shape means you will sponsor Ryan's work. Can someone file a bug, if there isn't one already, so I can add this to the table? Thanks. Bonnie Bart Smaalders wrote: Matty wrote: On 4/5/07, James Carlson james.d.carlson at

[request-sponsor] Adding status support to dd

2007-04-05 Thread Bart Smaalders
Bonnie Corwin wrote: Hi Bart, I assume your comment about helping to get this into shape means you will sponsor Ryan's work. Can someone file a bug, if there isn't one already, so I can add this to the table? Thanks. Bonnie 6543165 dd should display incremental progress ala linux

[request-sponsor] Adding status support to dd

2007-04-04 Thread Matty
Howdy, Most Linux and BSD distributions ship with a version of dd that displays the status of a copy operation when a SIGUSR1 signal is received. For some reason /usr/bin/dd on Solaris hosts doesn't contain this capability, and I would like to add it. After reading through the source code for

[request-sponsor] Adding status support to dd

2007-04-04 Thread Bart Smaalders
Matty wrote: Howdy, Most Linux and BSD distributions ship with a version of dd that displays the status of a copy operation when a SIGUSR1 signal is received. For some reason /usr/bin/dd on Solaris hosts doesn't contain this capability (it has a signal handler for SIGINT which causes stats