> Use the terminfo delay syntax ($<x>) in our flash capability to avoid > hardcoding a fixed delay in redraw() when called from tsetmode() with > DECSCNM. > We need to turn on the npc capability so that delays are made with > xon/xoff instead of padding characters.
I tried long time ago something similar, but I don't know why curses didn't send any pad character. Your patch uses a good alternative, use xon/xoff, but it must work (I cannot test it now because to change the terminfo definition in this openbsd machine is difficult, I will do it tomorrow in a linux machine ) only due to the configuration of your line driver. I mean, st ignores xon/xoff characters, so the line driver (configured via stty with the flags ixon, ixoff, ixany) is making the job of stopping the comunication. If we add this patch to st we must add some information about it in the FAQ (similar to the information about stty erase). Another point is, if we have to use npc, nxon or xon, or any combination of them Regards,