Would be cool if we could list and send RT signals with /usr/bin/kill. Currently it is only possible to send them numerically but not by name. The following syntaxes might be useful to support: kill -RT1 4711 kill -RTMIN+1 4711 Even better would be to support passing along the sigqueue() sival_int for these signals via a command line argument. (The bash internal version of kill can list signals by name, but not send them by name apparently)
Hmm, seems ksh also supports "SIGRTMAX-1" as syntax, so might make sense to support that too.
Hmm, so bash actually does support sending RT sigs, but they only accept RTMAX-x as syntax for the higher signals and will refuse RTMIN+y for them. Kinda weird and not pretty. Would be cool if util-linux' kill implementation would accept all three syntaxes: kill -RT16 4711 kill -RTMIN+16 4711 kill -RTMAX-14 4711 all of which should be equivalent to this on Linux: kill -50 4711
Implemented by upstream commits: ae63d823abc33554ee1d3906a876734277293557 - RT<n>,RTMIN+<n>, RTMAX-<n> 2713fc3ea77f33fa415e7a83202893938d95955e - l <signum> to translate to signal name a1504d8bf5239c451c3f4e8ab95e312bb60be4e8 - add "-q sigval" to use sigqueue(2) The change will be available in F-16 after util-linux upgrade to v2.20.