Fixes to scripts for working in both cygwin and cmd.exe.

THis basically moves from jline.UnixTerminal to just unix.