Configure the pty so that it agrees with our idea of whether