[#47746151] guard "stty echo" with check to see if terminal is interactive