up down arrow key and edit on command line.

I am using ksh, By doing change in .profile as

set -o vi

my updown and history does not work.

Also I can not edit command line on prompt using vi command.

My TERM is vt100.

What is wrong here ?

Thanks.

:cool:

Maybe this will help.

Do you have these set?

export EDITOR=vi
export HISTFILE=$HOME/.sh_history

What Operating System and version do you have?
What type of terminal do you have and what is the value of $TERM ?

I am at os 6.1.0.0, TERM=vt100

This solutions works but I can not edit command line using unix commands.

http://www.unix.com/unix-dummies-que...d-history.html

If I do set -o vi then up down arrow does not work also I can not edit at command line.