示例#1
0
 public void setPtySize(int col, int row, int wp, int hp)
 {
     //if(thread==null) return;
     try
     {
         RequestWindowChange request = new RequestWindowChange();
         request.setSize(col, row, wp, hp);
         request.request(session, this);
     }
     catch (Exception e)
     {
         throw new JSchException("ChannelShell.setPtySize: " + e.ToString());
     }
 }
示例#2
0
		public void setPtySize(int col, int row, int wp, int hp)
		{
			//if(thread==null) return;
			try
			{
				RequestWindowChange request=new RequestWindowChange();
				request.setSize(col, row, wp, hp);
				request.request(session, this);
			}
			catch(Exception e)
			{
				throw new JSchException("ChannelShell.setPtySize: "+e.ToString());
			}
		}
示例#3
0
 public void setPtySize(int row, int col, int wp, int hp)
 {
     //if(thread==null) return;
     try
     {
         RequestWindowChange request=new RequestWindowChange();
         request.setSize(row, col, wp, hp);
         request.request(session, this);
     }
     catch(Exception e)
     {
         Console.WriteLine("ChannelShell.setPtySize: "+e);
     }
 }