Subject: Re: Show or Repeat Last Commands
To: Terry Norris <tknorris@ameritech.net>
From: Claus Andersen <clan@wheel.dk>
List: netbsd-help
Date: 08/17/2001 11:41:41
On Thu, 16 Aug 2001, Terry Norris wrote:

> Newbie here,
> How do you show and or repeat previous commands in NetBSD without having to type them again.

If you're used to something like DOS you might prefer using the arrow
keys. If you're using the bash shell this is AFAIK the default.
You're probably using the ksh shell which is the NetBSD default shell. I'm
using that shell too and have:

bind "^I=complete"
bind "^I^I=complete-list"
set -o emacs

...in my ".profile". This gives you editing with arrowkeys and filename
completion with TAB.

You should be able to get csh/tcsh to behave in the same manner.

Kind Regards,
Claus Andersen