Red Hat Bugzilla – Bug 6084
bash "set -o vi" command-line editing doesn't work
Last modified: 2008-05-01 11:37:52 EDT
I use RedHat 5.2 and 6.1; the bash packages are the same
version but different build numbers. I have compared the
"set -o" output on both systems, and they're identical; they
include "vi on" to enable vi command-line editing mode.
However, pressing escape plus any key just beeps under 6.1,
both from the console and from a terminal in X; this mode
doesn't appear to work at all in this version. Please
advise if there's a work-around or source patch, and I'll
rebuild from the SRPM.
set -o vi works if manually typed in AND NOT in .bashrc
If in .bashrc (like everyone does) it wont respond to set -o vi
manually nor will it take the setting from the rc
------- Email From "Brent J. Nordquist" <email@example.com> 12/08/99 14:50 -------
Attached to Bug # 6084.
*** Bug 6510 has been marked as a duplicate of this bug. ***alternatively, take out the meta stuff from /etc/inputrc
set -o vi and meta input conflict in bash 1.14.7