class twisted.conch.manhole_ssh.TerminalSession(components.Adapter): (source)
Implements interfaces: twisted.conch.interfaces.ISession
Undocumented
Method | getPty | Get a pseudo-terminal for use by a shell or command. |
Instance Variable | height | Undocumented |
Instance Variable | width | Undocumented |
Method | openShell | Open a shell and connect it to proto. |
Method | execCommand | Execute a command. |
Method | windowChanged | Called when the size of the remote screen has changed. |
Method | eofReceived | Called when the other side has indicated no more data will be sent. |
Method | closed | Called when the session is closed. |
Inherited from Adapter:
Class Variable | temporaryAdapter | If this is True, the adapter will not be persisted on the Componentized. |
Class Variable | multiComponent | If this adapter is persistent, should it be automatically registered for all appropriate interfaces. |
Method | __init__ | Set my 'original' attribute to be the object I am adapting. |
Instance Variable | original | Undocumented |
Method | __conform__ | I forward __conform__ to self.original if it has it, otherwise I simply return None. |
Method | isuper | Forward isuper to self.original |
Get a pseudo-terminal for use by a shell or command.
If a pseudo-terminal is not available, or the request otherwise fails, raise an exception.
Open a shell and connect it to proto.
Parameters | proto | a ProcessProtocol instance. |
Execute a command.
Parameters | proto | a ProcessProtocol instance. |
cmd | Undocumented |
Called when the size of the remote screen has changed.