Hello all,
I'm trying to get bash to behave more like "ksh" and I'm getting nowhere.
Specifically I want to be able to use VI as the default command line editor.
I also want to be able to do command history searching using the VI commands,
since I have found the default (EMACS?) commands to be not so useful.
I have a book called (appropriately enough) "Learning the bash shell" from
O'Reilly & Assoc. which says that I just have to type "set -o vi" from within
the shell. Alternately, I can supposedly set the EDITOR variable in my
.bash_profile.
I have tried both options to no avail.
When I type "env" it appears that the EDITOR variable is properly set, but
the shell behaviour is unchanged, ie; hitting ESC doesn't appear to do
anything...
I'm obviously missing something somewhere...
FYI, I'm running RH 5.0., bash 1.14.7(1)
Has anyone got a solution for this?
TIA for any assistance,
Bob Ross
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.