timeout for @key function
Kenneth Brody
kenbrody at spamcop.net
Sat Apr 9 09:35:01 PDT 2016
On 4/8/2016 5:14 PM, Fairlight via Filepro-list wrote:
> I don't see how it's possible to implement solely within filePro
> processing. filePro doesn't use select() on file descriptors (excepting
> 5.6's sockets and higher). All the console stuff has always been blocking
> or polling (depending on normal or error conditions) reads from STDIN. Ken
> was always very much against my suggestions to use select() in clerk, so I
> don't believe there's actually a way to do this unless something changed.
[...]
I'm not sure how select() has anything to do with @KEY processing.
There is, however INKEY, and SLEEP.
You also forget that "all the world's a VAX" is just as untrue when you say
"Unix/Linux". (The select function on Windows works on sockets only. It
will fail miserably if you try it on stdin, or ay non-socket handle, which
is a main reason why filePro's SELECT function also can only be used on
sockets.)
--
Kenneth Brody
More information about the Filepro-list
mailing list