A misinterpretation... Bash uses ReadLine, whereas the others have internal binding operators e.g. csh...
I mentioned the other shells is the reason why we must go with the most stripped down basic of environments to start you off with... Customizing your environment is in fact contained within the Bash documentation (man pages)...
Quote:
|
figuring out why 'set -o vi' didn't work was really obnoxious.
|
Even the sentence above with 'set -o vi' ends with a period, but from a technical standpoint 'set -o vi' was in fact working...
A paste from your original email: [FQ034707] edit buffer (set -o vi)
For some reason I can't get use 'set -o vi' to enter VI mode from the shell
prompt. I'm using bash, $EDITOR is set to vi but 'esc-k' doesn't put the
previous line from my history file into the input field.
The part of this equation that was not working was the 'esc-k' for which is a customization will/would solve...
That alone may have been enough to throw me off the original trail and take a 'right' when I should have followed the 'left' path for isolation...
Also, testing the 'esc-k' was done while I was logged in on ASTRO was working for me... My 'profile' has been customized over time and bash2 was picking up on my local .inputrc file... Curious though that it worked for me even though I did not have to make the '\C-[": vi-movement-mode' change...
Once again, thrown off the trail, I
deduced that you must have had a local configuration problem unique to your environment as it appears you have been perfoming customizaton work with it...
One more note: I cannot assume that everyone will use the 'vi' binding keys as there are many 'emacs' fans out there that use this readline mode as well... In situations such as this, with multiple choice answers, it's always best to not assume what a particular individual will or won't utilize...
Hence we setup minimal environments and allow the site owners, which possess Unix/Linux experience, to put that knowledge to work for themselves and allow them to customize unrestricted...
In conclusion, you have in fact identified a broken RedHat assumption (that I could have sworn I fixed long ago) with the /etc/inputrc overriding your local '.inputrc' one... I am assuming that recent server upgrades tweaked the system profile and injected these lines back in...
On the flipside, I tested your report 'as-is' and it worked for me, else I would have de
duced that something was amiss somewhere within all of the activities that happen during login environment creation...
--
Terra
--if ... elsif ... elsif ... elsif ... elsif ... elsif ... else--