1. 23
  1.  

  2. 3

    I wonder if this would work better with a real serial port.

    1. 4

      Yes.

      According to docs I found, the VT102 has a 128-character input buffer, and it sends an XOFF (flow control stop) when there are 32 characters in the buffer, meaning that the host can send 96 additional characters before the buffer overflows (or more, if the VT102 processes some of the buffer in the meantime, but I don’t know how fast it processes and won’t make any assumptions). At 9600 baud, 8N1 or 7E1, it takes 100ms for the host to transmit 96 characters. That should be ample time to respond to XOFF.