Seb dixit:

>A "mksh" process (the cat), is still running in background after the
>INT, and honours neither ALRM nor TERM sent with the system's kill,
>so I've to KILL it.

Indeed. Patches welcome! (Unix signal handling is oh-so-slightly
over my head, eventually.)

The test script again, for everyone else:

tg@blau:~ $ cat x
set -m
cat /dev/zero >/dev/null  &
sleep 1
/bin/kill -s ${1:-TERM} $!
wait

And this is mksh-current of course, with its built-in cat.
(I like cats. So does Death of the Discworld…)

bye,
//mirabilos
-- 
In traditional syntax ' is ignored, but in c99 everything between two ' is
handled as character constant.  Therefore you cannot use ' in a preproces-
sing file in c99 mode.  -- Ragge
No faith left in ISO C99, undefined behaviour, etc.

Reply via email to