[comp.sys.xerox] waitforinput question

ron@clarity.Princeton.EDU (Ronald Beekelaar) (02/07/90)

Hi

  I have a question about Interlisp-D.

  I am programming in Interlisp-D version KOTO on a 1108. I have the following
piece of code: 

   (CARET T)
   (UNTIL (WAITFORINPUT msec) DO (* do something) )
   (CARET 'OFF)

The behaviour of (waitforinput msec) seems to depend on the value of the
variable sec. If msec is less than 100, the mouse won't react on the
background and the caret doesn't even show up. If msec is greater than 100,
the mouse is alive and the caret blinks.

Can anyone shed any light on this? My question is basicly what determines this
figure 100. The program has to run on different machines and I want to set it
as low as possible, because I want to (* do something) as often as possible.
But on the other hand, the mouse and caret should also work. On the machine I
am using now, this "threshold" msec value is 100. But how can I make sure, this
works on other machines.

Any help would be appreciated,


--
------
ron
------