[comp.os.os2] Signal handling in PM VIO windows

Jim.Gilliland@p3.f209.n141.z1.FIDONET.ORG (Jim Gilliland) (02/01/90)

 KR> Is the following behaviour a bug in the PM of OS/2 1.1 ? (I think so)
 KR> 
 KR> When a program handles the CTRL-C and CTRL-BREAK signal or ignores 
 KR> them,
 KR> it cannot be killed by this keys in a full screen session. When the 
 KR> same
 KR> program is run in a PM VIO window it is aborted with the comment "This
 KR> program was killed ..." even when it ignores this signals !!!
 KR> I tested this with several programs like MicroEMACS, QuickHelp ..

When you run a text-mode program in a PM VIO window, you are actually running  
a PM program that provides a VIO environment.  Your application is actually a  
child process of this parent, and the parent is actually processing the PM  
keystroke messages and passing them to the application as if they came  
directly from the keyboard driver.  This parent program honors the Ctrl-Break  
signal, and terminates - taking your application with it.  So, no, it is not a  
bug.
 

--  
Jim Gilliland - via FidoNet node 1:140/22
UUCP: alberta!dvinci!weyr!141!209.3!Jim.Gilliland
Internet: Jim.Gilliland@p3.f209.n141.z1.FIDONET.ORG
Standard Disclaimers Apply...