From df7dbf847aa7e1ace523ed157c8bd7dc7159f3eb Mon Sep 17 00:00:00 2001 From: Luis <42945842+ldiaz94@users.noreply.github.com> Date: Wed, 21 Oct 2026 20:46:28 +0000 Subject: [PATCH] PROPOSALS.md: setsid's case said plainly --- diff --git a/PROPOSALS.md b/PROPOSALS.md index 2fdd7bb..557bece 100644 --- a/PROPOSALS.md +++ b/PROPOSALS.md @@ -1160,10 +1160,9 @@ A daemon forks, and its child calls `setsid` so that the terminal it was started from is no longer its own: closing that terminal sends it no `SIGHUP`, and the terminal's job control doesn't reach it. Without -it, a program can only ignore `SIGHUP` (`Sys.ignore`), and stays in -the terminal's process group and session, so a Ctrl-C there still -reaches it unless it ignores `SIGINT` too, and a `SIGHUP` sent to the -whole group by a shell that leaves is the only one it is spared. +it, a program can ignore `SIGHUP` and `SIGINT` (`Sys.ignore`), but +stays in the terminal's session and process group, so job control and +any other signal sent to the group still reach it. Met in rabble, whose daemon (its `PLAN.md`, from 0.2.0) is started by the client with `fork` and must outlive the terminal (2026-10-21).