reset(1) doesn't reset terminal to the defaults. You can compare stty -e outputs before and after the issuing reset(1). Output always differs, more on some terminals, less on others. -- Hasso Tepper