WHAT IS THIS?
~~~~~~~~~~~~~
I've added in the following routines to make porting easier:
   term_gethostbyname()
   term_connect()
   term_rcmd()
   term_bind()
   term_getsockname()
   term_listen()
   term_accept()
   term_shutdown()
   term_close()

At the end if this file I've included instructions for using these new routines
I've tried to make it so "term" binaries will be useable for users of other
networking software as well.  Sometime in the future, users might be able to
modified there shared libraries instead of recompiling everything.  For now
this is still sometime off in the distant future.

PORTING OF SOFTWARE:
~~~~~~~~~~~~~~~~~~~~
Here is the new simplified porting procedure.

  1. Add to the compile flags "-include /usr/local/src/termnet.h"
  2. Add to the library list "-L/usr/local/src/term -ltermnet"


That should do it!!!  If you are using term in "shared" mode, you'll need:

  chgrp  term <filenames>
  chmod g+s <filenames>

Some commands like "rlogin" will only excutable by root and the owner
of the term connection.


At this point the commands should work both with and without term.  i.e.
  "telnet localhost"
doesn't use term to connect, but
  "telnet bohr.physics.purdue.edu"
will use term only if you don't have some other type of network connection.

NOTE: I've tried to make it so "term" will still work without tcpip on your
local machine, but I haven't done very extensive tests.


PORTING CAVEANT:
~~~~~~~~~~~~~~~~
More interphase routines are still needed for the new porting procedure to
work in all cases.  i.e. Programs like "talk" still don't work.  For daemons,
you should add the line listing the protocal "term" with the service name in
/etc/service.  Otherwise, you will still need to use "tredir".  In general
if the client requires message passing or udp support, it won't work. 

Still needed:
 - To support "recv" and "send"
 - To deal with duplicated socket descriptors.
 - Improve the functions in termnet.c to act more like the real things.
 - To figure out why "xarchie" still won't work.

