Bob Ross <[EMAIL PROTECTED]> on Thu, Apr 30, 1998 at 12:18:46PM -0400:
> 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.

set -o vi works on at least bash-2.  RH is still using the older
variant, and has been since 2 came out a while ago.  Don't know how
recent your book is.  There are various ways you can make this the
default for a user.

> the shell. Alternately, I can supposedly set the EDITOR variable in my 
> .bash_profile.

Yes that's for programs that parse that envar, like crontab -e .  Has
nothing to do with the command-line.

> FYI, I'm running RH 5.0., bash 1.14.7(1)
> 
> Has anyone got a solution for this?

Must be you need bash-2 .

-- 
Scott


-- 
  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.

Reply via email to