Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2002 22:39:17 -0400 (EDT)
From:      Dru <dlavigne6@cogeco.ca>
To:        James <effdefender@earthlink.net>
Cc:        freebsd-newbies@FreeBSD.ORG
Subject:   Re: Question about up-arrow when non-root
Message-ID:  <20020705223727.E253-100000@x1-6-00-80-c8-3a-b8-46.kico2.on.cogeco.ca>
In-Reply-To: <001e01c22494$c63643c0$0301a8c0@sys.gtei.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 5 Jul 2002, James wrote:

> Should I be posting this in Freebsd-questions?


Yes :)


> Whenever I log in using one of my accounts (except for root), and I want to
> access a command that I typed previously, I keep trying to hit the up arrow.
> Unfortunately, what I get is :  ^[[A and not the previous command.  When I'm
> logged in as root I have no trouble.


The superuser account uses the tcsh shell, thus it has history and the up
arrow works. By default, regular users get the sh shell which gives the
behaviour you just described. As the superuser, you can use "vipw" to
modify your existing user's shell to either "csh" or "tcsh".

Dru


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




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