Imported from archive.
authorJeremy Stanley <fungi@yuggoth.org>
Fri, 2 Oct 2009 23:58:09 +0000 (23:58 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Fri, 2 Oct 2009 23:58:09 +0000 (23:58 +0000)
commitc5f10b71cf57a0fbab9a842428fabd0b3c107f62
treede2e5273c451dff85f461b6203bf3ef44b8a1003
parent5ed98618a9d10d3589bba423f93140d532b4d5eb
Imported from archive.

* (all): Updated copyright notices for 2009.

* mudpy, mudpy.py: Changed all Python module references to be
explicit rather than importing their contents into the local
namespace, and moved all the import statements into the objects
requiring them. Made all code Unicode clean, UTF-8 encoded, and
marked relevant byte-oriented code in preparation for later Python
2to3 migration. Wrapped all code at 79 columns and changed to
three-space/non-tab indents with K&R-style bracketing. Moved more
code from the mudpy executable into mudpy.py instead.

* mudpy.py (User.flush): Added some verbose logging when an
exception is raised sending to a socket.
(User.negotiate_telnet_options): Reworked the Telnet stack into an
RFC 1143 option negotiation queue. Implemented support for binary
mode input and output RFC 856 and made the UTF-8 decoding and
encoding/substitution dependent on it. Implemented support for
negotiate about windows size RFC 1073 and changed the word-wrapping
routines to use the client's terminal width if available.
(glyph_columns, wrap_ansi_text): Improved word-wrapping to support
East Asian Width characters, which occupy two columns instead of
just one.

* katarsis, sample: Replaced Katarsis data with more generic sample
data.
15 files changed:
LICENSE
archetype
banner.txt
command
katarsis/index [deleted file]
katarsis/pride_square/location [deleted file]
katarsis/pride_square/prop [deleted file]
login.txt
menu
mudpy
mudpy.conf
mudpy.py
sample/index [moved from katarsis/pride_square/index with 77% similarity]
sample/location [new file with mode: 0644]
sample/prop [new file with mode: 0644]