Sunday, 26 May 2024

DeltaQ.RTB - Update 21

During the initial backup operation, the program uses a VT510 code called DECSTBM to set off a region of he screen sace for persistent usage – stats and upload progress... Annoyingly, it seems that occasionally, the Gnome Terminal doesn't enforce this properly, and text written while the margins are in effect blows past the margins and makes a mess. I don't know if this is actually my bug, but I don't think my code is accidentally doing output while the margins are released... I've reviewed it, and as far as I can tell, the mutex logic is correct, such that during the brief intervals where it release the margins to update the stats, any output that is received simply has to wait until the margins are re-established. So I'm leaning toward a bug in the Gnome Terminal. Honestly, this is probably a very rarely-used feature, and it's entirely plausible that it's buggy.

No comments:

Post a Comment