Hi, +-From: gabriele mannocci <gabrielemanno...@gmail.com> -- |_Date: Tue, 3 Apr 2012 16:04:56 +0200 __________________ | |- I'm using shell channel in a web application and i see a character |encoding problem. The same problem doesn't appear with exec channel: |=1B[1mapp-server:~ # =1B[m=0F. I've try to set file.encoding property |but without success. | How can I resolve?
They must be escape sequences for the terminal emulator. If you want to stop them, you can use ChenelShell#setPty(false) method, ... Channel channel=session.openChannel("shell"); ((ChannelShell)channel).setPty(false); ... |- is there any way to implement less command in shell? It is not so clear what you want, but you will need to interpret escape sequences generated from "less" command by yourself. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users