Inkey and Sleep

Jay R. Ashworth jra at baylink.com
Fri Apr 15 12:20:14 PDT 2005


On Fri, Apr 15, 2005 at 12:45:19PM -0400, Bob Stockler wrote:
> On Tue, Apr 12, 2005 at 08:12:35AM -0400, Mike Fedko wrote:
> |     In bob's example, try putting show""<xx after line#5. If you press
> | numlock, capslock,etc... as I've mentioned previously, the processing does
> | stop. If ENTR is pressed after this, you will see that xx eq ERR. I wish
> | someone else would try Bob's example and post back so I know I'm not nuts. I
> | don't care about the ERR, but I do, the stopped Processing.
> 
> I added:  show("2","5") xx  at the end of line 5 of my table.
> 
> The following keys broke out of the loop because they put
> these values into xx:
> 
>   F11    - W
>   F12    - X
>   End    - F
>   Insert - L
> 
> Taking those letters out of the assignment to the variable
> "Lets" kept those keys from breaking out of the loop.
> 
> On SCO OSR 5.0.6 typing one Esc caused the process to pause
> while filePro waited for the second Esc, after which it
> resumed.  Removing "[ENTR]" from the acceptable special keys
> list allowed also pressing Enter in order to resume after a
> pause caused by pressing just one Esc.

This may be a termlib issue: it usually has a built-in delay to make
sure it's not seeing the CSI that introduces a function-key string.
But it should time out, after a second...

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Designer                          Baylink                             RFC 2100
Ashworth & Associates        The Things I Think                        '87 e24
St Petersburg FL USA      http://baylink.pitas.com             +1 727 647 1274

      If you can read this... thank a system administrator.  Or two.  --me


More information about the Filepro-list mailing list