1

How to solve the issue that a Terminal screen is messed up? (usually after a resizing)

view story
linux-howto

http://unix.stackexchange.com – Sometimes, a terminal screen is messed up, and when we use man ls to read the manpages, or press the UP arrow to go to previous commands in history, the screen will show characters not as the right place. (for example, treat the end of screen as some where in the middle of the screen). The command reset is tried and it wouldn't work. One way that works is to log out or close the window, and resize the window first, and then do ssh (or close that tab, and resize the window, and then open a new tab to get a new shell). But this way, we will lose anything that we previously did, such as start (HowTos)