Editting on command prompt. There's a number of tools for the job.
The most popular are:
pico (or nano), emacs, and
vi
personally I think the easiest to use is emacs and the most tricky is
vi (since it's all commd based).
The korn shell should also support using arrow keys for cycling throught the history etc too. What happens when you press up? What terminal type are you using?