[comp.protocols.tcp-ip.ibmpc] Anomalies with KA9Q

philipp@opus.cs.mcgill.ca (Philip Prindeville) (11/05/88)

Hi.

	I was wondering if anyone has patches for the following
problems with KA9Q:

	"226 Transfer complete" comes in the middle of
	a dir listing, which is sort of annoying.  Is there
	a way to synchronize this?

	when one starts an inferior dos shell from net.exe,
	then returns, newlines are not mapped to cr-lf, just lf.

Probable other problems too, but I haven't found those yet.

Please send me the patches directly if you have them.  I will
forward to any requestors...

Thanks,

-Philip

karn@ka9q.bellcore.com (Phil Karn) (11/05/88)

I am currently working on a major rewrite of the KA9Q package. It is
organized around a non-preemptive multitasking kernel (i.e., "lightweight
processes") instead of the simple commutator loop used until now. Applications
are still linked into a single program (net.exe), so by no means have I
implemented a full-blown timesharing system; other than changes in the
applications themselves, externally net.exe appears to run much as before.

This has made it possible to implement a Berkeley-style socket interface for
the application program, and I have rewritten the FTP, Telnet and finger
applications to use it (the author of the SMTP stuff is working on that
part). As part of the rewrite, the FTP client is completely new and it is
*much* better than the old one. To make a long story short, the problem you
report with the completion message coming out in the middle of a directory
transfer is just one of the problems that have been solved.

I am still working on the release (except for the past few days -- you can
probably guess what I've been spending all my time on :-(). I hope to have
it out in a month or so. The Internet stuff works pretty well, but there are
some design issues having to do with the semantics of AX.25 sockets I have
to think through.  I recently added domain client support. It works pretty
well, although I would like to improve the performance of the domain cache I
keep on disk. Is there a public domain database management subroutine
package available anywhere for MS-DOS? Something equivalent to UNIX dbm(3)
would be ideal.

Phil

U211344@HNYKUN11.BITNET (Olaf Seibert) (11/07/88)

I have a question regarding the Amiga version of the KA9Q internet
package. The version I now have (binary says v870829.24, source
says v871225.31), is the one with the 'big loop', and all parts
of the system in one executable file.

I would like to know how easy it would be to make a version (at
least for the Amiga, or for any other machine with real or pseudo
multitasking) to break up this large file into sepatate executables
for every server and client program. That would make adding a new
server or client, like finger, much easier. But it also requires
an external interface to these external programs, to open a TCP
or UDP 'connection', read from and write to it, and close it
again. Also, the upcall system must be revised, since on systems
like the Amiga, you don't use upcalls, but send a message instead.

How much is this new version like I described? How much work would
it be to make it that way?

Freely_Distributable=Greetings(Not_For_Any_Commercial_Purpose)->
        Olaf.Seibert;
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    +++ Let me tell you that I disclaim anything you care to name +++
 --- Olaf Rhialto Seibert the Marvellous --- U211344@hnykun11.bitnet ---
                         7167 BYTES FREE
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*

jbvb@VAX.FTP.COM (James Van Bokkelen) (11/08/88)

Taking a linked-in TCP/UDP/IP and turning it into a separate system
service module is certainly possible; that is what we did to PC/TCP
between our 1.1 release (which worked like PC-IP) and our 2.0 release
(where the TCP etc. are in a DOS TSR).  However, it is a bunch of work,
even when you are starting with something designed around a built-in
multitasker (like PC-IP).  It might be easier if you have a real O/S
handy (in this area, DOS has very little help to offer).

The level of effort depends on whether Phil has been planning for this
sort of thing in his in-progress version.  If not, it could easily take
a man-year or more.

James VanBokkelen
FTP Software Inc.

sadler@shorty.CS.WISC.EDU (Jon B. Sadler) (11/09/88)

I have been following Phil Karn's KA9Q internet software package quite
closely, and am quite glad to pass along that Phil is CURRENTLY working on
a version of the KA9Q package that has an interupt-run "kernal" that supports
the TCP/UDP and IP connections, and has broken out the individual services
into seperate processes.  This version is supposed to be quite close to
finished.  It will retain it's "easy-to-port" features.

Jonathan Sadler
Computing Systems Lab (CSL)
University of Wisconsin - Madison


INTERNET:  sadler@cs.wisc.edu         SNAIL MAIL:  Jonathan Sadler
           sadler@csd4.milw.wisc.edu               2350 Comp Sci + Stat (CSL)
UUCP    :  ...!rutgers!uwvax!sadler                University of Wisconsin
           sadler@uwvax.UUCP                       Madison, WI 53706
           ...chinet!laidbak!sadler   BELL NET:    (608) 262-2389