A NOTE has been added to this issue. 
====================================================================== 
https://www.austingroupbugs.net/view.php?id=1934 
====================================================================== 
Reported By:                geoffclare
Assigned To:                
====================================================================== 
Project:                    1003.1(2024)/Issue8
Issue ID:                   1934
Category:                   Shell and Utilities
Type:                       Clarification Requested
Severity:                   Objection
Priority:                   normal
Status:                     New
Name:                       Geoff Clare 
Organization:               The Open Group 
User Reference:              
Section:                    ex 
Page Number:                2868 
Line Number:                95403 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2025-06-30 11:06 UTC
Last Modified:              2025-07-24 15:22 UTC
====================================================================== 
Summary:                    ex's suspend command and job control
====================================================================== 

---------------------------------------------------------------------- 
 (0007228) nick (manager) - 2025-07-24 15:22
 https://www.austingroupbugs.net/view.php?id=1934#c7228 
---------------------------------------------------------------------- 
On page 2841 line 94334 section ex (ASYNCHRONOUS EVENTS), change:
<blockquote>The action taken for all other signals is unspecified.</blockquote>
to:
<blockquote>The action taken for signals that stop the process (see [xref to
<signal.h>]) shall be the default action. The action taken for all signals other
than those that stop the process and those listed above is
unspecified.</blockquote>

On page 2868 line 95402 section ex (suspend), change:
<blockquote>Allow control to return to the invoking process; <i>ex</i> shall
suspend itself as if it had received the SIGTSTP signal. The suspension shall
occur only if job control is enabled in the invoking shell (see the description
of <i>set</i> <b>-m</b>).</blockquote>
to:
<blockquote>Suspend the process group to which <i>ex</i> belongs; <i>ex</i>
shall send a SIGTSTP signal as if by a call to <tt>kill(0, SIGTSTP)</tt>, except
that if the session ID of the session to which <i>ex</i> belongs is the same as
its process group ID, no signal shall be sent.</blockquote>

After page 2902 line 96771 section ex (RATIONALE), add:
<blockquote><b>Suspend</b>

The <b>suspend</b> command is intended to mimic the action of the General
Terminal Interface (see [xref to XBD 11.1.9 Special Characters]) for the SUSP
character, by sending a SIGTSTP signal to the process group. The condition on
the session ID being different is in order not to suspend the session leader,
which would likely lead to a situation that the user may have difficulty
recovering from.</blockquote>

and move lines 96772-96774 (Set) to before line 96746 (Substitute). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2025-06-30 11:06 geoffclare     New Issue                                    
2025-07-24 15:22 nick           Note Added: 0007228                          
======================================================================


  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group

Reply via email to