title: How to do timeout less than 1 second?
body: <p>To write more robust scripts it is useful to "forget" contents of expect buffer to ensure the matching is done only on recently received input:</p>
  
  <pre><code># this leaves expect buffer with unmatched history    
  # + accumulates incoming data over 1 sec
  set timeout 1
  expect
  
  # match everything in the buffer ~"forget"
  expect *
  # subsequent expect commands will see only what appeared since now
  </code></pre>
  
  <p>Is it possible to have the timeout smaller than 1 second without patching the expect sources?</p>
  
  <p>Note: <code>set timeout 0</code> will not work as the first expect doesn't leave the newly incoming data in buffer.</p>