Subject: Re: [libssh2] libssh2-devel Digest, Vol 19, Issue 9

Re: [libssh2] libssh2-devel Digest, Vol 19, Issue 9

From: Mark Erikson <>
Date: Fri, 21 Dec 2007 08:05:53 +0800

> 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 , 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

This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
libssh2-devel mailing list
Received on 2007-12-21