At some point this morning I was suddenly and without warning struck with the urge to get the old AALib demo “BB” running on my ‘droid. Eventually I had an ARM build of Debian running and BB installed without any fuss. (apt-get install bb).
What I hadn’t anticipated though was that using ADB shell from the windows command prompt would result in color code escape sequences being printed straight to the screen. Worse still, I couldn’t Ctrl+C out of a program without killing ADB shell, and other keys such as the arrows and escape key were being ignored completely.
So without further ado, here are a few solutions :