http://www.mirbsd.org/mksh.htm Within Android 12's shell, the prompt has issues with arrow keys not doing stuff as expected. Probable causes: The right prompt, or the related backing ANSI.