|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #63702 Add shell resize capability
Submitted: 2012-12-06 00:15 UTC Modified: -
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: aaron at servergrove dot com Assigned:
Status: Open Package: ssh2 (PECL)
PHP Version: 5.3.19 OS: CentOS 6.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
47 + 14 = ?
Subscribe to this entry?

 [2012-12-06 00:15 UTC] aaron at servergrove dot com
I would like the ability to issue a resize to an existing shell connection 
through a PHP function call.


patch.63702 (last revision 2014-01-08 07:55 UTC by aaron at servergrove dot com)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-09 10:12 UTC]
It's is very possible to do. Our underlying library libssh2 already provides a method 
that implements this:
 [2012-12-12 15:15 UTC] aaron at servergrove dot com
I would be very happy to do this myself and submit a patch, but despite knowing C 
quite well, I am quite unfamiliar with PHP extension development.  If there are 
some good resources to help me get up and going with your project, feel free to 
let me know and I will take a crack at it.  Thanks again.
 [2014-01-08 07:59 UTC] aaron at servergrove dot com
About 1 year on and I revisited this to add this feature myself.  If this project is no longer maintained I would be interested in possibly taking over maintenance of it.  Please let me know if there is anything further needed for the submitted patch to be incorporated into the extension.

I did not include any tests as I saw there were none for the existing shell stream.  If I am in error, I will happily submit a patch with tests for my change.  Cheers.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Aug 03 16:01:23 2021 UTC