Rewrote 'write' for writing textfiles
dosetup only used to run cygwin setup.  Not needed generally.  Sane environs employ the linuxes thangs
loop a command, waiting for input between runs
Watch the crazy happen in realtime