The other day I had the same problem.Here is a note on the lovely MC for a rooted tablet with USB keyboard attached.
The traditional Midnight Commander file manager is a useful tool in learning the structure and function of Unix based systems.It has been ported from Linux to Android and can be downloaded as a .apk file from xda developers website (
[APP] midnight-commander 4.7.0.3 for Android (updated to 4.7.5.4, with APK Installer) - xda-developers ).
The installer did not work on my rooted inexpensive chineese tablet with usb ports, and apparently others had problems with install and keyboard keys according to the thread over at xda-developers.
I wanted to reply to the thread explaining how to configure a USB keyboard but was not allowed as I had no experience points.I have always found Midnight Commander a gem with its inbuild symbolic link and text editor, so I post in this thread instead.
With a rooted tablet with busybox and su installed but no superuser, and USB keyboard as accesory:
On Windows computer:
Download and rename NativnuxInstaller_1.1.apk to NativnuxInstaller_1.1.zip
Extract mc-4.7.5.4-arm.tar.jet located in the zip file with 7-Zip or similar
Rename the file to mc-4.7.5.4-arm.tar.gz
Extract mc-4.7.5.4-arm.tar from the .gz file by using 7-zip once more
Via SD card copy and paste the .tar file to the root ( / ) of the device (I use "ES file manager" where root is indicates as "/ device", the app available at Google Play, with credits to ES company.)
On the rooted Android device with busybox and su installed:
Install and open the free "Android Terminal Emulator" by Jack Palevich from Google Play (thanks to mr. Palevich)
Enter "su" (without quotation marks)
Enter "mount -o remount,rw /system" (without quotation marks) *
Enter "busybox tar xf mc-4.7.5.4-arm.tar" (without quotation marks)
If succesful you will return to the command prompt.
Reboot the tablet, attach the usb keyboard, open the terminal and enter first "su" and then "mc" (without quotation marks)
Probably the arrow keys will not work: "A", "B", etc. will be written instead, but Midnight Commander can learn:
Go to the pulldown menu: press F9, then "O" (for Options) and then "K" (for Keyboard). Using TAB, select the first arrow key, then press "Space", then the corresponding arrow key twice. Repeat for all of the other arrow keys. Then hit Save
We have now a blue Midnight Commander with the arrow keys working on the USB keyboard.With further configuration and editing probably also a mouse will work as this is a Linux system.
* (addendum: It is not impossible the "system" folder on your android device is mounted as "read only". If encountering problems editing system files entering the "mount -o remount,rw /system" command (without quotation marks) before running the Midnignt Commander could be helpful allowing both Reading from and Writing to the "system" folder.To run such a command automatic it could typical be added to the end of the right one of the many existing configuration files.Just a second thought as it is some time since I last was into Linux).