
Well, this is the first part of the source to my "phone" program, as promised.
I received quite a few responses, many with weird addresses, thus the posting 
instead of a mailing.  Be warned that this source is *not* a finished product, 
but more a "gamma test" version, although it has been running on a dozen UCB 
machines for several months and seems to work reasonably well.  For those of 
you who may feel compelled to hack on it, I have laced the sources with quite 
a few comments about possible improvements. I would also welcome any 
suggestions/code you may come up with.  Hopefully I will be able to send out 
a finished product sometime in the coming few months ... 

A few of the letters I received mentioned an interest in porting this to SysV
machines and such ... Good luck! (Last I heard, AT&T had just heard of IPC!)
This has only been tested on 4.[23] machines (Vax, Sun, and Perkin/Elmer), but
will hopefully be easy enough to port to other hardware. 

Installing phone: 

  Create an empty directory to put the sources in.  Unshar the archive files
by feeding to "sh"  (or use "unshar").  Run "make", then "make install" (use
"make -n" first if you're paranoid!)  Add "phone" to /etc/services, the line 
should look like:

	phone		1167/udp		# phone - conference calling (broome)

A note on port numbers: there is no need for phone to use priviledged port
numbers (think about it), and it would really be best for you to stick with 
port 1167 (what we use at Berkeley), at least if you want to be able to 
communicate with the outside world.  I am working on an rfc-type spec in 
order to get a legitimately-assigned port number, but it will take a little 
while, so let's use 1167, okay? 

Back to installation:  If your site runs the inetd, also add this line to
/etc/services:

	phone	dgram	udp	wait	root	/etc/phoned	phoned

Finally,  if you do not use inetd, start up the phoned by typing "/etc/phoned",
else do a "ps ax | grep inetd" to find inetd's pid, then kill -HUP pid to have 
it reread the config file.

The manual page is presently pretty skimpy, so you may want to look at the
routines in kb.c and cmd.c to get some idea as to what is going on.
(Brownie points to anyone who writes a better man page!)


For those of you with arpanet access, the sources will also be available in
 ~ftp/pub/phone.tar on ucbvax for your ftp'ing enjoyment.

Good luck, and enjoy!

==============================================================================
 Jonathan C. Broome                      University of California at Berkeley
    ...!ucbvax!broome
   broome@ucb-vax.berkeley.edu
==============================================================================

