Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: control-C to "jumpstart" windows process (select)

by tye (Sage)
on Oct 18, 2006 at 16:06 UTC ( [id://579123]=note: print w/replies, xml ) Need Help??


in reply to Re: control-C to "jumpstart" windows process
in thread control-C to "jumpstart" windows process

This seems like the most likely explanation to me.

My initial guess was that the problem was output buffering coupled with something causing the script to hang toward the end. But testing that theory doesn't show the buffered output being flushed for such a case.

One thing that I find very annoying is that, by default, Windows considers very small mouse motions to be "drags". Since the typical configuration has the button mounted on a movable mouse, it is quite hard for me to consistently press a mouse button without moving the mouse pointer a couple of pixels. So, by default, my mouse "clicks" often become "drags", which have results much different than were desired.

So every Windows system (with a mouse) that I end up working with for more than a few hours get the following changes applied:

my $Reg; use Win32::TieRegistry( TiedRef => \$Reg, Delimiter => "/", ArrayValue +s => 1 ); $Reg->{"CUser/Control Panel/Desktop//DragHeight"}= 10; $Reg->{"CUser/Control Panel/Desktop//DragWidth"}= 10; $Reg->{"CUser/Control Panel/Mouse//DoubleClickHeight"}= 10; $Reg->{"CUser/Control Panel/Mouse//DoubleClickWidth"}= 10;

(They default to just 4 pixels -- and I think some of them used to default to just 2 pixels.)

A similar change might make your "bug" less frequent.

- tye        

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://579123]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-26 06:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found