I have a bluetooth keyboard connected and working with my Android phone, but with one annoyance:  the escape key does not appear to do anything.  This is particularly problematic for a *vi* user like me.

Is there a way to fix it so the escape key works, at least in the terminal application?  Is [/system/usr/keylayout/qwerty.kl][1] a potential approach or is this something [harder][2]?

Hardware specifics:

 * SMK-LINK Bluetooth compact keyboard, Model VP6630
 * Android Dev Phone 1 with Cyanogenmod 6.1


  [1]: https://android.stackexchange.com/a/23953/2380
  [2]: https://code.google.com/p/connectbot/issues/detail?id=369