> Developers, > > I've got a simpler question than last time. And btw, thanks for the > help on that last one! > > Ok, I know that I can use libssh2_channel_request_pty_ex() to get a > terminal and specify its width and height. Is there anyway that after > that pty is alive that I can make it re-adjust its dimensions? > > Thanks, > Paul
I haven't specifically tried it with libssh2, but I know you need to send a specific SSH command. It's called "window-change", and it's documented at http://www.snailbook.com/docs/connection.txt , section 6.7. I'm guessing that after you've created your PTY, you'd send the request using libssh2_channel_write(). Let me know how that works out for you. Mark Erikson http://www.isquaredsoftware.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel