Hello,

I have had to patch ChannelShell to get it to work with System.in.

This is similar code to that which is in ChannelExec (shown)

    // default buffer size 32K too big reading from System.in
    if(io.in == System.in) setRemotePacketSize(1024); 
    if(io.in!=null){
      thread=new Thread(this);
      thread.setName("Exec thread "+session.getHost());
      thread.start();
    }



What is the process for submitting a patch? (or maybe one of the developers
can just make the change, -it is pretty easy.)

Regards

Bruce

Bruce Chapman
Software Systems Architect
Application Development
NEC NZ Ltd

40 Taranaki St | PO Box 1936
Wellington
New Zealand

DDI +64-4-381-6279
Mobile +64-29-381-6279 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to