forked from wipe http://wipe.sourceforge.net/