Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2006 09:10:26 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Marty Landman" <martster@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: shell retrieve history (up arrow) not working
Message-ID:  <44zmfgwam5.fsf@be-well.ilk.org>
In-Reply-To: <70063950607110604m46ad84fcscbd2027d962ed1a9@mail.gmail.com> (Marty Landman's message of "Tue, 11 Jul 2006 09:04:58 -0400")
References:  <70063950607110604m46ad84fcscbd2027d962ed1a9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Marty Landman" <martster@gmail.com> writes:

> I have a 4.8 installation with a root account and one user account. 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.  [Or try csh, but I
try to avoid that because it's so bad as a scripting language.]



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