shell retrieve history (up arrow) not working
Parv
parv at pair.com
Wed Jul 12 01:15:17 UTC 2006
in message <44zmfgwam5.fsf at be-well.ilk.org>,
wrote Lowell Gilbert thusly...
>
> "Marty Landman" <martster at 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
--
More information about the freebsd-questions
mailing list