From: Ed Wensell III aka THE StormRaiser <ewensell@pstcc.cc.tn.us.net>
Subject: Re: use of arrows to repeat command on 4.0D
Date: 1999/05/11 [thread overview]
Message-ID: <37382BB0.2607@pstcc.cc.tn.us.net> (raw)
In-Reply-To: 3737EA9C.2CA387E@ufsia.ac.be
Dominique Kindt wrote:
>
> Hello,
>
> I am currently trying to repeat the last command(s) with the arrows on a
> Digital Unix v 4.0D. I know bash does it but I had some troubles with it
> so I decided not to use it anymore. Can anybody help me?
This depends on what shell you are using...
For csh, set the following in your (or the system wide) .login:
set editmode=emacs
set history=20
The history can be adjusted to however many commands you want to keep
track of. For Korn shell, set one of the following in your (or the
system wide) .profile:
set -o emacs
- or -
export EDITOR=emacs
I'm not sure where to set the history list size on the latter.
In both shells, these are dependent on whether or not you are using a
capable terminal/emulator. Replace emacs with vi for vi style command
editing.
Bourne shell does not support it, as far as I know.
Personally, this sounds like one of those little things that should be
in the Tru64/DUNIX FAQ... It appears to be very buried in the regular
documentation.
--
Until soon...
Ed Wensell III
Systems and Operations Support, Pellissippi State
E-mail hint: A college with a dot net domain?
next prev parent reply other threads:[~1999-05-11 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-11 4:00 use of arrows to repeat command on 4.0D Dominique Kindt
1999-05-11 4:00 ` Ed Wensell III aka THE StormRaiser [this message]
1999-05-11 4:00 ` Bob Koehler
1999-05-11 4:00 ` Brendan Welch
1999-05-11 4:00 ` Frank J. Perricone
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox