Exemplo n.º 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());
     }
 }
Exemplo n.º 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());
     }
 }