Install and use tcsh, which you can get off Skunkware. I use the arrows
to retrievew and edit commands all the time.
I think bash has this ability too.
--
JP
The stock ksh has this ability, with a little work. In your .profile:
ENV=~/.kshrc
In your .kshrc:
set -o emacs
alias __A="^P"
alias __B="^N"
alias __C="^F"
alias __D="^B"
alias __H="^H"
alias __P="^P"
Note that those are real control characters, and not literal ^Fs or whatever.
This is only good for ANSI compatible terminals, but unless you're using
really old terminals that's unlikely to be a problem.
--
Andrew Smallshaw
smal...@cs.man.ac.uk