On 1 August 2013 16:00, David Korn <[email protected]> wrote:
> cc: [email protected]
> Subject: Re: [ast-developers] RFE: Renaming .sh.sig.code to match Opengroup  
> <signal.h> spec?
> --------
>
>> Could we just avoid this and just use the uppercase names defined by
>> Opengroup in <signal.h>, i.e.
>> http://pubs.opengroup.org/onlinepubs/009696699/basedefs/signal.h.html?
>> Otherwise ksh93(1) must be updated to list each signal and the names
>> or numbers (which aren't portable BTW) used.
>>
>>
>
> I will switch to upper case and use the same names but without
> the prefix for generic ones so that CLD_xxx will just be xxx.
> The SI_ prefix will be kept.

This doesn't work in ast-ksh.20130807:
ksh -c 'trap "print \${.sh.sig.code}" USR1 ; kill -q4 -s USR1 $$ ; true'
QUEUE

It should print SI_QUEUE because SI_QUEUE is a generic siginfo value
not specific to a signal.

Ced
-- 
Cedric Blancher <[email protected]>
Institute Pasteur
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to