On Wed, Aug 16, 2000 at 11:12:39AM -0500, Brandon wrote: > > > This *will* be possible - there will be a function emulating the old > > behaviour. > > Yay!
Actually, I don't think that this should be a pure emulation. The function for blocking requests should take the form: request(self, key0, key1 = None, type='KHK') or request(self, key) where key is a tuple of (type, key0, key1) Note that key1 can be None if type == 'KHK' or type == 'KSK'. And the function for blocking inserts should take the form: insert(self, key0, file, key1 = None, type='KHK') # Kludgey or insert(self, key, file) where key is the same tuple as above The second forms of request and insert aren't backwards compatible, but they should not be too hard to rework software for (unlike with a big event-based model). > > I built one too, using asyncore (non-blocking IO) - I had a fully working > > NNTP server using Freenet as a backend. The reason it used asyncore was > > that I got the NNTP server code from Sam Rushing. So I don't want to support > > blocking IO only - I want to support both. > > Dammit, I wish you had said something so I didn't waste my time. Alas. > > > Is your server available anywhere where I can look at it? > > I'd love you to. While adding support for gnus I somehow munged the GROUP > command so that while it looks fine to me, pine now only requests the > first message. I find this bizarre beyond reasoning. Perhaps you can > offer some advice on the matter. It's up at > http://uts.cc.utexas.edu/~blanu/waste/news.py. You have to run it as root, > of course. It generates a log file in news.log. I thought you hated software that had to be installed and ran as root. But then, on Linux and Unix boxen, you have to be root to use low ports (which is one of the few things I dislike about Unix/Linux). :( -- Travis Bemann Sendmail is still screwed up on my box. My email address is really bemann at execpc.com. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 1861 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20000816/eeca5d41/attachment.pgp>
