🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2
Article #1146

Signal handling in PM VIO windows

#1146
From: Jim Gilliland
Date: Thu, 01 Feb 1990 15:03
25 lines
1674 bytes
 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...
Technical Details
Message-ID: <446.25CC1E9F@weyr.FIDONET.ORG>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!batcomputer!cornell!uw-beaver!ubc-cs!alberta!dvinci!weyr!p3.f209.n141.z1.FIDONET.ORG!Jim.Gilliland

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!batcomputer!cornell!uw-beaver!ubc-cs!alberta!dvinci!weyr!p3.f209.n141.z1.FIDONET.ORG!Jim.Gilliland
From: Jim.Gilliland@p3.f209.n141.z1.FIDONET.ORG (Jim Gilliland)
Newsgroups: comp.os.os2
Subject: Signal handling in PM VIO windows
Message-ID: <446.25CC1E9F@weyr.FIDONET.ORG>
Date: 1 Feb 90 15:03:57 GMT
Sender: ufgate@weyr.FIDONET.ORG (newsout1.26)
Organization: FidoNet node 1:141/209.3 - Fernwood, Branford CT
Lines: 25