title: Arrow keys in Putty returning ^[[A ^[[D ^[[B instead of moving the cursor
body: <p>Has anyone else ever had this error in PuTTy?</p>
  
  <p>For example, pressing the Up Key now produces:</p>
  
  <pre><code>&gt;&gt;&gt; ^[[A
  </code></pre>
  
  <p>Google doesn't let you search for special characters so I'm stumped at finding existing version of this problem. </p>
  
  <hr>
  
  <p>EDIT:</p>
  
  <p>So this happened after I pasted in some unicode (when, I think, the translation was already set to utf-8). </p>
  
  <p>I've checked the Change Settings dialog box for different settings than my other open PuTTy windows, but the settings appear to be identical. </p>
  
  <p>EDIT2:</p>
  
  <p>This is fixed by restarting PuTTy, but still a nuisance. </p>
  
  <p><strong>EDIT3:</strong></p>
  
  <p><strong>How to replicate the exact same bug:</strong></p>
  
  <ol>
  <li>Open a putty terminal to a linux PC (I'm using RedHat)</li>
  <li>Open Python 2.7.*  - using the command <code>python2.7</code> (note: error does not appear in 2.6)</li>
  <li><code>import codecs</code></li>
  <li>Now use the arrow keys, and these bizarre characters appear. </li>
  </ol>