I connect to Z-Shell on a Red Hat Enterprise Linux 6.2 machine via Putty. After I exit a full-screen process, eg Vim and less, in Unix shell, the shell prompt starts at the last line of the screen. The screen above still shows the context of that process, so I lost all stuff that shell showed before I opened that process.
This doesn't happen in my own Ubuntu box, where after exiting a process, I get back to the line below the last command I typed.
What options can I change(maybe in
zshrc?) to make it behave like my Ubuntu box?