Removed my own copyright notice --- because tap.[ch] is Copyright (c) 2004 Nik Clayton !