On Sun, Mar 11, 2012 at 02:43:42PM -0500, Chris Bennett wrote:
> This started for me a while back.
> Login as root, I can repeat older commands with up down arrows.
> History command shows history.
> 
> su -l otheruser
> 
> Cannot use up down arrows to access history.
> History command shows correct history.

You most likely set EDITOR to something containing "vi". ksh parses that
and switches to vi mode. IMO it's a disgusting "feature", but that
appears to be just me.

set -o emacs
set +o vi

> 
> Login remotely as otheruser.
> Same problem.
> 
> Chris Bennett

Reply via email to