speed up loadingbash prompt by reusing saved PS1 for child shells
updates to hpcalc func for cygwin/mingwsys
Fix xterm-256colors on mingw msys