title: Arrow keys not working in vi/vim in remote ubuntu terminal
body: <p>I am trying to edit my python file in vi, but my arrow keys are not working.</p>
  
  <pre><code> vim $HOME/.vimrc     --&gt;   :set nocompatible
  </code></pre>
  
  <p>I tried <strong>arrow keys</strong> , <strong>Home</strong>, <strong>Delete</strong> and <strong>End</strong> keys in both vi and vim , but they are not working..</p>
  
  <p><strong><em>vi x.py</em></strong> </p>
  
  <p><strong><em>vim x.py</em></strong> </p>