Check which shell you are using. Use 'echo $0' or 'echo $SHELL' commands for that. If your shell is sh, then the ESC+whatever is not supported. Run 'ksh -o
vi' to get the functionality that you want. If the shell is ksh, then it isn't running in
vi mode. Run 'set -o
vi' to get it going.
Cheers