A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1151 ====================================================================== Reported By: Clausecker Assigned To: ====================================================================== Project: 1003.1(2016)/Issue7+TC2 Issue ID: 1151 Category: System Interfaces Type: Enhancement Request Severity: Editorial Priority: normal Status: New Name: Robert Clausecker Organization: Fraunhofer Fokus User Reference: Section: termios.h, signal.h, 2.4.3 "Signal Actions", 11.2 "Parameters that Can be Set", new sections tcgetsize and tcsetsize Page Number: 414, 333, 494, 212 Line Number: 13877, 11115, 16845–16879, 7040 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2017-06-19 16:41 UTC Last Modified: 2017-06-22 16:52 UTC ====================================================================== Summary: Introduce new signal SIGWINCH and functions tcsetsize(), tcgetsize() to get/set terminal window size ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0001053 Add a "size" mode to stty(1) ======================================================================
---------------------------------------------------------------------- (0003799) Don Cragun (manager) - 2017-06-22 16:52 http://austingroupbugs.net/view.php?id=1151#c3799 ---------------------------------------------------------------------- >From the text in this proposal, I don't understand whether a user or application using these interfaces is expected to change the value assigned to ws_xpixel at the same time the value of ws_row is changed (and vice versa) and to change the value assigned to ws_ypixel at the same time the value of ws_col is changed (and vice versa); whether a user or application is only expected to use one pair of these values and never look at or change the other set (and, if so, how to know which pair of values to use to achieve whatever different affects are to be expected from using the two pairs of values); nor whether or not there is any relationship between the ws_row and ws_col values and the ws_[xy]pixel values. If a user calls tcgetsize() and modifies ws_col and ws_row without changing ws_[xy]pixel before calling tcsetsize() to alter those values, is the system expected to modify the pixel values as a side effect of the call? Should it return an error in this case since the pixel values no longer correlate to the row and col values? Should an application always set the pixel values to 0 if the row/col values are changed and set the row/col values to 0 if the pixel values are changed? Would the submitter of this bug please add a note with additional text indicating the relationships between these pairs of values, an explanation of what each pair of values is intended to do, and advice for readers of the standard so they know which values to use and which values to modify for the intended use cases of each pair of values? Issue History Date Modified Username Field Change ====================================================================== 2017-06-19 16:41 Clausecker New Issue 2017-06-19 16:41 Clausecker File Added: sigwinch-proposal.txt 2017-06-19 16:41 Clausecker Name => Robert Clausecker 2017-06-19 16:41 Clausecker Organization => Fraunhofer Fokus 2017-06-19 16:41 Clausecker Section => termios.h, signal.h, 2.4.3 "Signal Actions", 11.2 "Parameters that Can be Set", new sections tcgetsize and tcsetsize 2017-06-19 16:41 Clausecker Page Number => 414, 333, 494, 212 2017-06-19 16:41 Clausecker Line Number => 13877, 11115, 16845–16879, 7040 2017-06-19 17:32 shware_systems Note Added: 0003786 2017-06-19 17:33 shware_systems Note Edited: 0003786 2017-06-19 18:06 EdSchouten Note Added: 0003787 2017-06-19 18:11 shware_systems Note Added: 0003788 2017-06-19 18:43 Clausecker Note Added: 0003789 2017-06-20 09:22 geoffclare Note Added: 0003791 2017-06-22 10:36 shware_systems Note Added: 0003797 2017-06-22 15:04 geoffclare Relationship added related to 0001053 2017-06-22 15:46 shware_systems Note Edited: 0003786 2017-06-22 16:45 geoffclare Note Added: 0003798 2017-06-22 16:52 Don Cragun Note Added: 0003799 ======================================================================