sshproxy-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sshproxy-dev] Changes to sshproxy/SSHproxy/client/ssh.py


From: Pierre-Yves Rofes
Subject: [sshproxy-dev] Changes to sshproxy/SSHproxy/client/ssh.py
Date: Fri, 23 Sep 2005 11:35:45 -0400

Index: sshproxy/SSHproxy/client/ssh.py
diff -u sshproxy/SSHproxy/client/ssh.py:1.4 sshproxy/SSHproxy/client/ssh.py:1.5
--- sshproxy/SSHproxy/client/ssh.py:1.4 Thu Sep 22 08:57:55 2005
+++ sshproxy/SSHproxy/client/ssh.py     Fri Sep 23 15:35:45 2005
@@ -171,14 +171,14 @@
                         # increment the following number if only one Ctrl-K
                         # interferes with another application
                         if CK >= 1:
-                            self.reset_term()
-                            self.fdout.write("\n")
-                            self.cmd.cmdloop()
-                            fcntl.fcntl(self.fdin, fcntl.F_SETFL, os.O_NDELAY)
-                            self.set_term()
+                           self.reset_term()
+                           self.fdout.write("\n")
+                           self.cmd.cmdloop()
+                           fcntl.fcntl(self.fdin, fcntl.F_SETFL, os.O_NDELAY)
+                           self.set_term()
                             # send ^L to clear screen and restore cmd line
-                            self.session.send(chr(12))
-                            CK = 0
+                           self.session.send(chr(12))
+                           CK = 0
                         continue
 
                     self.session.send(x)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]