1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 14:25:37 +02:00

[168291] Send terminal type "ansi" to jsch in order to fix scrolling in Terminal. This requires Eclipse 3.3RC3.

This commit is contained in:
Martin Oberhuber 2007-06-06 17:35:35 +00:00
parent a8b51d2d0c
commit bcf58c2243

View file

@ -98,6 +98,7 @@ class SshConnection extends Thread {
session.connect(nTimeout); // making connection with timeout.
ChannelShell channel=(ChannelShell) session.openChannel("shell"); //$NON-NLS-1$
channel.setPtyType("ansi"); //$NON-NLS-1$
channel.connect();
fConn.setInputStream(channel.getInputStream());
fConn.setOutputStream(channel.getOutputStream());