From owner-freebsd-questions Wed Feb 24 19:45:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id D9F9514C95 for ; Wed, 24 Feb 1999 19:45:40 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id OAA26351; Thu, 25 Feb 1999 14:15:23 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id OAA12776; Thu, 25 Feb 1999 14:15:22 +1030 (CST) Message-ID: <19990225141521.M52343@lemis.com> Date: Thu, 25 Feb 1999 14:15:21 +1030 From: Greg Lehey To: Danny , freebsd-questions@FreeBSD.ORG Subject: Re: History problem References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Danny on Tue, Feb 23, 1999 at 04:37:23PM -0600 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday, 23 February 1999 at 16:37:23 -0600, Danny wrote: > Hello. I am a new FreeBSD user, recently switched from Linux, and I can > say that I really like FreeBSD a helluva lot more than Linux. However, I > am having one problem that I can't seem to figure out.. > > I'm running FreeBSD 2.2.7-RELEASE. When I hit the "up arrow" for last > command, I get: > $ ^[[A > > This is at the console, telnetted in, or rlogged in. It's really > frustrating and I can't figure out a way around it. You need to use an appropriate shell. It looks to me as if you're using the Bourne shell, which is not the most appropriate, but it can do command history. Try: $ set -o emacs You can put this in your .profile file. Of course, under Linux you probably had bash, and you can install that too, from the packages on the first CD-ROM. Change your shell with the chsh command. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message