sleep w/inkey, certain keys cause processing to pause

Fairlight fairlite at fairlite.com
Wed Apr 13 20:29:20 PDT 2005


With neither thought nor caution, Filepro List blurted:
> I wrote in about breaking out of sleep command with a keystroke. The inkey works great, Thanks. The problem I found using inkey is that some keys actually pause the processing, until another key is pressed.
> 
> I know these keys pause the processing (caps lock, screen lock, pause, numlock, F11, F12,ctrl&", ctrl&:). Some of these are odd and not likely pressed by accident but (numlock, caps lock) could be a problem. 
> 
> Is there any way to lock out the keys causing the pause?

I strongly suspect that the processing is not actually pausing, so much as
you're not generating anything INKEY understands, therefore it's still
waiting.

CapsLock and ScreenLock are both scankey-only.  They don't actually resolve
to a keysym.  The control codes...I would have to do the actual math, but
offhand I'm guessing that mathematically they don't even work out to a
valid character.  

F11 and F12 are a bigger mystery to me, as I know someone that used to map
Save to F11, so I know fP knows about it.  I can't explain these two away.

Sounds like you're using combinations that filePro is not designed to look
for--mostly invalid control keys and scankey-only keys (caps-lock shouldn't
work any more than shift, alt, or control) that are really modifiers
anyway, not real keys that resolve to a mapping.

mark->
-- 
          *****   Fairlight Consulting's Software Solutions   *****
OneGate Universal CGI Gateway:                  http://onegate.fairlite.com/
FairPay PayPal Integration Kit:                 http://fairpay.fairlite.com/
RawQuery B2B HTTP[S] Client & CGI Debugger:     http://rawquery.fairlite.com/
Lightmail Mail Sending Agent:                   http://lightmail.fairlite.com/
FairView Image Viewer for Integration:          http://fairview.fairlite.com/


More information about the Filepro-list mailing list