Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!rbj From: rbj@uunet.UU.NET (Root Boy Jim) Newsgroups: comp.lang.perl Subject: Re: Default actions for %SIG Message-ID: <124848@uunet.UU.NET> Date: 7 Mar 91 06:35:12 GMT References: <124822@uunet.UU.NET> <1991Mar06.213823.17347@convex.com> Distribution: comp Organization: UUNET Communications Services, Falls Church, VA Lines: 22 In article meissner@osf.org (Michael Meissner) writes: ?In article <1991Mar06.213823.17347@convex.com> tchrist@convex.COM (Tom ?Christiansen) writes: ? ?| Probably so. On systems with the facilities you describe, ?| won't syscall get you there? What does dot-1 say on syscall? ?| I know -- it's just a hack. ? ?I don't think dot.1 has syscall, but that's not the real problem. The ?real problem is the size of the signal mask is implementation ?dependent (ie, it's not just a long anymore). On DG/UX on the 88k, ?signal masks were 64 bits. Well, that's just one of many system dependent things. Pyramid's sgtty struct is differently sized, so I had to use a different format string to pack/unpack. So I do: format = system(`pyr`) ? 'CCCCS' : 'SSCCSa20'; Similar techniques can be used elsewhere. -- [rbj@uunet 1] stty sane unknown mode: sane