Retyping commands

Tim Oldham tjo at fulcrum.bt.co.uk
Thu Sep 21 02:41:32 AEST 1989


In article <30 at dynasys.UUCP> root at dynasys.UUCP (Super user) writes:
>
>Before working with unix, I worked with dos and I was wondering if there was
>any way to do the following in unix: in dos hitting F2 or F3 would give you
>the last command you typed. Is there anyway to do this in unix? Thanx.

Various shells let you do this. I use bash, the Bourne Again SHell, which
is free from the FSF. It's pretty damn good. I especially like the
EMACS-style file completion facility, and it runs sh scripts.

Not too much effort to port and debug - there were a few bugs, but it
was only release 1.02. Could do with some more work to improve the
signal handling on SysV, which can be flaky, particularly in scripts.

Other shells which have some sort of line-editing or history mechanism
include csh, ksh, ksh-i and wash.

	Tim.
-- 
Tim Oldham      tjo at fulcrum.bt.co.uk  or  ...!mcvax!ukc!axion!fulcrum!tjo
#include	<stdisclaim>
Why have coffee, when caffeine tastes this good?



More information about the Comp.unix.questions mailing list