On some version of the ksh if you type:
set -o vi
this will enable you to use command completion.
Also type ESC k to get last commands
For command completion type a part of the command and hit ESC ESC
if the command has been type before it will attempt to complete the rest of the line for you.