Rephrasing my issue here.
I have a web-app using 'xterm.js', 'ws', and 'ssh2' node modules. Everything works great. Except one thing:
SIGWINCH window resize signal won't make it to the sshd server, or the ssh2 stream. Other sigs, esc, ansi work fine. Esc[8 just disappears.
In a real xterm, echo -e "\e[8;30;120t"
resizes the terminal on both ends. Not here. sock.send("\u001b[8;30;120t")
won't do anything either.
Console.log on the my node app server shows Escape[8 (or \e, \u001b, or \x1b) doesn't make it. Other escape codes work-- arrows, mouse-clicks etc.
I can do term.resize(x,y) on the client, but currently have to use stty on the server. Ssh2's pty sets them at login only. How do I propagate SIGWINCH? Where is it being trapped?