Arrow keys should work the same as hjkl when in command mode. Instead, the arrow keys behaves like the arrow keys of insert mode (output ABCD) when in command mode.
In nvi, arrow keys behave the same as in command and insert mode (move around the text like hjkl).