Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2006 20:49:58 -0400
From:      Parv <parv@pair.com>
To:        Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
Cc:        Marty Landman <martster@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: shell retrieve history (up arrow) not working
Message-ID:  <20060712004958.GB4234@holestein.holy.cow>
In-Reply-To: <44zmfgwam5.fsf@be-well.ilk.org>
References:  <70063950607110604m46ad84fcscbd2027d962ed1a9@mail.gmail.com> <44zmfgwam5.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <44zmfgwam5.fsf@be-well.ilk.org>,
wrote Lowell Gilbert thusly...
>
> "Marty Landman" <martster@gmail.com> writes:
> 
> > I have a 4.8 installation  ...  The root account up-arrow
> > history retrieve feature works fine, while on my user account it
> > doesn't, displaying instead
> >
> > $ ^[[A^[[C^[[B^[[D
> >
> > when I press the arrow keys in order (up, right, down, left)
> 
> They are using different shells.  Root uses csh by default, your
> user account is using sh.  Try "set -o emacs" for sh.

Just a note, arrow keys for history retrieval also works with 'vi'
option (set -o vi).


  - Parv

-- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060712004958.GB4234>