Minor problems with ELM and A/UX

Mike Chow mgchow at Apple.COM
Mon Apr 15 06:17:36 AEST 1991


In article <23930 at memqa.uucp> qfhca81 at memqa.uucp (Henry Melton) writes:
>> 
>> Just as a wild guess, perhaps ELM is getting confused about signal handling
>> because of the SysV semantics being enabled by default.  Try sticking a 
>> call to set42sig() somewhere in the main() function and see if that helps.
>> I've found that's helped other programs that die strangely of "Alarm Clock",
>> and other programs as well -- as I recall, Epoch didn't work worth a damn
>> until I put the set42sig() in...
>> --
>> Richard Todd	rmtodd at uokmax.ecn.uoknor.edu  rmtodd at chinet.chi.il.us
>> 	rmtodd at servalan.uucp
>> "Elvis has left Bettendorf!"
>
>Great info!  set42sig let me compile oneko.  Keep these tips coming.
>
>

I THINK the "-ZB" flag to the A/UX C compiler will implicitly set up BSD
signal semantics and BSD defines, so one might want to try this flag when
compiling BSD sources for A/UX.

My general rule of thumb is to use set42sig() when porting BSD or SunOS 
derived code to A/UX.  Telltale signs are sigvec stuff, use of select(),
and BSD signal types (eg, SIGWINCH).

Mike Chow
mgchow at apple.com



More information about the Comp.unix.aux mailing list