title: Cursor keys not working when using sqlite3 from adb shell
body: <p>When using sqlite3 through <code>adb shell</code> arrow keys, instead of moving the cursor to the desired position or summoning the history facility, the following is showed in the screen: <code>^[[A</code>, <code>^[[B</code>, <code>^[[C</code>, <code>^[[D</code>.</p>
  
  <p>I'm using Mac OS X and I have tried <strong>Terminal</strong> and <strong>iTerm</strong> terminal emulators.</p>
  
  <p>Does anybody know how to fix this?</p>