RE: Keyboard signals

"Jan Dubois" <[email protected]>
Newsgroups gmane.comp.lang.perl.active-perl
Organization ActiveState Software Inc
Message-ID <[email protected]>
On Wed, 25 Aug 2010, Jan Dubois wrote:
> On Wed, 25 Aug 2010, Barry Brevik wrote:
> >
> > Environment is Active Perl 5.8.8 on Windows.
> >
> > Does anyone know if there is a keystroke combo that will result in a
> > SIG{QUIT} in the currently running Perl app?
> >
> > I know that SIG{INT} and SIG{BREAK} happen on CTRL-C and CTRL-Break.
> 
> These are the only 2 signals supported by the Win32 API, so there is
> no keystroke combo that generate SIGQUIT.
> 
> See also:
> 
> http://msdn.microsoft.com/en-us/library/ms686016%28VS.85%29.aspx

Oh, and anyways, SIGQUIT has been remapped on Windows to be the same as
SIGBREAK, so even if there was a keystroke that generated it, you still
wouldn't be able to distinguish it from SIGBREAK. $SIG{BREAK} and
$SIG{QUIT} are aliases for the same signal handler on Windows.

Cheers,
-Jan


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.