Make the stty command safe