Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Tracking the Inactivity

From: amicom:sonic at: 20-Jan-2003 8:15

Philippe, What you probably want is to use WAIT. If you are waiting for network activity, 'wait on the listen port with a time limit. Check the return type of 'wait and you'll know if it returned because of port activity or timeout. You can also do the same for keyboard input. Instead of using 'input, 'ask or something like that, open a console port and 'wait on that with a time limit. Do the same as above. If this is the case and the script is already written, it could require some heavy tweaking to support this. Bohdan "Bo" Lechnowsky Lechnowsky Technical Consulting At 03:59 PM 1/20/03 +0100, you wrote: