> Maybe the tty layer ensures that the buffer is empty before> suspending...would be interesting to know. In any case, any such bugIt doesn't - but calling tty_wait_until_sent(tty, some_timeout) will dothat for you providing you call it in a sleep capable context.Alan