diff src/ch/ethz/ssh2/Session.java @ 290:9ae4ed7bb523 ganymed

start conversion from trilead to ganymed
author Carl Byington <carl@five-ten-sg.com>
date Fri, 18 Jul 2014 20:34:21 -0700
parents db9b028016de
children 9c202256d102
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/Session.java	Fri Jul 18 20:17:53 2014 -0700
+++ b/src/ch/ethz/ssh2/Session.java	Fri Jul 18 20:34:21 2014 -0700
@@ -141,6 +141,10 @@
    	 *            terminal height, pixels (e.g., 480)
    	 * @throws IOException
    	 */
+    public void resizePTY(int term_width_characters, int term_height_characters, int term_width_pixels, int term_height_pixels) throws IOException {
+        requestWindowChange(term_width_characters, term_height_characters, term_width_pixels, term_height_pixels)
+    }
+
    	public void requestWindowChange(int term_width_characters, int term_height_characters, int term_width_pixels,
    			int term_height_pixels) throws IOException
    	{
@@ -343,7 +347,7 @@
      * @throws IOException in case of any problem or when the session is closed
      */
 
-    public synchronized boolean requestAuthAgentForwarding(AuthAgentCallback agent) throws IOException {
+    public synchronized void requestAuthAgentForwarding(AuthAgentCallback agent) throws IOException {
         synchronized (this) {
             /*
              * The following is just a nicer error, we would catch it anyway
@@ -353,7 +357,7 @@
                 throw new IOException("This session is closed.");
         }
 
-        return cm.requestChannelAgentForwarding(cn, agent);
+        cm.requestChannelAgentForwarding(cn, agent);
     }
 
 	public int getState()