Q.
How can I setup GNU screen to allow the mouse's scrollwheel to scroll around in the scrollback buffer? I tried to Google about this, but most hits were on how to allow applications inside screen to use the scrollwheel.
A.
Add as below to file ~/.screenrc
termcapinfo xterm* ti@:te@
or
termcapinfo * ti@:te@
additionally, add as below to file ~/.bashrc
# make scrollbar / wheel scrolling work when running screen in gnome-terminal (or other)
if [ "$TERM" = "xterm" ]; then
export TERM=vt100
fi