From: Jay A. Carlson (nop@theory.Mankato.MSUS.EDU)
Date: 09/28/92


From: nop@theory.Mankato.MSUS.EDU (Jay A. Carlson)
Subject: Re: Porting MUDS
Date: 28 Sep 1992 05:37:31 GMT


> Well, I have ported (nearly) a MOO to linux. It worked with only minor
> changes including one LONG filename (too long for linux) problem and a few
> minor things. The only thing I'm now waiting for is TCP/IP!

Once you get TCP, you'll need to change the ioctl(fd, FNONBIO, &yes)
call in bsd_network.c to fcntl(fd, F_SETFL, O_NONBLOCK), and allow
EAGAIN to work in the place where the code expects EWOULDBLOCK. The
bsd_network.c module isn't very posix, as it turns out. :-)

In order to support X clients, ioctls on network sockets may appear
soon, so this may not be necessary by the time you build.

My current plans for MOO and linux are to provide a two disk set that
will allow anyone to run a MOO on any 386 with compatible network
card. The MOO db can be held on a mounted MS-DOS partition, so users
probably will not need to repartition.

Jay Carlson
nop@theory.cs.mankato.msus.edu