Jonathan Southwick wrote:
>It's me again with another question. Is there anyway to trap a
>Cntrl-C and Cntrl-Break so that they are not sent.
>I am trying to prevent a user from pressing these keys.
I've been playing with something like that for Win32::Console
sometimes ago, and I found that only Cntrl-C is trappable,
Cntrl-Break is interpreted by perl before any code can do
anything; maybe with %SIGs, but I don't know the current
implementation on Win32...
HTH.
__END__
# Aldo Calpini
%x=split(//, "xritajbugne fahokem csuctawer jhdtlrnpqloevkshpr");
foreach (sort keys(%x)) { print $x{$_}; };