Linux-Misc Digest #625, Volume #26               Sun, 24 Dec 00 17:13:02 EST

Contents:
  Re: Command Line Editing - I already RTFM (Steve Bellenot)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Steve Bellenot)
Crossposted-To: comp.os.linux.help,comp.os.linux,comp.os.linux.setup
Subject: Re: Command Line Editing - I already RTFM
Date: 24 Dec 2000 21:15:53 GMT

In article <[EMAIL PROTECTED]>,
Sid Mitzlaff  <[EMAIL PROTECTED]> wrote:
>I feel like an idiot.
>
>I'm trying to get the good ol', command line editing and history going
>on. So I can use vi commands to move back and forth in my command
>history from the command line, and use vi commands to edit the command
>line, etc. you know what I"m talking about.
>
>I'm running RH6.2. Now, I actually got it to work one day, for about 10
>seconds, and then it stopped working. I don't remember what I did, it
>was a couple months ago and I got frustrated and said screw it.
>
>So anyway, I'm trying to get it working again, I can't live without it,
>and so I've put the following in my .bash_profile :
>
>export EDITOR=vi
>export VISUAL=vi
>
>set -o vi
>
>and of course source the file again,  and it still doesn't !@#$ work.
>
>What the hell am I doing wrong?

You chose RH.

The default RH setup sources /etc/inputrc and it kills the <esc> key. 

Create a one line file ~/.inputrc containing
set editing-mode vi

And add at the end of bash_profile
export INPUTRC=~/.inputrc

-- 
http://www.math.fsu.edu/~bellenot
bellenot <At/> math.fsu.edu 
+1.850.644.7189 (4053fax)

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list by posting to comp.os.linux.misc.

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to