ftp.nice.ch/pub/next/unix/audio/Hours.README

This is the README for Hours.NISH.bd.tar.gz [Download] [Browse] [Up]

Greetings fellow NeXT Users:

I have a funky old wall clock that used to belong to a great
aunt of mine.  It has a great tick-tock-tick-tock- sound; I only
have to wind it once a week or so and it almost keeps perfect time.
The only trouble is, it *looks* as though it should have some sort
of bell or gong or something inside of it to mark the hours. Alas,
there is no such bell.  What to do?

As it turns out, there are a number of black objects sitting on a
desk nearby said clock.  (These black objects all have "NeXT" written
on them.)  I was learning about scores and scorefiles, and looking
at the example scorefiles and well ... the result was this stuff
that I am submitting to the archives.

What does it do?  It makes up for the deficiency in my great aunt's
clock by chiming the hours on the hour.  The file 'hourly' is a UNIX
shell script which should be executed every hour on the hour.  The
script determines what hour it is, and plays the scorefile in the
subdirectory ./chimes which contains the correct number of bells
for the hour.  

I recommend that you unpack this little tarfile in the directory
/usr/adm.  Then you should add a line
to your /etc/crontab file that runs something like:

0 * * * * 	root 	/bin/sh /usr/adm/hours/hourly <CR>

If you do so, cron will run the shell script automatically every hour.  
I have the script set so that no chimes will ring between 1-6 am; you 
may modify it according to your taste.

I hope you enjoy it. 

Written and submitted by:

Malcolm Sanders			(physicist at large)
2 Youngs Mountain Road
Bar Harbor, Maine 04609
mms@aretha.jax.org

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.