Its about time I added this file to cvs. I've also fixed it (with John M's help) so that it is more multiplatform.