- fixing tcgetattr() on portshells or pipe commands