fix problem under cygwin
make conditional call of tput in commandline
Merge pull request #603 from pwielgolaski/develop

fix problem of running command line under cygwin