[cl-telnetd-devel] Some patches to get cl-telnetd working.

Daniel White dwhite.dex at gmail.com
Sat Sep 23 13:44:32 UTC 2006


Hi.

I've created a set of changes to get the server compilable and running.

The first patch, `tl.patch` updates telnet-listener.lisp to be
compilable and runnable.  The changes include:
	
	* A number of typo fixes.
	* Made make-listener-thread a method of TELNET-LISTENER.
	* SBCL's threading API has changed, so updated accordingly.
	* Removed a fair chunk of cycle-master-thread, merely removes
	  any that are finished, and spawns any more if necessary.
	* Changed the default port to 10000 so that it won't have any
	  problems for an unprivileged user.
	
The second patch, `ts.patch` updates telnet-stream.lisp to mostly be
compilable.  Mostly because a number of clashes occur with the
COMMON-LISP package (fixed in next patch).

Changes include:

	* Fixing calls to CHAR, parameter were reversed and indexes
	  were off by 1.
	* Updated read and write functions to behave the same as
	  those in the standard.
	* READ-CHAR shouldn't die if it reads NIL.

The last patch, `pkg.patch` adds an ASDF package, cl-telnetd.asd, define
 the cl-telnetd package in packages.lisp.

	* Changed package name from ltelnetd to cl-telnetd.
	* ASDF package in cl-telnetd.asd.
	* Defined cl-telnetd package in packages.lisp.
	* The cl-telnetd now adds shadowing for read and write functions
	  used by telnet-stream (telnet-stream.lisp now compiles).

Regards,

Daniel.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tl.patch
Type: text/x-patch
Size: 6411 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-telnetd-devel/attachments/20060923/10c4bfe4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ts.patch
Type: text/x-patch
Size: 5179 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-telnetd-devel/attachments/20060923/10c4bfe4/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkg.patch
Type: text/x-patch
Size: 2491 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-telnetd-devel/attachments/20060923/10c4bfe4/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <https://mailman.common-lisp.net/pipermail/cl-telnetd-devel/attachments/20060923/10c4bfe4/attachment.sig>


More information about the Cl-telnetd-devel mailing list