On Thu, Aug 8, 2013 at 11:23 PM, Cedric Blancher
<[email protected]> wrote:
> 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.

Patch in progress..

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to