Minutes of the 28th February 2019 Teleconference Austin-913 Page 1 of 1 Submitted by Andrew Josey, The Open Group. 1st March 2019 Attendees: Andrew Josey, The Open Group Don Cragun, IEEE PASC OR Nick Stoughton, USENIX, ISO/IEC JTC 1/SC 22 OR Geoff Clare, The Open Group Joerg Schilling, FOKUS Fraunhofer Mark Ziegast, SHware Systems Dev Eric Blake, Red Hat Gavin Howard * General news Andrew has completed the action to call for a replacement for The Open Group Organizational Representative. * Outstanding actions (Please note that this section has been flushed to shorten the minutes - to locate the previous set of outstanding actions, look to the minutes from 9 March 2018 and earlier) Bug 1077: Recommend support for wide-character regcomp and regexec and/or specify multi-byte behavior OPEN http://austingroupbugs.net/bug_view_page.php?bug_id=1077 Andrew has completed the action to ping his Apple contact and is awaiting a reply. Bug 1122: POSIX should include gettext() and friends OPEN http://austingroupbugs.net/view.php?id=1122 Left open as an action is still in progress to flesh out a complete proposal. * Current Business Bug 1230: Require bc implementations to allow arrays as last parameter Accepted as Marked http://austingroupbugs.net/bug_view_page.php?bug_id=1230 In section `bc`: On page 2526: * Change line 81591 to: function : Define LETTER '(' opt_define_list ')' * Change lines 81595 and 81596 to: opt_define_list : /* empty */ | define_list * Remove lines 81598-81600 * Between lines 81613 and 81614, add the following lines: | expression ',' argument_list | LETTER '[' ']' On page 2534: Change line 81919 to: define LETTER ( opt_define_list ) { On page 2538: * Remove lines 82101-82103 and replace with the following: Historical implementations of bc did not allow array parameters to be passed as the last parameter to a function. When bc was first standardized in Issue 4, this restriction was allowed. To make bc more widely useful, and because there are implementations without this restriction, the allowance for the restriction has been removed. Bug 1184: strftime %C padding character unspecified Duplicate of 472 http://austingroupbugs.net/view.php?id=1184 This was closed as a duplicate of 472 Bug 472: strftime %C does not account for sign character Accepted as marked http://austingroupbugs.net/view.php?id=472 This item is tagged for TC3-2008 The interpretation is updated. Action: Andrew to restart the intepretation review. Interpretation response: The standard is unclear on this issue, and no conformance distinction can be made between alternative implementations based on this. This is being referred to the sponsor. Rationale: The standard should be consistent between %C, %G, and %Y. Notes to the Editor (not part of this interpretation): Change L63558-63562 from: If a minimum field width is not specified, the number of characters placed into the array pointed to by s will be the number of digits in the year divided by 100 or two, whichever is greater. [CX] If a minimum field width is specified, the number of characters placed into the array pointed to by s will be the number of digits in the year divided by 100 or the minimum field width, whichever is greater.[/CX] to: If a minimum field width is not specified: If the year is between 0 and 9999 inclusive, two characters shall be placed into the array pointed to by s, including a leading '0' if there would otherwise be only a single digit. [CX]If the year is less than 0 or greater than 9999, the number of characters placed into the array pointed to by s shall be the number of digits and leading sign characters (if any) in the result of dividing the year by 100 and truncating, or two, whichever is greater.[/CX] [CX] If a minimum field width is specified, the number of characters placed into the array pointed to by s shall be the number of digits and leading sign characters (if any) in the result of dividing the year by 100 and truncating, or the minimum field width, whichever is greater.[/CX] On P2009 L63584 (G conversion) change "will" to "shall". On P2009 L63622 (Y conversion) change "will" to "shall". Bug 1185: Additional 3rd option for getting line size. Accepted as Marked http://austingroupbugs.net/view.php?id=1185 This item is tagged for Issue 8 Changes to XBD ... On page 177 line 5811 section 8.3, in COLUMNS change: If this variable is unset or null, the implementation determines the number of columns, appropriate for the terminal or window, in an unspecified manner. When COLUMNS is set, any terminal-width information implied by TERM is overridden. to: If this variable is unset or null, the number of columns shall be set according to the terminal window size (see [xref to XSH tcgetwinsize()]); if the terminal window size cannot be obtained, the implementation determines the number of columns, appropriate for the terminal or window, in an unspecified manner. When COLUMNS is set, the number of columns in the terminal window size and any terminal-width information implied by TERM are overridden. On page 177 line 5826 section 8.3, in LINES change: If this variable is unset or null, the implementation determines the number of lines, appropriate for the terminal or window (size, terminal baud rate, and so on), in an unspecified manner. When LINES is set, any terminal-height information implied by TERM is overridden. to: If this variable is unset or null, the number of lines shall be set either to the number of rows in the terminal window size (see [xref to XSH tcgetwinsize()]) or to a smaller number if appropriate for the terminal or window (for example, if the terminal baud rate is low); if the terminal window size cannot be obtained, the implementation determines the number of lines, appropriate for the terminal or window, in an unspecified manner. When LINES is set, the number of rows in the terminal window size and any terminal-height information implied by TERM are overridden. Changes to XCU ... On page 2700 line 88152 section ex, in SIGCONT change: The screen shall be refreshed if in open or visual mode. to: If ex is in open mode or visual mode, the actions described below for SIGWINCH shall be taken, except that the screen shall always be refreshed (regardless of whether the terminal window size changed). On page 2700 line 88157 section ex, add: SIGWINCH If ex is in open mode or visual mode, the current terminal window size associated with the terminal on standard output shall be obtained, as if by a call to [xref to XSH tcgetwinsize()]. If the terminal window size is successfully obtained, it shall be used as follows: If the COLUMNS environment variable is unset or does not contain a number, the horizontal screen size shall be set to the number of columns in the obtained terminal window size. If ex is in visual mode, the -w option was not specified and the LINES environment variable is unset or does not contain a number, the vertical screen size shall be set to the number of rows in the obtained terminal window size. If the above resulted in either the vertical screen size or the horizontal screen size (or both) changing to a different value, ex shall update the values it has for the number of lines and columns in the display and shall adjust the window edit option and the column number at which the wrapmargin edit option takes effect (if non-zero) accordingly (see [xref to Edit Options in ex]) and refresh the screen; otherwise, ex may refresh the screen. On page 2926 line 96739 section ls, in COLUMNS change: Determine the user's preferred column position width for writing multiple text-column output. If this variable contains a string representing a decimal integer, the ls utility shall calculate how many pathname text columns to write (see -C) based on the width provided. If COLUMNS is not set or invalid, an implementation-defined number of column positions shall be assumed, based on the implementation's knowledge of the output device. to: Override the system-selected horizontal display line size, used to determine the column position width for writing multiple text-column output. See [xref to XBD Chapter 8] for valid values and results when it is unset or null. The ls utility shall use this value to calculate how many pathname text columns to write (see -C). On page 3007 line 99972 section more, change ASYNCHRONOUS EVENTS from: None. to: The following actions shall be taken upon receipt of signals: SIGCONT The actions described below for SIGWINCH shall be taken, except that the screen shall always be refreshed (regardless of whether the terminal window size changed). SIGWINCH If standard output is a terminal, the current terminal window size associated with the terminal on standard output shall be obtained, as if by a call to [xref to XSH tcgetwinsize()]. If the terminal window size is successfully obtained, it shall be used as follows: If the COLUMNS environment variable is unset or does not contain a number, the horizontal display line size shall be set to the number of columns in the obtained terminal window size. If the -n option was not specified (neither on the command line nor via the MORE environment variable) and the LINES environment variable is unset or does not contain a number, the vertical screen size shall be set to the number of rows in the obtained terminal window size. If the above resulted in either the vertical screen size or the horizontal display line size (or both) changing to a different value, the number of lines available per screen and the number of columns available per line shall be updated correspondingly (see [xref to XBD Chapter 8]) and the screen shall be refreshed; otherwise, the screen may be refreshed. The action taken for all other signals shall be the default. On page 3008 line 99993 section more, change: The number of lines available per screen shall be determined by the -n option, if present, or by examining values in the environment (see the ENVIRONMENT VARIABLES section). If neither method yields a number, an unspecified number of lines shall be used. to: The number of lines available per screen shall be determined by the -n option, if present, or by obtaining the vertical screen size from the LINES environment variable (see the ENVIRONMENT VARIABLES section) or from the terminal window size associated with the terminal on standard output (see [xref to XSH tcgetwinsize()]), with a default value as described in [xref to XBD Chapter 8]. On page 3008 line 100001 section more, change: The number of columns available per line shall be determined by examining values in the environment (see the ENVIRONMENT VARIABLES section), with a default value as described in [xref to XBD Chapter 8]. to: The number of columns available per line shall be determined by obtaining the horizontal display line size from the COLUMNS environment variable (see the ENVIRONMENT VARIABLES section) or from the terminal window size associated with the terminal on standard output (see [xref to XSH tcgetwinsize()]), with a default value as described in [xref to XBD Chapter 8]. On page 3015 line 100264 section more, add a new paragraph to RATIONALE: Historically some versions of more did not obtain the terminal window size on receipt of SIGCONT, resulting in incorrect screen contents when the screen was refreshed if the size had been changed while more was suspended. This is considered to be a bug in those implementations. Bug 1186: pselect specification allows for race condition that pselect was created to avoid OPEN http://austingroupbugs.net/view.php?id=1186 This will be continued on the next call Next Steps ---------- Apologies in advance: Andrew 2019-03-04, 2019-03-07 The next calls are on: March 4th 2019 (Monday). This call will be for 60 minutes. March 7th 2019 (Thursday) This call will be for 90 minutes. Calls are anchored on US time. (8am Pacific) http://austingroupbugs.net An etherpad is usually up for the meeting, with a URL using the date format as below: https://posix.rhansen.org/p/201x-mm-dd username=posix password=2115756#