Got beginning of line and end of line working with escape sequences/keys from xterm terminfo file. However now scrolling up and down the page via xterm commands doesnt seem to work - HMMMMMMMMM...........
Latest changes to .Xresources and tmux.config - tried to work around the xterm thing but think cant get better than this.
Added a setting to zshell so that it works much better in an emacs shell
Have to add zshell bindings for xterm and non-xterm mode