What I want (which is possible in PuTTY):
1) Login to a machine (using PuTTY)
2) $ cat /some/file
[contents of the /some/file shown on screen]
3) $ vim
4) Press Shift + Page Up
Result: I can see [contents of the /some/file ] and everything else that was shown on the screen before I entered vim
.
Now if I try the same thing in Mobaxterm, which is another terminal application on Windows, I don't get to see the output of the previous commands; it only scrolls the file that I opened in vim
which is not what I want.
I tried to echo $TERM
from both PuTTY and Mobaxterm, and they both show xterm
as the output, so I'm not sure what's different in PuTTY.