Up and down arrows in adb shell
What shell is running on the phone? - You can find out with ps

I seem to remember having this issue a while ago (but haven't run in to it recently on my current phone) when logging in to plain sh, executing bash or ash immediately after connecting was a simple workaround