Proper RFC 1143 Telnet option negotiation queue.
authorJeremy Stanley <fungi@yuggoth.org>
Tue, 4 May 2010 03:01:14 +0000 (03:01 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Tue, 4 May 2010 03:01:14 +0000 (03:01 +0000)
commit0fca7fa3d5ac08111c8850555813d341d699797f
treecbe7c9bd3da787dfc406b2e384c5931bac539b46
parent81fdc8035234f4e62f130297df109b6e3c52a37f
Proper RFC 1143 Telnet option negotiation queue.

* lib/mudpy/__init__.py: Added telnet to the modules list.

* lib/mudpy/misc.py (Element.send, User.__init__)
(User.adjust_echoing, User.enqueue_input, User.flush)
(User.replace_old_connections, User.send, check_for_connection)
(get_echo_sequence, handle_user_input): Minor adjustments to
accomodate new code in telnet.py.
(User.negotiate_telnet_options, telnet_proto): Moved to telnet.py
and reworked option negotiation stack to eliminate a possible loop,
bringing the code fully in compliance with the "Q" method described
in IETF RFC 1143.

* lib/mudpy/telnet.py: New file for constants and functions related
to support of the Telnet protocol.
lib/mudpy/__init__.py
lib/mudpy/misc.py
lib/mudpy/telnet.py [new file with mode: 0644]