Seb dixit:

>This never ends:

Ah but cat is a builtin, not a separate process.

You probably should able to kill the subshell. Hm.
I added an exclusion to allow SIGINT in the cat code,
maybe more are needed. Suggestions/patches welcome,
signal handling in UNIX is not one of my strengths.

>> other places where full job control isn’t enabled, unless job
>> control is not compiled in due to OS bugginess.
>
>Is it the case with Linux?

Not normally, no. (Otherwise fg will _always_ throw an error.)

>Well, it should works, but only with the POSIX signals:

Just don't depend on them; IIRC Linux 0.x didn't have them
in the POSIX order.

bye,
//mirabilos
-- 
13:37⎜«Natureshadow» Deep inside, I hate mirabilos. I mean, he's a good
guy. But he's always right! In every fsckin' situation, he's right. Even
with his deeply perverted taste in software and borked ambition towards
broken OSes - in the end, he's damn right about it :(! […] works in mksh

Reply via email to