These sources were taken from FreeBSD 2.0, and changed so that it does
not do any syslog()ing, and added a new command-line option "-x PRG" which
exec's PRG instead of login(1). (I also added support for systems with no
setenv(2), just define NOSETENV).

To compile, first you must apply one of tha patches in the "patches"
directory, which corresponds to your OS.  Currently, there are patches for
Solaris (though, auto-linemode doesn't work for some reason), FreeBSD and
NetBSD (which simply reverse the changes to the makefile).  Next, compile
the library in libtelnet ("make") followed by slirp.telnetd in the telnetd
directory.

There are some -D config option you can specify, look in the file DEFINES
for some of the config options (not all are options), eg: define STREAMS 
and STREAMSPTY if your systems is streams based.

Once you do get it going, put it in a bin directory that is in your PATH.
If your shell is something other than /bin/sh, use the "shell /path/to/shell" 
config option in SLiRP.

If anyone could automate the compiling of telnetd as with SLiRP 
(ie: make OS), that'd be great.  Or even just send me patches to make it
on other systems, I'll include them in the patches directory.

(there is a lot of fat still to be cut from the sources, eg the UTMP
code is not needed)
