Minutes of the 19th October 2017 Teleconference Austin-841 Page 1 of 1 Submitted by Andrew Josey, The Open Group. 20th October 2017 Attendees: Nick Stoughton, USENIX, ISO/IEC JTC 1/SC 22 OR Andrew Josey, The Open Group Don Cragun, IEEE PASC OR Mark Ziegast, SHware Systems Dev. Geoff Clare, The Open Group Joerg Schilling, FOKUS Fraunhofer Martin Rehak, Oracle, The Open Group OR Eric Blake, Red Hat Apologies: David Clissold, IBM Richard Hansen, Google * General news None. * 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 28 Jan 2016) Bug 0000249: Add standard support for $'...' in shell Reopened http://austingroupbugs.net/bug_view_page.php?bug_id=249 We will return to bug 249 on a future call. Bug 0000953: Alias expansion is under-specified Was Accepted as Marked http://austingroupbugs.net/view.php?id=953 Richard has an action to propose new wording to discuss in a future telecon. * Current Business Two items from previous weeks are still open: Bug 1061: Please add memmem() (and maybe wmemmem()) OPEN http://austingroupbugs.net/view.php?id=1061 Bug 1063: missing specification for sh -h OPEN http://austingroupbugs.net/bug_view_page.php?bug_id=1063 We have started on this item and need to continue at a future meeting. Bug 1151: Introduce new signal SIGWINCH and functions tcsetsize(), tcgetsize() to get/set terminal window size Accepted as Marked http://austingroupbugs.net/view.php?id=1151 This item had been reopened on the list. The resolution has been updated to rename the functions to tcgetwinsize() and tcsetwinsize(). Bug 1053: Add a "size" mode to stty(1) Accepted as Marked http://austingroupbugs.net/view.php?id=1053 After applying the changes from Bug 1151, make the following changes: On page 3264 lines 109758-109761 (XCU stty -g) change: -g Write to standard output all the current settings in an unspecified form that can be used as arguments to another invocation of the stty utility on the same system. The form used shall not contain any characters that would require quoting to avoid word expansion by the shell; see Section 2.6 (on page 2353). to: -g Write to standard output all the current settings, optionally excluding the terminal window size, in an unspecified form that, when used as arguments to another invocation of the stty utility on the same system, attempts to apply those settings to the terminal. The form used shall not contain any sequence that would form an Informational Query, nor any characters that would require quoting to avoid word expansions, other than field splitting, by the shell; see Section 2.6 (on page 2353). On page 3264 line 109763 (XCU stty operands) change: The following operands shall be supported to set the terminal characteristics. to: The following operands shall be supported. On page 3269 after line 109976 (XCU stty operands) insert two new operands subsections: Terminal Window Size rows number Set the number of rows in the terminal window size to the number given. cols number Set the number of columns in the terminal window size to the number given. The terminal window size shall be updated as if the stty utility calls tcgetwinsize() to populate a winsize structure, updates one or both of the ws_row and ws_col members according to the rows and cols numbers specified, and then calls tcsetwinsize() with the updated structure (see [xref to XSH tcgetwinsize] and [xref to XSH tcsetwinsize]). Informational Queries size Write the current terminal window size to standard output. On page 3270 line 109999 (XCU stty STDOUT) change: If operands are specified, no output shall be produced. to: If operands are specified and they do not include any Informational Queries, no output shall be produced. If the size operand is specified, stty shall write to standard output the terminal window size as follows: "%1d^%1d\n", , (note to readers of the minutes: ^ is delta space symbol) where and are the number of rows and columns in the terminal window size, respectively. On page 3271 lines 110036-110039 change the example to read: saveterm=$(stty −g) # save terminal state ttysize=$(printf "rows %d cols %d" $(stty size)) # save terminal size stty new settings # set new state ... stty $saveterm # restore terminal state stty $ttysize # restore terminal size Next Steps ---------- The next call is on October 26th, 2017 (a Thursday) Apologies in advance for 2017-10-26: Andrew, Geoff, Martin, and Eric. Neither Andrew or Geoff will be on the next call. Andrew will create the minutes from the etherpad notes. Calls are anchored on US time. (8am Pacific) This call will be for the regular 90 minutes. http://austingroupbugs.net An IRC channel will be available for the meeting irc://irc.freenode.net/austingroupbugs 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#