DIRED (distributed months ago) goes into infinite loop with SIGTSTP

Guy Harris guy at rlgvax.UUCP
Sat Feb 16 15:26:59 AEST 1985


> 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



More information about the Comp.sources.bugs mailing list