moo.agent.iac
Client-side IAC (telnet subnegotiation) parser, encoder, and negotiator.
Mirrors the server’s moo/shell/iac.py from the client role. See
docs/source/explanation/agent-internals.md (IAC) for the design narrative.
Functions
|
|
|
|
|
Encode a GMCP frame: |
|
|
|
Encode IAC SB <opt> <payload> IAC SE, doubling 0xFF in payload. |
|
|
|
Inverse of |
|
Parse an MSSP payload into |
|
Parse a TTYPE subnegotiation payload. |
Classes
|
Client-side IAC negotiator. |
|
Byte-feed state machine for IAC sequences. |