Reinstall from a DMG from MacPorts Downloads on top of the existing install. Your ports will be preserved and arrow keys and completion will now work in the port shell. I don't know what causes this, but it could be a TCL library conflict introduced by another port. Read more »