Subject: Re: Newbie Question... Command Line History?
To: Xiamin Raahauge <xiamin@scdesantis.ne.mediaone.net>
From: Jim Wise <jimw@numenor.turner.com>
List: netbsd-help
Date: 09/22/1997 19:25:24
On Mon, 22 Sep 1997, Xiamin Raahauge wrote:

> TO get the arrow key thing working, I had to switch to tcsh. AFAIK csh
> doesn't support it. I don't know much about sh and ksh, but I assume the
> case is the same for them. bash also supports arrow key history stuff. I
> also don't know how to reevaluate a value in csh, but for tcsh prompts,
> %~ will give you the current working directory.
> Xiamin

Actually, both /bin/sh and /bin/ksh support command line editing.

Try 'set -o vi' to turn on vi-style editing, and 'set -o emacs' for
emacs-style editing, including arrow keys.  (I'm a big set -o vi fan,
myself)...

--
				Jim Wise
				jim.wise@turner.com