From 8e30ffb840507cf22e9d6b813a1e4af7566d459e Mon Sep 17 00:00:00 2001 From: liuzheng712 Date: Fri, 4 Mar 2016 20:40:37 +0800 Subject: [PATCH] fix(run_server.py): test if it invoke_shell bug --- run_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_server.py b/run_server.py index 389ae597a..3f6310cfb 100755 --- a/run_server.py +++ b/run_server.py @@ -338,7 +338,7 @@ class WebTerminalHandler(tornado.websocket.WebSocketHandler): if not self.term.remote_ip: self.term.remote_ip = self.request.remote_ip self.ssh = self.term.get_connection() - self.channel = self.ssh.invoke_shell(term='xterm') + self.channel = self.ssh.invoke_shell(term='vt100') WebTerminalHandler.tasks.append(MyThread(target=self.forward_outbound)) WebTerminalHandler.clients.append(self)