<snip> It looks like BufferedReader is an issue. I can see the need to expand the ChannelShell class to include a readline method that is non-blocking. <snip>
Yes, Readline is a known bug( Java Network Programing, Elliote rusty Harold, pp 97-98). The PushbackStream has a buffer of size 1. This looks far to small. I think a bufferLimit should be used. Use the last string read as the pushback buffer if less then bufferLimit. Is there a better way? Nicholas A. Schembri State college PA USA ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ JSch-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jsch-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ JSch-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jsch-users
