Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!harpo!seismo!rlgvax!cvl!umcp-cs!chris From: chris@umcp-cs.UUCP Newsgroups: net.emacs Subject: Re: 4.2bsd [for Gosling Emacs: jobs library?] Message-ID: <6483@umcp-cs.UUCP> Date: Tue, 10-Apr-84 07:51:09 EST Article-I.D.: umcp-cs.6483 Posted: Tue Apr 10 07:51:09 1984 Date-Received: Wed, 11-Apr-84 05:44:01 EST References: <881@linus.UUCP> Organization: Univ. of Maryland, Computer Science Dept. Lines: 19 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