I have it set up so that the microcontroller sends a status character to the controlling program if it runs out of space in the receive buffer. When the receive buffer is copied into the display buffer, another statys character is sent to the controlling program, which then pushes the rest of the message into the receive buffer.
So far so good. This way, I can display arbitrarily large messages.
However, the display buffer needs to completely scroll out of the display before the receive buffer is copied into the display buffer. Which means you get six spaces in between 'chunks' of the messages. And the code for copying but retaining parts of buffers is giving me a headache.
I need to step back and write out the algorithm on paper before I go insane.