class documentation

class ConsoleManhole(ColoredManhole): (source)

View In Hierarchy

A manhole protocol specifically for use with stdio.StandardIO.
Method connection​Lost When the connection is lost, there is nothing more to do. Stop the reactor so that the process can exit.

Inherited from ColoredManhole:

Method character​Received Undocumented
Method get​Source Return a string containing the currently entered source.

Inherited from Manhole (via ColoredManhole):

Method __init__ Undocumented
Method add​Output Undocumented
Method connection​Made Called after a connection has been established.
Method handle_​EOF Undocumented
Method handle_​FF Handle a 'form feed' byte - generally used to request a screen refresh/redraw.
Method handle_​INT Handle ^C as an interrupt keystroke by resetting the current input variables to their initial state.
Method handle_​QUIT Undocumented
Method line​Received Undocumented
Instance Variable interpreter Undocumented
Instance Variable line​Buffer Undocumented
Instance Variable line​Buffer​Index Undocumented
Instance Variable namespace Undocumented
Instance Variable pn Undocumented
Method _needs​Newline Undocumented

Inherited from HistoricRecvLine (via ColoredManhole, Manhole):

Method current​History​Buffer Undocumented
Method handle_​DOWN Undocumented
Method handle_​RETURN Undocumented
Method handle_​UP Undocumented
Instance Variable history​Lines Undocumented
Instance Variable history​Position Undocumented
Method _deliver​Buffer Undocumented

Inherited from RecvLine (via ColoredManhole, Manhole, HistoricRecvLine):

Method current​Line​Buffer Undocumented
Method draw​Input​Line Write a line containing the current input prompt and the current line buffer at the current cursor position.
Method handle_​BACKSPACE Undocumented
Method handle_​DELETE Undocumented
Method handle_​END Undocumented
Method handle_​HOME Undocumented
Method handle_​INSERT Undocumented
Method handle_​LEFT Undocumented
Method handle_​RIGHT Undocumented
Method handle_​TAB Undocumented
Method initialize​Screen Undocumented
Method keystroke​Received A keystroke was received.
Method set​Insert​Mode Undocumented
Method set​Typeover​Mode Undocumented
Method terminal​Size Called to indicate the size of the terminal.
Method unhandled​Control​Sequence Called when an unsupported control sequence is received.
Constant TABSTOP Undocumented
Class Variable ps Undocumented
Instance Variable height Undocumented
Instance Variable key​Handlers Undocumented
Instance Variable mode Undocumented
Instance Variable width Undocumented
Class Variable _log Undocumented
Class Variable _printable​Chars Undocumented

Inherited from TerminalProtocol (via ColoredManhole, Manhole, HistoricRecvLine, RecvLine):

Method make​Connection Called with an ITerminalTransport when a connection is established.
Instance Variable terminal Undocumented
def connectionLost(self, reason): (source)
When the connection is lost, there is nothing more to do. Stop the reactor so that the process can exit.