				INSTALL

INSTALLATION WITH THE ./install script
======================================

requirements: perl is needed

1) edit the ./Makefile file and set the following variables:

INSTALL			install program path (/usr/bin/install)
PERL			perl path (used only by the ./install script)
WISH			wish interpreter path
prefix			carnet path to :
			${prefix}/lib/carnet
			${prefix}/bin/carnet*
			${prefix}/man/man1/carnet.1
MAIL_COMMAND		the mail command (/usr/lib/sendmail)
FINGER_COMMAND		the finger command path (/usr/ucb/finger)
SPY_NEW_USER		a variable to control if carnet will send a mail
			to me, when used for the first time by a user. 
			It is JUST used to know if people is interested 
			on carnet, nothing else.

2) run

make carnet

if it fails, check the error message to see what is wrong, then use

make clean

Installation is done using the command

make install

Other commands are provided such as make uninstall to uninstall carnet
or make extraclean.

If you want the emacs or exmh support you have to use one of the
following files. You will find a brief description of how to use these
patches reading their header:
	carnet-vm.el
	carnet-rmail.el
	carnet-exmh.tcl

MANUAL INSTALLATION
===================
	
1) edit ./carnet and set the following variables (described above):

_LIBDIR_		install program path (/usr/bin/install)
_WISH_			wish interpreter path
_MAIL_COMMAND_		the mail command (/usr/lib/sendmail)
_FINGER_COMMAND_	the finger command path (/usr/ucb/finger)
_SPY_NEW_USER_		a variable to control if carnet will send a mail
			to me, when used for the first time by a user. 
			It is JUST used to know if people is interested 
			on carnet, nothing else.

2) create the library directory, and move ./*.tcl and *.xbm into,

mkdir /usr/local/lib/carnet

cp *.tcl *.xbm /usr/local/lib/carnet
chmod -R 644 /usr/local/lib/carnet

3) move ./carnet to a bin birectory

/bin/mv carnet /usr/local/bin/carnet
chmod 755 /usr/local/bin/carnet

3) If you want the emacs support you have to put the files 
	carnet-vm.el
	carnet-rmail.el
in some accessible place. I let you choose whenever to place these files 
in the emacs-lisp/ directory or in the carnet/lib directory.