Skip to content

2.4.0

Choose a tag to compare

@jquast jquast released this 10 Feb 15:48
· 48 commits to master since this release
  • change: wcwidth is now a required dependency!
  • bugfix: rare LINEMODE ACK loop with misbehaving servers that re-send unchanged MODE without ACK.
  • bugfix: unknown IAC commands no longer raise ValueError; treated as data.
  • bugfix: client no longer asserts on TTYPE IS from server.
  • bugfix: request_forwardmask() only called on server side.
  • enhancement: --banner-max-bytes option for telnetlib3-fingerprint; default raised from 1024 to 65536.
  • enhancement: new --encoding=petscii and --encoding=atarist
  • new: module telnetlib3.color_filter module — translates 16-color ANSI SGR codes to 24-bit RGB from hardware palettes (EGA, CGA, VGA, Amiga, xterm). Enabled by default. New client CLI options: --colormatch, --color-brightness, --color-contrast, --background-color, --reverse-video.
  • new: function telnetlib3.mud.zmp_decode, mud.atcp_decode, and mud.aardwolf_decode decode functions for ZMP (option 93), ATCP (option 200), and Aardwolf (option 102) MUD protocols.
  • new: methods telnetlib3.stream_writer.TelnetWriter.handle_zmp, handle_atcp, handle_aardwolf, handle_msp, and handle_mxp callbacks for receiving MUD extended protocol subnegotiations, with accumulated data stored in zmp_data, atcp_data, and aardwolf_data attributes.
  • new: COM-PORT-OPTION (rfc 2217) subnegotiation parsing with comport_data attribute and new method telnetlib3.stream_writer.TelnetWriter.request_comport_signature.
  • enhancement: telnetlib3-fingerprint now always probes extended MUD options (MSP, MXP, ZMP, AARDWOLF, ATCP) during server scans and captures ZMP, ATCP, Aardwolf, MXP, and COM-PORT data in session output.
  • enhancement: telnetlib3-fingerprint smart prompt detection — auto-answers yes/no, color, UTF-8 menu, who, and help prompts.