On Tue, 25 Aug 2015, at 23:58, John Santos wrote: ... > t.c.r.R.connectionMade() calls self.initializeScreen(), which in turn > calls self.terminal.reset() > > I'm pretty sure s.t.reset() is actually twisted.conch.insults.reset(), > which has a bug (or an undesirable feature), it sends a "hard reset" > escape sequence to the terminal (<ESC>c). This freaks out many terminal > emulators, and real, VT100-compatible terminals, in many different ways. ... > Depending on the terminal emulator or physical terminal you are using, > this probably explains your symptoms. > > See ticket # 7514: https://twistedmatrix.com/trac/ticket/7514
This does sound like a scary bug, especially on a real terminal, but I tried your patch and it didn't affect my symptom of the screen being cleared again. That's more about "when" rather than "how". Peter. _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python