[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libssh2-devel
Subject:    Re: [libssh2] Feature Request (code included)
From:       "Paul Thomas" <thomaspu () gmail ! com>
Date:       2008-01-04 18:40:13
Message-ID: c52222ba0801041040t7eea10aemf26be7a1ad18ef11 () mail ! gmail ! com
[Download RAW message or body]

Daniel,

I've attached the two needed diffs for you to add in the terminal
resizing functionallity that Vincent added.

Enjoy,
Paul

About
Request a PTY size change on an active channel with a PTY. Note that
this does not make sense for all channel types. This is useful if you
want to resize the PTY after its creation.

Parameters
channel
   Previously opened channel instance such as returned by
libssh2_channel_open_session().

width
   Width of pty in characters

height
   Height of pty in characters

width_px
   Width of pty in pixels
height_px
   Height of pty in pixels

Returns
0 on success
-1 or PACKET_EAGAIN on error

["channel.c.diff" (application/octet-stream)]
["libssh2.h.diff" (application/octet-stream)]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic