Tom Proett <[EMAIL PROTECTED]> writes:

> The POSIX standard defines signals by name.  How about letting the local
> machine map each signal name to the locally correct number and sending the
> name over the wire?  They all start with SIG so names like ABRT, KILL
> and PIPE would do it.  Some names are longer than 4 chars following the
> SIG (like SIGWINCH) so a fixed size might not do.

Sounds kludgy to me, but perhaps it could work. Even if there's only
32-bits in the protocol for the signal.

But I'm afraid that it would (i) violate the meaning of the spec,
which explicitly says signal *number*, and (ii) be completely
incompatible with the existing ssh2 implementation, which, I suspect,
uses raw signal numbers without any translation at all.

So I'd prefer some other mechanism.

/Niels

Reply via email to