title: Home/End keys in zsh don't work with putty
body: <p>I'm running zsh as the default shell on a Ubuntu box, and everything works fine using gnome-terminal (which as far as I know emulates xterm). When I login from a windows box via ssh and putty (which also emulates xterm) suddendly the home/end keys no longer work. </p>
  
  <p>I've been able to solve that adding these lines to my zshrc file...</p>
  
  <pre><code>bindkey '\e[1~' beginning-of-line
  bindkey '\e[4~' end-of-line
  </code></pre>
  
  <p>...but I'm still wondering what's wrong here. Any idea?</p>