A NOTE has been added to this issue. ====================================================================== https://www.austingroupbugs.net/view.php?id=1954 ====================================================================== Reported By: stephane Assigned To: ====================================================================== Project: 1003.1(2024)/Issue8 Issue ID: 1954 Category: Shell and Utilities Type: Enhancement Request Severity: Objection Priority: normal Status: New Name: Stephane Chazelas Organization: User Reference: Section: trap utility Page Number: 2565 Line Number: 83714-83716 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2025-11-07 20:40 UTC Last Modified: 2025-12-04 17:04 UTC ====================================================================== Summary: please allow shells to unignore signals ======================================================================
---------------------------------------------------------------------- (0007331) geoffclare (manager) - 2025-12-04 17:04 https://www.austingroupbugs.net/view.php?id=1954#c7331 ---------------------------------------------------------------------- After page 2568 line 83819 section trap, add a paragraph to RATIONALE: <blockquote>The standard requires that signals that were ignored on entry to a non-interactive shell cannot be trapped or reset; and this requirement was based upon long standing existing practice. It facilitates the usual convention that a process honors the inheritance of ignored signals, without the need for scripts to query whether a signal is ignored before setting a trap for it. This is particularly important, for example, for scripts that may be run from <i>nohup</i>. While this behavior is usually desired, there can be situations in which it would be useful to override it and this currently can only be done by using a C program or some non-standard utility. Implementors are encouraged to add a <b>-f</b> option to <i>trap</i> that would override the restriction on trapping or resetting signals inherited as ignored.</blockquote> Issue History Date Modified Username Field Change ====================================================================== 2025-11-07 20:40 stephane New Issue 2025-11-08 08:27 stephane Note Added: 0007302 2025-11-08 08:37 stephane Note Added: 0007303 2025-11-08 11:13 stephane Note Added: 0007304 2025-11-11 10:25 geoffclare Note Added: 0007311 2025-11-11 10:50 geoffclare Note Added: 0007312 2025-11-11 18:06 stephane Note Added: 0007315 2025-11-11 21:33 stephane Note Added: 0007316 2025-11-12 04:36 oguzismailuysalNote Added: 0007317 2025-11-12 09:58 geoffclare Note Added: 0007318 2025-11-12 09:59 geoffclare Note Edited: 0007318 2025-11-12 10:11 geoffclare Note Added: 0007319 2025-11-12 10:28 stephane Note Added: 0007320 2025-11-12 10:35 stephane Note Added: 0007321 2025-12-04 17:04 geoffclare Note Added: 0007331 ======================================================================
