A NOTE has been added to this issue. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1634 
====================================================================== 
Reported By:                steffen
Assigned To:                
====================================================================== 
Project:                    1003.1(2016/18)/Issue7+TC2
Issue ID:                   1634
Category:                   Shell and Utilities
Type:                       Enhancement Request
Severity:                   Editorial
Priority:                   normal
Status:                     New
Name:                       steffen98141 
Organization:                
User Reference:              
Section:                    mailx 
Page Number:                2960 
Line Number:                98141-2 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2023-02-18 20:11 UTC
Last Modified:              2023-02-20 23:50 UTC
====================================================================== 
Summary:                    mailx: more clarification on system mailbox
====================================================================== 

---------------------------------------------------------------------- 
 (0006162) steffen (reporter) - 2023-02-20 23:50
 https://austingroupbugs.net/view.php?id=1634#c6162 
---------------------------------------------------------------------- 
After a ML list intermezzo here something refined:

on page 2957, line 98020 ff., "hold" / "preserve", change

        Mark the messages in msglist to be retained in the mailbox
        when mailx terminates. This shall override any commands
        that might previously have marked the messages to be
        deleted. During the current invocation of mailx, only the
        delete, dp, or dt commands shall remove the preserve
        marking of a message.

to

        Allowed only in the system mailbox.
        Mark the messages in msglist to be preserved, as if the
        hold variable were set, upon normal termination, or when
        the folder is changed.
        This shall override any commands that might previously
        have marked the messages to be deleted.
        During the current invocation of mailx, only the delete,
        dp, or dt commands shall remove the preserve marking of
        a message.
        See exit and quit.

on page 2960, line 98141-2, "touch", change

        Touch the specified messages.
        If any message in msglist is not specifically deleted nor
        saved in a file, it shall be placed in the mbox upon
        normal termination.
        See exit and quit.

to

        Allowed only in the system mailbox.
        Touch the specified messages.
        Unless overriden by the hold variable, any message in
        msglist that is not specifically deleted nor saved in
        a file shall be placed in the mbox upon normal
        termination, or when the folder is changed.
        See exit and quit.

(Different to "hold" / "delete" this is not ensured by code like

        if (edit) {
                printf("Cannot \"preserve\" in edit mode\n");
                return(1);
        }

(yet), but the requirement is effective.)

Furthermore the solution of issue 991 for the "mbox" command has
to be furtherly refined.  The editor notes by then were

        Change on page 2923, starting at line
        96567:<blockquote>Arrange for the given messages to end up
        in the <b>mbox</b> save file when <i>mailx</i> terminates
        normally.</blockquote>to:<blockquote>Arrange for the given
        messages to be moved to the <b>mbox</b> save file when
        <i>mailx</i> terminates normally or when the folder is
        changed.  This command can be used in any folder; for
        messages residing in the system mailbox, <i>mailx</i>
        shall ignore the settings of the internal variables
        <b>[no]hold</b> and <b>[no]keepsave</b> when the
        <b>mbox</b> command has been used to mark them
        explicitly.</blockquote>

This shall instead read

        Allowed only in the system mailbox.
        Arrange for the given messages to end up in the secondary
        mailbox, overriding a possibly set hold variable, upon
        normal termination, or when the folder is changed.
        See exit and quit.

(The requirement is not enforced (yet), but effective.) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2023-02-18 20:11 steffen        New Issue                                    
2023-02-18 20:11 steffen        Name                      => steffen98141    
2023-02-18 20:11 steffen        Section                   => mailx           
2023-02-18 20:11 steffen        Page Number               => 2960            
2023-02-18 20:11 steffen        Line Number               => 98141-2         
2023-02-18 21:10 steffen        Note Added: 0006157                          
2023-02-18 23:27 steffen        Note Added: 0006159                          
2023-02-20 23:50 steffen        Note Added: 0006162                          
======================================================================


  • [1003.1(2016... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to