shell

how do I get the history command(ESC + k)to work in the ksh shell

export EDITOR=vi

or sometimes (not sure why)

export VISUAL=vi

or
set -o vi