[Tinymux] General Status and Proposed Flatfile Change.
Stephen Dennis
brazilofmux at gmail.com
Tue Sep 5 09:35:46 EDT 2006
CVS versus SVN:
I am considering a switch to Google's Subversion-based source code control
and issue management. At the moment, http://code.google.com/p/tinymux/ for
TinyMUX 2.6 is setup in parallel with the corresponding CVS repository.
Proposed Flatfile Change:
In setting up the Subversion sources, I'm reminded again that the current
flatfile format can have embedded CRLF sequences in attributes within an
otherwise LF-termined line. To perserve the mix of CRLF and LF sequences,
the flatfile must be transfered in binary mode and treated like a binary
file even as it can also be editted like a text file.
I propose a change to putstring() and getstring_noalloc() and to the
flatfile format itself. We should escape CR, LF, TAB, and ESC in addition to
escaping double-quote and backslash. This change would bump the version
number from 5 to 6. Here's an example:
>4004
"\tThis is a test of TAB, CR, LF, and \e[3mESC\e[0m escapes with a
backslash.\r\n\r"
A benefit of this change is that netmux.db become a real text file. The
downside of this proposed change is compatibility with previous versions of
TinyMUX, other conversion scripts, and potentially the dbpuller utility
included in src/tools. At the least, I can extend compatibility back to
TinyMUX 2.3.
Brazil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.tinymux.org/pipermail/tinymux/attachments/20060905/4c1b8e3d/attachment.htm
More information about the Tinymux
mailing list