What I would like to accomplish is mouse wheel scrolling behavior that I'm used to in a regular ssh session. In bash prompt mouse wheel should scroll my terminal output, and inside less/vim - the alternate buffer they use, so that on exit nothing remains from the text shown inside less. If I disable alternate buffer capabilites in .screenrc, like this:
termcapinfo xterm ti@:te@
then it is also disabled for vim/less and mouse wheel scrolling will not be handled by them. Enabling screen's internal alternate buffer emulation, like this:
only helps in restoring bash output after less/vim exit. Not in mouse wheel scrolling inside them.
So, is there any screen option, maybe in some screen fork/alternative that disables usage of alternate buffer by screen itself?