disable unused code; fix bug in using io.Copy on interruptible pipes
revert disabling of pty package