*BSD News Article 90660


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!newsxfer.itd.umich.edu!newsxfer3.itd.umich.edu!howland.erols.net!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!news.idt.net!enews.sgi.com!news.be.com!news1.crl.com!nexp.crl.com!usenet
From: "Jordan K. Hubbard" <jkh@FreeBSD.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Arrow keys
Date: Sun, 09 Mar 1997 07:21:44 -0800
Organization: Walnut Creek CDROM
Lines: 20
Message-ID: <3322D588.237C228A@FreeBSD.org>
References: <331DFD3F.5150@biella.alpcom.it>
NNTP-Posting-Host: time.cdrom.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.2-GAMMA i386)
To: lucabert@biella.alpcom.it
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36788

Luca Bertoncello wrote:
> 
> Hi,
> 
> On my computer I have installed FreeBSD. Now I want to know if I can
> install a program like DOSKEY of DOS, so I can scroll history with arrow
> keys.

(as root)
# pkg_add
ftp://ftp.freebsd.org/pub/FreeBSD/packages-2.1.7/All/bash-1.14.6.tgz

(as you)
% chsh -s /usr/local/bin/bash

Now if you log out and back in again, you'll have a shell which
understands arrow key history and much more.
-- 
- Jordan Hubbard
  FreeBSD core team / Walnut Creek CDROM.