bug#8938: make timeout and CTRL-C

2011-07-02 Thread shay shimony
With this patch the child is guaranteed to not be in the foreground (as far as the tty knows) so it will be getting SIGTTIN and possibly SIGTTOU on tty operations. You may need to correct me. In practice we see that the timeouted program perform successfully writes to the terminal, though it

bug#8938: make timeout and CTRL-C

2011-06-28 Thread shay shimony
Thanks for taking care for this! Interesting stuff as well. 2011/6/28 Pádraig Brady p...@draigbrady.com On 27/06/11 21:12, Alan Curry wrote: =?UTF-8?Q?P=C3=A1draig?= Brady writes: On 26/06/11 20:20, shay shimony wrote: all: timeout 12 sleep 10 Note there is a tab before

bug#8938: make timeout and CTRL-C

2011-06-26 Thread shay shimony
Hello coreutils team, I found that if you run timeout inside make file then CTRL-C doesn't work. Really frustrating because I use timeout to terminate deadlocked tests, but can't stop them with CTRL-C as I used to. To reproduce copy the following into file named Makefile: all: timeout