Known subclasses: twisted.conch.manhole.Manhole, twisted.conch.test.test_recvline.EchoServer

TerminalProtocol which adds both basic line-editing features and input history.

Everything supported by RecvLine is also supported by this class. In addition, the up and down arrows traverse the input history. Each received line is automatically added to the end of the input history.

Method connectionMade Called after a connection has been established.
Method currentHistoryBuffer Undocumented
Method handle_UP Undocumented
Method handle_DOWN Undocumented
Method handle_RETURN Undocumented
Method _deliverBuffer Undocumented

Inherited from RecvLine:

Method initializeScreen Undocumented
Method currentLineBuffer Undocumented
Method setInsertMode Undocumented
Method setTypeoverMode Undocumented
Method drawInputLine Write a line containing the current input prompt and the current line buffer at the current cursor position.
Method terminalSize Called to indicate the size of the terminal.
Method unhandledControlSequence Called when an unsupported control sequence is received.
Method keystrokeReceived A keystroke was received.
Method characterReceived Undocumented
Method handle_TAB Undocumented
Method handle_LEFT Undocumented
Method handle_RIGHT Undocumented
Method handle_HOME Undocumented
Method handle_END Undocumented
Method handle_BACKSPACE Undocumented
Method handle_DELETE Undocumented
Method handle_INSERT Undocumented
Method lineReceived Undocumented

Inherited from TerminalProtocol (via RecvLine):

Method makeConnection Called with an ITerminalTransport when a connection is established.
Method connectionLost Called when the connection has been lost.
def connectionMade(self):

Called after a connection has been established.

def currentHistoryBuffer(self):
Undocumented
def _deliverBuffer(self, buf):
Undocumented
def handle_UP(self):
Undocumented
def handle_DOWN(self):
Undocumented
def handle_RETURN(self):
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.