channel.setPtyLines(getTermHeight()); channel.setAgentForwarding(true); channel.setEnv("TERM", session.getTerminal().getType()); String ctype = (String) session.get("LC_CTYPE"); if (ctype == null) { + System.getProperty("input.encoding", Charset.defaultCharset().name()); channel.setEnv("LC_CTYPE", ctype); channel.setIn(new NoCloseInputStream(terminal.input())); channel.setOut(new NoCloseOutputStream(terminal.output()));
channel.setPtyLines(terminal.getHeight()); channel.setAgentForwarding(true); channel.setEnv("TERM", terminal.getType()); String ctype = System.getenv("LC_CTYPE"); if (ctype == null) { + System.getProperty("input.encoding", Charset.defaultCharset().name()); channel.setEnv("LC_CTYPE", ctype); channel.setIn(new NoCloseInputStream(terminal.input())); channel.setOut(new NoCloseOutputStream(terminal.output()));
channel.setPtyLines(terminal.getHeight()); channel.setAgentForwarding(true); channel.setEnv("TERM", terminal.getType());
channel.setPtyLines(getTermHeight()); channel.setAgentForwarding(true); channel.setEnv("TERM", session.getTerminal().getType()); String ctype = (String) session.get("LC_CTYPE"); if (ctype == null) { + System.getProperty("input.encoding", Charset.defaultCharset().name()); channel.setEnv("LC_CTYPE", ctype); channel.setIn(new NoCloseInputStream(terminal.input())); channel.setOut(new NoCloseOutputStream(terminal.output()));
channel.setPtyLines(terminal.getHeight()); channel.setAgentForwarding(true); channel.setEnv("TERM", terminal.getType());
channel.setPtyLines(terminal.getHeight()); channel.setAgentForwarding(true); channel.setEnv("TERM", terminal.getType()); String ctype = System.getenv("LC_CTYPE"); if (ctype == null) { + System.getProperty("input.encoding", Charset.defaultCharset().name()); channel.setEnv("LC_CTYPE", ctype); channel.setIn(new NoCloseInputStream(terminal.input())); channel.setOut(new NoCloseOutputStream(terminal.output()));