		    INSTALLATION INSTRUCTIONS
		       tkvoice-1.x.tar.gz
		          Peter Bruley
                        Wed Mar  20 2002

##################################################################
# REQUIRMENTS:  -TK/TCL installed properly
#
#		-vgetty installed properly
#		 ie/ From the mgetty-1.1.x src dir:  make vgetty
#		                                     make vgetty-install
#
#		-vgetty voice-spool directories
#		 cd /var/spool
#		 mkdir voice
#		 cd voice
#		 mkdir incoming
#		 mkdir messages
#
#		-mgetty.config and vgetty.config setup properly
#		 See readme in mgetty-1.1.xx/voice/doc/Readme.Beginners
#
#		-inittab setup properly for vgetty
#		 ie/
#		    s3:235:respawn:/usr/local/sbin/vgetty /dev/modem
#
#		-netpbm Tools for FAX Viewing Support
#
##################################################################


1.	Find a suitable directory to start from (best done from 
	root account for overall compatability)

		# cd /usr/local

		# tar tvfz tkvoice-1.x.tar.gz | less

	This displays the contents of the archive (you should always
	do this before unpacking a tar file)

2.	Unpack the archive:

		# tar xvfz tkvoice-1.x.tar.gz

	This creates a subdirectory ./tkvoice-1.x where all the
	extracted files should go.

3.	Change to the new directory:

		# cd tkvoice-1.x


4.	run ./install.sh and skip to step 8.

		    OR

	Follow these instructions for manual installation:

  	Make sure that the pvftools are in your path:

		# type rmdtopvf pvftowav pvfspeed wavtopvf pvfamp

	Should return the location of the 5 tools:

		rmdtopvf is /usr/local/bin/rmdtopvf
		pvftowav is /usr/local/bin/pvftowav
		pvfspeed is /usr/local/bin/pvfspeed
		wavtopvf is /usr/local/bin/wavtopvf
		pvfamp is /usr/local/bin/pvfamp


	If you want to use tkvoice to VIEW FAX's recieved by 
	vgetty or mgetty then make sure that these netpbm tools
	are in your path: (note that g32pbm comes with vgetty)

		# type g32pbm pbmtoxbm pbmtolps

	Should return the location of the 3 tools:

		g32pbm is /usr/local/bin/g32pbm
		pbmtoxbm is /usr/bin/pbmtoxbm
		pbmtolps is /usr/bin/pbmtolps

5.	Make sure that wish in your path:

		# type wish

	Should return the location of wish:

		wish is /usr/bin/wish

6.	Make the wavplay/wavrec tools:
	As root:
		cd wavplay-1.x
		make no_x
		chmod +x wavplay wavrec

	If the build fails then use "sox" available from:
	http://sox.sourceforge.net/

7.	Start the script:

		# ./tkvoice

8. (a)	Make changes/corrections to the vgetty spool PATHS:

		For Voice support:
 		Options --> Voice --> Setup Voice

		For FAX support:
 		Options --> FAX --> Setup FAX/Printer

		Save your changes.

   (b)	Choose the appropriate setting for your modem:

 		Options --> Voice --> Setup Modem

		Save your changes.

   (c)	Make changes for your sound settings:

 		Options --> Voice --> Setup Audio

		Save your changes

   (d)	Make changes for your FAX settings:

 		Options --> FAX --> Setup FAX

		Save your changes

   (e)	Make changes for your sound settings:

 		Options --> FAX --> Setup Printer

		Save your changes

9.	If you don't already have a out-going greeting then Record one.

End INSTALL
