[fpc-pascal]Sleep until key press?

Stephen Hurd shurd at sk.sympatico.ca
Sun Apr 1 02:50:16 CEST 2001


> On Sat, 31 Mar 2001, Stephen Hurd wrote:
>
> > Is it possible using the linux version to have a program sleep until a
key
> > is pressed?
>
> Have a look at the code for readkey in the Linux Crt unit.
>
>
> Jonas

I'm not seeing anything there... I uses select(), it uses delay(), it
doesn't go to sleep.  It stays as a runnable process.





More information about the fpc-pascal mailing list