I am connecting from a windows machine to a remote machine using MobaXterm, and attach to a tmux session. Some key are not getting sent correctly, for example prefix + arrow keys just prints {A,B,C,D} when I press prefix+{up,down,right,left}, when these keys should navigate between tmux panes. If I use Putty (instead of MobaXterm), I can fix this by using 'linux' terminal instead of 'xterm', but in MobaXterm the terminal types I can choose are xterm, xterm-r6, vt100, vt220, and vt900. None of them work.
I guess some of the problem is the remote machine itself (which runs Ubuntu 16.04), because other remote machines do not have this problem.
Any suggestions?
TERM
variable may differ, there may be tmux conf-file differences, etc).