On the AS4 box, you may use the right arrow key to move the cursor around, but on AS5, you may find it echo back something like this.
‘alt+left/right’ result in adding character ‘[D’ and ‘[C’
echo ab d cd [D[D[C[C
But you can try the following.
ALT + b : Backward
ALT + f: Forward
To follow up
Is there any way to map‘alt+b/f’ to ‘alt+left/right’ ?
set-o vi # I assume alt + left/right will work
set -o emacs # this is how alt + b/f works
And it continues.
but tried, this is necessary to work in emacs
Just tried, alt +left/right won't work in both modes without this (on AS5):
bind '"\e[1;3D":backward-word'
bind '"\e[1;3C":forward-word'