This is a C port of my CyanogenMod Shell (based on Lua)