------------------------------------------------------------------------
                         Termutils version 0.1

                           David J. Lennox

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 1, or (at your option)
    any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

-------------------------------------------------------------------------------
REQUIRED:

This version of "Termutils" requires "Linux version 1.1.59" with networking
support and "Term version 2.3.5 or newer. It is assumed that the TCP net   
package is installed on your system and that you have your network working
correctly. Also required is "kermit version 1.8.9" or newer. All of these
programs are available by anonymous ftp from "sunsite.unc.edu".

BACKGROUND:

I put this package together in order to have Internet networking services
available at my home. I wanted to be able to wake up in the morning and  
have my mail and news waiting for me. Most of work was already done. The
Linux kernel, Term and Termify are all great programs written by some real
sharp and devoted people. ( See CREDITS below. ) My contribution consists 
of a few scripts used to automate the process of connecting with term.   
Also I have recompiled the libraries that were supplied with termify. I  
think that most of the problems that people experience are due to improper
compilation of the distributed libraries. I have attempted to make using  
term a little easier for the person with limited programming experience.  
Hence this version of "Termutils" is born :-)

PACKAGE CONTENTS:

This package consists of:

   1.) The complete binary distribution of "Berkely Sendmail" with a
       "termified" sendmail executable.

   2.) A copy of the "termify" program version 2.2.0.

   3.) A recompiled version of the "termify" libraries version 4.6.27-2.3.5.

   4.) "Termified" binaries of the programs "ncftp" "gopher" "tin" "telnet"
       and "Netscape" and the associated configuration files.

   5.) Several "Bourne" shell scripts.

INSTALLATION:

To install this package login as root. Copy the file "Termutils.tar.gz"
to the / directory and execute the command: "tar xfvpz Termutils.tar.gz".

!!!--NOTE--!!!

   If you presently have "sendmail" installed and working on your system

   MAKE A COPY OF YOUR /etc/sendmail.cf FILE AND STORE IT IN A SAFE PLACE!

   Installation of this package in the above described manner will overwrite
   your existing "sendmail" installation. See the "README.sendmail" file
   for more information.

You should now have the binaries installed in the correct places. Next you
must edit several of the scripts. Take a look in "/usr/doc/termutils" for
more information and also read the information contained in the individual
scripts. These are as follows:

   /usr/local/bin/termconnect 
   /usr/local/bin/getmail
   /usr/local/bin/runq
   /usr/local/bin/bye
	/root/.term/kermtrc
	/root/.term/kermtbye
	/root/.term/termrc
	/root/.tin/tinrc
   /root/.netscape-preferences
	/root/.ncftprc

After you edit all fo the relevant files you must next edit your
"/etc/profile". Put in the lines:

	export NNTPSERVER=news 

   alias tin='tin -r'  

Also add "/usr/local/bin" to your path if it is not already there.
Next you must edit the startup file that starts sendmail on your system.
This can be:

	/etc/rc.d/rc.S
   /etc/rc.d/rc.M
	/etc/rc.d/rc.local

or any of the rc files. Look for the lines that say something like:

	if [ -f /usr/sbin/sendmail ]; then

		echo "Starting Sendmail( /usr/sbin/sendmail -bd -q 10m )"
		/usr/sbin/sendmail -bd -q 10m

	fi

Change this to:

   if [ -f /usr/sbin/sendmail ]; then

      echo "Starting Sendmail( /usr/sbin/sendmail -bd )"
      /usr/sbin/sendmail -bd

   fi

This will disable the automatic running of the mail queue by "sendmail".
Now you must edit the file "/etc/inetd.conf". Open the file and look for
the lines that look like:

	smtp  stream  tcp  nowait  root  /usr/bin/smtpd smtpd
	smtp  stream  tcp  nowait  root  /usr/sbin/tcpd /usr/bin/rsmtp -bs
	nntp  stream  tcp  nowait  root  /usr/sbin/tcpd /usr/sbin/in.nnrpd  
	nntp  stream  tcp  nowait  root  /usr/sbin/tcpd /usr/sbin/in.nntpd

Comment these out. If there is a smtp or an nntp daemon running from inet
it will compete for the port with "sendmail" and "tin".

You should hopefully be configured properly. Reboot your system and login
as root. Type the command "termconnect" and see what happens. After you
connect try out the programs. "Netscape" is nice. You should be able to
do everything from your shell on the local machine. There is no reason to
"trsh" anymore. Try mailing a letter to yourself at the remote machine. 
Also you can use "termify" to make other network type programs you may
have term aware. Just use the command "termify PROGRAM-NAME". You will
find a new version of the program with the term prefix in your current
directory. 

PROBLEMS:

If there are any problems go back through the scripts and make sure that 
everything is correct for your system. Also check the relavent files for 
correct permissions. Mail is a persnickity beast :-) If you have problems
with "sendmail" look at the "README.sendmail" file. If all else fails send
me an e-mail at < djlennox@mtu.edu > and I will try to help you out.  

CREDITS:

Most of the credit for this package belongs to:

	Bill Reynolds   for Term
	Patric Reijnen  for Term
	Bill Riemers    for Term and Termify

	And of course Linus

Without their hard work and dedication we all would be stuck with stinky
old DOS :-)


Good Luck and Smooth Sailing!

David J. Lennox     < djlennox@mtu.edu >


