ksh on unix and connect through
.sh_history stores all history commands but when I press up arrow nothing comes, please help me.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
It happened to me, when I'd press any arrow key some strange characters would come when i connect to a remote machine using putty. I don't know why it happened but the remedy is, you have to type the following in the command line.
$ stty -erase backspace enter
i dont remember what is the prompt of ksh($ or #)
EDIT: i found this link,hope this helps:
set -o emacs should do the trick. The default config doesn't set the editing mode.