chris@umcp-cs.UUCP (04/10/84)
Use the sigretro code in the UCBMail source. Another alternative: #define sigset(s,d) signal(s,d) #define sigsys(s,d) signal(s,d) #define sighold(s) sigblock(1<<((s)-1)) #define sigrelse(s) sigsetmask(sigblock(0) & ~(1<<((s)-1))) #define sigpaws(s) sigpause(sigblock(0) & ~(1<<((s)-1))) and with the last, change the code in subproc.c to use "sigpaws" instead of "sigpause". Also, beware of the subprocess channel code in mchan.c that assumes "short"s all over the place; a lot of those changed to "int"s in 4.2. You will probably have more luck with either the code I sent out so long ago, or with subprocesses undefined. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris.umcp-cs@CSNet-Relay