I won't get into the major details, but here is the issue
I am connecting to an ANSI/VT100 server, and the server is sending the following:
<esc>[255B<esc>[255C_<esc>[6n
Now, my screen is 80x25 and based on the ansi specs this should put the cursor in the bottom left of the screen, and print out an _
This indeed what it does... but when I responde to the request for cursor location
<esc>[6n
the server seems to not like what I am returning.
I have tried returning
<esc>[25;80R <esc>[25;81R <esc>[25;1R <esc>[25;0R
as well as 24 for the row as well and the server doesn't seem to like any of them... What the heck should be the proper cursor location response after such codes.
Also it seems like the server is sending an
<esc>!?HTML?
as well but I can find no documentation on what this code means, I assume its some sort of inquiry, but I can't find it documented anywhere.