Set stty size according to terminal window size.
Like xterm's resize but with no X dependency.