@b0rk it is a bit annoying that there's nothing you can sensibly do before printing a shell prompt that resets _everything_.
The 'reset' program sends ESC c, which resets the terminal completely to its power-on state, including clearing the screen. But you don't want to clear the screen before every shell prompt. You'd like a sequence that does all of ESC c _except_ that!
So instead the shell has to think of every individual setting that might need to be reset, and likely forget one :-(