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:45 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)
====================================================================== 

---------------------------------------------------------------------- 
 (0003798) geoffclare (manager) - 2017-06-22 16:45
 http://austingroupbugs.net/view.php?id=1151#c3798 
---------------------------------------------------------------------- 
I see a problem with this part of the tcsetsize()
description:<blockquote>If the terminal is a slave pseudo-terminal, a
SIGWINCH shall also be delivered to the foreground process group of the
associated master pseudo-terminal. Similarly, if the terminal is a master
pseudo-terminal, a SIGWINCH shall be delivered to the foreground process
group of the associated slave pseudo-terminal.</blockquote>
Currently the standard does not require the master side to provide a
terminal interface nor require that it can have a controlling process or
process groups. All it requires of the master is (XBD 3.308) "Anything
written on the master device is presented to the slave as an input and
anything written on the slave device is presented as an input on the master
side."

How best to solve this depends on whether existing applications expect the
master side to be a terminal and for what reason (e.g. is it always just in
order to receive SIGWINCH when the slave side changes size). 

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                          
======================================================================


Reply via email to