I'd just like to add that this same issue cost me a few hours years
ago. In my case I didn't want vi mode, but the damned meta key was
broke. The INPUTRC supplied by RH is crap. It specifically disables
the Meta key.

Just so everyone can see what a proper ~/.inputrc looks like:

set horizontal-scroll-mode On
set mark-modified-lines On
set meta-flag On
set input-meta on
set output-meta Off
set convert-meta On
#$if Bash
# edit the path
"\C-xp": "PATH=${PATH}\e\C-e\C-a\ef\C-f"
# prepare to type a quoted word -- insert open and close double quotes
# and move to just after the open quote
"\C-x\"": "\"\"\C-b"
# Quote the current or previous word
"\C-xq": "\eb\"\ef\""
#$endif
"\e[H": "\C-a"
"\e[F": "\C-e"


-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
-------divided by zero. Listen to me! We are all individuals!---------


On Tue, 19 Sep 2000, Steve Borho wrote:

=>I finally got motivated to make this work this evening...
=>
=>add to .bashrc:
=>if [ -f ~/.inputrc ]
=>then
=>  unset INPUTRC
=>  . ~/.inputrc
=>fi
=>
=>then:
=>echo "set editing-mode vi" > ~/.inputrc 
=>
=>You can probably do okay without putting the 'set' command in the
=>separate file, but you definitely need the unset INPUTRC command.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to