Hi,
As Martin have replied, there have been already many wheels;
pure java Terminal emulators, and jsch do not have to parse ASNI escape codes
internally.
I'll reply from the other point of view.
+-From: "Cody Harris" <[EMAIL PROTECTED]> --
|_Date: Fri, 24 Aug 2007 10:02:35 -0400 _____
|
|aren't being detected by the terminal. I have a feeling that's do to some
|Java convention, or something to do with Unicode. There's codes for a lot
|of stuff, like move to an absolute position on the screen, and move the
|cursor up, down, left, or right so many positions.
|I was able to hack together inside Channel.java a fix for this issue,
|but it breaks (non existant) compatibility with linux Curses apps.
I guess that your problem have come from the mismatch for the terminal type
and its geometry.
By the default, jsch's shell-channel will request "vt100" terminal with 80x24.
You can control this behavior with the following methods,
ShellChannel#setPtyType(String ttype)
ShellChannel#setPtySize(int col, int row, int wp, int hp)
Of course, DSDP-TM's terminal and JCTerm have been using those methods.
Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
+1-415-578-3454
Fax +81-22-224-8773
Skype callto://jcraft/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users