<div dir="ltr">Hi all,<div><br></div><div>I will try to describe my problem, even though I am not a C programmer.</div><div><br></div><div>I made a fork of st terminal emulator, which is capable of receiving OSC messages, which I use for setting terminal font size remotely from another program. Everything works but sometimes (it depends how much is terminal working eg. printing characters) it hangs, with various X messages, such a :</div><div><br></div><div>X Error of failed request:  BadLength (poly request too large or internal Xlib length error)<br></div><div>... or...</div><div>X Error of failed request:  BadIDChoice (invalid resource ID chosen for this connection)<br></div><div><br></div><div>...or...</div><div><br></div><div>XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"<br></div><div><br></div><div>..or sometimes it just segfaults.</div><div><br></div><div>When I am changing font size with default key binding of st terminal, everything works in every situation.</div><div><br></div><div>I am thinking that keystroke raises some Xevent, which makes some properly timed changes and that is the reason why it is not working when I am pusing terminal to change size from outside, so X thing does not know about it.</div><div><br></div><div>I don't know if I am mistaken or not, that is why I am searching for an answer on this forum.</div><div><br></div><div>Thanks for reading.</div><div><br></div><div>paum</div><div><br></div><div><br></div><div><br></div></div>