Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site rlgvax.UUCP Path: utzoo!utcs!lsuc!pesnta!hplabs!hao!seismo!rlgvax!guy From: guy@rlgvax.UUCP (Guy Harris) Newsgroups: net.sources.bugs Subject: Re: DIRED (distributed months ago) goes into infinite loop with SIGTSTP Message-ID: <489@rlgvax.UUCP> Date: Sat, 16-Feb-85 00:26:59 EST Article-I.D.: rlgvax.489 Posted: Sat Feb 16 00:26:59 1985 Date-Received: Sun, 17-Feb-85 15:28:35 EST References: <1912@wateng.UUCP> Distribution: net Organization: CCI Office Systems Group, Reston, VA Lines: 13 > It seems that there is a bit of a race condition when the (SIGTSTP) signal > catcher redefines what to do with the signal and sends the signal > to itself. For the 4.2 version I changed the signal it sends to > be the non-catchable SIGSTOP. This same bug occurs if you try to run the S5R2 curses/terminfo package on a 4.2BSD system; the solution that the old curses package used was just to reset the signal handler for SIGTSTP to SIG_DFL at the beginning of the handler (in effect, reimplementing the bad old pre-4.2 signal handling). Guy Harris {seismo,ihnp4,allegra}!rlgvax!guy