module documentation
(source)

Telnet protocol implementation.
Author
Jean-Paul Calderone
Interface ​ITelnet​Protocol No interface docstring; 6/6 methods documented
Interface ​ITelnet​Transport No interface docstring; 5/5 methods documented
Class ​Already​Disabled Undocumented
Class ​Already​Enabled Undocumented
Class ​Already​Negotiating Undocumented
Class ​Authenticating​Telnet​Protocol A protocol which prompts for credentials and attempts to authenticate them.
Class ​Negotiation​Error Undocumented
Class ​Option​Refused Undocumented
Class ​Protocol​Transport​Mixin Undocumented
Class ​Stateful​Telnet​Protocol Undocumented
Class ​Telnet No summary
Class ​Telnet​Bootstrap​Protocol Undocumented
Class ​Telnet​Error Undocumented
Class ​Telnet​Protocol Undocumented
Class ​Telnet​Transport
Constant AO Undocumented
Constant AYT Undocumented
Constant BEL Undocumented
Constant BRK Undocumented
Constant BS Undocumented
Constant CR Undocumented
Constant DM Undocumented
Constant DO Undocumented
Constant DONT Undocumented
Constant EC Undocumented
Constant ECHO Undocumented
Constant EDIT Undocumented
Constant EL Undocumented
Constant EOR Undocumented
Constant FF Undocumented
Constant GA Undocumented
Constant HT Undocumented
Constant IAC Undocumented
Constant IP Undocumented
Constant LF Undocumented
Constant LINEMODE Undocumented
Constant LINEMODE​_ABORT Undocumented
Constant LINEMODE​_EDIT Undocumented
Constant LINEMODE​_EOF Undocumented
Constant LINEMODE​_FORWARDMASK Undocumented
Constant LINEMODE​_LIT​_ECHO Undocumented
Constant LINEMODE​_MODE Undocumented
Constant LINEMODE​_MODE​_ACK Undocumented
Constant LINEMODE​_SLC Undocumented
Constant LINEMODE​_SLC​_ABORT Undocumented
Constant LINEMODE​_SLC​_ACK Undocumented
Constant LINEMODE​_SLC​_AO Undocumented
Constant LINEMODE​_SLC​_AYT Undocumented
Constant LINEMODE​_SLC​_BRK Undocumented
Constant LINEMODE​_SLC​_CANTCHANGE Undocumented
Constant LINEMODE​_SLC​_DEFAULT Undocumented
Constant LINEMODE​_SLC​_EBOL Undocumented
Constant LINEMODE​_SLC​_EC Undocumented
Constant LINEMODE​_SLC​_ECR Undocumented
Constant LINEMODE​_SLC​_EEOL Undocumented
Constant LINEMODE​_SLC​_EL Undocumented
Constant LINEMODE​_SLC​_EOF Undocumented
Constant LINEMODE​_SLC​_EOR Undocumented
Constant LINEMODE​_SLC​_EW Undocumented
Constant LINEMODE​_SLC​_EWR Undocumented
Constant LINEMODE​_SLC​_FLUSHIN Undocumented
Constant LINEMODE​_SLC​_FLUSHOUT Undocumented
Constant LINEMODE​_SLC​_FORW1 Undocumented
Constant LINEMODE​_SLC​_FORW2 Undocumented
Constant LINEMODE​_SLC​_INSRT Undocumented
Constant LINEMODE​_SLC​_IP Undocumented
Constant LINEMODE​_SLC​_LEVELBITS Undocumented
Constant LINEMODE​_SLC​_LNEXT Undocumented
Constant LINEMODE​_SLC​_MCBOL Undocumented
Constant LINEMODE​_SLC​_MCEOL Undocumented
Constant LINEMODE​_SLC​_MCL Undocumented
Constant LINEMODE​_SLC​_MCR Undocumented
Constant LINEMODE​_SLC​_MCWL Undocumented
Constant LINEMODE​_SLC​_MCWR Undocumented
Constant LINEMODE​_SLC​_NOSUPPORT Undocumented
Constant LINEMODE​_SLC​_OVER Undocumented
Constant LINEMODE​_SLC​_RP Undocumented
Constant LINEMODE​_SLC​_SUSP Undocumented
Constant LINEMODE​_SLC​_SYNCH Undocumented
Constant LINEMODE​_SLC​_VALUE Undocumented
Constant LINEMODE​_SLC​_XOFF Undocumented
Constant LINEMODE​_SLC​_XON Undocumented
Constant LINEMODE​_SOFT​_TAB Undocumented
Constant LINEMODE​_SUSP Undocumented
Constant LINEMODE​_TRAPSIG Undocumented
Constant LIT​_ECHO Undocumented
Constant MODE Undocumented
Constant MODE​_ACK Undocumented
Constant NAWS Undocumented
Constant NOP Undocumented
Constant NULL Undocumented
Constant SB Undocumented
Constant SE Undocumented
Constant SGA Undocumented
Constant SOFT​_TAB Undocumented
Constant TRAPSIG Undocumented
Constant VT Undocumented
Constant WILL Undocumented
Constant WONT Undocumented
Function _chr Create a byte sequence of length 1.

Undocumented

Value
_chr(245)

Undocumented

Value
_chr(246)

Undocumented

Value
_chr(7)

Undocumented

Value
_chr(243)

Undocumented

Value
_chr(8)

Undocumented

Value
_chr(13)

Undocumented

Value
_chr(242)

Undocumented

Value
_chr(253)
DONT = (source)

Undocumented

Value
_chr(254)

Undocumented

Value
_chr(247)
ECHO = (source)

Undocumented

Value
_chr(1)
EDIT: int = (source)

Undocumented

Value
1

Undocumented

Value
_chr(248)

Undocumented

Value
_chr(239)

Undocumented

Value
_chr(12)

Undocumented

Value
_chr(249)

Undocumented

Value
_chr(9)

Undocumented

Value
_chr(255)

Undocumented

Value
_chr(244)

Undocumented

Value
_chr(10)
LINEMODE = (source)

Undocumented

Value
_chr(34)
LINEMODE_ABORT = (source)

Undocumented

Value
_chr(238)
LINEMODE_EDIT = (source)

Undocumented

Value
_chr(1)
LINEMODE_EOF = (source)

Undocumented

Value
_chr(236)
LINEMODE_FORWARDMASK = (source)

Undocumented

Value
_chr(2)
LINEMODE_LIT_ECHO = (source)

Undocumented

Value
_chr(16)
LINEMODE_MODE = (source)

Undocumented

Value
_chr(1)
LINEMODE_MODE_ACK = (source)

Undocumented

Value
_chr(4)
LINEMODE_SLC = (source)

Undocumented

Value
_chr(3)
LINEMODE_SLC_ABORT = (source)

Undocumented

Value
_chr(7)
LINEMODE_SLC_ACK = (source)

Undocumented

Value
_chr(128)
LINEMODE_SLC_AO = (source)

Undocumented

Value
_chr(4)
LINEMODE_SLC_AYT = (source)

Undocumented

Value
_chr(5)
LINEMODE_SLC_BRK = (source)

Undocumented

Value
_chr(2)
LINEMODE_SLC_CANTCHANGE = (source)

Undocumented

Value
_chr(1)
LINEMODE_SLC_DEFAULT = (source)

Undocumented

Value
_chr(3)
LINEMODE_SLC_EBOL = (source)

Undocumented

Value
_chr(29)
LINEMODE_SLC_EC = (source)

Undocumented

Value
_chr(10)
LINEMODE_SLC_ECR = (source)

Undocumented

Value
_chr(27)
LINEMODE_SLC_EEOL = (source)

Undocumented

Value
_chr(30)
LINEMODE_SLC_EL = (source)

Undocumented

Value
_chr(11)
LINEMODE_SLC_EOF = (source)

Undocumented

Value
_chr(8)
LINEMODE_SLC_EOR = (source)

Undocumented

Value
_chr(6)
LINEMODE_SLC_EW = (source)

Undocumented

Value
_chr(12)
LINEMODE_SLC_EWR = (source)

Undocumented

Value
_chr(28)
LINEMODE_SLC_FLUSHIN = (source)

Undocumented

Value
_chr(64)
LINEMODE_SLC_FLUSHOUT = (source)

Undocumented

Value
_chr(32)
LINEMODE_SLC_FORW1 = (source)

Undocumented

Value
_chr(17)
LINEMODE_SLC_FORW2 = (source)

Undocumented

Value
_chr(18)
LINEMODE_SLC_INSRT = (source)

Undocumented

Value
_chr(25)
LINEMODE_SLC_IP = (source)

Undocumented

Value
_chr(3)
LINEMODE_SLC_LEVELBITS = (source)

Undocumented

Value
_chr(3)
LINEMODE_SLC_LNEXT = (source)

Undocumented

Value
_chr(14)
LINEMODE_SLC_MCBOL = (source)

Undocumented

Value
_chr(23)
LINEMODE_SLC_MCEOL = (source)

Undocumented

Value
_chr(24)
LINEMODE_SLC_MCL = (source)

Undocumented

Value
_chr(19)
LINEMODE_SLC_MCR = (source)

Undocumented

Value
_chr(20)
LINEMODE_SLC_MCWL = (source)

Undocumented

Value
_chr(21)
LINEMODE_SLC_MCWR = (source)

Undocumented

Value
_chr(22)
LINEMODE_SLC_NOSUPPORT = (source)

Undocumented

Value
_chr(0)
LINEMODE_SLC_OVER = (source)

Undocumented

Value
_chr(26)
LINEMODE_SLC_RP = (source)

Undocumented

Value
_chr(13)
LINEMODE_SLC_SUSP = (source)

Undocumented

Value
_chr(9)
LINEMODE_SLC_SYNCH = (source)

Undocumented

Value
_chr(1)
LINEMODE_SLC_VALUE = (source)

Undocumented

Value
_chr(2)
LINEMODE_SLC_XOFF = (source)

Undocumented

Value
_chr(16)
LINEMODE_SLC_XON = (source)

Undocumented

Value
_chr(15)
LINEMODE_SOFT_TAB = (source)

Undocumented

Value
_chr(8)
LINEMODE_SUSP = (source)

Undocumented

Value
_chr(237)
LINEMODE_TRAPSIG = (source)

Undocumented

Value
_chr(2)
LIT_ECHO: int = (source)

Undocumented

Value
16
MODE = (source)

Undocumented

Value
_chr(1)
MODE_ACK: int = (source)

Undocumented

Value
4
NAWS = (source)

Undocumented

Value
_chr(31)

Undocumented

Value
_chr(241)
NULL = (source)

Undocumented

Value
_chr(0)

Undocumented

Value
_chr(250)

Undocumented

Value
_chr(240)

Undocumented

Value
_chr(3)
SOFT_TAB: int = (source)

Undocumented

Value
8
TRAPSIG: int = (source)

Undocumented

Value
2

Undocumented

Value
_chr(11)
WILL = (source)

Undocumented

Value
_chr(251)
WONT = (source)

Undocumented

Value
_chr(252)
def _chr(i): (source)

Create a byte sequence of length 1.

RFC 854 specifies codes in decimal, but Python can only handle bytes literals in octal or hexadecimal. This helper function bridges that gap.

Parameters
i:intThe value of the only byte in the sequence.
Returns
bytesUndocumented