FIX #2691: Manually reset the terminal to its initial settings; works around a bug...